public class UsersApi extends Object
| Constructor and Description |
|---|
UsersApi() |
UsersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
User |
createUser(UserCreateParamsImpl body)
Create a new user
<p>Create a new user.
|
com.squareup.okhttp.Call |
createUserAsync(UserCreateParamsImpl body,
ApiCallback<User> callback)
Create a new user (asynchronously)
<p>Create a new user.
|
com.squareup.okhttp.Call |
createUserCall(UserCreateParamsImpl body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createUser
|
ApiResponse<User> |
createUserWithHttpInfo(UserCreateParamsImpl body)
Create a new user
<p>Create a new user.
|
void |
deleteAuthorizedUser()
Delete the authorized user
Delete the authorized user.
|
com.squareup.okhttp.Call |
deleteAuthorizedUserAsync(ApiCallback<Void> callback)
Delete the authorized user (asynchronously)
Delete the authorized user.
|
com.squareup.okhttp.Call |
deleteAuthorizedUserCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAuthorizedUser
|
ApiResponse<Void> |
deleteAuthorizedUserWithHttpInfo()
Delete the authorized user
Delete the authorized user.
|
void |
deleteUnverifiedUser(String userId)
Delete an unverified user
Delete an unverified user.
|
com.squareup.okhttp.Call |
deleteUnverifiedUserAsync(String userId,
ApiCallback<Void> callback)
Delete an unverified user (asynchronously)
Delete an unverified user.
|
com.squareup.okhttp.Call |
deleteUnverifiedUserCall(String userId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteUnverifiedUser
|
ApiResponse<Void> |
deleteUnverifiedUserWithHttpInfo(String userId)
Delete an unverified user
Delete an unverified user.
|
User |
editAuthorizedUser(UserUpdateParamsImpl body)
Edit the authorized user
Edit the authorized user's data and settings.
|
com.squareup.okhttp.Call |
editAuthorizedUserAsync(UserUpdateParamsImpl body,
ApiCallback<User> callback)
Edit the authorized user (asynchronously)
Edit the authorized user's data and settings.
|
com.squareup.okhttp.Call |
editAuthorizedUserCall(UserUpdateParamsImpl body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for editAuthorizedUser
|
ApiResponse<User> |
editAuthorizedUserWithHttpInfo(UserUpdateParamsImpl body)
Edit the authorized user
Edit the authorized user's data and settings.
|
void |
executePasswordChange(ExecutePasswordChangeParams body)
Execute password change
Change the password of a user.
|
com.squareup.okhttp.Call |
executePasswordChangeAsync(ExecutePasswordChangeParams body,
ApiCallback<Void> callback)
Execute password change (asynchronously)
Change the password of a user.
|
com.squareup.okhttp.Call |
executePasswordChangeCall(ExecutePasswordChangeParams body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for executePasswordChange
|
ApiResponse<Void> |
executePasswordChangeWithHttpInfo(ExecutePasswordChangeParams body)
Execute password change
Change the password of a user.
|
ApiClient |
getApiClient() |
User |
getAuthorizedUser()
Get the authorized user
Get the authorized user's data.
|
com.squareup.okhttp.Call |
getAuthorizedUserAsync(ApiCallback<User> callback)
Get the authorized user (asynchronously)
Get the authorized user's data.
|
com.squareup.okhttp.Call |
getAuthorizedUserCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAuthorizedUser
|
ApiResponse<User> |
getAuthorizedUserWithHttpInfo()
Get the authorized user
Get the authorized user's data.
|
VerificationStatusResource |
getVerificationStatus(String userId)
Get a user's verification status
Get the verification status of the requested user.
|
com.squareup.okhttp.Call |
getVerificationStatusAsync(String userId,
ApiCallback<VerificationStatusResource> callback)
Get a user's verification status (asynchronously)
Get the verification status of the requested user.
|
com.squareup.okhttp.Call |
getVerificationStatusCall(String userId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getVerificationStatus
|
ApiResponse<VerificationStatusResource> |
getVerificationStatusWithHttpInfo(String userId)
Get a user's verification status
Get the verification status of the requested user.
|
PasswordChangingResource |
requestPasswordChange(RequestPasswordChangeParameters body)
Request password change
Request password change for a user.
|
com.squareup.okhttp.Call |
requestPasswordChangeAsync(RequestPasswordChangeParameters body,
ApiCallback<PasswordChangingResource> callback)
Request password change (asynchronously)
Request password change for a user.
|
com.squareup.okhttp.Call |
requestPasswordChangeCall(RequestPasswordChangeParameters body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for requestPasswordChange
|
ApiResponse<PasswordChangingResource> |
requestPasswordChangeWithHttpInfo(RequestPasswordChangeParameters body)
Request password change
Request password change for a user.
|
void |
setApiClient(ApiClient apiClient) |
void |
verifyUser(String userId)
Verify a user
Verify a user.
|
com.squareup.okhttp.Call |
verifyUserAsync(String userId,
ApiCallback<Void> callback)
Verify a user (asynchronously)
Verify a user.
|
com.squareup.okhttp.Call |
verifyUserCall(String userId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for verifyUser
|
ApiResponse<Void> |
verifyUserWithHttpInfo(String userId)
Verify a user
Verify a user.
|
public UsersApi()
public UsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createUserCall(UserCreateParamsImpl body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - User's details (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic User createUser(UserCreateParamsImpl body) throws ApiException
body - User's details (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<User> createUserWithHttpInfo(UserCreateParamsImpl body) throws ApiException
body - User's details (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createUserAsync(UserCreateParamsImpl body, ApiCallback<User> callback) throws ApiException
body - User's details (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 com.squareup.okhttp.Call deleteAuthorizedUserCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteAuthorizedUser()
throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAuthorizedUserWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAuthorizedUserAsync(ApiCallback<Void> 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 com.squareup.okhttp.Call deleteUnverifiedUserCall(String userId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
userId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteUnverifiedUser(String userId) throws ApiException
userId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteUnverifiedUserWithHttpInfo(String userId) throws ApiException
userId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteUnverifiedUserAsync(String userId, ApiCallback<Void> callback) throws ApiException
userId - (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 com.squareup.okhttp.Call editAuthorizedUserCall(UserUpdateParamsImpl body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - User's details (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic User editAuthorizedUser(UserUpdateParamsImpl body) throws ApiException
body - User's details (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<User> editAuthorizedUserWithHttpInfo(UserUpdateParamsImpl body) throws ApiException
body - User's details (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call editAuthorizedUserAsync(UserUpdateParamsImpl body, ApiCallback<User> callback) throws ApiException
body - User's details (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 com.squareup.okhttp.Call executePasswordChangeCall(ExecutePasswordChangeParams body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void executePasswordChange(ExecutePasswordChangeParams body) throws ApiException
body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> executePasswordChangeWithHttpInfo(ExecutePasswordChangeParams body) throws ApiException
body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call executePasswordChangeAsync(ExecutePasswordChangeParams body, ApiCallback<Void> callback) throws ApiException
body - (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 com.squareup.okhttp.Call getAuthorizedUserCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic User getAuthorizedUser() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<User> getAuthorizedUserWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAuthorizedUserAsync(ApiCallback<User> 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 com.squareup.okhttp.Call getVerificationStatusCall(String userId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
userId - User's identifier (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic VerificationStatusResource getVerificationStatus(String userId) throws ApiException
userId - User's identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<VerificationStatusResource> getVerificationStatusWithHttpInfo(String userId) throws ApiException
userId - User's identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getVerificationStatusAsync(String userId, ApiCallback<VerificationStatusResource> callback) throws ApiException
userId - User's identifier (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 com.squareup.okhttp.Call requestPasswordChangeCall(RequestPasswordChangeParameters body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PasswordChangingResource requestPasswordChange(RequestPasswordChangeParameters body) throws ApiException
body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PasswordChangingResource> requestPasswordChangeWithHttpInfo(RequestPasswordChangeParameters body) throws ApiException
body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call requestPasswordChangeAsync(RequestPasswordChangeParameters body, ApiCallback<PasswordChangingResource> callback) throws ApiException
body - (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 com.squareup.okhttp.Call verifyUserCall(String userId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
userId - User's identifier (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void verifyUser(String userId) throws ApiException
userId - User's identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> verifyUserWithHttpInfo(String userId) throws ApiException
userId - User's identifier (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call verifyUserAsync(String userId, ApiCallback<Void> callback) throws ApiException
userId - User's identifier (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 objectCopyright © 2018. All rights reserved.