"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.DescribeSecurityStatInfoResponseBody = exports.DescribeSecurityStatInfoResponseBodyVulnerability = exports.DescribeSecurityStatInfoResponseBodySecurityEvent = exports.DescribeSecurityStatInfoResponseBodyHealthCheck = exports.DescribeSecurityStatInfoResponseBodyAttackEvent = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeSecurityStatInfoResponseBodyAttackEvent extends $dara.Model {
    static names() {
        return {
            dateArray: 'DateArray',
            totalCount: 'TotalCount',
            valueArray: 'ValueArray',
        };
    }
    static types() {
        return {
            dateArray: { 'type': 'array', 'itemType': 'string' },
            totalCount: 'number',
            valueArray: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.dateArray)) {
            $dara.Model.validateArray(this.dateArray);
        }
        if (Array.isArray(this.valueArray)) {
            $dara.Model.validateArray(this.valueArray);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityStatInfoResponseBodyAttackEvent = DescribeSecurityStatInfoResponseBodyAttackEvent;
class DescribeSecurityStatInfoResponseBodyHealthCheck extends $dara.Model {
    static names() {
        return {
            dateArray: 'DateArray',
            highCount: 'HighCount',
            highList: 'HighList',
            levelsOn: 'LevelsOn',
            lowCount: 'LowCount',
            lowList: 'LowList',
            mediumCount: 'MediumCount',
            mediumList: 'MediumList',
            timeArray: 'TimeArray',
            totalCount: 'TotalCount',
            valueArray: 'ValueArray',
        };
    }
    static types() {
        return {
            dateArray: { 'type': 'array', 'itemType': 'string' },
            highCount: 'number',
            highList: { 'type': 'array', 'itemType': 'string' },
            levelsOn: { 'type': 'array', 'itemType': 'string' },
            lowCount: 'number',
            lowList: { 'type': 'array', 'itemType': 'string' },
            mediumCount: 'number',
            mediumList: { 'type': 'array', 'itemType': 'string' },
            timeArray: { 'type': 'array', 'itemType': 'string' },
            totalCount: 'number',
            valueArray: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.dateArray)) {
            $dara.Model.validateArray(this.dateArray);
        }
        if (Array.isArray(this.highList)) {
            $dara.Model.validateArray(this.highList);
        }
        if (Array.isArray(this.levelsOn)) {
            $dara.Model.validateArray(this.levelsOn);
        }
        if (Array.isArray(this.lowList)) {
            $dara.Model.validateArray(this.lowList);
        }
        if (Array.isArray(this.mediumList)) {
            $dara.Model.validateArray(this.mediumList);
        }
        if (Array.isArray(this.timeArray)) {
            $dara.Model.validateArray(this.timeArray);
        }
        if (Array.isArray(this.valueArray)) {
            $dara.Model.validateArray(this.valueArray);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityStatInfoResponseBodyHealthCheck = DescribeSecurityStatInfoResponseBodyHealthCheck;
class DescribeSecurityStatInfoResponseBodySecurityEvent extends $dara.Model {
    static names() {
        return {
            dateArray: 'DateArray',
            levelsOn: 'LevelsOn',
            remindCount: 'RemindCount',
            remindList: 'RemindList',
            seriousCount: 'SeriousCount',
            seriousList: 'SeriousList',
            suspiciousCount: 'SuspiciousCount',
            suspiciousList: 'SuspiciousList',
            timeArray: 'TimeArray',
            totalCount: 'TotalCount',
            valueArray: 'ValueArray',
        };
    }
    static types() {
        return {
            dateArray: { 'type': 'array', 'itemType': 'string' },
            levelsOn: { 'type': 'array', 'itemType': 'string' },
            remindCount: 'number',
            remindList: { 'type': 'array', 'itemType': 'string' },
            seriousCount: 'number',
            seriousList: { 'type': 'array', 'itemType': 'string' },
            suspiciousCount: 'number',
            suspiciousList: { 'type': 'array', 'itemType': 'string' },
            timeArray: { 'type': 'array', 'itemType': 'string' },
            totalCount: 'number',
            valueArray: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.dateArray)) {
            $dara.Model.validateArray(this.dateArray);
        }
        if (Array.isArray(this.levelsOn)) {
            $dara.Model.validateArray(this.levelsOn);
        }
        if (Array.isArray(this.remindList)) {
            $dara.Model.validateArray(this.remindList);
        }
        if (Array.isArray(this.seriousList)) {
            $dara.Model.validateArray(this.seriousList);
        }
        if (Array.isArray(this.suspiciousList)) {
            $dara.Model.validateArray(this.suspiciousList);
        }
        if (Array.isArray(this.timeArray)) {
            $dara.Model.validateArray(this.timeArray);
        }
        if (Array.isArray(this.valueArray)) {
            $dara.Model.validateArray(this.valueArray);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityStatInfoResponseBodySecurityEvent = DescribeSecurityStatInfoResponseBodySecurityEvent;
class DescribeSecurityStatInfoResponseBodyVulnerability extends $dara.Model {
    static names() {
        return {
            asapCount: 'AsapCount',
            asapList: 'AsapList',
            dateArray: 'DateArray',
            laterCount: 'LaterCount',
            laterList: 'LaterList',
            levelsOn: 'LevelsOn',
            nntfCount: 'NntfCount',
            nntfList: 'NntfList',
            timeArray: 'TimeArray',
            totalCount: 'TotalCount',
            valueArray: 'ValueArray',
        };
    }
    static types() {
        return {
            asapCount: 'number',
            asapList: { 'type': 'array', 'itemType': 'string' },
            dateArray: { 'type': 'array', 'itemType': 'string' },
            laterCount: 'number',
            laterList: { 'type': 'array', 'itemType': 'string' },
            levelsOn: { 'type': 'array', 'itemType': 'string' },
            nntfCount: 'number',
            nntfList: { 'type': 'array', 'itemType': 'string' },
            timeArray: { 'type': 'array', 'itemType': 'string' },
            totalCount: 'number',
            valueArray: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.asapList)) {
            $dara.Model.validateArray(this.asapList);
        }
        if (Array.isArray(this.dateArray)) {
            $dara.Model.validateArray(this.dateArray);
        }
        if (Array.isArray(this.laterList)) {
            $dara.Model.validateArray(this.laterList);
        }
        if (Array.isArray(this.levelsOn)) {
            $dara.Model.validateArray(this.levelsOn);
        }
        if (Array.isArray(this.nntfList)) {
            $dara.Model.validateArray(this.nntfList);
        }
        if (Array.isArray(this.timeArray)) {
            $dara.Model.validateArray(this.timeArray);
        }
        if (Array.isArray(this.valueArray)) {
            $dara.Model.validateArray(this.valueArray);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityStatInfoResponseBodyVulnerability = DescribeSecurityStatInfoResponseBodyVulnerability;
class DescribeSecurityStatInfoResponseBody extends $dara.Model {
    static names() {
        return {
            attackEvent: 'AttackEvent',
            healthCheck: 'HealthCheck',
            requestId: 'RequestId',
            securityEvent: 'SecurityEvent',
            success: 'Success',
            vulnerability: 'Vulnerability',
        };
    }
    static types() {
        return {
            attackEvent: DescribeSecurityStatInfoResponseBodyAttackEvent,
            healthCheck: DescribeSecurityStatInfoResponseBodyHealthCheck,
            requestId: 'string',
            securityEvent: DescribeSecurityStatInfoResponseBodySecurityEvent,
            success: 'boolean',
            vulnerability: DescribeSecurityStatInfoResponseBodyVulnerability,
        };
    }
    validate() {
        if (this.attackEvent && typeof this.attackEvent.validate === 'function') {
            this.attackEvent.validate();
        }
        if (this.healthCheck && typeof this.healthCheck.validate === 'function') {
            this.healthCheck.validate();
        }
        if (this.securityEvent && typeof this.securityEvent.validate === 'function') {
            this.securityEvent.validate();
        }
        if (this.vulnerability && typeof this.vulnerability.validate === 'function') {
            this.vulnerability.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeSecurityStatInfoResponseBody = DescribeSecurityStatInfoResponseBody;
//# sourceMappingURL=DescribeSecurityStatInfoResponseBody.js.map