public class File extends FileMini
| Modifier and Type | Class and Description |
|---|---|
static class |
File.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 EnumWrapper<FileItemStatusField> |
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 UserMini |
ownedBy |
protected FolderMini |
parent |
protected FilePathCollectionField |
pathCollection |
protected OffsetDateTime |
purgedAt
The time at which this file is expected to be purged from the trash.
|
protected FileSharedLinkField |
sharedLink |
protected Long |
size
The file size in bytes.
|
protected OffsetDateTime |
trashedAt
The time at which this file was put in the trash.
|
fileVersion, name, sequenceId, sha1explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
File(File.Builder builder) |
|
File(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getContentCreatedAt() |
OffsetDateTime |
getContentModifiedAt() |
OffsetDateTime |
getCreatedAt() |
UserMini |
getCreatedBy() |
String |
getDescription() |
EnumWrapper<FileItemStatusField> |
getItemStatus() |
OffsetDateTime |
getModifiedAt() |
UserMini |
getModifiedBy() |
UserMini |
getOwnedBy() |
FolderMini |
getParent() |
FilePathCollectionField |
getPathCollection() |
OffsetDateTime |
getPurgedAt() |
FileSharedLinkField |
getSharedLink() |
Long |
getSize() |
OffsetDateTime |
getTrashedAt() |
int |
hashCode() |
String |
toString() |
getFileVersion, getName, getSequenceId, getSha1getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String description
protected Long size
protected FilePathCollectionField pathCollection
protected OffsetDateTime createdAt
protected OffsetDateTime modifiedAt
protected OffsetDateTime trashedAt
protected OffsetDateTime purgedAt
protected OffsetDateTime contentCreatedAt
protected OffsetDateTime contentModifiedAt
protected UserMini modifiedBy
protected FileSharedLinkField sharedLink
protected FolderMini parent
protected EnumWrapper<FileItemStatusField> 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 File(File.Builder builder)
public String getDescription()
public FilePathCollectionField getPathCollection()
public OffsetDateTime getCreatedAt()
public OffsetDateTime getModifiedAt()
public OffsetDateTime getTrashedAt()
public OffsetDateTime getPurgedAt()
public OffsetDateTime getContentCreatedAt()
public OffsetDateTime getContentModifiedAt()
public UserMini getCreatedBy()
public UserMini getModifiedBy()
public UserMini getOwnedBy()
public FileSharedLinkField getSharedLink()
public FolderMini getParent()
public EnumWrapper<FileItemStatusField> getItemStatus()