"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.GetSecurityScoreRuleResponseBody = exports.GetSecurityScoreRuleResponseBodySecurityScoreRuleList = exports.GetSecurityScoreRuleResponseBodySecurityScoreRuleListSecurityScoreItemList = exports.GetSecurityScoreRuleResponseBodySecurityScoreCategoryList = exports.GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleList = exports.GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleListSecurityScoreItemList = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleListSecurityScoreItemList extends $dara.Model {
    static names() {
        return {
            score: 'Score',
            scoreThreshold: 'ScoreThreshold',
            subRuleType: 'SubRuleType',
            title: 'Title',
        };
    }
    static types() {
        return {
            score: 'number',
            scoreThreshold: 'number',
            subRuleType: 'string',
            title: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleListSecurityScoreItemList = GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleListSecurityScoreItemList;
class GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleList extends $dara.Model {
    static names() {
        return {
            ruleType: 'RuleType',
            score: 'Score',
            securityScoreItemList: 'SecurityScoreItemList',
            title: 'Title',
        };
    }
    static types() {
        return {
            ruleType: 'string',
            score: 'number',
            securityScoreItemList: { 'type': 'array', 'itemType': GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleListSecurityScoreItemList },
            title: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.securityScoreItemList)) {
            $dara.Model.validateArray(this.securityScoreItemList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleList = GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleList;
class GetSecurityScoreRuleResponseBodySecurityScoreCategoryList extends $dara.Model {
    static names() {
        return {
            category: 'Category',
            score: 'Score',
            securityRuleList: 'SecurityRuleList',
            title: 'Title',
        };
    }
    static types() {
        return {
            category: 'string',
            score: 'number',
            securityRuleList: { 'type': 'array', 'itemType': GetSecurityScoreRuleResponseBodySecurityScoreCategoryListSecurityRuleList },
            title: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.securityRuleList)) {
            $dara.Model.validateArray(this.securityRuleList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetSecurityScoreRuleResponseBodySecurityScoreCategoryList = GetSecurityScoreRuleResponseBodySecurityScoreCategoryList;
class GetSecurityScoreRuleResponseBodySecurityScoreRuleListSecurityScoreItemList extends $dara.Model {
    static names() {
        return {
            score: 'Score',
            scoreThreshold: 'ScoreThreshold',
            subRuleType: 'SubRuleType',
            title: 'Title',
        };
    }
    static types() {
        return {
            score: 'number',
            scoreThreshold: 'number',
            subRuleType: 'string',
            title: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetSecurityScoreRuleResponseBodySecurityScoreRuleListSecurityScoreItemList = GetSecurityScoreRuleResponseBodySecurityScoreRuleListSecurityScoreItemList;
class GetSecurityScoreRuleResponseBodySecurityScoreRuleList extends $dara.Model {
    static names() {
        return {
            ruleType: 'RuleType',
            score: 'Score',
            securityScoreItemList: 'SecurityScoreItemList',
            title: 'Title',
        };
    }
    static types() {
        return {
            ruleType: 'string',
            score: 'number',
            securityScoreItemList: { 'type': 'array', 'itemType': GetSecurityScoreRuleResponseBodySecurityScoreRuleListSecurityScoreItemList },
            title: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.securityScoreItemList)) {
            $dara.Model.validateArray(this.securityScoreItemList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetSecurityScoreRuleResponseBodySecurityScoreRuleList = GetSecurityScoreRuleResponseBodySecurityScoreRuleList;
class GetSecurityScoreRuleResponseBody extends $dara.Model {
    static names() {
        return {
            enableStatus: 'EnableStatus',
            requestId: 'RequestId',
            securityScoreCategoryList: 'SecurityScoreCategoryList',
            securityScoreRuleList: 'SecurityScoreRuleList',
        };
    }
    static types() {
        return {
            enableStatus: 'boolean',
            requestId: 'string',
            securityScoreCategoryList: { 'type': 'array', 'itemType': GetSecurityScoreRuleResponseBodySecurityScoreCategoryList },
            securityScoreRuleList: { 'type': 'array', 'itemType': GetSecurityScoreRuleResponseBodySecurityScoreRuleList },
        };
    }
    validate() {
        if (Array.isArray(this.securityScoreCategoryList)) {
            $dara.Model.validateArray(this.securityScoreCategoryList);
        }
        if (Array.isArray(this.securityScoreRuleList)) {
            $dara.Model.validateArray(this.securityScoreRuleList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.GetSecurityScoreRuleResponseBody = GetSecurityScoreRuleResponseBody;
//# sourceMappingURL=GetSecurityScoreRuleResponseBody.js.map