public class BoxUploadEmail extends BoxJsonObject
| Modifier and Type | Class and Description |
|---|---|
static class |
BoxUploadEmail.Access
Enumerates the possible access levels that can be set on an upload email.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_ACCESS |
static java.lang.String |
FIELD_EMAIL |
mProperties| Constructor and Description |
|---|
BoxUploadEmail()
Constructs a BoxUploadEmail with default settings.
|
BoxUploadEmail(java.util.Map<java.lang.String,java.lang.Object> map)
Constructs a BoxUploadEmail with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
BoxUploadEmail.Access |
getAccess()
Gets the access level of this upload email.
|
java.lang.String |
getEmail()
Gets the email address of this upload email.
|
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_ACCESS
public static final java.lang.String FIELD_EMAIL
public BoxUploadEmail()
public BoxUploadEmail(java.util.Map<java.lang.String,java.lang.Object> map)
map - map of keys and values of the object.public BoxUploadEmail.Access getAccess()
public java.lang.String getEmail()
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.