"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.DescribeCloudAssistantSettingsResponseBody = exports.DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigs = exports.DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigsSlsDeliveryConfig = exports.DescribeCloudAssistantSettingsResponseBodySessionManagerConfig = exports.DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigs = exports.DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigsOssDeliveryConfig = exports.DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfig = exports.DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfigAllowedUpgradeWindows = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfigAllowedUpgradeWindows extends $dara.Model {
    static names() {
        return {
            allowedUpgradeWindow: 'AllowedUpgradeWindow',
        };
    }
    static types() {
        return {
            allowedUpgradeWindow: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.allowedUpgradeWindow)) {
            $dara.Model.validateArray(this.allowedUpgradeWindow);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfigAllowedUpgradeWindows = DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfigAllowedUpgradeWindows;
class DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfig extends $dara.Model {
    static names() {
        return {
            allowedUpgradeWindows: 'AllowedUpgradeWindows',
            enabled: 'Enabled',
            timeZone: 'TimeZone',
        };
    }
    static types() {
        return {
            allowedUpgradeWindows: DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfigAllowedUpgradeWindows,
            enabled: 'boolean',
            timeZone: 'string',
        };
    }
    validate() {
        if (this.allowedUpgradeWindows && typeof this.allowedUpgradeWindows.validate === 'function') {
            this.allowedUpgradeWindows.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfig = DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfig;
class DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigsOssDeliveryConfig extends $dara.Model {
    static names() {
        return {
            bucketName: 'BucketName',
            deliveryType: 'DeliveryType',
            enabled: 'Enabled',
            encryptionAlgorithm: 'EncryptionAlgorithm',
            encryptionKeyId: 'EncryptionKeyId',
            encryptionType: 'EncryptionType',
            prefix: 'Prefix',
        };
    }
    static types() {
        return {
            bucketName: 'string',
            deliveryType: 'string',
            enabled: 'boolean',
            encryptionAlgorithm: 'string',
            encryptionKeyId: 'string',
            encryptionType: 'string',
            prefix: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigsOssDeliveryConfig = DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigsOssDeliveryConfig;
class DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigs extends $dara.Model {
    static names() {
        return {
            ossDeliveryConfig: 'OssDeliveryConfig',
        };
    }
    static types() {
        return {
            ossDeliveryConfig: { 'type': 'array', 'itemType': DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigsOssDeliveryConfig },
        };
    }
    validate() {
        if (Array.isArray(this.ossDeliveryConfig)) {
            $dara.Model.validateArray(this.ossDeliveryConfig);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigs = DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigs;
class DescribeCloudAssistantSettingsResponseBodySessionManagerConfig extends $dara.Model {
    static names() {
        return {
            sessionManagerEnabled: 'SessionManagerEnabled',
        };
    }
    static types() {
        return {
            sessionManagerEnabled: 'boolean',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodySessionManagerConfig = DescribeCloudAssistantSettingsResponseBodySessionManagerConfig;
class DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigsSlsDeliveryConfig extends $dara.Model {
    static names() {
        return {
            deliveryType: 'DeliveryType',
            enabled: 'Enabled',
            logstoreName: 'LogstoreName',
            projectName: 'ProjectName',
        };
    }
    static types() {
        return {
            deliveryType: 'string',
            enabled: 'boolean',
            logstoreName: 'string',
            projectName: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigsSlsDeliveryConfig = DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigsSlsDeliveryConfig;
class DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigs extends $dara.Model {
    static names() {
        return {
            slsDeliveryConfig: 'SlsDeliveryConfig',
        };
    }
    static types() {
        return {
            slsDeliveryConfig: { 'type': 'array', 'itemType': DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigsSlsDeliveryConfig },
        };
    }
    validate() {
        if (Array.isArray(this.slsDeliveryConfig)) {
            $dara.Model.validateArray(this.slsDeliveryConfig);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigs = DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigs;
class DescribeCloudAssistantSettingsResponseBody extends $dara.Model {
    static names() {
        return {
            agentUpgradeConfig: 'AgentUpgradeConfig',
            ossDeliveryConfigs: 'OssDeliveryConfigs',
            requestId: 'RequestId',
            sessionManagerConfig: 'SessionManagerConfig',
            slsDeliveryConfigs: 'SlsDeliveryConfigs',
        };
    }
    static types() {
        return {
            agentUpgradeConfig: DescribeCloudAssistantSettingsResponseBodyAgentUpgradeConfig,
            ossDeliveryConfigs: DescribeCloudAssistantSettingsResponseBodyOssDeliveryConfigs,
            requestId: 'string',
            sessionManagerConfig: DescribeCloudAssistantSettingsResponseBodySessionManagerConfig,
            slsDeliveryConfigs: DescribeCloudAssistantSettingsResponseBodySlsDeliveryConfigs,
        };
    }
    validate() {
        if (this.agentUpgradeConfig && typeof this.agentUpgradeConfig.validate === 'function') {
            this.agentUpgradeConfig.validate();
        }
        if (this.ossDeliveryConfigs && typeof this.ossDeliveryConfigs.validate === 'function') {
            this.ossDeliveryConfigs.validate();
        }
        if (this.sessionManagerConfig && typeof this.sessionManagerConfig.validate === 'function') {
            this.sessionManagerConfig.validate();
        }
        if (this.slsDeliveryConfigs && typeof this.slsDeliveryConfigs.validate === 'function') {
            this.slsDeliveryConfigs.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeCloudAssistantSettingsResponseBody = DescribeCloudAssistantSettingsResponseBody;
//# sourceMappingURL=DescribeCloudAssistantSettingsResponseBody.js.map