public class BoxSimpleMessage extends BoxJsonObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_MESSAGE |
static java.lang.String |
MESSAGE_NEW_CHANGE |
static java.lang.String |
MESSAGE_RECONNECT |
mProperties| Constructor and Description |
|---|
BoxSimpleMessage()
Constructs an empty BoxSimpleMessage object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns the message from the server.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
createFromJson, createFromJson, getPropertiesAsHashMap, parseJsonObject, parseNullJsonMember, toJson, toJsonObjectpublic static final java.lang.String FIELD_MESSAGE
public static final java.lang.String MESSAGE_NEW_CHANGE
public static final java.lang.String MESSAGE_RECONNECT
public BoxSimpleMessage()
protected void parseJSONMember(JsonObject.Member member)
BoxJsonObjectSubclasses should override this method in order to parse any JSON members it knows about. This method is a no-op by default.
parseJSONMember in class BoxJsonObjectmember - the JSON member to be parsed.public java.lang.String getMessage()