Enum User.WebhookEnabledType
- java.lang.Object
-
- java.lang.Enum<User.WebhookEnabledType>
-
- com.twilio.rest.ipmessaging.v2.service.User.WebhookEnabledType
-
- All Implemented Interfaces:
Serializable
,Comparable<User.WebhookEnabledType>
- Enclosing class:
- User
public static enum User.WebhookEnabledType extends Enum<User.WebhookEnabledType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User.WebhookEnabledType
forValue(String value)
Generate a WebhookEnabledType from a string.String
toString()
static User.WebhookEnabledType
valueOf(String name)
Returns the enum constant of this type with the specified name.static User.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 User.WebhookEnabledType TRUE
-
FALSE
public static final User.WebhookEnabledType FALSE
-
-
Method Detail
-
values
public static User.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 (User.WebhookEnabledType c : User.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 User.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:
toString
in classEnum<User.WebhookEnabledType>
-
forValue
public static User.WebhookEnabledType forValue(String value)
Generate a WebhookEnabledType from a string.- Parameters:
value
- string value- Returns:
- generated WebhookEnabledType
-
-