Enum DeliveryReceipt.DeliveryStatus
- java.lang.Object
-
- java.lang.Enum<DeliveryReceipt.DeliveryStatus>
-
- com.twilio.rest.conversations.v1.service.conversation.message.DeliveryReceipt.DeliveryStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<DeliveryReceipt.DeliveryStatus>
- Enclosing class:
- DeliveryReceipt
public static enum DeliveryReceipt.DeliveryStatus extends Enum<DeliveryReceipt.DeliveryStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELIVERED
FAILED
READ
SENT
UNDELIVERED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryReceipt.DeliveryStatus
forValue(String value)
String
toString()
static DeliveryReceipt.DeliveryStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeliveryReceipt.DeliveryStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final DeliveryReceipt.DeliveryStatus READ
-
FAILED
public static final DeliveryReceipt.DeliveryStatus FAILED
-
DELIVERED
public static final DeliveryReceipt.DeliveryStatus DELIVERED
-
UNDELIVERED
public static final DeliveryReceipt.DeliveryStatus UNDELIVERED
-
SENT
public static final DeliveryReceipt.DeliveryStatus SENT
-
-
Method Detail
-
values
public static DeliveryReceipt.DeliveryStatus[] 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 (DeliveryReceipt.DeliveryStatus c : DeliveryReceipt.DeliveryStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeliveryReceipt.DeliveryStatus 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<DeliveryReceipt.DeliveryStatus>
-
forValue
public static DeliveryReceipt.DeliveryStatus forValue(String value)
-
-