public class FoldersApi extends Object
| Constructor and Description |
|---|
FoldersApi() |
FoldersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CreateModel |
createFolder(CreateUpdateFolder createFolder)
Create a folder
|
com.squareup.okhttp.Call |
createFolderAsync(CreateUpdateFolder createFolder,
ApiCallback<CreateModel> callback)
Create a folder (asynchronously)
|
com.squareup.okhttp.Call |
createFolderCall(CreateUpdateFolder createFolder,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createFolder
|
ApiResponse<CreateModel> |
createFolderWithHttpInfo(CreateUpdateFolder createFolder)
Create a folder
|
void |
deleteFolder(Long folderId)
Delete a folder (and all its lists)
|
com.squareup.okhttp.Call |
deleteFolderAsync(Long folderId,
ApiCallback<Void> callback)
Delete a folder (and all its lists) (asynchronously)
|
com.squareup.okhttp.Call |
deleteFolderCall(Long folderId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteFolder
|
ApiResponse<Void> |
deleteFolderWithHttpInfo(Long folderId)
Delete a folder (and all its lists)
|
ApiClient |
getApiClient() |
GetFolder |
getFolder(Long folderId)
Returns a folder's details
|
com.squareup.okhttp.Call |
getFolderAsync(Long folderId,
ApiCallback<GetFolder> callback)
Returns a folder's details (asynchronously)
|
com.squareup.okhttp.Call |
getFolderCall(Long folderId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFolder
|
GetFolderLists |
getFolderLists(Long folderId,
Long limit,
Long offset,
String sort)
Get lists in a folder
|
com.squareup.okhttp.Call |
getFolderListsAsync(Long folderId,
Long limit,
Long offset,
String sort,
ApiCallback<GetFolderLists> callback)
Get lists in a folder (asynchronously)
|
com.squareup.okhttp.Call |
getFolderListsCall(Long folderId,
Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFolderLists
|
ApiResponse<GetFolderLists> |
getFolderListsWithHttpInfo(Long folderId,
Long limit,
Long offset,
String sort)
Get lists in a folder
|
GetFolders |
getFolders(Long limit,
Long offset,
String sort)
Get all folders
|
com.squareup.okhttp.Call |
getFoldersAsync(Long limit,
Long offset,
String sort,
ApiCallback<GetFolders> callback)
Get all folders (asynchronously)
|
com.squareup.okhttp.Call |
getFoldersCall(Long limit,
Long offset,
String sort,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getFolders
|
ApiResponse<GetFolders> |
getFoldersWithHttpInfo(Long limit,
Long offset,
String sort)
Get all folders
|
ApiResponse<GetFolder> |
getFolderWithHttpInfo(Long folderId)
Returns a folder's details
|
void |
setApiClient(ApiClient apiClient) |
void |
updateFolder(Long folderId,
CreateUpdateFolder updateFolder)
Update a folder
|
com.squareup.okhttp.Call |
updateFolderAsync(Long folderId,
CreateUpdateFolder updateFolder,
ApiCallback<Void> callback)
Update a folder (asynchronously)
|
com.squareup.okhttp.Call |
updateFolderCall(Long folderId,
CreateUpdateFolder updateFolder,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateFolder
|
ApiResponse<Void> |
updateFolderWithHttpInfo(Long folderId,
CreateUpdateFolder updateFolder)
Update a folder
|
public FoldersApi()
public FoldersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createFolderCall(CreateUpdateFolder createFolder, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createFolder - Name of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CreateModel createFolder(CreateUpdateFolder createFolder) throws ApiException
createFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CreateModel> createFolderWithHttpInfo(CreateUpdateFolder createFolder) throws ApiException
createFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createFolderAsync(CreateUpdateFolder createFolder, ApiCallback<CreateModel> callback) throws ApiException
createFolder - Name of the folder (required)callback - 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(Long folderId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - Id of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteFolder(Long folderId) throws ApiException
folderId - Id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteFolderWithHttpInfo(Long folderId) throws ApiException
folderId - Id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteFolderAsync(Long folderId, ApiCallback<Void> callback) throws ApiException
folderId - Id of the folder (required)callback - 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 getFolderCall(Long folderId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - id of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetFolder getFolder(Long folderId) throws ApiException
folderId - id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetFolder> getFolderWithHttpInfo(Long folderId) throws ApiException
folderId - id of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFolderAsync(Long folderId, ApiCallback<GetFolder> callback) throws ApiException
folderId - id of the folder (required)callback - 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 getFolderListsCall(Long folderId, Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetFolderLists getFolderLists(Long folderId, Long limit, Long offset, String sort) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetFolderLists> getFolderListsWithHttpInfo(Long folderId, Long limit, Long offset, String sort) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFolderListsAsync(Long folderId, Long limit, Long offset, String sort, ApiCallback<GetFolderLists> callback) throws ApiException
folderId - Id of the folder (required)limit - Number of documents per page (optional, default to 10)offset - Index of the first document of the page (optional, default to 0)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)callback - 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 getFoldersCall(Long limit, Long offset, String sort, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetFolders getFolders(Long limit, Long offset, String sort) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetFolders> getFoldersWithHttpInfo(Long limit, Long offset, String sort) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getFoldersAsync(Long limit, Long offset, String sort, ApiCallback<GetFolders> callback) throws ApiException
limit - Number of documents per page (required)offset - Index of the first document of the page (required)sort - Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc)callback - 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 updateFolderCall(Long folderId, CreateUpdateFolder updateFolder, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateFolder(Long folderId, CreateUpdateFolder updateFolder) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateFolderWithHttpInfo(Long folderId, CreateUpdateFolder updateFolder) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateFolderAsync(Long folderId, CreateUpdateFolder updateFolder, ApiCallback<Void> callback) throws ApiException
folderId - Id of the folder (required)updateFolder - Name of the folder (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021. All rights reserved.