"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.DescribeRiskTypeResponseBody = exports.DescribeRiskTypeResponseBodyRiskTypes = exports.DescribeRiskTypeResponseBodyRiskTypesSubTypes = exports.DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails = exports.DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRules = exports.DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRulesParamList = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRulesParamList extends $dara.Model {
    static names() {
        return {
            enumValue: 'EnumValue',
            maxValue: 'MaxValue',
            minValue: 'MinValue',
            paramDefaultValue: 'ParamDefaultValue',
            paramDesc: 'ParamDesc',
            paramName: 'ParamName',
            paramType: 'ParamType',
        };
    }
    static types() {
        return {
            enumValue: 'string',
            maxValue: 'number',
            minValue: 'number',
            paramDefaultValue: 'string',
            paramDesc: 'string',
            paramName: 'string',
            paramType: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRulesParamList = DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRulesParamList;
class DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRules extends $dara.Model {
    static names() {
        return {
            optional: 'Optional',
            paramList: 'ParamList',
            ruleDesc: 'RuleDesc',
            ruleId: 'RuleId',
        };
    }
    static types() {
        return {
            optional: 'number',
            paramList: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRulesParamList },
            ruleDesc: 'string',
            ruleId: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.paramList)) {
            $dara.Model.validateArray(this.paramList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRules = DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRules;
class DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails extends $dara.Model {
    static names() {
        return {
            checkDesc: 'CheckDesc',
            checkId: 'CheckId',
            checkItem: 'CheckItem',
            rules: 'Rules',
        };
    }
    static types() {
        return {
            checkDesc: 'string',
            checkId: 'number',
            checkItem: 'string',
            rules: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetailsRules },
        };
    }
    validate() {
        if (Array.isArray(this.rules)) {
            $dara.Model.validateArray(this.rules);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails = DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails;
class DescribeRiskTypeResponseBodyRiskTypesSubTypes extends $dara.Model {
    static names() {
        return {
            alias: 'Alias',
            authFlag: 'AuthFlag',
            checkDetails: 'CheckDetails',
            supportedOs: 'SupportedOs',
            typeName: 'TypeName',
        };
    }
    static types() {
        return {
            alias: 'string',
            authFlag: 'boolean',
            checkDetails: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypesSubTypesCheckDetails },
            supportedOs: 'string',
            typeName: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.checkDetails)) {
            $dara.Model.validateArray(this.checkDetails);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRiskTypeResponseBodyRiskTypesSubTypes = DescribeRiskTypeResponseBodyRiskTypesSubTypes;
class DescribeRiskTypeResponseBodyRiskTypes extends $dara.Model {
    static names() {
        return {
            alias: 'Alias',
            authFlag: 'AuthFlag',
            subTypes: 'SubTypes',
            typeName: 'TypeName',
        };
    }
    static types() {
        return {
            alias: 'string',
            authFlag: 'boolean',
            subTypes: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypesSubTypes },
            typeName: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.subTypes)) {
            $dara.Model.validateArray(this.subTypes);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRiskTypeResponseBodyRiskTypes = DescribeRiskTypeResponseBodyRiskTypes;
class DescribeRiskTypeResponseBody extends $dara.Model {
    static names() {
        return {
            requestId: 'RequestId',
            riskTypes: 'RiskTypes',
        };
    }
    static types() {
        return {
            requestId: 'string',
            riskTypes: { 'type': 'array', 'itemType': DescribeRiskTypeResponseBodyRiskTypes },
        };
    }
    validate() {
        if (Array.isArray(this.riskTypes)) {
            $dara.Model.validateArray(this.riskTypes);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeRiskTypeResponseBody = DescribeRiskTypeResponseBody;
//# sourceMappingURL=DescribeRiskTypeResponseBody.js.map