public class UpdateSharedLinkOnFolderRequestBodySharedLinkField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateSharedLinkOnFolderRequestBodySharedLinkField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EnumWrapper<UpdateSharedLinkOnFolderRequestBodySharedLinkAccessField> |
access
The level of access for the shared link.
|
protected String |
password
The password required to access the shared link.
|
protected UpdateSharedLinkOnFolderRequestBodySharedLinkPermissionsField |
permissions |
protected OffsetDateTime |
unsharedAt
The timestamp at which this shared link will expire.
|
protected String |
vanityName
Defines a custom vanity name to use in the shared link URL, for example
`https://app.box.com/v/my-shared-link`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
UpdateSharedLinkOnFolderRequestBodySharedLinkField() |
protected |
UpdateSharedLinkOnFolderRequestBodySharedLinkField(UpdateSharedLinkOnFolderRequestBodySharedLinkField.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnumWrapper<UpdateSharedLinkOnFolderRequestBodySharedLinkAccessField> |
getAccess() |
String |
getPassword() |
UpdateSharedLinkOnFolderRequestBodySharedLinkPermissionsField |
getPermissions() |
OffsetDateTime |
getUnsharedAt() |
String |
getVanityName() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<UpdateSharedLinkOnFolderRequestBodySharedLinkAccessField> access
If not set, this field defaults to the access level specified by the enterprise admin. To create a shared link with this default setting pass the `shared_link` object with no `access` field, for example `{ "shared_link": {} }`.
The `company` access level is only available to paid accounts.
protected String password
protected String vanityName
Custom URLs should not be used when sharing sensitive content as vanity URLs are a lot easier to guess than regular shared links.
protected OffsetDateTime unsharedAt
protected UpdateSharedLinkOnFolderRequestBodySharedLinkPermissionsField permissions
public UpdateSharedLinkOnFolderRequestBodySharedLinkField()
protected UpdateSharedLinkOnFolderRequestBodySharedLinkField(UpdateSharedLinkOnFolderRequestBodySharedLinkField.Builder builder)
public EnumWrapper<UpdateSharedLinkOnFolderRequestBodySharedLinkAccessField> getAccess()
public String getPassword()
public String getVanityName()
public OffsetDateTime getUnsharedAt()
public UpdateSharedLinkOnFolderRequestBodySharedLinkPermissionsField getPermissions()