Skip to content

Overview

//trimblecloud-fileservice/trimblecloud.fileservice.models/CreateFileUploadRequest/CreateFileUploadRequestBuilder

CreateFileUploadRequestBuilder

[JVM]
open class CreateFileUploadRequestBuilder

Functions

NameSummary
build[JVM]
open fun build(): CreateFileUploadRequest
expiresAt[JVM]
open fun expiresAt(expiresAt: Date): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Time period when the file object gets automatically removed.
fileset[JVM]
open fun fileset(fileset: Boolean): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Whether the object consists of a set of multiple files that should be treated as a single file, such as with shape files.
includeLinks[JVM]
open fun includeLinks(includeLinks: Boolean): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Whether to include the links from the last version during a parent file’s major version change.
metadata[JVM]
open fun metadata(metadata: HashMap<String, Any>): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Clients may set additional information related to the file here.
multipart[JVM]
open fun multipart(multipart: Boolean): CreateFileUploadRequest.CreateFileUploadRequestBuilder
True if the client will split the upload into multiple parts.
name[JVM]
open fun name(@NonNullname: @NonNullString): CreateFileUploadRequest.CreateFileUploadRequestBuilder
The name of the file.
parentId[JVM]
open fun parentId(@NonNullparentId: @NonNullUUID): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Parent folder identifier to which the file has to be uploaded.
permissionsLocal[JVM]
open fun permissionsLocal(permissionsLocal: FilePermissionsLocal): CreateFileUploadRequest.CreateFileUploadRequestBuilder
The permissions explicitly assigned to the file.
responseHeaders[JVM]
open fun responseHeaders(responseHeaders: HashMap<String, String>): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Download HTTP response headers can be set here.
restrictedAccess[JVM]
open fun restrictedAccess(restrictedAccess: Boolean): CreateFileUploadRequest.CreateFileUploadRequestBuilder
Set to false if the download url of the file shouldn’t be expired.
toString[JVM]
open fun toString(): String
urlDuration[JVM]
open fun urlDuration(urlDuration: String): CreateFileUploadRequest.CreateFileUploadRequestBuilder
The file upload URL’s validity duration can be set in days (d), hours (h), or minutes (m).