"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.DescribeStrategyDetailResponseBody = exports.DescribeStrategyDetailResponseBodyStrategy = exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList = exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypes = exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails = exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRules = exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRulesParamList = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRulesParamList extends $dara.Model {
    static names() {
        return {
            enumValue: 'EnumValue',
            maxValue: 'MaxValue',
            minValue: 'MinValue',
            paramDefaultValue: 'ParamDefaultValue',
            paramDesc: 'ParamDesc',
            paramName: 'ParamName',
            paramType: 'ParamType',
            value: 'Value',
        };
    }
    static types() {
        return {
            enumValue: 'string',
            maxValue: 'number',
            minValue: 'number',
            paramDefaultValue: 'string',
            paramDesc: 'string',
            paramName: 'string',
            paramType: 'number',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRulesParamList = DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRulesParamList;
class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRules extends $dara.Model {
    static names() {
        return {
            defaultValue: 'DefaultValue',
            optional: 'Optional',
            paramList: 'ParamList',
            ruleDesc: 'RuleDesc',
            ruleId: 'RuleId',
        };
    }
    static types() {
        return {
            defaultValue: 'number',
            optional: 'number',
            paramList: { 'type': 'array', 'itemType': DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRulesParamList },
            ruleDesc: 'string',
            ruleId: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.paramList)) {
            $dara.Model.validateArray(this.paramList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRules = DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRules;
class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails 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': DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetailsRules },
        };
    }
    validate() {
        if (Array.isArray(this.rules)) {
            $dara.Model.validateArray(this.rules);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails = DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails;
class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypes extends $dara.Model {
    static names() {
        return {
            alias: 'Alias',
            checkDetails: 'CheckDetails',
            on: 'On',
            supportedOs: 'SupportedOs',
            typeName: 'TypeName',
        };
    }
    static types() {
        return {
            alias: 'string',
            checkDetails: { 'type': 'array', 'itemType': DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypesCheckDetails },
            on: 'boolean',
            supportedOs: 'string',
            typeName: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.checkDetails)) {
            $dara.Model.validateArray(this.checkDetails);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypes = DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypes;
class DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList extends $dara.Model {
    static names() {
        return {
            alias: 'Alias',
            on: 'On',
            subTypes: 'SubTypes',
            typeName: 'TypeName',
        };
    }
    static types() {
        return {
            alias: 'string',
            on: 'boolean',
            subTypes: { 'type': 'array', 'itemType': DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultListSubTypes },
            typeName: 'string',
        };
    }
    validate() {
        if (Array.isArray(this.subTypes)) {
            $dara.Model.validateArray(this.subTypes);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList = DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList;
class DescribeStrategyDetailResponseBodyStrategy extends $dara.Model {
    static names() {
        return {
            customType: 'CustomType',
            cycleDays: 'CycleDays',
            cycleStartTime: 'CycleStartTime',
            endTime: 'EndTime',
            id: 'Id',
            name: 'Name',
            riskSubTypeName: 'RiskSubTypeName',
            riskTypeWhiteListQueryResultList: 'RiskTypeWhiteListQueryResultList',
            startTime: 'StartTime',
            targetType: 'TargetType',
            type: 'Type',
        };
    }
    static types() {
        return {
            customType: 'string',
            cycleDays: 'number',
            cycleStartTime: 'number',
            endTime: 'string',
            id: 'number',
            name: 'string',
            riskSubTypeName: 'string',
            riskTypeWhiteListQueryResultList: { 'type': 'array', 'itemType': DescribeStrategyDetailResponseBodyStrategyRiskTypeWhiteListQueryResultList },
            startTime: 'string',
            targetType: 'string',
            type: 'number',
        };
    }
    validate() {
        if (Array.isArray(this.riskTypeWhiteListQueryResultList)) {
            $dara.Model.validateArray(this.riskTypeWhiteListQueryResultList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBodyStrategy = DescribeStrategyDetailResponseBodyStrategy;
class DescribeStrategyDetailResponseBody extends $dara.Model {
    static names() {
        return {
            requestId: 'RequestId',
            strategy: 'Strategy',
        };
    }
    static types() {
        return {
            requestId: 'string',
            strategy: DescribeStrategyDetailResponseBodyStrategy,
        };
    }
    validate() {
        if (this.strategy && typeof this.strategy.validate === 'function') {
            this.strategy.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeStrategyDetailResponseBody = DescribeStrategyDetailResponseBody;
//# sourceMappingURL=DescribeStrategyDetailResponseBody.js.map