Skip to content

Rename

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/rename

rename

[JVM]
abstract fun rename(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNullname: @NonNullString): CompletableFuture<Response<FolderJobResponse>>

Renames a folder.

Return

  • A future that resolves to the folder job response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id to rename.
name- The new name.

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

Renames a folder.

Return

  • A future that resolves to the folder job response.

Parameters

JVM

request- The request to rename 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 rename(@NonNullrequest: @NonNullRenameFolderRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<FolderJobResponse>>

Renames a folder.

Return

  • A future that resolves to the folder job response.

Parameters

JVM

request- The request to rename 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.