public class UserApi extends Object
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations()
Options
The `/user` resource supports two custom `OPTIONS` requests, one for the resource as such and one for individual user instances.
|
okhttp3.Call |
availableOperationsAsync(ApiCallback<ResourceOptionsDto> _callback)
Options (asynchronously)
The `/user` resource supports two custom `OPTIONS` requests, one for the resource as such and one for individual user instances.
|
okhttp3.Call |
availableOperationsCall(ApiCallback _callback)
Build call for availableOperations
|
ApiResponse<ResourceOptionsDto> |
availableOperationsWithHttpInfo()
Options
The `/user` resource supports two custom `OPTIONS` requests, one for the resource as such and one for individual user instances.
|
ResourceOptionsDto |
availableUserOperations(String id)
Options
The `/user` resource supports two custom `OPTIONS` requests, one for the resource as such and one for individual user instances.
|
okhttp3.Call |
availableUserOperationsAsync(String id,
ApiCallback<ResourceOptionsDto> _callback)
Options (asynchronously)
The `/user` resource supports two custom `OPTIONS` requests, one for the resource as such and one for individual user instances.
|
okhttp3.Call |
availableUserOperationsCall(String id,
ApiCallback _callback)
Build call for availableUserOperations
|
ApiResponse<ResourceOptionsDto> |
availableUserOperationsWithHttpInfo(String id)
Options
The `/user` resource supports two custom `OPTIONS` requests, one for the resource as such and one for individual user instances.
|
void |
createUser(UserDto userDto)
Create
Create a new user.
|
okhttp3.Call |
createUserAsync(UserDto userDto,
ApiCallback<Void> _callback)
Create (asynchronously)
Create a new user.
|
okhttp3.Call |
createUserCall(UserDto userDto,
ApiCallback _callback)
Build call for createUser
|
ApiResponse<Void> |
createUserWithHttpInfo(UserDto userDto)
Create
Create a new user.
|
void |
deleteUser(String id)
Delete
Deletes a user by id.
|
okhttp3.Call |
deleteUserAsync(String id,
ApiCallback<Void> _callback)
Delete (asynchronously)
Deletes a user by id.
|
okhttp3.Call |
deleteUserCall(String id,
ApiCallback _callback)
Build call for deleteUser
|
ApiResponse<Void> |
deleteUserWithHttpInfo(String id)
Delete
Deletes a user by id.
|
ApiClient |
getApiClient() |
CountResultDto |
getUserCount(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter)
Get List Count
Queries for the number of deployments that fulfill given parameters.
|
okhttp3.Call |
getUserCountAsync(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter,
ApiCallback<CountResultDto> _callback)
Get List Count (asynchronously)
Queries for the number of deployments that fulfill given parameters.
|
okhttp3.Call |
getUserCountCall(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter,
ApiCallback _callback)
Build call for getUserCount
|
ApiResponse<CountResultDto> |
getUserCountWithHttpInfo(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter)
Get List Count
Queries for the number of deployments that fulfill given parameters.
|
List<UserProfileDto> |
getUserProfile(String id)
Get Profile
Retrieves a user's profile.
|
okhttp3.Call |
getUserProfileAsync(String id,
ApiCallback<List<UserProfileDto>> _callback)
Get Profile (asynchronously)
Retrieves a user's profile.
|
okhttp3.Call |
getUserProfileCall(String id,
ApiCallback _callback)
Build call for getUserProfile
|
ApiResponse<List<UserProfileDto>> |
getUserProfileWithHttpInfo(String id)
Get Profile
Retrieves a user's profile.
|
List<UserProfileDto> |
getUsers(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults)
Get List
Query for a list of users using a list of parameters.
|
okhttp3.Call |
getUsersAsync(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
ApiCallback<List<UserProfileDto>> _callback)
Get List (asynchronously)
Query for a list of users using a list of parameters.
|
okhttp3.Call |
getUsersCall(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
ApiCallback _callback)
Build call for getUsers
|
ApiResponse<List<UserProfileDto>> |
getUsersWithHttpInfo(String id,
String idIn,
String firstName,
String firstNameLike,
String lastName,
String lastNameLike,
String email,
String emailLike,
String memberOfGroup,
String memberOfTenant,
String potentialStarter,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults)
Get List
Query for a list of users using a list of parameters.
|
void |
setApiClient(ApiClient apiClient) |
void |
unlockUser(String id)
Unlock User
Unlocks a user by id.
|
okhttp3.Call |
unlockUserAsync(String id,
ApiCallback<Void> _callback)
Unlock User (asynchronously)
Unlocks a user by id.
|
okhttp3.Call |
unlockUserCall(String id,
ApiCallback _callback)
Build call for unlockUser
|
ApiResponse<Void> |
unlockUserWithHttpInfo(String id)
Unlock User
Unlocks a user by id.
|
Object |
updateCredentials(String id,
String password,
String authenticatedUserPassword,
UserCredentialsDto userCredentialsDto)
Update Credentials
Updates a user's credentials (password)
|
okhttp3.Call |
updateCredentialsAsync(String id,
String password,
String authenticatedUserPassword,
UserCredentialsDto userCredentialsDto,
ApiCallback<Object> _callback)
Update Credentials (asynchronously)
Updates a user's credentials (password)
|
okhttp3.Call |
updateCredentialsCall(String id,
String password,
String authenticatedUserPassword,
UserCredentialsDto userCredentialsDto,
ApiCallback _callback)
Build call for updateCredentials
|
ApiResponse<Object> |
updateCredentialsWithHttpInfo(String id,
String password,
String authenticatedUserPassword,
UserCredentialsDto userCredentialsDto)
Update Credentials
Updates a user's credentials (password)
|
public UserApi()
public UserApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call availableOperationsCall(ApiCallback _callback) throws ApiException
_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ResourceOptionsDto availableOperations() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourceOptionsDto> availableOperationsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call availableOperationsAsync(ApiCallback<ResourceOptionsDto> _callback) throws ApiException
_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 okhttp3.Call availableUserOperationsCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the user to be deleted. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ResourceOptionsDto availableUserOperations(String id) throws ApiException
id
- The id of the user to be deleted. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourceOptionsDto> availableUserOperationsWithHttpInfo(String id) throws ApiException
id
- The id of the user to be deleted. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call availableUserOperationsAsync(String id, ApiCallback<ResourceOptionsDto> _callback) throws ApiException
id
- The id of the user to be deleted. (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 okhttp3.Call createUserCall(UserDto userDto, ApiCallback _callback) throws ApiException
userDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void createUser(UserDto userDto) throws ApiException
userDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createUserWithHttpInfo(UserDto userDto) throws ApiException
userDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createUserAsync(UserDto userDto, ApiCallback<Void> _callback) throws ApiException
userDto
- (optional)_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 okhttp3.Call deleteUserCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the user to be deleted. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteUser(String id) throws ApiException
id
- The id of the user to be deleted. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteUserWithHttpInfo(String id) throws ApiException
id
- The id of the user to be deleted. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteUserAsync(String id, ApiCallback<Void> _callback) throws ApiException
id
- The id of the user to be deleted. (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 okhttp3.Call getUserCountCall(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter, ApiCallback _callback) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto getUserCount(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> getUserCountWithHttpInfo(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getUserCountAsync(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter, ApiCallback<CountResultDto> _callback) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)_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 okhttp3.Call getUserProfileCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the user to retrieve. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<UserProfileDto> getUserProfile(String id) throws ApiException
id
- The id of the user to retrieve. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<UserProfileDto>> getUserProfileWithHttpInfo(String id) throws ApiException
id
- The id of the user to retrieve. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getUserProfileAsync(String id, ApiCallback<List<UserProfileDto>> _callback) throws ApiException
id
- The id of the user to retrieve. (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 okhttp3.Call getUsersCall(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, ApiCallback _callback) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<UserProfileDto> getUsers(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<UserProfileDto>> getUsersWithHttpInfo(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getUsersAsync(String id, String idIn, String firstName, String firstNameLike, String lastName, String lastNameLike, String email, String emailLike, String memberOfGroup, String memberOfTenant, String potentialStarter, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, ApiCallback<List<UserProfileDto>> _callback) throws ApiException
id
- Filter by user id (optional)idIn
- Filter by a comma-separated list of user ids. (optional)firstName
- Filter by the first name of the user. Exact match. (optional)firstNameLike
- Filter by the first name that the parameter is a substring of. (optional)lastName
- Filter by the last name of the user. Exact match. (optional)lastNameLike
- Filter by the last name that the parameter is a substring of. (optional)email
- Filter by the email of the user. Exact match. (optional)emailLike
- Filter by the email that the parameter is a substring of. (optional)memberOfGroup
- Filter for users which are members of the given group. (optional)memberOfTenant
- Filter for users which are members of the given tenant. (optional)potentialStarter
- Only select Users that are potential starter for the given process definition. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)_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 okhttp3.Call unlockUserCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the user to be unlocked. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void unlockUser(String id) throws ApiException
id
- The id of the user to be unlocked. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> unlockUserWithHttpInfo(String id) throws ApiException
id
- The id of the user to be unlocked. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call unlockUserAsync(String id, ApiCallback<Void> _callback) throws ApiException
id
- The id of the user to be unlocked. (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 okhttp3.Call updateCredentialsCall(String id, String password, String authenticatedUserPassword, UserCredentialsDto userCredentialsDto, ApiCallback _callback) throws ApiException
id
- The id of the user to be updated. (required)password
- The users new password. (required)authenticatedUserPassword
- The password of the authenticated user who changes the password of the user (i.e., the user with passed id as path parameter). (required)userCredentialsDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic Object updateCredentials(String id, String password, String authenticatedUserPassword, UserCredentialsDto userCredentialsDto) throws ApiException
id
- The id of the user to be updated. (required)password
- The users new password. (required)authenticatedUserPassword
- The password of the authenticated user who changes the password of the user (i.e., the user with passed id as path parameter). (required)userCredentialsDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Object> updateCredentialsWithHttpInfo(String id, String password, String authenticatedUserPassword, UserCredentialsDto userCredentialsDto) throws ApiException
id
- The id of the user to be updated. (required)password
- The users new password. (required)authenticatedUserPassword
- The password of the authenticated user who changes the password of the user (i.e., the user with passed id as path parameter). (required)userCredentialsDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateCredentialsAsync(String id, String password, String authenticatedUserPassword, UserCredentialsDto userCredentialsDto, ApiCallback<Object> _callback) throws ApiException
id
- The id of the user to be updated. (required)password
- The users new password. (required)authenticatedUserPassword
- The password of the authenticated user who changes the password of the user (i.e., the user with passed id as path parameter). (required)userCredentialsDto
- (optional)_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 © 2022. All rights reserved.