public enum AdCostType extends java.lang.Enum<AdCostType> implements EnumParam
| Enum Constant and Description |
|---|
PER_ACTIONS |
PER_CLICKS |
PER_IMPRESSIONS |
PER_IMPRESSIONS_OPTIMIZED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
java.lang.String |
toString() |
static AdCostType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdCostType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="0") public static final AdCostType PER_CLICKS
@SerializedName(value="1") public static final AdCostType PER_IMPRESSIONS
@SerializedName(value="2") public static final AdCostType PER_ACTIONS
@SerializedName(value="3") public static final AdCostType PER_IMPRESSIONS_OPTIMIZED
public static AdCostType[] values()
for (AdCostType c : AdCostType.values()) System.out.println(c);
public static AdCostType 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<AdCostType>