"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.DescribeDiagnosticReportsResponseBody = exports.DescribeDiagnosticReportsResponseBodyReports = exports.DescribeDiagnosticReportsResponseBodyReportsReport = exports.DescribeDiagnosticReportsResponseBodyReportsReportIssues = exports.DescribeDiagnosticReportsResponseBodyReportsReportIssuesIssue = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeDiagnosticReportsResponseBodyReportsReportIssuesIssue extends $dara.Model {
    static names() {
        return {
            issueId: 'IssueId',
            metricCategory: 'MetricCategory',
            metricId: 'MetricId',
            severity: 'Severity',
        };
    }
    static types() {
        return {
            issueId: 'string',
            metricCategory: 'string',
            metricId: 'string',
            severity: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportsResponseBodyReportsReportIssuesIssue = DescribeDiagnosticReportsResponseBodyReportsReportIssuesIssue;
class DescribeDiagnosticReportsResponseBodyReportsReportIssues extends $dara.Model {
    static names() {
        return {
            issue: 'Issue',
        };
    }
    static types() {
        return {
            issue: { 'type': 'array', 'itemType': DescribeDiagnosticReportsResponseBodyReportsReportIssuesIssue },
        };
    }
    validate() {
        if (Array.isArray(this.issue)) {
            $dara.Model.validateArray(this.issue);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportsResponseBodyReportsReportIssues = DescribeDiagnosticReportsResponseBodyReportsReportIssues;
class DescribeDiagnosticReportsResponseBodyReportsReport extends $dara.Model {
    static names() {
        return {
            creationTime: 'CreationTime',
            endTime: 'EndTime',
            finishedTime: 'FinishedTime',
            issues: 'Issues',
            metricSetId: 'MetricSetId',
            reportId: 'ReportId',
            resourceId: 'ResourceId',
            resourceType: 'ResourceType',
            severity: 'Severity',
            startTime: 'StartTime',
            status: 'Status',
        };
    }
    static types() {
        return {
            creationTime: 'string',
            endTime: 'string',
            finishedTime: 'string',
            issues: DescribeDiagnosticReportsResponseBodyReportsReportIssues,
            metricSetId: 'string',
            reportId: 'string',
            resourceId: 'string',
            resourceType: 'string',
            severity: 'string',
            startTime: 'string',
            status: 'string',
        };
    }
    validate() {
        if (this.issues && typeof this.issues.validate === 'function') {
            this.issues.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportsResponseBodyReportsReport = DescribeDiagnosticReportsResponseBodyReportsReport;
class DescribeDiagnosticReportsResponseBodyReports extends $dara.Model {
    static names() {
        return {
            report: 'Report',
        };
    }
    static types() {
        return {
            report: { 'type': 'array', 'itemType': DescribeDiagnosticReportsResponseBodyReportsReport },
        };
    }
    validate() {
        if (Array.isArray(this.report)) {
            $dara.Model.validateArray(this.report);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportsResponseBodyReports = DescribeDiagnosticReportsResponseBodyReports;
class DescribeDiagnosticReportsResponseBody extends $dara.Model {
    static names() {
        return {
            nextToken: 'NextToken',
            reports: 'Reports',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            nextToken: 'string',
            reports: DescribeDiagnosticReportsResponseBodyReports,
            requestId: 'string',
        };
    }
    validate() {
        if (this.reports && typeof this.reports.validate === 'function') {
            this.reports.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportsResponseBody = DescribeDiagnosticReportsResponseBody;
//# sourceMappingURL=DescribeDiagnosticReportsResponseBody.js.map