combineCommentsWithQuestionResultsWithHttpInfo method

Future<Response> combineCommentsWithQuestionResultsWithHttpInfo(
  1. String tenantId, {
  2. String? questionId,
  3. List<String>? questionIds,
  4. String? urlId,
  5. DateTime? startDate,
  6. bool? forceRecalculate,
  7. double? minValue,
  8. double? maxValue,
  9. double? limit,
})

Performs an HTTP 'GET /api/v1/question-results-aggregation/combine/comments' operation and returns the Response. Parameters:

Implementation

Future<Response> combineCommentsWithQuestionResultsWithHttpInfo(String tenantId, { String? questionId, List<String>? questionIds, String? urlId, DateTime? startDate, bool? forceRecalculate, double? minValue, double? maxValue, double? limit, }) async {
  // ignore: prefer_const_declarations
  final path = r'/api/v1/question-results-aggregation/combine/comments';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

    queryParams.addAll(_queryParams('', 'tenantId', tenantId));
  if (questionId != null) {
    queryParams.addAll(_queryParams('', 'questionId', questionId));
  }
  if (questionIds != null) {
    queryParams.addAll(_queryParams('multi', 'questionIds', questionIds));
  }
  if (urlId != null) {
    queryParams.addAll(_queryParams('', 'urlId', urlId));
  }
  if (startDate != null) {
    queryParams.addAll(_queryParams('', 'startDate', startDate));
  }
  if (forceRecalculate != null) {
    queryParams.addAll(_queryParams('', 'forceRecalculate', forceRecalculate));
  }
  if (minValue != null) {
    queryParams.addAll(_queryParams('', 'minValue', minValue));
  }
  if (maxValue != null) {
    queryParams.addAll(_queryParams('', 'maxValue', maxValue));
  }
  if (limit != null) {
    queryParams.addAll(_queryParams('', 'limit', limit));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}