Skip to content

Rename With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/renameWithMinimalResponse

renameWithMinimalResponse

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

Renames a folder and returns a minimal response.

Return

  • A future that resolves to the minimal 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 renameWithMinimalResponse(@NonNullrequest: @NonNullRenameFolderRequest): CompletableFuture<Response<MinimalFolderJobResponse>>

Renames a folder and returns a minimal response.

Return

  • A future that resolves to the minimal 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 renameWithMinimalResponse(@NonNullrequest: @NonNullRenameFolderRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFolderJobResponse>>

Renames a folder and returns a minimal response.

Return

  • A future that resolves to the minimal 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.