public class FileRequest extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
FileRequest.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdAt
The date and time when the file request was created.
|
protected UserMini |
createdBy |
protected String |
description
The optional description of this file request.
|
protected String |
etag
The HTTP `etag` of this file.
|
protected OffsetDateTime |
expiresAt
The date after which a file request will no longer accept new submissions.
|
protected FolderMini |
folder |
protected String |
id
The unique identifier for this file request.
|
protected Boolean |
isDescriptionRequired
Whether a file request submitter is required to provide a description of the files they are
submitting.
|
protected Boolean |
isEmailRequired
Whether a file request submitter is required to provide their email address.
|
protected EnumWrapper<FileRequestStatusField> |
status
The status of the file request.
|
protected String |
title
The title of file request.
|
protected EnumWrapper<FileRequestTypeField> |
type
The value will always be `file_request`.
|
protected OffsetDateTime |
updatedAt
The date and time when the file request was last updated.
|
protected UserMini |
updatedBy |
protected String |
url
The generated URL for this file request.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
FileRequest(FileRequest.Builder builder) |
|
FileRequest(String id,
FolderMini folder,
OffsetDateTime createdAt,
OffsetDateTime updatedAt) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getDescription() |
String |
getEtag() |
OffsetDateTime |
getExpiresAt() |
FolderMini |
getFolder() |
String |
getId() |
Boolean |
getIsDescriptionRequired() |
Boolean |
getIsEmailRequired() |
EnumWrapper<FileRequestStatusField> |
getStatus() |
String |
getTitle() |
EnumWrapper<FileRequestTypeField> |
getType() |
OffsetDateTime |
getUpdatedAt() |
UserMini |
getUpdatedBy() |
String |
getUrl() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<FileRequestTypeField> type
protected String title
This defaults to title of the file request that was copied to create this file request.
protected String description
This defaults to description of the file request that was copied to create this file request.
protected EnumWrapper<FileRequestStatusField> status
When the status is set to `inactive`, the file request will no longer accept new submissions, and any visitor to the file request URL will receive a `HTTP 404` status code.
This defaults to status of file request that was copied to create this file request.
protected Boolean isEmailRequired
When this setting is set to true, the Box UI will show an email field on the file request form.
This defaults to setting of file request that was copied to create this file request.
protected Boolean isDescriptionRequired
When this setting is set to true, the Box UI will show a description field on the file request form.
This defaults to setting of file request that was copied to create this file request.
protected OffsetDateTime expiresAt
After this date, the `status` will automatically be set to `inactive`.
protected final FolderMini folder
protected String url
protected String etag
protected final OffsetDateTime createdAt
protected final OffsetDateTime updatedAt
public FileRequest(String id, FolderMini folder, OffsetDateTime createdAt, OffsetDateTime updatedAt)
protected FileRequest(FileRequest.Builder builder)
public EnumWrapper<FileRequestTypeField> getType()
public String getDescription()
public EnumWrapper<FileRequestStatusField> getStatus()
public Boolean getIsEmailRequired()
public Boolean getIsDescriptionRequired()
public OffsetDateTime getExpiresAt()
public FolderMini getFolder()
public UserMini getCreatedBy()
public OffsetDateTime getCreatedAt()
public UserMini getUpdatedBy()
public OffsetDateTime getUpdatedAt()