public class FileSharedLinkPermissionsField extends SerializableObject
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canDownload
Defines if the shared link allows for the item to be downloaded.
|
protected boolean |
canEdit
Defines if the shared link allows for the item to be edited.
|
protected boolean |
canPreview
Defines if the shared link allows for the item to be previewed.
|
explicitlySetNullableFields| Constructor and Description |
|---|
FileSharedLinkPermissionsField(boolean canDownload,
boolean canPreview,
boolean canEdit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getCanDownload() |
boolean |
getCanEdit() |
boolean |
getCanPreview() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final boolean canDownload
This value can be set to `true` when the effective access level is set to `open` or `company`, not `collaborators`.
protected final boolean canPreview
This value is always `true`. For shared links on folders this also applies to any items in the folder.
protected final boolean canEdit
This value can only be `true` if `can_download` is also `true` and if the item has a type of `file`.
public FileSharedLinkPermissionsField(boolean canDownload, boolean canPreview, boolean canEdit)
public boolean getCanDownload()
public boolean getCanPreview()
public boolean getCanEdit()