putUpdatePlaylistsWithHttpInfo method
Performs an HTTP 'PUT /client/playlists' operation and returns the Response
.
Parameters:
- PlaylistClientDTO playlistClientDTO:
Implementation
Future<Response> putUpdatePlaylistsWithHttpInfo({ PlaylistClientDTO? playlistClientDTO, }) async {
// ignore: prefer_const_declarations
final path = r'/client/playlists';
// ignore: prefer_final_locals
Object? postBody = playlistClientDTO;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/json-patch+json', 'text/json', 'application/*+json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}