public class SubmitReviewApi extends Object
| Constructor and Description |
|---|
SubmitReviewApi() |
SubmitReviewApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
EventResponse |
submitReview(SubmitReview JSON)
Use submit_review when a user-submitted review of a product or seller.
|
com.squareup.okhttp.Call |
submitReviewAsync(SubmitReview JSON,
ApiCallback<EventResponse> callback)
Use submit_review when a user-submitted review of a product or seller.
|
com.squareup.okhttp.Call |
submitReviewCall(SubmitReview JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for submitReview
|
ApiResponse<EventResponse> |
submitReviewWithHttpInfo(SubmitReview JSON)
Use submit_review when a user-submitted review of a product or seller.
|
public SubmitReviewApi()
public SubmitReviewApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call submitReviewCall(SubmitReview JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass review to thirdwatch. Only `_userID` is required field. But this should contain review info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse submitReview(SubmitReview JSON) throws ApiException
JSON - Pass review to thirdwatch. Only `_userID` is required field. But this should contain review info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> submitReviewWithHttpInfo(SubmitReview JSON) throws ApiException
JSON - Pass review to thirdwatch. Only `_userID` is required field. But this should contain review info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call submitReviewAsync(SubmitReview JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass review to thirdwatch. Only `_userID` is required field. But this should contain review 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.