public class LoginApi extends Object
| Constructor and Description |
|---|
LoginApi() |
LoginApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EventResponse |
login(Login JSON)
Use login to record when a user attempts to log in.
|
com.squareup.okhttp.Call |
loginAsync(Login JSON,
ApiCallback<EventResponse> callback)
Use login to record when a user attempts to log in.
|
com.squareup.okhttp.Call |
loginCall(Login JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for login
|
ApiResponse<EventResponse> |
loginWithHttpInfo(Login JSON)
Use login to record when a user attempts to log in.
|
void |
setApiClient(ApiClient apiClient) |
public LoginApi()
public LoginApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call loginCall(Login JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass login status to thirdwatch. Only `_userID` is required field. But this should contain login info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse login(Login JSON) throws ApiException
JSON - Pass login status to thirdwatch. Only `_userID` is required field. But this should contain login info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> loginWithHttpInfo(Login JSON) throws ApiException
JSON - Pass login status to thirdwatch. Only `_userID` is required field. But this should contain login info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call loginAsync(Login JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass login status to thirdwatch. Only `_userID` is required field. But this should contain login info. (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 © 2017. All rights reserved.