postCreateFeedsWithHttpInfo method

Future<Response> postCreateFeedsWithHttpInfo({
  1. FeedClientLiteDTO? feedClientLiteDTO,
})

Performs an HTTP 'POST /client/feeds' operation and returns the Response. Parameters:

Implementation

Future<Response> postCreateFeedsWithHttpInfo({ FeedClientLiteDTO? feedClientLiteDTO, }) async {
  // ignore: prefer_const_declarations
  final path = r'/client/feeds';

  // ignore: prefer_final_locals
  Object? postBody = feedClientLiteDTO;

  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,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}