Class UsersApi
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.UsersApi
-
public class UsersApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchangeUserPassword(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO)Change the Password of the user Using this operation, logged-in user can change their password.okhttp3.CallchangeUserPasswordAsync(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO, ApiCallback<Void> _callback)Change the Password of the user (asynchronously) Using this operation, logged-in user can change their password.okhttp3.CallchangeUserPasswordCall(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO, ApiCallback _callback)Build call for changeUserPasswordApiResponse<Void>changeUserPasswordWithHttpInfo(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO)Change the Password of the user Using this operation, logged-in user can change their password.ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
UsersApi
public UsersApi()
-
UsersApi
public UsersApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
changeUserPasswordCall
public okhttp3.Call changeUserPasswordCall(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO, ApiCallback _callback) throws ApiException
Build call for changeUserPassword- Parameters:
currentAndNewPasswordsDTO- Current and new password of the user (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
changeUserPassword
public void changeUserPassword(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO) throws ApiException
Change the Password of the user Using this operation, logged-in user can change their password.- Parameters:
currentAndNewPasswordsDTO- Current and new password of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
changeUserPasswordWithHttpInfo
public ApiResponse<Void> changeUserPasswordWithHttpInfo(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO) throws ApiException
Change the Password of the user Using this operation, logged-in user can change their password.- Parameters:
currentAndNewPasswordsDTO- Current and new password of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
changeUserPasswordAsync
public okhttp3.Call changeUserPasswordAsync(CurrentAndNewPasswordsDTO currentAndNewPasswordsDTO, ApiCallback<Void> _callback) throws ApiException
Change the Password of the user (asynchronously) Using this operation, logged-in user can change their password.- Parameters:
currentAndNewPasswordsDTO- Current and new password of the user (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-