public class TagsApi extends Object
Modifier and Type | Method and Description |
---|---|
List<DocumentRevisionDTO> |
createDocumentMasterInRootFolderWithTag(String workspaceId,
DocumentCreationDTO body,
String tagId)
Create a new document master and its first revision with given tag
|
com.squareup.okhttp.Call |
createDocumentMasterInRootFolderWithTagAsync(String workspaceId,
DocumentCreationDTO body,
String tagId,
ApiCallback<List<DocumentRevisionDTO>> callback)
Create a new document master and its first revision with given tag (asynchronously)
|
ApiResponse<List<DocumentRevisionDTO>> |
createDocumentMasterInRootFolderWithTagWithHttpInfo(String workspaceId,
DocumentCreationDTO body,
String tagId)
Create a new document master and its first revision with given tag
|
TagDTO |
createTag(String workspaceId,
TagDTO body)
Create a new tag in workspace
|
com.squareup.okhttp.Call |
createTagAsync(String workspaceId,
TagDTO body,
ApiCallback<TagDTO> callback)
Create a new tag in workspace (asynchronously)
|
void |
createTags(String workspaceId,
TagListDTO body)
Create new tags in workspace
|
com.squareup.okhttp.Call |
createTagsAsync(String workspaceId,
TagListDTO body,
ApiCallback<Void> callback)
Create new tags in workspace (asynchronously)
|
ApiResponse<Void> |
createTagsWithHttpInfo(String workspaceId,
TagListDTO body)
Create new tags in workspace
|
ApiResponse<TagDTO> |
createTagWithHttpInfo(String workspaceId,
TagDTO body)
Create a new tag in workspace
|
void |
deleteTag(String workspaceId,
String tagId)
Delete a tag in workspace
|
com.squareup.okhttp.Call |
deleteTagAsync(String workspaceId,
String tagId,
ApiCallback<Void> callback)
Delete a tag in workspace (asynchronously)
|
ApiResponse<Void> |
deleteTagWithHttpInfo(String workspaceId,
String tagId)
Delete a tag in workspace
|
ApiClient |
getApiClient() |
List<DocumentRevisionDTO> |
getDocumentsWithGivenTagIdAndWorkspaceId(String workspaceId,
String tagId)
Get document revisions from given tag id
|
com.squareup.okhttp.Call |
getDocumentsWithGivenTagIdAndWorkspaceIdAsync(String workspaceId,
String tagId,
ApiCallback<List<DocumentRevisionDTO>> callback)
Get document revisions from given tag id (asynchronously)
|
ApiResponse<List<DocumentRevisionDTO>> |
getDocumentsWithGivenTagIdAndWorkspaceIdWithHttpInfo(String workspaceId,
String tagId)
Get document revisions from given tag id
|
List<TagDTO> |
getTagsInWorkspace(String workspaceId)
Get tags in given workspace
|
com.squareup.okhttp.Call |
getTagsInWorkspaceAsync(String workspaceId,
ApiCallback<List<TagDTO>> callback)
Get tags in given workspace (asynchronously)
|
ApiResponse<List<TagDTO>> |
getTagsInWorkspaceWithHttpInfo(String workspaceId)
Get tags in given workspace
|
void |
setApiClient(ApiClient apiClient) |
public TagsApi()
public TagsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<TagDTO> getTagsInWorkspace(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<TagDTO>> getTagsInWorkspaceWithHttpInfo(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTagsInWorkspaceAsync(String workspaceId, ApiCallback<List<TagDTO>> callback) throws ApiException
workspaceId
- Workspace idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic TagDTO createTag(String workspaceId, TagDTO body) throws ApiException
workspaceId
- Workspace idbody
- Tag to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TagDTO> createTagWithHttpInfo(String workspaceId, TagDTO body) throws ApiException
workspaceId
- Workspace idbody
- Tag to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createTagAsync(String workspaceId, TagDTO body, ApiCallback<TagDTO> callback) throws ApiException
workspaceId
- Workspace idbody
- Tag to createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void createTags(String workspaceId, TagListDTO body) throws ApiException
workspaceId
- Workspace idbody
- Tag list to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createTagsWithHttpInfo(String workspaceId, TagListDTO body) throws ApiException
workspaceId
- Workspace idbody
- Tag list to createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createTagsAsync(String workspaceId, TagListDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idbody
- Tag list to createcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic void deleteTag(String workspaceId, String tagId) throws ApiException
workspaceId
- Workspace idtagId
- Tag idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteTagWithHttpInfo(String workspaceId, String tagId) throws ApiException
workspaceId
- Workspace idtagId
- Tag idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteTagAsync(String workspaceId, String tagId, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idtagId
- Tag idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<DocumentRevisionDTO> getDocumentsWithGivenTagIdAndWorkspaceId(String workspaceId, String tagId) throws ApiException
workspaceId
- Workspace idtagId
- Tag idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<DocumentRevisionDTO>> getDocumentsWithGivenTagIdAndWorkspaceIdWithHttpInfo(String workspaceId, String tagId) throws ApiException
workspaceId
- Workspace idtagId
- Tag idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getDocumentsWithGivenTagIdAndWorkspaceIdAsync(String workspaceId, String tagId, ApiCallback<List<DocumentRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace idtagId
- Tag idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic List<DocumentRevisionDTO> createDocumentMasterInRootFolderWithTag(String workspaceId, DocumentCreationDTO body, String tagId) throws ApiException
workspaceId
- Workspace idbody
- Document to createtagId
- Tag idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<DocumentRevisionDTO>> createDocumentMasterInRootFolderWithTagWithHttpInfo(String workspaceId, DocumentCreationDTO body, String tagId) throws ApiException
workspaceId
- Workspace idbody
- Document to createtagId
- Tag idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDocumentMasterInRootFolderWithTagAsync(String workspaceId, DocumentCreationDTO body, String tagId, ApiCallback<List<DocumentRevisionDTO>> callback) throws ApiException
workspaceId
- Workspace idbody
- Document to createtagId
- Tag idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019 DocDoku. All rights reserved.