Restore With Minimal Response
//trimblecloud-fileservice/trimblecloud.fileservice/FilesAPI/restoreWithMinimalResponse
restoreWithMinimalResponse
[JVM]
abstract fun restoreWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID): CompletableFuture<Response<MinimalFileJobResponse>>
Restore a file from the deleted state and returns 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. |
| fileId | - The file 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 restoreWithMinimalResponse(@NonNullspaceId: @NonNullUUID, @NonNullfileId: @NonNullUUID, @NonNullparams: @NonNullRestoreFileParams): CompletableFuture<Response<MinimalFileJobResponse>>
Restore a file from the deleted state and return 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. |
| fileId | - The file id. |
| params | - The parameters for the restore 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 restoreWithMinimalResponse(@NonNullrequest: @NonNullRestoreFileRequest): CompletableFuture<Response<MinimalFileJobResponse>>
Restore a file from the deleted state and returns 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 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 restoreWithMinimalResponse(@NonNullrequest: @NonNullRestoreFileRequest, @NonNullrequestHeader: @NonNullRequestHeader): CompletableFuture<Response<MinimalFileJobResponse>>
Restore a file from the deleted state and return 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 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. |