GrantType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.apimanagement.v2019_01_01.GrantType

public final class GrantType
extends com.microsoft.rest.ExpandableStringEnum<GrantType>

Defines values for GrantType.

Field Summary

Modifier and Type Field and Description
static final GrantType AUTHORIZATION_CODE

Static value authorizationCode for GrantType.

static final GrantType CLIENT_CREDENTIALS

Static value clientCredentials for GrantType.

static final GrantType IMPLICIT

Static value implicit for GrantType.

static final GrantType RESOURCE_OWNER_PASSWORD

Static value resourceOwnerPassword for GrantType.

Constructor Summary

Constructor Description
GrantType()

Method Summary

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

Creates or finds a GrantType from its string representation.

static java.util.Collection<GrantType> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

AUTHORIZATION_CODE

public static final GrantType AUTHORIZATION_CODE

Static value authorizationCode for GrantType.

CLIENT_CREDENTIALS

public static final GrantType CLIENT_CREDENTIALS

Static value clientCredentials for GrantType.

IMPLICIT

public static final GrantType IMPLICIT

Static value implicit for GrantType.

RESOURCE_OWNER_PASSWORD

public static final GrantType RESOURCE_OWNER_PASSWORD

Static value resourceOwnerPassword for GrantType.

Constructor Details

GrantType

public GrantType()

Method Details

fromString

public static GrantType fromString(String name)

Creates or finds a GrantType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding GrantType

values

public static Collection values()

Returns:

known GrantType values

Applies to