public enum GetStatisticsPeriod extends java.lang.Enum<GetStatisticsPeriod> implements EnumParam
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static GetStatisticsPeriod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GetStatisticsPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="day") public static final GetStatisticsPeriod DAY
@SerializedName(value="month") public static final GetStatisticsPeriod MONTH
@SerializedName(value="overall") public static final GetStatisticsPeriod OVERALL
@SerializedName(value="week") public static final GetStatisticsPeriod WEEK
@SerializedName(value="year") public static final GetStatisticsPeriod YEAR
public static GetStatisticsPeriod[] values()
for (GetStatisticsPeriod c : GetStatisticsPeriod.values()) System.out.println(c);
public static GetStatisticsPeriod 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 toString()
toString in class java.lang.Enum<GetStatisticsPeriod>