public class FoldersApi extends Object
Modifier and Type | Class and Description |
---|---|
class |
FoldersApi.ListItemsOptions |
class |
FoldersApi.ListOptions |
class |
FoldersApi.SearchOptions |
Constructor and Description |
---|
FoldersApi() |
FoldersApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
FoldersResponse |
list(String accountId)
Gets a list of the folders for the account.
|
FoldersResponse |
list(String accountId,
FoldersApi.ListOptions options)
Gets a list of the folders for the account.
|
FolderItemsResponse |
listItems(String accountId,
String folderId)
Gets a list of the envelopes in the specified folder.
|
FolderItemsResponse |
listItems(String accountId,
String folderId,
FoldersApi.ListItemsOptions options)
Gets a list of the envelopes in the specified folder.
|
FoldersResponse |
moveEnvelopes(String accountId,
String folderId,
FoldersRequest foldersRequest)
Moves an envelope from its current folder to the specified folder.
|
FolderItemResponse |
search(String accountId,
String searchFolderId)
Gets a list of envelopes in folders matching the specified criteria.
|
FolderItemResponse |
search(String accountId,
String searchFolderId,
FoldersApi.SearchOptions options)
Gets a list of envelopes in folders matching the specified criteria.
|
void |
setApiClient(ApiClient apiClient) |
public FoldersApi()
public FoldersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public FoldersResponse list(String accountId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)ApiException
public FoldersResponse list(String accountId, FoldersApi.ListOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic FolderItemsResponse listItems(String accountId, String folderId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)folderId
- The ID of the folder being accessed. (required)ApiException
public FolderItemsResponse listItems(String accountId, String folderId, FoldersApi.ListItemsOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)folderId
- The ID of the folder being accessed. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callpublic FoldersResponse moveEnvelopes(String accountId, String folderId, FoldersRequest foldersRequest) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)folderId
- The ID of the folder being accessed. (required)foldersRequest
- (optional)ApiException
- if fails to make API callpublic FolderItemResponse search(String accountId, String searchFolderId) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)searchFolderId
- Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. (required)ApiException
public FolderItemResponse search(String accountId, String searchFolderId, FoldersApi.SearchOptions options) throws ApiException
accountId
- The external account number (int) or account ID Guid. (required)searchFolderId
- Specifies the envelope group that is searched by the request. These are logical groupings, not actual folder names. Valid values are: drafts, awaiting_my_signature, completed, out_for_signature. (required)options
- for modifying the method behavior.ApiException
- if fails to make API callCopyright © 2021. All rights reserved.