Enum ConnectApp.Permission
- java.lang.Object
-
- java.lang.Enum<ConnectApp.Permission>
-
- com.twilio.rest.api.v2010.account.ConnectApp.Permission
-
- All Implemented Interfaces:
Serializable,Comparable<ConnectApp.Permission>
- Enclosing class:
- ConnectApp
public static enum ConnectApp.Permission extends Enum<ConnectApp.Permission>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConnectApp.PermissionforValue(String value)StringtoString()static ConnectApp.PermissionvalueOf(String name)Returns the enum constant of this type with the specified name.static ConnectApp.Permission[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_ALL
public static final ConnectApp.Permission GET_ALL
-
POST_ALL
public static final ConnectApp.Permission POST_ALL
-
-
Method Detail
-
values
public static ConnectApp.Permission[] 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 (ConnectApp.Permission c : ConnectApp.Permission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectApp.Permission 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<ConnectApp.Permission>
-
forValue
public static ConnectApp.Permission forValue(String value)
-
-