Move
//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/move
move
[JVM]
abstract fun move(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNulltargetParentId: @NonNullUUID): CompletableFuture<Response<File>>
Move a file to a new location within the same space.
Return
- A future that resolves to the file response.
Parameters
JVM
| spaceId | - The space id. |
| fileId | - The file id. |
| 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: @NonNullMoveFileRequest): CompletableFuture<Response<File>>
Move a file to a new location within the same space.
Return
- A future that resolves to the file response.
Parameters
JVM
| request | - The request to move 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 move(@NonNullrequest: @NonNullMoveFileRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<File>>
Move a file to a new location within the same space.
Return
- A future that resolves to the file response.
Parameters
JVM
| request | - The request to move 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. |