Package app.kntrl.client.openapi.api
Class UserApi
- java.lang.Object
-
- app.kntrl.client.openapi.api.UserApi
-
public class UserApi extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SaveUserResconfirmUserAuths(ConfirmUserAuthsReq confirmUserAuthsReq)Confirm enabled authokhttp3.CallconfirmUserAuthsAsync(ConfirmUserAuthsReq confirmUserAuthsReq, ApiCallback<SaveUserRes> _callback)Confirm enabled auth (asynchronously)okhttp3.CallconfirmUserAuthsCall(ConfirmUserAuthsReq confirmUserAuthsReq, ApiCallback _callback)Build call for confirmUserAuthsApiResponse<SaveUserRes>confirmUserAuthsWithHttpInfo(ConfirmUserAuthsReq confirmUserAuthsReq)Confirm enabled authSaveUserReseditUser(java.lang.String id, EditUserReq editUserReq)(Backend API) Edit userokhttp3.CalleditUserAsync(java.lang.String id, EditUserReq editUserReq, ApiCallback<SaveUserRes> _callback)(Backend API) Edit user (asynchronously)okhttp3.CalleditUserCall(java.lang.String id, EditUserReq editUserReq, ApiCallback _callback)Build call for editUserApiResponse<SaveUserRes>editUserWithHttpInfo(java.lang.String id, EditUserReq editUserReq)(Backend API) Edit userApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()UsergetUser()Get userokhttp3.CallgetUserAsync(ApiCallback<User> _callback)Get user (asynchronously)okhttp3.CallgetUserCall(ApiCallback _callback)Build call for getUserApiResponse<User>getUserWithHttpInfo()Get userSaveUserRessaveUser(SaveUserReq saveUserReq)Save user Saves users.okhttp3.CallsaveUserAsync(SaveUserReq saveUserReq, ApiCallback<SaveUserRes> _callback)Save user (asynchronously) Saves users.okhttp3.CallsaveUserCall(SaveUserReq saveUserReq, ApiCallback _callback)Build call for saveUserApiResponse<SaveUserRes>saveUserWithHttpInfo(SaveUserReq saveUserReq)Save user Saves users.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
UserApi
public UserApi()
-
UserApi
public UserApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
confirmUserAuthsCall
public okhttp3.Call confirmUserAuthsCall(ConfirmUserAuthsReq confirmUserAuthsReq, ApiCallback _callback) throws ApiException
Build call for confirmUserAuths- Parameters:
confirmUserAuthsReq- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
confirmUserAuths
public SaveUserRes confirmUserAuths(ConfirmUserAuthsReq confirmUserAuthsReq) throws ApiException
Confirm enabled auth- Parameters:
confirmUserAuthsReq- (required)- Returns:
- SaveUserRes
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
confirmUserAuthsWithHttpInfo
public ApiResponse<SaveUserRes> confirmUserAuthsWithHttpInfo(ConfirmUserAuthsReq confirmUserAuthsReq) throws ApiException
Confirm enabled auth- Parameters:
confirmUserAuthsReq- (required)- Returns:
- ApiResponse<SaveUserRes>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
confirmUserAuthsAsync
public okhttp3.Call confirmUserAuthsAsync(ConfirmUserAuthsReq confirmUserAuthsReq, ApiCallback<SaveUserRes> _callback) throws ApiException
Confirm enabled auth (asynchronously)- Parameters:
confirmUserAuthsReq- (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
-
editUserCall
public okhttp3.Call editUserCall(java.lang.String id, EditUserReq editUserReq, ApiCallback _callback) throws ApiExceptionBuild call for editUser- Parameters:
id- (required)editUserReq- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
editUser
public SaveUserRes editUser(java.lang.String id, EditUserReq editUserReq) throws ApiException
(Backend API) Edit user- Parameters:
id- (required)editUserReq- (required)- Returns:
- SaveUserRes
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
editUserWithHttpInfo
public ApiResponse<SaveUserRes> editUserWithHttpInfo(java.lang.String id, EditUserReq editUserReq) throws ApiException
(Backend API) Edit user- Parameters:
id- (required)editUserReq- (required)- Returns:
- ApiResponse<SaveUserRes>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
editUserAsync
public okhttp3.Call editUserAsync(java.lang.String id, EditUserReq editUserReq, ApiCallback<SaveUserRes> _callback) throws ApiException(Backend API) Edit user (asynchronously)- Parameters:
id- (required)editUserReq- (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
-
getUserCall
public okhttp3.Call getUserCall(ApiCallback _callback) throws ApiException
Build call for getUser- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getUser
public User getUser() throws ApiException
Get user- Returns:
- User
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserWithHttpInfo
public ApiResponse<User> getUserWithHttpInfo() throws ApiException
Get user- Returns:
- ApiResponse<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getUserAsync
public okhttp3.Call getUserAsync(ApiCallback<User> _callback) throws ApiException
Get user (asynchronously)- Parameters:
_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
-
saveUserCall
public okhttp3.Call saveUserCall(SaveUserReq saveUserReq, ApiCallback _callback) throws ApiException
Build call for saveUser- Parameters:
saveUserReq- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
saveUser
public SaveUserRes saveUser(SaveUserReq saveUserReq) throws ApiException
Save user Saves users. Be careful with order. To avoid potential \"duplicated entry\" problem, remove operation goes firs, then update, then insert.- Parameters:
saveUserReq- (required)- Returns:
- SaveUserRes
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
saveUserWithHttpInfo
public ApiResponse<SaveUserRes> saveUserWithHttpInfo(SaveUserReq saveUserReq) throws ApiException
Save user Saves users. Be careful with order. To avoid potential \"duplicated entry\" problem, remove operation goes firs, then update, then insert.- Parameters:
saveUserReq- (required)- Returns:
- ApiResponse<SaveUserRes>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
saveUserAsync
public okhttp3.Call saveUserAsync(SaveUserReq saveUserReq, ApiCallback<SaveUserRes> _callback) throws ApiException
Save user (asynchronously) Saves users. Be careful with order. To avoid potential \"duplicated entry\" problem, remove operation goes firs, then update, then insert.- Parameters:
saveUserReq- (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
-
-