putRatingSelectionsWithHttpInfo method
Performs an HTTP 'PUT /client/selections/{id}/rating/{newRatingValue}' operation and returns the Response
.
Parameters:
Implementation
Future<Response> putRatingSelectionsWithHttpInfo(int id, double newRatingValue,) async {
// ignore: prefer_const_declarations
final path = r'/client/selections/{id}/rating/{newRatingValue}'
.replaceAll('{id}', id.toString())
.replaceAll('{newRatingValue}', newRatingValue.toString());
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}