Skip to content

Copy With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/copyWithMinimalResponse

copyWithMinimalResponse

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

Copy a folder to a new location within the same space and returns a minimal response.

Return

  • A future that resolves to the job response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id to copy.
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 copyWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNulltargetParentId: @NonNullUUID, @NonNullparams: @NonNullCopyFolderParams): CompletableFuture<Response<MinimalFolderJobResponse>>

Copy a folder to a new location within the same space and returns a minimal response.

Return

  • A future that resolves to the job response.

Parameters

JVM

spaceId- The space id.
folderId- The folder id to copy.
targetParentId- The target parent id.
params- The parameters to the copy operation.

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 copyWithMinimalResponse(@NonNullrequest: @NonNullCopyFolderRequest): CompletableFuture<Response<MinimalFolderJobResponse>>

Copy a folder to a new location within the same space and returns a minimal response.

Return

  • A future that resolves to the job response.

Parameters

JVM

request- The request to copy 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 copyWithMinimalResponse(@NonNullrequest: @NonNullCopyFolderRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFolderJobResponse>>

Copy a folder to a new location within the same space and returns a minimal response.

Return

  • A future that resolves to the job response.

Parameters

JVM

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