public class FolderApi extends Object
Constructor | Description |
---|---|
FolderApi(Configuration configuration) |
Initializes new instance of FolderApi
|
FolderApi(String appSid,
String appKey) |
Initializes new instance of FolderApi
|
Modifier and Type | Method | Description |
---|---|---|
void |
copyFolder(CopyFolderRequest request) |
Copy folder
|
com.squareup.okhttp.Call |
copyFolderAsync(CopyFolderRequest request,
ApiCallback<Void> callback) |
Copy folder (asynchronously)
|
com.squareup.okhttp.Call |
copyFolderCall(CopyFolderRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for copyFolder
|
ApiResponse<Void> |
copyFolderWithHttpInfo(CopyFolderRequest request) |
Copy folder
|
void |
createFolder(CreateFolderRequest request) |
Create the folder
|
com.squareup.okhttp.Call |
createFolderAsync(CreateFolderRequest request,
ApiCallback<Void> callback) |
Create the folder (asynchronously)
|
com.squareup.okhttp.Call |
createFolderCall(CreateFolderRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for createFolder
|
ApiResponse<Void> |
createFolderWithHttpInfo(CreateFolderRequest request) |
Create the folder
|
void |
deleteFolder(DeleteFolderRequest request) |
Delete folder
|
com.squareup.okhttp.Call |
deleteFolderAsync(DeleteFolderRequest request,
ApiCallback<Void> callback) |
Delete folder (asynchronously)
|
com.squareup.okhttp.Call |
deleteFolderCall(DeleteFolderRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteFolder
|
ApiResponse<Void> |
deleteFolderWithHttpInfo(DeleteFolderRequest request) |
Delete folder
|
ApiClient |
getApiClient() |
Gets ApiClient
|
FilesList |
getFilesList(GetFilesListRequest request) |
Get all files and folders within a folder
|
com.squareup.okhttp.Call |
getFilesListAsync(GetFilesListRequest request,
ApiCallback<FilesList> callback) |
Get all files and folders within a folder (asynchronously)
|
com.squareup.okhttp.Call |
getFilesListCall(GetFilesListRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getFilesList
|
ApiResponse<FilesList> |
getFilesListWithHttpInfo(GetFilesListRequest request) |
Get all files and folders within a folder
|
void |
moveFolder(MoveFolderRequest request) |
Move folder
|
com.squareup.okhttp.Call |
moveFolderAsync(MoveFolderRequest request,
ApiCallback<Void> callback) |
Move folder (asynchronously)
|
com.squareup.okhttp.Call |
moveFolderCall(MoveFolderRequest request,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for moveFolder
|
ApiResponse<Void> |
moveFolderWithHttpInfo(MoveFolderRequest request) |
Move folder
|
void |
setApiClient(ApiClient apiClient) |
Sets ApiClient
|
public FolderApi(String appSid, String appKey)
appSid
- Application identifier (App SID)appKey
- Application private key (App Key)public FolderApi(Configuration configuration)
configuration
- Configuration The configurationpublic ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient
- The Api clientpublic com.squareup.okhttp.Call copyFolderCall(CopyFolderRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request
- The request modelprogressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void copyFolder(CopyFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> copyFolderWithHttpInfo(CopyFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call copyFolderAsync(CopyFolderRequest request, ApiCallback<Void> callback) throws ApiException
request
- The request modelcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call createFolderCall(CreateFolderRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request
- The request modelprogressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void createFolder(CreateFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createFolderWithHttpInfo(CreateFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createFolderAsync(CreateFolderRequest request, ApiCallback<Void> callback) throws ApiException
request
- The request modelcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call deleteFolderCall(DeleteFolderRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request
- The request modelprogressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void deleteFolder(DeleteFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteFolderWithHttpInfo(DeleteFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteFolderAsync(DeleteFolderRequest request, ApiCallback<Void> callback) throws ApiException
request
- The request modelcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getFilesListCall(GetFilesListRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request
- The request modelprogressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic FilesList getFilesList(GetFilesListRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FilesList> getFilesListWithHttpInfo(GetFilesListRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFilesListAsync(GetFilesListRequest request, ApiCallback<FilesList> callback) throws ApiException
request
- The request modelcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call moveFolderCall(MoveFolderRequest request, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
request
- The request modelprogressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic void moveFolder(MoveFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> moveFolderWithHttpInfo(MoveFolderRequest request) throws ApiException
request
- The request modelApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call moveFolderAsync(MoveFolderRequest request, ApiCallback<Void> callback) throws ApiException
request
- The request modelcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2020. All rights reserved.