public class Folder extends FolderMini
| Modifier and Type | Class and Description |
|---|---|
static class |
Folder.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 FolderFolderUploadEmailField |
folderUploadEmail
The `folder_upload_email` parameter is not `null` if one of the following options is **true**:
|
protected Items |
itemCollection |
protected EnumWrapper<FolderItemStatusField> |
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 UserMini |
ownedBy |
protected FolderMini |
parent |
protected FolderPathCollectionField |
pathCollection |
protected OffsetDateTime |
purgedAt
The time at which this folder is expected to be purged from the trash.
|
protected FolderSharedLinkField |
sharedLink |
protected Long |
size
The folder size in bytes.
|
protected OffsetDateTime |
trashedAt
The time at which this folder was put in the trash.
|
name, sequenceIdetag, id, typeexplicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
Folder(Folder.Builder builder) |
|
Folder(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getContentCreatedAt() |
OffsetDateTime |
getContentModifiedAt() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getDescription() |
FolderFolderUploadEmailField |
getFolderUploadEmail() |
Items |
getItemCollection() |
EnumWrapper<FolderItemStatusField> |
getItemStatus() |
OffsetDateTime |
getModifiedAt() |
UserMini |
getModifiedBy() |
UserMini |
getOwnedBy() |
FolderMini |
getParent() |
FolderPathCollectionField |
getPathCollection() |
OffsetDateTime |
getPurgedAt() |
FolderSharedLinkField |
getSharedLink() |
Long |
getSize() |
OffsetDateTime |
getTrashedAt() |
int |
hashCode() |
String |
toString() |
getName, getSequenceIdgetEtag, getId, getTypegetRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected OffsetDateTime createdAt
protected OffsetDateTime modifiedAt
protected String description
protected Long size
Be careful parsing this integer as its value can get very large.
protected FolderPathCollectionField pathCollection
protected UserMini modifiedBy
protected OffsetDateTime trashedAt
protected OffsetDateTime purgedAt
protected OffsetDateTime contentCreatedAt
protected OffsetDateTime contentModifiedAt
protected FolderSharedLinkField sharedLink
protected FolderFolderUploadEmailField folderUploadEmail
* The **Allow uploads to this folder via email** and the **Only allow email uploads from collaborators in this folder** are [enabled for a folder in the Admin Console](https://support.box.com/hc/en-us/articles/360043697534-Upload-to-Box-Through-Email), and the user has at least **Upload** permissions granted.
* The **Allow uploads to this folder via email** setting is enabled for a folder in the Admin Console, and the **Only allow email uploads from collaborators in this folder** setting is deactivated (unchecked).
If the conditions are not met, the parameter will have the following value: `folder_upload_email: null`.
protected FolderMini parent
protected EnumWrapper<FolderItemStatusField> 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.
protected Items itemCollection
protected Folder(Folder.Builder builder)
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public String getDescription()
public FolderPathCollectionField getPathCollection()
public UserMini getCreatedBy()
public UserMini getModifiedBy()
public OffsetDateTime getTrashedAt()
public OffsetDateTime getPurgedAt()
public OffsetDateTime getContentCreatedAt()
public OffsetDateTime getContentModifiedAt()
public UserMini getOwnedBy()
public FolderSharedLinkField getSharedLink()
public FolderFolderUploadEmailField getFolderUploadEmail()
public FolderMini getParent()
public EnumWrapper<FolderItemStatusField> getItemStatus()
public Items getItemCollection()
public boolean equals(Object o)
equals in class FolderMinipublic int hashCode()
hashCode in class FolderMinipublic String toString()
toString in class FolderMini