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