"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.DescribeDiagnosticReportAttributesResponseBody = exports.DescribeDiagnosticReportAttributesResponseBodyMetricResults = exports.DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResult = exports.DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssues = exports.DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssuesIssue = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssuesIssue extends $dara.Model {
    static names() {
        return {
            additional: 'Additional',
            issueId: 'IssueId',
            occurrenceTime: 'OccurrenceTime',
            repairStatus: 'RepairStatus',
            repairable: 'Repairable',
            severity: 'Severity',
        };
    }
    static types() {
        return {
            additional: 'string',
            issueId: 'string',
            occurrenceTime: 'string',
            repairStatus: 'string',
            repairable: 'boolean',
            severity: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssuesIssue = DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssuesIssue;
class DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssues extends $dara.Model {
    static names() {
        return {
            issue: 'Issue',
        };
    }
    static types() {
        return {
            issue: { 'type': 'array', 'itemType': DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssuesIssue },
        };
    }
    validate() {
        if (Array.isArray(this.issue)) {
            $dara.Model.validateArray(this.issue);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssues = DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssues;
class DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResult extends $dara.Model {
    static names() {
        return {
            issues: 'Issues',
            metricCategory: 'MetricCategory',
            metricId: 'MetricId',
            severity: 'Severity',
            status: 'Status',
        };
    }
    static types() {
        return {
            issues: DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResultIssues,
            metricCategory: 'string',
            metricId: 'string',
            severity: 'string',
            status: 'string',
        };
    }
    validate() {
        if (this.issues && typeof this.issues.validate === 'function') {
            this.issues.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResult = DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResult;
class DescribeDiagnosticReportAttributesResponseBodyMetricResults extends $dara.Model {
    static names() {
        return {
            metricResult: 'MetricResult',
        };
    }
    static types() {
        return {
            metricResult: { 'type': 'array', 'itemType': DescribeDiagnosticReportAttributesResponseBodyMetricResultsMetricResult },
        };
    }
    validate() {
        if (Array.isArray(this.metricResult)) {
            $dara.Model.validateArray(this.metricResult);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportAttributesResponseBodyMetricResults = DescribeDiagnosticReportAttributesResponseBodyMetricResults;
class DescribeDiagnosticReportAttributesResponseBody extends $dara.Model {
    static names() {
        return {
            attributes: 'Attributes',
            creationTime: 'CreationTime',
            endTime: 'EndTime',
            finishedTime: 'FinishedTime',
            metricResults: 'MetricResults',
            metricSetId: 'MetricSetId',
            reportId: 'ReportId',
            requestId: 'RequestId',
            resourceId: 'ResourceId',
            resourceType: 'ResourceType',
            severity: 'Severity',
            startTime: 'StartTime',
            status: 'Status',
        };
    }
    static types() {
        return {
            attributes: 'string',
            creationTime: 'string',
            endTime: 'string',
            finishedTime: 'string',
            metricResults: DescribeDiagnosticReportAttributesResponseBodyMetricResults,
            metricSetId: 'string',
            reportId: 'string',
            requestId: 'string',
            resourceId: 'string',
            resourceType: 'string',
            severity: 'string',
            startTime: 'string',
            status: 'string',
        };
    }
    validate() {
        if (this.metricResults && typeof this.metricResults.validate === 'function') {
            this.metricResults.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDiagnosticReportAttributesResponseBody = DescribeDiagnosticReportAttributesResponseBody;
//# sourceMappingURL=DescribeDiagnosticReportAttributesResponseBody.js.map