public static enum PlanCreateParams.AggregateUsage extends java.lang.Enum<PlanCreateParams.AggregateUsage> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
LAST_DURING_PERIOD |
LAST_EVER |
MAX |
SUM |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static PlanCreateParams.AggregateUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlanCreateParams.AggregateUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="last_during_period") public static final PlanCreateParams.AggregateUsage LAST_DURING_PERIOD
@SerializedName(value="last_ever") public static final PlanCreateParams.AggregateUsage LAST_EVER
@SerializedName(value="max") public static final PlanCreateParams.AggregateUsage MAX
@SerializedName(value="sum") public static final PlanCreateParams.AggregateUsage SUM
public static PlanCreateParams.AggregateUsage[] values()
for (PlanCreateParams.AggregateUsage c : PlanCreateParams.AggregateUsage.values()) System.out.println(c);
public static PlanCreateParams.AggregateUsage 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