public class TrashFolder extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
TrashFolder.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
contentCreatedAt
The date and time at which this folder was originally created.
|
protected OffsetDateTime |
contentModifiedAt
The date and time at which this folder was last updated.
|
protected OffsetDateTime |
createdAt
The date and time when the folder was created.
|
protected UserMini |
createdBy |
protected String |
description |
protected String |
etag
The HTTP `etag` of this folder.
|
protected String |
folderUploadEmail
The folder upload email for this folder.
|
protected String |
id
The unique identifier that represent a folder.
|
protected EnumWrapper<TrashFolderItemStatusField> |
itemStatus
Defines if this item has been deleted or not.
|
protected OffsetDateTime |
modifiedAt
The date and time when the folder was last updated.
|
protected UserMini |
modifiedBy |
protected String |
name
The name of the folder.
|
protected UserMini |
ownedBy |
protected FolderMini |
parent |
protected TrashFolderPathCollectionField |
pathCollection |
protected OffsetDateTime |
purgedAt
The time at which this folder is expected to be purged from the trash.
|
protected String |
sequenceId |
protected String |
sharedLink
The shared link for this folder.
|
protected long |
size
The folder size in bytes.
|
protected OffsetDateTime |
trashedAt
The time at which this folder was put in the trash.
|
protected EnumWrapper<TrashFolderTypeField> |
type
The value will always be `folder`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
TrashFolder(String id,
String name,
String description,
long size,
TrashFolderPathCollectionField pathCollection,
UserMini createdBy,
UserMini modifiedBy,
UserMini ownedBy,
EnumWrapper<TrashFolderItemStatusField> itemStatus) |
|
TrashFolder(String id,
String name,
String description,
long size,
TrashFolderPathCollectionField pathCollection,
UserMini createdBy,
UserMini modifiedBy,
UserMini ownedBy,
TrashFolderItemStatusField itemStatus) |
protected |
TrashFolder(TrashFolder.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getContentCreatedAt() |
OffsetDateTime |
getContentModifiedAt() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getDescription() |
String |
getEtag() |
String |
getFolderUploadEmail() |
String |
getId() |
EnumWrapper<TrashFolderItemStatusField> |
getItemStatus() |
OffsetDateTime |
getModifiedAt() |
UserMini |
getModifiedBy() |
String |
getName() |
UserMini |
getOwnedBy() |
FolderMini |
getParent() |
TrashFolderPathCollectionField |
getPathCollection() |
OffsetDateTime |
getPurgedAt() |
String |
getSequenceId() |
String |
getSharedLink() |
long |
getSize() |
OffsetDateTime |
getTrashedAt() |
EnumWrapper<TrashFolderTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final String id
The ID for any folder can be determined by visiting a folder in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/folders/123` the `folder_id` is `123`.
protected String etag
protected EnumWrapper<TrashFolderTypeField> type
protected String sequenceId
protected OffsetDateTime createdAt
protected OffsetDateTime modifiedAt
protected final String description
protected final long size
Be careful parsing this integer as its value can get very large.
protected final TrashFolderPathCollectionField pathCollection
protected final UserMini modifiedBy
protected OffsetDateTime trashedAt
protected OffsetDateTime purgedAt
protected OffsetDateTime contentCreatedAt
protected OffsetDateTime contentModifiedAt
protected String sharedLink
protected String folderUploadEmail
protected FolderMini parent
protected final EnumWrapper<TrashFolderItemStatusField> 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 TrashFolder(String id, String name, String description, long size, TrashFolderPathCollectionField pathCollection, UserMini createdBy, UserMini modifiedBy, UserMini ownedBy, TrashFolderItemStatusField itemStatus)
public TrashFolder(String id, String name, String description, long size, TrashFolderPathCollectionField pathCollection, UserMini createdBy, UserMini modifiedBy, UserMini ownedBy, EnumWrapper<TrashFolderItemStatusField> itemStatus)
protected TrashFolder(TrashFolder.Builder builder)
public EnumWrapper<TrashFolderTypeField> getType()
public String getSequenceId()
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public String getDescription()
public long getSize()
public TrashFolderPathCollectionField getPathCollection()
public UserMini getCreatedBy()
public UserMini getModifiedBy()
public OffsetDateTime getTrashedAt()
public OffsetDateTime getPurgedAt()
public OffsetDateTime getContentCreatedAt()
public OffsetDateTime getContentModifiedAt()
public UserMini getOwnedBy()
public String getSharedLink()
public String getFolderUploadEmail()
public FolderMini getParent()
public EnumWrapper<TrashFolderItemStatusField> getItemStatus()