public class UpdateFileByIdRequestBodySharedLinkField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateFileByIdRequestBodySharedLinkField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EnumWrapper<UpdateFileByIdRequestBodySharedLinkAccessField> |
access
The level of access for the shared link.
|
protected String |
password
The password required to access the shared link.
|
protected UpdateFileByIdRequestBodySharedLinkPermissionsField |
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 |
|---|---|
|
UpdateFileByIdRequestBodySharedLinkField() |
protected |
UpdateFileByIdRequestBodySharedLinkField(UpdateFileByIdRequestBodySharedLinkField.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnumWrapper<UpdateFileByIdRequestBodySharedLinkAccessField> |
getAccess() |
String |
getPassword() |
UpdateFileByIdRequestBodySharedLinkPermissionsField |
getPermissions() |
OffsetDateTime |
getUnsharedAt() |
String |
getVanityName() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<UpdateFileByIdRequestBodySharedLinkAccessField> 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 UpdateFileByIdRequestBodySharedLinkPermissionsField permissions
public UpdateFileByIdRequestBodySharedLinkField()
protected UpdateFileByIdRequestBodySharedLinkField(UpdateFileByIdRequestBodySharedLinkField.Builder builder)
public EnumWrapper<UpdateFileByIdRequestBodySharedLinkAccessField> getAccess()
public String getPassword()
public String getVanityName()
public OffsetDateTime getUnsharedAt()
public UpdateFileByIdRequestBodySharedLinkPermissionsField getPermissions()