Enum Twitter.TierEnum
- java.lang.Object
-
- java.lang.Enum<Twitter.TierEnum>
-
- com.zendesk.sunshine_conversations_client.model.Twitter.TierEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Twitter.TierEnum>
- Enclosing class:
public static enum Twitter.TierEnum extends java.lang.Enum<Twitter.TierEnum>
Your Twitter app’s tier, sandbox, premium or enterprise.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTERPRISEPREMIUMSANDBOX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Twitter.TierEnumfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static Twitter.TierEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Twitter.TierEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SANDBOX
public static final Twitter.TierEnum SANDBOX
-
PREMIUM
public static final Twitter.TierEnum PREMIUM
-
ENTERPRISE
public static final Twitter.TierEnum ENTERPRISE
-
-
Method Detail
-
values
public static Twitter.TierEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Twitter.TierEnum c : Twitter.TierEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Twitter.TierEnum valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Twitter.TierEnum>
-
fromValue
public static Twitter.TierEnum fromValue(java.lang.String value)
-
-