public class FileFullPermissionsField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
FileFullPermissionsField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canAnnotate
Specifies if the user can place annotations on this file.
|
protected Boolean |
canApplyWatermark
Specifies if the user can apply a watermark to this file.
|
protected boolean |
canComment
Specifies if the user can place comments on this file.
|
protected boolean |
canDelete
Specifies if the current user can delete this item.
|
protected boolean |
canDownload
Specifies if the current user can download this item.
|
protected boolean |
canInviteCollaborator
Specifies if the current user can invite new users to collaborate on this item, and if the user
can update the role of a user already collaborated on this item.
|
protected boolean |
canPreview
Specifies if the user can preview this file.
|
protected boolean |
canRename
Specifies if the user can rename this item.
|
protected boolean |
canSetShareAccess
Specifies if the user can change the access level of an existing shared link on this item.
|
protected boolean |
canShare
Specifies if the user can create a shared link for this item.
|
protected boolean |
canUpload
Specifies if the user can upload a new version of this file.
|
protected boolean |
canViewAnnotationsAll
Specifies if the user view all annotations placed on this file.
|
protected boolean |
canViewAnnotationsSelf
Specifies if the user view annotations placed by themselves on this file.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
FileFullPermissionsField(boolean canDelete,
boolean canDownload,
boolean canInviteCollaborator,
boolean canRename,
boolean canSetShareAccess,
boolean canShare,
boolean canAnnotate,
boolean canComment,
boolean canPreview,
boolean canUpload,
boolean canViewAnnotationsAll,
boolean canViewAnnotationsSelf) |
protected |
FileFullPermissionsField(FileFullPermissionsField.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getCanAnnotate() |
Boolean |
getCanApplyWatermark() |
boolean |
getCanComment() |
boolean |
getCanDelete() |
boolean |
getCanDownload() |
boolean |
getCanInviteCollaborator() |
boolean |
getCanPreview() |
boolean |
getCanRename() |
boolean |
getCanSetShareAccess() |
boolean |
getCanShare() |
boolean |
getCanUpload() |
boolean |
getCanViewAnnotationsAll() |
boolean |
getCanViewAnnotationsSelf() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final boolean canDelete
protected final boolean canDownload
protected final boolean canInviteCollaborator
protected final boolean canRename
protected final boolean canSetShareAccess
protected final boolean canShare
protected final boolean canAnnotate
protected final boolean canComment
protected final boolean canPreview
protected final boolean canUpload
protected final boolean canViewAnnotationsAll
protected final boolean canViewAnnotationsSelf
protected Boolean canApplyWatermark
public FileFullPermissionsField(boolean canDelete, boolean canDownload, boolean canInviteCollaborator, boolean canRename, boolean canSetShareAccess, boolean canShare, boolean canAnnotate, boolean canComment, boolean canPreview, boolean canUpload, boolean canViewAnnotationsAll, boolean canViewAnnotationsSelf)
protected FileFullPermissionsField(FileFullPermissionsField.Builder builder)
public boolean getCanDelete()
public boolean getCanDownload()
public boolean getCanInviteCollaborator()
public boolean getCanRename()
public boolean getCanSetShareAccess()
public boolean getCanShare()
public boolean getCanAnnotate()
public boolean getCanComment()
public boolean getCanPreview()
public boolean getCanUpload()
public boolean getCanViewAnnotationsAll()
public boolean getCanViewAnnotationsSelf()
public Boolean getCanApplyWatermark()