Package com.twitter.clientlib.model
Enum OperationalDisconnectProblemAllOf.DisconnectTypeEnum
- java.lang.Object
-
- java.lang.Enum<OperationalDisconnectProblemAllOf.DisconnectTypeEnum>
-
- com.twitter.clientlib.model.OperationalDisconnectProblemAllOf.DisconnectTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<OperationalDisconnectProblemAllOf.DisconnectTypeEnum>
- Enclosing class:
- OperationalDisconnectProblemAllOf
public static enum OperationalDisconnectProblemAllOf.DisconnectTypeEnum extends Enum<OperationalDisconnectProblemAllOf.DisconnectTypeEnum>
Gets or Sets disconnectType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationalDisconnectProblemAllOf.DisconnectTypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENTAPPLICATIONSTATEDEGRADEDFORCEDISCONNECTINTERNALERRORINVALIDRULESOPERATIONALDISCONNECTSLOWREADERUPSTREAMOPERATIONALDISCONNECTUPSTREAMUNCLEANDISCONNECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationalDisconnectProblemAllOf.DisconnectTypeEnumfromValue(String value)StringgetValue()StringtoString()static OperationalDisconnectProblemAllOf.DisconnectTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static OperationalDisconnectProblemAllOf.DisconnectTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPERATIONALDISCONNECT
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum OPERATIONALDISCONNECT
-
UPSTREAMOPERATIONALDISCONNECT
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum UPSTREAMOPERATIONALDISCONNECT
-
FORCEDISCONNECT
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum FORCEDISCONNECT
-
UPSTREAMUNCLEANDISCONNECT
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum UPSTREAMUNCLEANDISCONNECT
-
SLOWREADER
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum SLOWREADER
-
INTERNALERROR
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum INTERNALERROR
-
CLIENTAPPLICATIONSTATEDEGRADED
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum CLIENTAPPLICATIONSTATEDEGRADED
-
INVALIDRULES
public static final OperationalDisconnectProblemAllOf.DisconnectTypeEnum INVALIDRULES
-
-
Method Detail
-
values
public static OperationalDisconnectProblemAllOf.DisconnectTypeEnum[] 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 (OperationalDisconnectProblemAllOf.DisconnectTypeEnum c : OperationalDisconnectProblemAllOf.DisconnectTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OperationalDisconnectProblemAllOf.DisconnectTypeEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OperationalDisconnectProblemAllOf.DisconnectTypeEnum>
-
fromValue
public static OperationalDisconnectProblemAllOf.DisconnectTypeEnum fromValue(String value)
-
-