public class RatingsApi extends Object
| Constructor and Description |
|---|
RatingsApi() |
RatingsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
RatingListDTO |
apisApiIdRatingsGet(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant)
Retrieve API Ratings
This operation can be used to retrieve the list of ratings of an API.
|
okhttp3.Call |
apisApiIdRatingsGetAsync(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant,
ApiCallback<RatingListDTO> _callback)
Retrieve API Ratings (asynchronously)
This operation can be used to retrieve the list of ratings of an API.
|
okhttp3.Call |
apisApiIdRatingsGetCall(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant,
ApiCallback _callback)
Build call for apisApiIdRatingsGet
|
ApiResponse<RatingListDTO> |
apisApiIdRatingsGetWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String xWSO2Tenant)
Retrieve API Ratings
This operation can be used to retrieve the list of ratings of an API.
|
void |
apisApiIdUserRatingDelete(String apiId,
String xWSO2Tenant,
String ifMatch)
Delete User API Rating
This operation can be used to delete logged in user API rating.
|
okhttp3.Call |
apisApiIdUserRatingDeleteAsync(String apiId,
String xWSO2Tenant,
String ifMatch,
ApiCallback<Void> _callback)
Delete User API Rating (asynchronously)
This operation can be used to delete logged in user API rating.
|
okhttp3.Call |
apisApiIdUserRatingDeleteCall(String apiId,
String xWSO2Tenant,
String ifMatch,
ApiCallback _callback)
Build call for apisApiIdUserRatingDelete
|
ApiResponse<Void> |
apisApiIdUserRatingDeleteWithHttpInfo(String apiId,
String xWSO2Tenant,
String ifMatch)
Delete User API Rating
This operation can be used to delete logged in user API rating.
|
RatingDTO |
apisApiIdUserRatingGet(String apiId,
String xWSO2Tenant,
String ifNoneMatch)
Retrieve API Rating of User
This operation can be used to get the user rating of an API.
|
okhttp3.Call |
apisApiIdUserRatingGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<RatingDTO> _callback)
Retrieve API Rating of User (asynchronously)
This operation can be used to get the user rating of an API.
|
okhttp3.Call |
apisApiIdUserRatingGetCall(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback _callback)
Build call for apisApiIdUserRatingGet
|
ApiResponse<RatingDTO> |
apisApiIdUserRatingGetWithHttpInfo(String apiId,
String xWSO2Tenant,
String ifNoneMatch)
Retrieve API Rating of User
This operation can be used to get the user rating of an API.
|
RatingDTO |
apisApiIdUserRatingPut(String apiId,
RatingDTO ratingDTO,
String xWSO2Tenant)
Add or Update Logged in User's Rating for an API
This operation can be used to add or update an API rating.
|
okhttp3.Call |
apisApiIdUserRatingPutAsync(String apiId,
RatingDTO ratingDTO,
String xWSO2Tenant,
ApiCallback<RatingDTO> _callback)
Add or Update Logged in User's Rating for an API (asynchronously)
This operation can be used to add or update an API rating.
|
okhttp3.Call |
apisApiIdUserRatingPutCall(String apiId,
RatingDTO ratingDTO,
String xWSO2Tenant,
ApiCallback _callback)
Build call for apisApiIdUserRatingPut
|
ApiResponse<RatingDTO> |
apisApiIdUserRatingPutWithHttpInfo(String apiId,
RatingDTO ratingDTO,
String xWSO2Tenant)
Add or Update Logged in User's Rating for an API
This operation can be used to add or update an API rating.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public RatingsApi()
public RatingsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call apisApiIdRatingsGetCall(String apiId, Integer limit, Integer offset, String xWSO2Tenant, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic RatingListDTO apisApiIdRatingsGet(String apiId, Integer limit, Integer offset, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RatingListDTO> apisApiIdRatingsGetWithHttpInfo(String apiId, Integer limit, Integer offset, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call apisApiIdRatingsGetAsync(String apiId, Integer limit, Integer offset, String xWSO2Tenant, ApiCallback<RatingListDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)limit - Maximum size of resource array to return. (optional, default to 25)offset - Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call apisApiIdUserRatingDeleteCall(String apiId, String xWSO2Tenant, String ifMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void apisApiIdUserRatingDelete(String apiId, String xWSO2Tenant, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdUserRatingDeleteWithHttpInfo(String apiId, String xWSO2Tenant, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call apisApiIdUserRatingDeleteAsync(String apiId, String xWSO2Tenant, String ifMatch, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call apisApiIdUserRatingGetCall(String apiId, String xWSO2Tenant, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic RatingDTO apisApiIdUserRatingGet(String apiId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RatingDTO> apisApiIdUserRatingGetWithHttpInfo(String apiId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call apisApiIdUserRatingGetAsync(String apiId, String xWSO2Tenant, String ifNoneMatch, ApiCallback<RatingDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call apisApiIdUserRatingPutCall(String apiId, RatingDTO ratingDTO, String xWSO2Tenant, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ratingDTO - Rating object that should to be added (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic RatingDTO apisApiIdUserRatingPut(String apiId, RatingDTO ratingDTO, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ratingDTO - Rating object that should to be added (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<RatingDTO> apisApiIdUserRatingPutWithHttpInfo(String apiId, RatingDTO ratingDTO, String xWSO2Tenant) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ratingDTO - Rating object that should to be added (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call apisApiIdUserRatingPutAsync(String apiId, RatingDTO ratingDTO, String xWSO2Tenant, ApiCallback<RatingDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ratingDTO - Rating object that should to be added (required)xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)_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 © 2021 WSO2 Inc. All rights reserved.