Skip to content

Overview

//trimblecloud-fileservice/trimblecloud.fileservice.models/CreateSupportFileUploadRequest/CreateSupportFileUploadRequestBuilder

CreateSupportFileUploadRequestBuilder

[JVM]
open class CreateSupportFileUploadRequestBuilder

Functions

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