"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.ChangeSecurityScoreRuleRequest = exports.ChangeSecurityScoreRuleRequestSecurityScoreRuleList = exports.ChangeSecurityScoreRuleRequestSecurityScoreRuleListSecurityScoreItemList = exports.ChangeSecurityScoreRuleRequestSecurityScoreCategoryList = exports.ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleList = exports.ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleListSecurityScoreItemList = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleListSecurityScoreItemList extends $dara.Model {
    static names() {
        return {
            score: 'Score',
            scoreThreshold: 'ScoreThreshold',
            subRuleType: 'SubRuleType',
        };
    }
    static types() {
        return {
            score: 'number',
            scoreThreshold: 'number',
            subRuleType: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleListSecurityScoreItemList = ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleListSecurityScoreItemList;
class ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleList extends $dara.Model {
    static names() {
        return {
            ruleType: 'RuleType',
            score: 'Score',
            securityScoreItemList: 'SecurityScoreItemList',
        };
    }
    static types() {
        return {
            ruleType: 'string',
            score: 'number',
            securityScoreItemList: { 'type': 'array', 'itemType': ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleListSecurityScoreItemList },
        };
    }
    validate() {
        if (Array.isArray(this.securityScoreItemList)) {
            $dara.Model.validateArray(this.securityScoreItemList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleList = ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleList;
class ChangeSecurityScoreRuleRequestSecurityScoreCategoryList extends $dara.Model {
    static names() {
        return {
            category: 'Category',
            scoreThreshold: 'ScoreThreshold',
            securityRuleList: 'SecurityRuleList',
        };
    }
    static types() {
        return {
            category: 'string',
            scoreThreshold: 'number',
            securityRuleList: { 'type': 'array', 'itemType': ChangeSecurityScoreRuleRequestSecurityScoreCategoryListSecurityRuleList },
        };
    }
    validate() {
        if (Array.isArray(this.securityRuleList)) {
            $dara.Model.validateArray(this.securityRuleList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ChangeSecurityScoreRuleRequestSecurityScoreCategoryList = ChangeSecurityScoreRuleRequestSecurityScoreCategoryList;
class ChangeSecurityScoreRuleRequestSecurityScoreRuleListSecurityScoreItemList extends $dara.Model {
    static names() {
        return {
            score: 'Score',
            scoreThreshold: 'ScoreThreshold',
            subRuleType: 'SubRuleType',
        };
    }
    static types() {
        return {
            score: 'number',
            scoreThreshold: 'number',
            subRuleType: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ChangeSecurityScoreRuleRequestSecurityScoreRuleListSecurityScoreItemList = ChangeSecurityScoreRuleRequestSecurityScoreRuleListSecurityScoreItemList;
class ChangeSecurityScoreRuleRequestSecurityScoreRuleList extends $dara.Model {
    static names() {
        return {
            ruleType: 'RuleType',
            score: 'Score',
            securityScoreItemList: 'SecurityScoreItemList',
        };
    }
    static types() {
        return {
            ruleType: 'string',
            score: 'number',
            securityScoreItemList: { 'type': 'array', 'itemType': ChangeSecurityScoreRuleRequestSecurityScoreRuleListSecurityScoreItemList },
        };
    }
    validate() {
        if (Array.isArray(this.securityScoreItemList)) {
            $dara.Model.validateArray(this.securityScoreItemList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.ChangeSecurityScoreRuleRequestSecurityScoreRuleList = ChangeSecurityScoreRuleRequestSecurityScoreRuleList;
class ChangeSecurityScoreRuleRequest extends $dara.Model {
    static names() {
        return {
            calType: 'CalType',
            resetSecurityScoreRule: 'ResetSecurityScoreRule',
            securityScoreCategoryList: 'SecurityScoreCategoryList',
            securityScoreRuleList: 'SecurityScoreRuleList',
        };
    }
    static types() {
        return {
            calType: 'string',
            resetSecurityScoreRule: 'boolean',
            securityScoreCategoryList: { 'type': 'array', 'itemType': ChangeSecurityScoreRuleRequestSecurityScoreCategoryList },
            securityScoreRuleList: { 'type': 'array', 'itemType': ChangeSecurityScoreRuleRequestSecurityScoreRuleList },
        };
    }
    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.ChangeSecurityScoreRuleRequest = ChangeSecurityScoreRuleRequest;
//# sourceMappingURL=ChangeSecurityScoreRuleRequest.js.map