Skip to content

Move

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/move

move

[JVM]
abstract fun move(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNulltargetParentId: @NonNullUUID): CompletableFuture<Response<FolderJobResponse>>

Move a folder to a new location within the same space.

Return

  • A future that resolves to the folder job response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id to move.
targetParentId- The target parent id.

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 move(@NonNullrequest: @NonNullMoveFolderRequest): CompletableFuture<Response<FolderJobResponse>>

Move a folder to a new location within the same space.

Return

  • A future that resolves to the folder job response.

Parameters

JVM

request- The request to move the folder.

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 move(@NonNullrequest: @NonNullMoveFolderRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<FolderJobResponse>>

Move a folder to a new location within the same space.

Return

  • A future that resolves to the folder job response.

Parameters

JVM

request- The request to move the folder.
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.