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.ApiExceptionpublic FoldersResponse list(String accountId, FoldersApi.ListOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.FoldersApi.ListOptions - Options for modifying the method behavior.ApiExceptionpublic FolderItemsResponse listItems(String accountId, String folderId) throws ApiException
accountId - The external account number (int) or account ID Guid.folderId - The ID of the folder being accessed.ApiExceptionpublic FolderItemsResponse listItems(String accountId, String folderId, FoldersApi.ListItemsOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.folderId - The ID of the folder being accessed.FoldersApi.ListItemsOptions - Options for modifying the method behavior.ApiExceptionpublic FoldersResponse moveEnvelopes(String accountId, String folderId, FoldersRequest foldersRequest) throws ApiException
accountId - The external account number (int) or account ID Guid.folderId - The ID of the folder being accessed.FoldersApi.MoveEnvelopesOptions - Options for modifying the method behavior.ApiExceptionpublic FolderItemResponse search(String accountId, String searchFolderId) throws ApiException
accountId - The external account number (int) or account ID Guid.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.ApiExceptionpublic FolderItemResponse search(String accountId, String searchFolderId, FoldersApi.SearchOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.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.FoldersApi.SearchOptions - Options for modifying the method behavior.ApiExceptionCopyright © 2017. All rights reserved.