public class FileFull extends File
| Modifier and Type | Class and Description |
|---|---|
static class |
FileFull.AllowedInviteeRolesDeserializer |
static class |
FileFull.AllowedInviteeRolesSerializer |
static class |
FileFull.AllowedSharedLinkAccessLevelsDeserializer |
static class |
FileFull.AllowedSharedLinkAccessLevelsSerializer |
static class |
FileFull.Builder |
static class |
FileFull.SharedLinkPermissionOptionsDeserializer |
static class |
FileFull.SharedLinkPermissionOptionsSerializer |
| Modifier and Type | Field and Description |
|---|---|
protected List<EnumWrapper<FileFullAllowedInviteeRolesField>> |
allowedInviteeRoles
A list of the types of roles that user can be invited at when sharing this file.
|
protected List<EnumWrapper<FileFullAllowedSharedLinkAccessLevelsField>> |
allowedSharedLinkAccessLevels
The shared link access levels the authenticated user is allowed to use when creating or
updating a shared link for this file.
|
protected String |
authenticatedDownloadUrl
A stable API URL for the file content endpoint, `/2.0/files/{id}/content`.
|
protected FileFullClassificationField |
classification |
protected List<Collection> |
collections
The collections that this file belongs to.
|
protected Long |
commentCount
The number of comments on this file.
|
protected OffsetDateTime |
dispositionAt
The retention expiration timestamp for the given file.
|
protected String |
downloadUrl
A pre-authorized, expiring URL for directly downloading the file's content.
|
protected OffsetDateTime |
expiresAt
When the file will automatically be deleted.
|
protected FileFullExpiringEmbedLinkField |
expiringEmbedLink |
protected String |
extension
Indicates the (optional) file extension for this file.
|
protected Boolean |
hasCollaborations
Specifies if this file has any other collaborators.
|
protected Boolean |
isAccessibleViaSharedLink
Specifies if the file can be accessed via the direct shared link or a shared link to a parent
folder.
|
protected Boolean |
isAssociatedWithAppItem
This field will return true if the file or any ancestor of the file is associated with at least
one app item.
|
protected Boolean |
isDownloadAvailable
Whether the file's binary content is eligible to be downloaded.
|
protected Boolean |
isExternallyOwned
Specifies if this file is owned by a user outside of the authenticated enterprise.
|
protected Boolean |
isPackage
Indicates if the file is a package.
|
protected FileFullLockField |
lock |
protected FileFullMetadataField |
metadata |
protected FileFullPermissionsField |
permissions |
protected FileFullRepresentationsField |
representations |
protected List<EnumWrapper<FileFullSharedLinkPermissionOptionsField>> |
sharedLinkPermissionOptions
A list of the types of roles that user can be invited at when sharing this file.
|
protected List<String> |
tags |
protected String |
uploaderDisplayName |
protected String |
versionNumber
The version number of this file.
|
protected FileFullWatermarkInfoField |
watermarkInfo |
contentCreatedAt, contentModifiedAt, createdAt, createdBy, description, itemStatus, modifiedAt, modifiedBy, ownedBy, parent, pathCollection, purgedAt, sharedLink, size, trashedAtfileVersion, name, sequenceId, sha1explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
FileFull(FileFull.Builder builder) |
|
FileFull(String id) |
getContentCreatedAt, getContentModifiedAt, getCreatedAt, getCreatedBy, getDescription, getItemStatus, getModifiedAt, getModifiedBy, getOwnedBy, getParent, getPathCollection, getPurgedAt, getSharedLink, getSize, getTrashedAtgetFileVersion, getName, getSequenceId, getSha1getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String versionNumber
protected Long commentCount
protected FileFullPermissionsField permissions
protected FileFullLockField lock
protected String extension
protected Boolean isPackage
protected FileFullExpiringEmbedLinkField expiringEmbedLink
protected FileFullWatermarkInfoField watermarkInfo
protected Boolean isAccessibleViaSharedLink
protected List<EnumWrapper<FileFullAllowedInviteeRolesField>> allowedInviteeRoles
protected Boolean isExternallyOwned
protected Boolean hasCollaborations
protected FileFullMetadataField metadata
protected OffsetDateTime expiresAt
protected FileFullRepresentationsField representations
protected FileFullClassificationField classification
protected String uploaderDisplayName
protected OffsetDateTime dispositionAt
protected List<EnumWrapper<FileFullSharedLinkPermissionOptionsField>> sharedLinkPermissionOptions
protected Boolean isAssociatedWithAppItem
protected List<Collection> collections
For more information, see the [collections guide](https://developer.box.com/guides/collections).
protected Boolean isDownloadAvailable
This is a content-level flag and does not reflect whether the current user is authorized to download the file. Use `permissions.can_download`, when available, for that.
protected String downloadUrl
This field is only returned for files, not folders or web links.
protected String authenticatedDownloadUrl
This field is only returned for files, not folders or web links.
protected List<EnumWrapper<FileFullAllowedSharedLinkAccessLevelsField>> allowedSharedLinkAccessLevels
The list depends on item policy and user authorization, so it may be narrower than the levels available to the owner. An empty array means no access level is available to this user.
protected FileFull(FileFull.Builder builder)
public String getVersionNumber()
public Long getCommentCount()
public FileFullPermissionsField getPermissions()
public FileFullLockField getLock()
public String getExtension()
public Boolean getIsPackage()
public FileFullExpiringEmbedLinkField getExpiringEmbedLink()
public FileFullWatermarkInfoField getWatermarkInfo()
public Boolean getIsAccessibleViaSharedLink()
public List<EnumWrapper<FileFullAllowedInviteeRolesField>> getAllowedInviteeRoles()
public Boolean getIsExternallyOwned()
public Boolean getHasCollaborations()
public FileFullMetadataField getMetadata()
public OffsetDateTime getExpiresAt()
public FileFullRepresentationsField getRepresentations()
public FileFullClassificationField getClassification()
public String getUploaderDisplayName()
public OffsetDateTime getDispositionAt()
public List<EnumWrapper<FileFullSharedLinkPermissionOptionsField>> getSharedLinkPermissionOptions()
public Boolean getIsAssociatedWithAppItem()
public List<Collection> getCollections()
public Boolean getIsDownloadAvailable()
public String getDownloadUrl()
public String getAuthenticatedDownloadUrl()
public List<EnumWrapper<FileFullAllowedSharedLinkAccessLevelsField>> getAllowedSharedLinkAccessLevels()