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.
|
Constructor and Description |
---|
BoxUploadEmail()
Constructs a BoxUploadEmail with default settings.
|
BoxUploadEmail(String json)
Constructs a BoxUploadEmail from a JSON string.
|
Modifier and Type | Method and Description |
---|---|
BoxUploadEmail.Access |
getAccess()
Gets the access level of this upload email.
|
String |
getEmail()
Gets the email address of this upload email.
|
void |
setAccess(BoxUploadEmail.Access access)
Sets the access level of this upload email.
|
clearPendingChanges, getJson, getPendingChanges, getPendingChangesAsJsonObject, getPendingJSONObject
public BoxUploadEmail()
public BoxUploadEmail(String json)
json
- the JSON encoded upload email.public BoxUploadEmail.Access getAccess()
public void setAccess(BoxUploadEmail.Access access)
access
- the new access level of this upload email.