getComplianceReportWithHttpInfo method

Future<Response> getComplianceReportWithHttpInfo(
  1. String reportId
)

Get a report

Get a compliance reports previously created. ##### Permissions Must have manage_system permission.

Note: This method returns the HTTP Response.

Parameters:

  • String reportId (required): Compliance report GUID

Implementation

Future<Response> getComplianceReportWithHttpInfo(
  String reportId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/compliance/reports/{report_id}'.replaceAll('{report_id}', reportId);

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];

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