Skip to content

Rename With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/renameWithMinimalResponse

renameWithMinimalResponse

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

Rename a file within the same space and return a minimal response.

Return

  • A future that resolves to the renamed file response with minimal details.

Parameters

JVM

spaceId- The space id.
fileId- The file id.
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: @NonNullRenameFileRequest): CompletableFuture<Response<MinimalFile>>

Rename a file within the same space and return a minimal response.

Return

  • A future that resolves to the renamed file response with minimal details.

Parameters

JVM

request- The request to rename a file.

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: @NonNullRenameFileRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFile>>

Rename a file within the same space and return a minimal response.

Return

  • A future that resolves to the renamed file response with minimal details.

Parameters

JVM

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