Enum Bundle.SortBy
- java.lang.Object
-
- java.lang.Enum<Bundle.SortBy>
-
- com.twilio.rest.numbers.v2.regulatorycompliance.Bundle.SortBy
-
- All Implemented Interfaces:
Serializable,Comparable<Bundle.SortBy>
- Enclosing class:
- Bundle
public static enum Bundle.SortBy extends Enum<Bundle.SortBy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE_UPDATEDVALID_UNTIL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bundle.SortByforValue(String value)StringtoString()static Bundle.SortByvalueOf(String name)Returns the enum constant of this type with the specified name.static Bundle.SortBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALID_UNTIL
public static final Bundle.SortBy VALID_UNTIL
-
DATE_UPDATED
public static final Bundle.SortBy DATE_UPDATED
-
-
Method Detail
-
values
public static Bundle.SortBy[] 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 (Bundle.SortBy c : Bundle.SortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Bundle.SortBy 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<Bundle.SortBy>
-
forValue
public static Bundle.SortBy forValue(String value)
-
-