public class TrashFileRestored extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
TrashFileRestored.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
contentCreatedAt
The date and time at which this file was originally created, which might be before it was
uploaded to Box.
|
protected OffsetDateTime |
contentModifiedAt
The date and time at which this file was last updated, which might be before it was uploaded to
Box.
|
protected OffsetDateTime |
createdAt
The date and time when the file was created on Box.
|
protected UserMini |
createdBy |
protected String |
description
The optional description of this file.
|
protected String |
etag
The HTTP `etag` of this file.
|
protected FileVersionMini |
fileVersion |
protected String |
id
The unique identifier that represent a file.
|
protected EnumWrapper<TrashFileRestoredItemStatusField> |
itemStatus
Defines if this item has been deleted or not.
|
protected OffsetDateTime |
modifiedAt
The date and time when the file was last updated on Box.
|
protected UserMini |
modifiedBy |
protected String |
name
The name of the file.
|
protected UserMini |
ownedBy |
protected FolderMini |
parent |
protected TrashFileRestoredPathCollectionField |
pathCollection |
protected String |
purgedAt
The time at which this file is expected to be purged from the trash - becomes `null` after
restore.
|
protected String |
sequenceId |
protected String |
sha1
The SHA1 hash of the file.
|
protected String |
sharedLink
The shared link for this file.
|
protected long |
size
The file size in bytes.
|
protected String |
trashedAt
The time at which this file was put in the trash - becomes `null` after restore.
|
protected EnumWrapper<TrashFileRestoredTypeField> |
type
The value will always be `file`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
TrashFileRestored(String id,
String sequenceId,
String sha1,
String description,
long size,
TrashFileRestoredPathCollectionField pathCollection,
OffsetDateTime createdAt,
OffsetDateTime modifiedAt,
UserMini modifiedBy,
UserMini ownedBy,
EnumWrapper<TrashFileRestoredItemStatusField> itemStatus) |
|
TrashFileRestored(String id,
String sequenceId,
String sha1,
String description,
long size,
TrashFileRestoredPathCollectionField pathCollection,
OffsetDateTime createdAt,
OffsetDateTime modifiedAt,
UserMini modifiedBy,
UserMini ownedBy,
TrashFileRestoredItemStatusField itemStatus) |
protected |
TrashFileRestored(TrashFileRestored.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getContentCreatedAt() |
OffsetDateTime |
getContentModifiedAt() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getDescription() |
String |
getEtag() |
FileVersionMini |
getFileVersion() |
String |
getId() |
EnumWrapper<TrashFileRestoredItemStatusField> |
getItemStatus() |
OffsetDateTime |
getModifiedAt() |
UserMini |
getModifiedBy() |
String |
getName() |
UserMini |
getOwnedBy() |
FolderMini |
getParent() |
TrashFileRestoredPathCollectionField |
getPathCollection() |
String |
getPurgedAt() |
String |
getSequenceId() |
String |
getSha1() |
String |
getSharedLink() |
long |
getSize() |
String |
getTrashedAt() |
EnumWrapper<TrashFileRestoredTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final String id
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
protected String etag
protected EnumWrapper<TrashFileRestoredTypeField> type
protected final String sequenceId
protected final String sha1
protected FileVersionMini fileVersion
protected final String description
protected final long size
protected final TrashFileRestoredPathCollectionField pathCollection
protected final OffsetDateTime createdAt
protected final OffsetDateTime modifiedAt
protected String trashedAt
protected String purgedAt
protected OffsetDateTime contentCreatedAt
protected OffsetDateTime contentModifiedAt
protected final UserMini modifiedBy
protected String sharedLink
protected FolderMini parent
protected final EnumWrapper<TrashFileRestoredItemStatusField> itemStatus
* `active` when the item has is not in the trash * `trashed` when the item has been moved to the trash but not deleted * `deleted` when the item has been permanently deleted.
public TrashFileRestored(String id, String sequenceId, String sha1, String description, long size, TrashFileRestoredPathCollectionField pathCollection, OffsetDateTime createdAt, OffsetDateTime modifiedAt, UserMini modifiedBy, UserMini ownedBy, TrashFileRestoredItemStatusField itemStatus)
public TrashFileRestored(String id, String sequenceId, String sha1, String description, long size, TrashFileRestoredPathCollectionField pathCollection, OffsetDateTime createdAt, OffsetDateTime modifiedAt, UserMini modifiedBy, UserMini ownedBy, EnumWrapper<TrashFileRestoredItemStatusField> itemStatus)
protected TrashFileRestored(TrashFileRestored.Builder builder)
public EnumWrapper<TrashFileRestoredTypeField> getType()
public String getSequenceId()
public FileVersionMini getFileVersion()
public String getDescription()
public long getSize()
public TrashFileRestoredPathCollectionField getPathCollection()
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public String getTrashedAt()
public String getPurgedAt()
public OffsetDateTime getContentCreatedAt()
public OffsetDateTime getContentModifiedAt()
public UserMini getCreatedBy()
public UserMini getModifiedBy()
public UserMini getOwnedBy()
public String getSharedLink()
public FolderMini getParent()
public EnumWrapper<TrashFileRestoredItemStatusField> getItemStatus()