getModerationCommentWithHttpInfo method
Future<Response>
getModerationCommentWithHttpInfo(
- String tenantId,
- String commentId, [
- GetModerationCommentOptions? options
Performs an HTTP 'GET /auth/my-account/moderate-comments/mod_api/comment/{commentId}' operation and returns the Response.
Parameters:
Implementation
Future<Response> getModerationCommentWithHttpInfo(String tenantId, String commentId, [ GetModerationCommentOptions? options ]) async {
final includeEmail = options?.includeEmail;
final includeIP = options?.includeIP;
final sso = options?.sso;
// ignore: prefer_const_declarations
final path = r'/auth/my-account/moderate-comments/mod_api/comment/{commentId}'
.replaceAll('{commentId}', commentId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'tenantId', tenantId));
if (includeEmail != null) {
queryParams.addAll(_queryParams('', 'includeEmail', includeEmail));
}
if (includeIP != null) {
queryParams.addAll(_queryParams('', 'includeIP', includeIP));
}
if (sso != null) {
queryParams.addAll(_queryParams('', 'sso', sso));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}