ApiPortalApiTryOutEnabledState Class

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 ApiPortalApiTryOutEnabledState DISABLED

Static value Disabled for ApiPortalApiTryOutEnabledState.

static final ApiPortalApiTryOutEnabledState ENABLED

Static value Enabled for ApiPortalApiTryOutEnabledState.

Constructor Summary

Constructor Description
ApiPortalApiTryOutEnabledState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ApiPortalApiTryOutEnabledState value.

Method Summary

Modifier and Type Method and Description
static ApiPortalApiTryOutEnabledState fromString(String name)

Creates or finds a ApiPortalApiTryOutEnabledState from its string representation.

static Collection<ApiPortalApiTryOutEnabledState> values()

Gets known ApiPortalApiTryOutEnabledState values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ApiPortalApiTryOutEnabledState.

values

public static Collection values()

Gets known ApiPortalApiTryOutEnabledState values.

Returns:

known ApiPortalApiTryOutEnabledState values.

Applies to