public class UsersApi extends Object
Constructor and Description |
---|
UsersApi() |
UsersApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteUserSubscription(String workspaceId,
String login,
String tagName)
Delete tag subscription of user
|
com.squareup.okhttp.Call |
deleteUserSubscriptionAsync(String workspaceId,
String login,
String tagName,
ApiCallback<Void> callback)
Delete tag subscription of user (asynchronously)
|
ApiResponse<Void> |
deleteUserSubscriptionWithHttpInfo(String workspaceId,
String login,
String tagName)
Delete tag subscription of user
|
UserDTO |
getAdminInWorkspace(String workspaceId)
Get admin for workspace
|
com.squareup.okhttp.Call |
getAdminInWorkspaceAsync(String workspaceId,
ApiCallback<UserDTO> callback)
Get admin for workspace (asynchronously)
|
ApiResponse<UserDTO> |
getAdminInWorkspaceWithHttpInfo(String workspaceId)
Get admin for workspace
|
ApiClient |
getApiClient() |
List<TagSubscriptionDTO> |
getTagSubscriptionsForUser(String workspaceId,
String login)
Get tag subscriptions of user
|
com.squareup.okhttp.Call |
getTagSubscriptionsForUserAsync(String workspaceId,
String login,
ApiCallback<List<TagSubscriptionDTO>> callback)
Get tag subscriptions of user (asynchronously)
|
ApiResponse<List<TagSubscriptionDTO>> |
getTagSubscriptionsForUserWithHttpInfo(String workspaceId,
String login)
Get tag subscriptions of user
|
List<UserDTO> |
getUsersInWorkspace(String workspaceId)
Get users in workspace
|
com.squareup.okhttp.Call |
getUsersInWorkspaceAsync(String workspaceId,
ApiCallback<List<UserDTO>> callback)
Get users in workspace (asynchronously)
|
ApiResponse<List<UserDTO>> |
getUsersInWorkspaceWithHttpInfo(String workspaceId)
Get users in workspace
|
void |
setApiClient(ApiClient apiClient) |
TagSubscriptionDTO |
updateUserSubscription(String workspaceId,
String login,
String tagName,
TagSubscriptionDTO body)
Update or create tag subscription of user
|
com.squareup.okhttp.Call |
updateUserSubscriptionAsync(String workspaceId,
String login,
String tagName,
TagSubscriptionDTO body,
ApiCallback<TagSubscriptionDTO> callback)
Update or create tag subscription of user (asynchronously)
|
ApiResponse<TagSubscriptionDTO> |
updateUserSubscriptionWithHttpInfo(String workspaceId,
String login,
String tagName,
TagSubscriptionDTO body)
Update or create tag subscription of user
|
UserDTO |
whoAmI(String workspaceId)
Get authenticated user details
|
com.squareup.okhttp.Call |
whoAmIAsync(String workspaceId,
ApiCallback<UserDTO> callback)
Get authenticated user details (asynchronously)
|
ApiResponse<UserDTO> |
whoAmIWithHttpInfo(String workspaceId)
Get authenticated user details
|
public UsersApi()
public UsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public List<UserDTO> getUsersInWorkspace(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<UserDTO>> getUsersInWorkspaceWithHttpInfo(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 getUsersInWorkspaceAsync(String workspaceId, ApiCallback<List<UserDTO>> 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 UserDTO getAdminInWorkspace(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserDTO> getAdminInWorkspaceWithHttpInfo(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 getAdminInWorkspaceAsync(String workspaceId, ApiCallback<UserDTO> 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 UserDTO whoAmI(String workspaceId) throws ApiException
workspaceId
- Workspace idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<UserDTO> whoAmIWithHttpInfo(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 whoAmIAsync(String workspaceId, ApiCallback<UserDTO> 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 List<TagSubscriptionDTO> getTagSubscriptionsForUser(String workspaceId, String login) throws ApiException
workspaceId
- Workspace idlogin
- User loginApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<TagSubscriptionDTO>> getTagSubscriptionsForUserWithHttpInfo(String workspaceId, String login) throws ApiException
workspaceId
- Workspace idlogin
- User loginApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getTagSubscriptionsForUserAsync(String workspaceId, String login, ApiCallback<List<TagSubscriptionDTO>> callback) throws ApiException
workspaceId
- Workspace idlogin
- User logincallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic TagSubscriptionDTO updateUserSubscription(String workspaceId, String login, String tagName, TagSubscriptionDTO body) throws ApiException
workspaceId
- Workspace idlogin
- User logintagName
- Tag namebody
- Tag subscription to update or createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TagSubscriptionDTO> updateUserSubscriptionWithHttpInfo(String workspaceId, String login, String tagName, TagSubscriptionDTO body) throws ApiException
workspaceId
- Workspace idlogin
- User logintagName
- Tag namebody
- Tag subscription to update or createApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateUserSubscriptionAsync(String workspaceId, String login, String tagName, TagSubscriptionDTO body, ApiCallback<TagSubscriptionDTO> callback) throws ApiException
workspaceId
- Workspace idlogin
- User logintagName
- Tag namebody
- Tag subscription to update or 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 deleteUserSubscription(String workspaceId, String login, String tagName) throws ApiException
workspaceId
- Workspace idlogin
- User logintagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteUserSubscriptionWithHttpInfo(String workspaceId, String login, String tagName) throws ApiException
workspaceId
- Workspace idlogin
- User logintagName
- Tag nameApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteUserSubscriptionAsync(String workspaceId, String login, String tagName, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idlogin
- User logintagName
- Tag namecallback
- 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.