public static class BoxSharedLink.Permissions extends BoxJsonObject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FIELD_CAN_DOWNLOAD |
mProperties| Constructor and Description |
|---|
BoxSharedLink.Permissions()
Constructs a Permissions object with all permissions disabled.
|
BoxSharedLink.Permissions(java.util.Map<java.lang.String,java.lang.Object> map)
Constructs Permssions with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getCanDownload()
Gets whether or not the shared link can be downloaded.
|
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_CAN_DOWNLOAD
public BoxSharedLink.Permissions()
public BoxSharedLink.Permissions(java.util.Map<java.lang.String,java.lang.Object> map)
map - map of keys and values of the object.public java.lang.Boolean getCanDownload()
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.