Overview
//trimblecloud-fileservice/trimblecloud.fileservice.models/FileInputUploadDetails
FileInputUploadDetails
[JVM]
open class FileInputUploadDetails
The file input upload details.
Constructors
| FileInputUploadDetails | [JVM] constructor() |
Properties
| Name | Summary |
|---|---|
| addToLinks | [JVM] open var addToLinks: Boolean Whether the support file should be linked to the parent file Default: true |
| expiresAt | [JVM] open var expiresAt: Date Time period when the file object gets automatically removed. |
| fileId | [JVM] open var fileId: UUID The unique identifier for the file. |
| fileset | [JVM] open var fileset: Boolean Whether the object consists of a set of multiple files that should be treated as a single file, such as with shape files. |
| fileTrn | [JVM] open var fileTrn: String The Trimble Resource Name (TRN) of the file. |
| metadata | [JVM] open var metadata: HashMap<String, Any> Clients may set additional information related to the file here. |
| name | [JVM] open var name: String Name of the file. |
| parentId | [JVM] open var parentId: UUID Parent Folder Id where the file was created. |
| parentMajorVersion | [JVM] open var parentMajorVersion: Integer The major version of the file |
| parentTrn | [JVM] open var parentTrn: String The Trimble Resource Name (TRN) of the parent. |
| parentType | [JVM] open var parentType: ParentType The type of the parent. |
| path | [JVM] open var path: String Path where file is created |
| permissionsLocal | [JVM] open var permissionsLocal: FilePermissionsLocal Permissions that are set directly for an actor on the resource itself. |
| response | [JVM] open var response: Response Optional response attributes used during creation. |
| responseHeaders | [JVM] open var responseHeaders: HashMap<String, String> Download HTTP response headers can be set here. |
| restrictedAccess | [JVM] open var restrictedAccess: Boolean Set to false if the download url of the file shouldn’t be expired. |
| spaceId | [JVM] open var spaceId: UUID The unique identifier for the space where the file is stored. |
| spaceTrn | [JVM] open var spaceTrn: String The Trimble Resource Name (TRN) of the space. |
| status | [JVM] open var status: FileStatus The status of the upload. |
| supportFileKey | [JVM] open var supportFileKey: String The key of the support file |
| upload | [JVM] open var upload: Upload Upload URL and type of upload for the file. |
Functions
| Name | Summary |
|---|---|
| isMultipart | [JVM] open fun isMultipart(): Boolean True if the client will split the upload into multiple parts. |
| setMultipart | [JVM] open fun setMultipart(multipart: Boolean) True if the client will split the upload into multiple parts. |
| toString | [JVM] open fun toString(): String |