Enum MessageStatus
- java.lang.Object
-
- java.lang.Enum<MessageStatus>
-
- com.courier.api.resources.messages.types.MessageStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MessageStatus>
public enum MessageStatus extends java.lang.Enum<MessageStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static MessageStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MessageStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELED
public static final MessageStatus CANCELED
-
CLICKED
public static final MessageStatus CLICKED
-
DELAYED
public static final MessageStatus DELAYED
-
DELIVERED
public static final MessageStatus DELIVERED
-
DIGESTED
public static final MessageStatus DIGESTED
-
ENQUEUED
public static final MessageStatus ENQUEUED
-
FILTERED
public static final MessageStatus FILTERED
-
OPENED
public static final MessageStatus OPENED
-
ROUTED
public static final MessageStatus ROUTED
-
SENT
public static final MessageStatus SENT
-
SIMULATED
public static final MessageStatus SIMULATED
-
THROTTLED
public static final MessageStatus THROTTLED
-
UNDELIVERABLE
public static final MessageStatus UNDELIVERABLE
-
UNMAPPED
public static final MessageStatus UNMAPPED
-
UNROUTABLE
public static final MessageStatus UNROUTABLE
-
-
Method Detail
-
values
public static MessageStatus[] 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 (MessageStatus c : MessageStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<MessageStatus>
-
-