public class ReportItemApi extends Object
| Constructor and Description |
|---|
ReportItemApi() |
ReportItemApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EventResponse |
reportItem(ReportItem JSON)
Use report_item to let us know when another user reports that this item may violate your company’s policies.
|
com.squareup.okhttp.Call |
reportItemAsync(ReportItem JSON,
ApiCallback<EventResponse> callback)
Use report_item to let us know when another user reports that this item may violate your company’s policies.
|
com.squareup.okhttp.Call |
reportItemCall(ReportItem JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for reportItem
|
ApiResponse<EventResponse> |
reportItemWithHttpInfo(ReportItem JSON)
Use report_item to let us know when another user reports that this item may violate your company’s policies.
|
void |
setApiClient(ApiClient apiClient) |
public ReportItemApi()
public ReportItemApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call reportItemCall(ReportItem JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass report item info to thirdwatch. Only `_userID` is required field. But this should contain item id. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse reportItem(ReportItem JSON) throws ApiException
JSON - Pass report item info to thirdwatch. Only `_userID` is required field. But this should contain item id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> reportItemWithHttpInfo(ReportItem JSON) throws ApiException
JSON - Pass report item info to thirdwatch. Only `_userID` is required field. But this should contain item id. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call reportItemAsync(ReportItem JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass report item info to thirdwatch. Only `_userID` is required field. But this should contain item id. (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.