Class ApiPortalApiTryOutEnabledState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ApiPortalApiTryOutEnabledState>
com.azure.resourcemanager.appplatform.models.ApiPortalApiTryOutEnabledState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ApiPortalApiTryOutEnabledState
extends com.azure.core.util.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
FieldsModifier and TypeFieldDescriptionstatic final ApiPortalApiTryOutEnabledStateStatic value Disabled for ApiPortalApiTryOutEnabledState.static final ApiPortalApiTryOutEnabledStateStatic value Enabled for ApiPortalApiTryOutEnabledState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a ApiPortalApiTryOutEnabledState from its string representation.values()Gets known ApiPortalApiTryOutEnabledState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for ApiPortalApiTryOutEnabledState. -
DISABLED
Static value Disabled for ApiPortalApiTryOutEnabledState.
-
-
Constructor Details
-
ApiPortalApiTryOutEnabledState
Deprecated.Use thefromString(String)factory method.Creates a new instance of ApiPortalApiTryOutEnabledState value.
-
-
Method Details
-
fromString
Creates or finds a ApiPortalApiTryOutEnabledState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ApiPortalApiTryOutEnabledState.
-
values
Gets known ApiPortalApiTryOutEnabledState values.- Returns:
- known ApiPortalApiTryOutEnabledState values.
-
fromString(String)factory method.