public class PhoneHomeApi
extends java.lang.Object
| Constructor and Description |
|---|
PhoneHomeApi() |
PhoneHomeApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
logPost(Log log)
Used to report back to server a logged event
Returns 200 ok if successfully persisted
|
com.squareup.okhttp.Call |
logPostAsync(Log log,
ApiCallback<java.lang.Void> callback)
Used to report back to server a logged event (asynchronously)
Returns 200 ok if successfully persisted
|
com.squareup.okhttp.Call |
logPostCall(Log log,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for logPost
|
ApiResponse<java.lang.Void> |
logPostWithHttpInfo(Log log)
Used to report back to server a logged event
Returns 200 ok if successfully persisted
|
void |
setApiClient(ApiClient apiClient) |
public PhoneHomeApi()
public PhoneHomeApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call logPostCall(Log log, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
log - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void logPost(Log log) throws ApiException
log - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> logPostWithHttpInfo(Log log) throws ApiException
log - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call logPostAsync(Log log, ApiCallback<java.lang.Void> callback) throws ApiException
log - (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 object