public class UpdateFolderByIdRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateFolderByIdRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
canNonOwnersInvite
Specifies if users who are not the owner of the folder can invite new collaborators to the
folder.
|
protected Boolean |
canNonOwnersViewCollaborators
Restricts collaborators who are not the owner of this folder from viewing other collaborations
on this folder.
|
protected List<UpdateFolderByIdRequestBodyCollectionsField> |
collections
An array of collections to make this folder a member of.
|
protected String |
description
The optional description of this folder.
|
protected UpdateFolderByIdRequestBodyFolderUploadEmailField |
folderUploadEmail |
protected Boolean |
isCollaborationRestrictedToEnterprise
Specifies if new invites to this folder are restricted to users within the enterprise.
|
protected String |
name
The optional new name for this folder.
|
protected UpdateFolderByIdRequestBodyParentField |
parent |
protected UpdateFolderByIdRequestBodySharedLinkField |
sharedLink |
protected EnumWrapper<UpdateFolderByIdRequestBodySyncStateField> |
syncState
Specifies whether a folder should be synced to a user's device or not.
|
protected List<String> |
tags
The tags for this item.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
UpdateFolderByIdRequestBody() |
protected |
UpdateFolderByIdRequestBody(UpdateFolderByIdRequestBody.Builder builder) |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String name
The following restrictions to folder names apply: names containing non-printable ASCII characters, forward and backward slashes (`/`, `\`), names with trailing spaces, and names `.` and `..` are not allowed.
Folder names must be unique within their parent folder. The name check is case-insensitive, so a folder named `New Folder` cannot be created in a parent folder that already contains a folder named `new folder`.
protected String description
protected EnumWrapper<UpdateFolderByIdRequestBodySyncStateField> syncState
protected Boolean canNonOwnersInvite
protected UpdateFolderByIdRequestBodyParentField parent
protected UpdateFolderByIdRequestBodySharedLinkField sharedLink
protected UpdateFolderByIdRequestBodyFolderUploadEmailField folderUploadEmail
protected List<String> tags
To add or remove a tag, retrieve the item's current tags, modify them, and then update this field.
There is a limit of 100 tags per item, and 10,000 unique tags per enterprise.
protected Boolean isCollaborationRestrictedToEnterprise
protected List<UpdateFolderByIdRequestBodyCollectionsField> collections
To get the ID for a collection, use the [List all collections][1] endpoint.
Passing an empty array `[]` or `null` will remove the folder from all collections.
[1]: https://developer.box.com/reference/get-collections
protected Boolean canNonOwnersViewCollaborators
It also restricts non-owners from inviting new collaborators.
When setting this field to `false`, it is required to also set `can_non_owners_invite_collaborators` to `false` if it has not already been set.
public UpdateFolderByIdRequestBody()
protected UpdateFolderByIdRequestBody(UpdateFolderByIdRequestBody.Builder builder)
public String getDescription()
public EnumWrapper<UpdateFolderByIdRequestBodySyncStateField> getSyncState()
public Boolean getCanNonOwnersInvite()
public UpdateFolderByIdRequestBodyParentField getParent()
public UpdateFolderByIdRequestBodySharedLinkField getSharedLink()
public UpdateFolderByIdRequestBodyFolderUploadEmailField getFolderUploadEmail()
public Boolean getIsCollaborationRestrictedToEnterprise()
public List<UpdateFolderByIdRequestBodyCollectionsField> getCollections()
public Boolean getCanNonOwnersViewCollaborators()