public class AuthApi extends Object
| Modifier and Type | Method and Description |
|---|---|
LoginResponse |
authPost(LoginPayload body)
Log into your account
|
com.squareup.okhttp.Call |
authPostAsync(LoginPayload body,
ApiCallback<LoginResponse> callback)
Log into your account (asynchronously)
|
com.squareup.okhttp.Call |
authPostCall(LoginPayload body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authPost
|
ApiResponse<LoginResponse> |
authPostWithHttpInfo(LoginPayload body)
Log into your account
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AuthApi()
public AuthApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call authPostCall(LoginPayload body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LoginResponse authPost(LoginPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LoginResponse> authPostWithHttpInfo(LoginPayload body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authPostAsync(LoginPayload body, ApiCallback<LoginResponse> callback) throws ApiException
body - (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 © 2019. All rights reserved.