public static enum Message.UpdateReason extends java.lang.Enum<Message.UpdateReason>
| Enum Constant and Description |
|---|
ATTRIBUTES
Message attributes have been updated.
|
BODY
Message body has been updated.
|
| Modifier and Type | Method and Description |
|---|---|
static Message.UpdateReason |
fromInt(int value) |
int |
getValue() |
static Message.UpdateReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Message.UpdateReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.UpdateReason BODY
public static final Message.UpdateReason ATTRIBUTES
public static Message.UpdateReason[] values()
for (Message.UpdateReason c : Message.UpdateReason.values()) System.out.println(c);
public static Message.UpdateReason 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 int getValue()
public static Message.UpdateReason fromInt(int value)