public class UpdateCollaborationByIdRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateCollaborationByIdRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
canViewPath
Determines if the invited users can see the entire parent path to the associated folder.
|
protected OffsetDateTime |
expiresAt
Update the expiration date for the collaboration.
|
protected EnumWrapper<UpdateCollaborationByIdRequestBodyRoleField> |
role
The level of access granted.
|
protected EnumWrapper<UpdateCollaborationByIdRequestBodyStatusField> |
status
Set the status of a `pending` collaboration invitation, effectively accepting, or rejecting the
invite.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
UpdateCollaborationByIdRequestBody() |
protected |
UpdateCollaborationByIdRequestBody(UpdateCollaborationByIdRequestBody.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getCanViewPath() |
OffsetDateTime |
getExpiresAt() |
EnumWrapper<UpdateCollaborationByIdRequestBodyRoleField> |
getRole() |
EnumWrapper<UpdateCollaborationByIdRequestBodyStatusField> |
getStatus() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<UpdateCollaborationByIdRequestBodyRoleField> role
protected EnumWrapper<UpdateCollaborationByIdRequestBodyStatusField> status
protected OffsetDateTime expiresAt
This feature will only work if the **Automatically remove invited collaborators: Allow folder owners to extend the expiry date** setting has been enabled in the **Enterprise Settings** of the **Admin Console**. When the setting is not enabled, collaborations can not have an expiry date and a value for this field will be result in an error.
Additionally, a collaboration can only be given an expiration if it was created after the **Automatically remove invited collaborator** setting was enabled.
protected Boolean canViewPath
Be aware that this meaningfully increases the time required to load the invitee's **All Files** page. We recommend you limit the number of collaborations with `can_view_path` enabled to 1,000 per user.
Only an owner or co-owners can invite collaborators with a `can_view_path` of `true`. Only an owner can update `can_view_path` on existing collaborations.
`can_view_path` can only be used for folder collaborations.
When you delete a folder with `can_view_path=true`, collaborators may still see the parent path. For instructions on how to remove this, see [Even though a folder invited via can_view_path is deleted, the path remains displayed](https://support.box.com/hc/en-us/articles/37472814319891-Even-though-a-folder-invited-via-can-view-path-is-deleted-the-path-remains-displayed).
public UpdateCollaborationByIdRequestBody()
protected UpdateCollaborationByIdRequestBody(UpdateCollaborationByIdRequestBody.Builder builder)
public EnumWrapper<UpdateCollaborationByIdRequestBodyRoleField> getRole()
public EnumWrapper<UpdateCollaborationByIdRequestBodyStatusField> getStatus()
public OffsetDateTime getExpiresAt()
public Boolean getCanViewPath()