ApiPortalApiTryOutEnabledState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appplatform. models. ApiPortalApiTryOutEnabledState
- com.
- com.
public final class ApiPortalApiTryOutEnabledState
extends ExpandableStringEnum<ApiPortalApiTryOutEnabledState>
Indicates whether the API try-out feature is enabled or disabled. When enabled, users can try out the API by sending requests and viewing responses in API portal. When disabled, users cannot try out the API.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Api |
DISABLED
Static value Disabled for Api |
static final
Api |
ENABLED
Static value Enabled for Api |
Constructor Summary
Constructor | Description |
---|---|
ApiPortalApiTryOutEnabledState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Api |
fromString(String name)
Creates or finds a Api |
static
Collection<Api |
values()
Gets known Api |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final ApiPortalApiTryOutEnabledState DISABLED
Static value Disabled for ApiPortalApiTryOutEnabledState.
ENABLED
public static final ApiPortalApiTryOutEnabledState ENABLED
Static value Enabled for ApiPortalApiTryOutEnabledState.
Constructor Details
ApiPortalApiTryOutEnabledState
@Deprecated
public ApiPortalApiTryOutEnabledState()
Deprecated
Creates a new instance of ApiPortalApiTryOutEnabledState value.
Method Details
fromString
public static ApiPortalApiTryOutEnabledState fromString(String name)
Creates or finds a ApiPortalApiTryOutEnabledState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ApiPortalApiTryOutEnabledState values.
Returns:
Applies to
Azure SDK for Java