public class BoxFolder.Info extends BoxItem.Info
| Constructor and Description |
|---|
Info()
Constructs an empty Info object.
|
Info(String json)
Constructs an Info object by parsing information from a JSON string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCanNonOwnersInvite()
Gets whether or not the non-owners can invite collaborators to the folder.
|
boolean |
getHasCollaborations()
Gets whether or not the folder has any collaborations.
|
EnumSet<BoxFolder.Permission> |
getPermissions()
Gets the permissions that the current user has on the folder.
|
BoxFolder |
getResource()
Gets the resource associated with this Info.
|
BoxFolder.SyncState |
getSyncState()
Gets the sync state of the folder.
|
BoxUploadEmail |
getUploadEmail()
Gets the upload email for the folder.
|
protected void |
parseJSONMember(JsonObject.Member member)
Invoked with a JSON member whenever this object is updated or created from a JSON object.
|
void |
setSyncState(BoxFolder.SyncState syncState)
Sets the sync state of the folder.
|
void |
setUploadEmail(BoxUploadEmail uploadEmail)
Sets the upload email for the folder.
|
getContentCreatedAt, getContentModifiedAt, getCreatedAt, getCreatedBy, getDescription, getEtag, getItemStatus, getModifiedAt, getModifiedBy, getName, getOwnedBy, getParent, getPathCollection, getPurgedAt, getSequenceID, getSharedLink, getSize, getTags, getTrashedAt, setDescription, setName, setSharedLinkgetIDclearPendingChanges, getPendingChangespublic Info()
public BoxUploadEmail getUploadEmail()
public void setUploadEmail(BoxUploadEmail uploadEmail)
uploadEmail - the upload email for the folder.public boolean getHasCollaborations()
public BoxFolder.SyncState getSyncState()
public void setSyncState(BoxFolder.SyncState syncState)
syncState - the sync state of the folder.public EnumSet<BoxFolder.Permission> getPermissions()
public boolean getCanNonOwnersInvite()
public BoxFolder getResource()
BoxResource.InfogetResource in class BoxResource.Infoprotected 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 BoxItem.Infomember - the JSON member to be parsed.