public static enum CMAPersonalAccessToken.Scope extends java.lang.Enum<CMAPersonalAccessToken.Scope>
| Modifier and Type | Method and Description |
|---|---|
static CMAPersonalAccessToken.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CMAPersonalAccessToken.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="content_management_read") public static final CMAPersonalAccessToken.Scope Read
@SerializedName(value="content_management_manage") public static final CMAPersonalAccessToken.Scope Manage
public static CMAPersonalAccessToken.Scope[] values()
for (CMAPersonalAccessToken.Scope c : CMAPersonalAccessToken.Scope.values()) System.out.println(c);
public static CMAPersonalAccessToken.Scope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2019 Contentful, GmbH.. All Rights Reserved.