public class LogoutApi extends Object
| Constructor and Description |
|---|
LogoutApi() |
LogoutApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EventResponse |
logout(Logout JSON)
Use logout to record when a user logs out.
|
com.squareup.okhttp.Call |
logoutAsync(Logout JSON,
ApiCallback<EventResponse> callback)
Use logout to record when a user logs out.
|
com.squareup.okhttp.Call |
logoutCall(Logout JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for logout
|
ApiResponse<EventResponse> |
logoutWithHttpInfo(Logout JSON)
Use logout to record when a user logs out.
|
void |
setApiClient(ApiClient apiClient) |
public LogoutApi()
public LogoutApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call logoutCall(Logout JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass logout status to thirdwatch. Only `_userID` is required field. But this should contain logout info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse logout(Logout JSON) throws ApiException
JSON - Pass logout status to thirdwatch. Only `_userID` is required field. But this should contain logout info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> logoutWithHttpInfo(Logout JSON) throws ApiException
JSON - Pass logout status to thirdwatch. Only `_userID` is required field. But this should contain logout info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call logoutAsync(Logout JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass logout status to thirdwatch. Only `_userID` is required field. But this should contain logout 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.