public enum EmailStatus extends java.lang.Enum<EmailStatus>
| Modifier and Type | Class and Description |
|---|---|
static class |
EmailStatus.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static EmailStatus |
fromValue(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement) |
static EmailStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmailStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailStatus SENDING
public static final EmailStatus PENDING
public static final EmailStatus SENT
public static EmailStatus[] values()
for (EmailStatus c : EmailStatus.values()) System.out.println(c);
public static EmailStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Enum<EmailStatus>public static EmailStatus fromValue(java.lang.String value)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
java.io.IOException