Package com.twilio.rest.chat.v2.service
Enum Channel.WebhookEnabledType
- java.lang.Object
-
- java.lang.Enum<Channel.WebhookEnabledType>
-
- com.twilio.rest.chat.v2.service.Channel.WebhookEnabledType
-
- All Implemented Interfaces:
Serializable,Comparable<Channel.WebhookEnabledType>
- Enclosing class:
- Channel
public static enum Channel.WebhookEnabledType extends Enum<Channel.WebhookEnabledType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel.WebhookEnabledTypeforValue(String value)StringtoString()static Channel.WebhookEnabledTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Channel.WebhookEnabledType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRUE
public static final Channel.WebhookEnabledType TRUE
-
FALSE
public static final Channel.WebhookEnabledType FALSE
-
-
Method Detail
-
values
public static Channel.WebhookEnabledType[] 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 (Channel.WebhookEnabledType c : Channel.WebhookEnabledType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Channel.WebhookEnabledType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<Channel.WebhookEnabledType>
-
forValue
public static Channel.WebhookEnabledType forValue(String value)
-
-