public enum MessageStatus extends Enum<MessageStatus>
| Enum Constant and Description |
|---|
ACCEPTED |
DELIVERED |
FAILED |
ISSUED |
N_A |
PENDING |
REJECTED |
STAGING |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static MessageStatus |
fromValue(String value) |
String |
getValue() |
String |
toString() |
String |
toUrlQueryString(String prefix)
Convert the instance into URL query string.
|
static MessageStatus |
valueOf(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.
|
public static final MessageStatus FAILED
public static final MessageStatus ACCEPTED
public static final MessageStatus DELIVERED
public static final MessageStatus ISSUED
public static final MessageStatus REJECTED
public static final MessageStatus UNKNOWN
public static final MessageStatus PENDING
public static final MessageStatus STAGING
public static final MessageStatus N_A
public static MessageStatus[] values()
for (MessageStatus c : MessageStatus.values()) System.out.println(c);
public static MessageStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<MessageStatus>public static MessageStatus fromValue(String value)
Copyright © 2024. All rights reserved.