Package cm.xd.genapi.ynab.api
Class UserApi
java.lang.Object
cm.xd.genapi.ynab.api.UserApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetUser()Get user Returns authenticated user informationokhttp3.CallgetUserAsync(ApiCallback<UserResponse> _callback) Get user (asynchronously) Returns authenticated user informationokhttp3.CallgetUserCall(ApiCallback _callback) Build call for getUserGet user Returns authenticated user informationvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
UserApi
public UserApi() -
UserApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getUserCall
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- Http Response Details
Response Details Status Code Description Response Headers 200 The user info -
-
getUser
Get user Returns authenticated user information- Returns:
- UserResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The user info -
-
getUserWithHttpInfo
Get user Returns authenticated user information- Returns:
- ApiResponse<UserResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 The user info -
-
getUserAsync
Get user (asynchronously) Returns authenticated user information- 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- Http Response Details
Response Details Status Code Description Response Headers 200 The user info -
-