public static enum SourceCreateParams.Usage extends java.lang.Enum<SourceCreateParams.Usage> implements ApiRequestParams.EnumParam
| Enum Constant and Description |
|---|
REUSABLE |
SINGLE_USE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static SourceCreateParams.Usage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceCreateParams.Usage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="reusable") public static final SourceCreateParams.Usage REUSABLE
@SerializedName(value="single_use") public static final SourceCreateParams.Usage SINGLE_USE
public static SourceCreateParams.Usage[] values()
for (SourceCreateParams.Usage c : SourceCreateParams.Usage.values()) System.out.println(c);
public static SourceCreateParams.Usage 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 nullpublic java.lang.String getValue()
getValue in interface ApiRequestParams.EnumParam