"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.VerifyCheckCustomConfigRequest = exports.VerifyCheckCustomConfigRequestRepairConfigs = exports.VerifyCheckCustomConfigRequestCustomConfigs = exports.VerifyCheckCustomConfigRequestCustomCheckConfig = exports.VerifyCheckCustomConfigRequestCustomCheckConfigCloudAssetInstance = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class VerifyCheckCustomConfigRequestCustomCheckConfigCloudAssetInstance extends $dara.Model {
    static names() {
        return {
            instanceId: 'InstanceId',
            regionId: 'RegionId',
        };
    }
    static types() {
        return {
            instanceId: 'string',
            regionId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.VerifyCheckCustomConfigRequestCustomCheckConfigCloudAssetInstance = VerifyCheckCustomConfigRequestCustomCheckConfigCloudAssetInstance;
class VerifyCheckCustomConfigRequestCustomCheckConfig extends $dara.Model {
    static names() {
        return {
            checkRule: 'CheckRule',
            cloudAssetInstance: 'CloudAssetInstance',
            instanceSubType: 'InstanceSubType',
            instanceType: 'InstanceType',
            vendor: 'Vendor',
        };
    }
    static types() {
        return {
            checkRule: 'string',
            cloudAssetInstance: VerifyCheckCustomConfigRequestCustomCheckConfigCloudAssetInstance,
            instanceSubType: 'string',
            instanceType: 'string',
            vendor: 'string',
        };
    }
    validate() {
        if (this.cloudAssetInstance && typeof this.cloudAssetInstance.validate === 'function') {
            this.cloudAssetInstance.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.VerifyCheckCustomConfigRequestCustomCheckConfig = VerifyCheckCustomConfigRequestCustomCheckConfig;
class VerifyCheckCustomConfigRequestCustomConfigs extends $dara.Model {
    static names() {
        return {
            name: 'Name',
            operation: 'Operation',
            value: 'Value',
        };
    }
    static types() {
        return {
            name: 'string',
            operation: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.VerifyCheckCustomConfigRequestCustomConfigs = VerifyCheckCustomConfigRequestCustomConfigs;
class VerifyCheckCustomConfigRequestRepairConfigs extends $dara.Model {
    static names() {
        return {
            flowId: 'FlowId',
            name: 'Name',
            operation: 'Operation',
            value: 'Value',
        };
    }
    static types() {
        return {
            flowId: 'string',
            name: 'string',
            operation: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.VerifyCheckCustomConfigRequestRepairConfigs = VerifyCheckCustomConfigRequestRepairConfigs;
class VerifyCheckCustomConfigRequest extends $dara.Model {
    static names() {
        return {
            checkId: 'CheckId',
            customCheckConfig: 'CustomCheckConfig',
            customConfigs: 'CustomConfigs',
            repairConfigs: 'RepairConfigs',
            type: 'Type',
        };
    }
    static types() {
        return {
            checkId: 'number',
            customCheckConfig: VerifyCheckCustomConfigRequestCustomCheckConfig,
            customConfigs: { 'type': 'array', 'itemType': VerifyCheckCustomConfigRequestCustomConfigs },
            repairConfigs: { 'type': 'array', 'itemType': VerifyCheckCustomConfigRequestRepairConfigs },
            type: 'string',
        };
    }
    validate() {
        if (this.customCheckConfig && typeof this.customCheckConfig.validate === 'function') {
            this.customCheckConfig.validate();
        }
        if (Array.isArray(this.customConfigs)) {
            $dara.Model.validateArray(this.customConfigs);
        }
        if (Array.isArray(this.repairConfigs)) {
            $dara.Model.validateArray(this.repairConfigs);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.VerifyCheckCustomConfigRequest = VerifyCheckCustomConfigRequest;
//# sourceMappingURL=VerifyCheckCustomConfigRequest.js.map