Skip to content

Restore With Minimal Response

//trimblecloud-fileservice/trimblecloud.fileservice/FoldersAPI/restoreWithMinimalResponse

restoreWithMinimalResponse

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

Restores a folder to the original location and returns a minimal response.

Return

  • A Future that resolves to a Response object containing the result of the restore operation with minimal details.

Parameters

JVM

spaceId- The space id.
folderId- The folder id to restore.

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 restoreWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfolderId: @NonNullUUID, @NonNullparams: @NonNullRestoreFolderParams): CompletableFuture<Response<MinimalFolderJobResponse>>

Restores a folder to the location specified in the params and returns a minimal response.

Return

  • A Future that resolves to a Response object containing the result of the restore operation with minimal details.

Parameters

JVM

spaceId- The space id.
folderId- The folder id to restore.
params- The parameters to restore a 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 restoreWithMinimalResponse(@NonNullrequest: @NonNullRestoreFolderRequest): CompletableFuture<Response<MinimalFolderJobResponse>>

Restores a folder to the original location and returns a minimal response.

Return

  • A Future that resolves to a Response object containing the result of the restore operation with minimal details.

Parameters

JVM

request- The request to restore 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 restoreWithMinimalResponse(@NonNullrequest: @NonNullRestoreFolderRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFolderJobResponse>>

Restores a folder to the original location and returns a minimal response.

Return

  • A Future that resolves to a Response object containing the result of the restore operation with minimal details.

Parameters

JVM

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