DropboxResource Type
A Dropbox resource.
Remarks
This type represents a Dropbox resource.
Fields
accessType DropboxResourceAccessTypes |
The type of access the current user has to the resource. This property reflects the type of access the current user has to the resource. Possible values are:
An access type of 2 (atLimited) still allows the user to call ListResources for a folder, but the results will be limited to the subset of resources within that folder that the user can actually access (including any further limited-access subfolders). | ||||||||
clientModifiedTime String |
The client-side last modified timestamp of the file resource. This property holds the last modified timestamp of the file resource, as reported by a client. Timestamps are formatted according to ISO 8601 and are always in UTC time. Not applicable for folder resources. May be empty or inaccurate for file resources if clients choose not to provide a value when uploading or updating the file contents. | ||||||||
deleted Bool |
Whether the resource has been deleted. This property reflects whether the resource has been deleted. | ||||||||
exportExtension String |
The file extension of the file format that the file resource will be exported as. Some file resources are "export-only"; i.e., they're stored in Dropbox using a server-only file format, and get exported to a "normal" file format when DownloadFile is called. For export-only file resources, this property reflects the file extension of the export file format; it is empty for all other resources. When downloading an export-only file resource to a LocalFile, the class will automatically append the file extension reflected by this property, if necessary. | ||||||||
hashData String |
A hash of the file resource's content. This property holds a hash of the file resource's content. Not applicable for folder resources. Refer to the Dropbox API documentation for an explanation of how the server calculates file content hashes. | ||||||||
id String |
The Id of the resource. This property reflects the Id of the resource. | ||||||||
modifiedTime String |
The last modified timestamp of the file resource. This property holds the last modified timestamp of the file resource, as reported by the server. Not applicable for folder resources. Timestamps are formatted according to ISO 8601 and are always in UTC time. | ||||||||
name String |
The name of the resource. This property reflects the name of the resource. | ||||||||
parentShareId String |
The shared folder Id of the resource's parent. This property reflects the shared folder Id of the resource's parent, if its parent is a shared folder. | ||||||||
path String |
The path of the resource. This property reflects the path of the resource. | ||||||||
revision String |
The revision Id of the file resource. This property reflects the revision Id of the file resource. Not applicable for folder resources. | ||||||||
shareId String |
The shared folder Id of the folder resource. This property reflects the shared folder Id of the folder resource, if the resource is a shared folder. Not applicable for file resources. | ||||||||
size Int64 |
The size of the file resource. This property holds the size of the file resource, in bytes. Not applicable for folder resources. | ||||||||
type DropboxResourceTypes |
The resource's type. This property indicates whether the resource is a folder or a file. Possible values are:
|
Constructors
public init()