Skip to content

Checkout

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/checkout

checkout

[JVM]
abstract fun checkout(@NonNullrequest: @NonNullCheckoutFolderRequest): CompletableFuture<Response<Folder>>

Checking out a folder will prevent other actors from creating a new version or other mutation operations.

Return

A future that resolves to a Response object containing the result of the checkout operation.

Parameters

JVM

request- The checkout request

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.

[JVM]
abstract fun checkout(@NonNullrequest: @NonNullCheckoutFolderRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<Folder>>

Checking out a folder will prevent other actors from creating a new version or other mutation operations.

Return

A future that resolves to a Response object containing the result of the checkout operation.

Parameters

JVM

request- The checkout request
requestHeader- The request header containing additional information.

Throws

TCPServiceException- If an error occurs due to API or network-related issues.
SDKClientException- If a client-side error occurs within the SDK.