combineCommentsWithQuestionResultsWithHttpInfo method
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,
);
}