"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.DescribeImagePipelinesResponseBody = exports.DescribeImagePipelinesResponseBodyImagePipeline = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetToRegionIds = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTagsTag = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappingsDiskDeviceMapping = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptions = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTags = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTagsImageTag = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageFeatures = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAdvancedOptions = exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAddAccounts = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAddAccounts extends $dara.Model {
    static names() {
        return {
            addAccount: 'AddAccount',
        };
    }
    static types() {
        return {
            addAccount: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.addAccount)) {
            $dara.Model.validateArray(this.addAccount);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAddAccounts = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAddAccounts;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAdvancedOptions extends $dara.Model {
    static names() {
        return {
            imageNameSuffix: 'ImageNameSuffix',
            retainCloudAssistant: 'RetainCloudAssistant',
        };
    }
    static types() {
        return {
            imageNameSuffix: 'string',
            retainCloudAssistant: 'boolean',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAdvancedOptions = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAdvancedOptions;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageFeatures extends $dara.Model {
    static names() {
        return {
            nvmeSupport: 'NvmeSupport',
        };
    }
    static types() {
        return {
            nvmeSupport: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageFeatures = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageFeatures;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTagsImageTag extends $dara.Model {
    static names() {
        return {
            tagKey: 'TagKey',
            tagValue: 'TagValue',
        };
    }
    static types() {
        return {
            tagKey: 'string',
            tagValue: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTagsImageTag = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTagsImageTag;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTags extends $dara.Model {
    static names() {
        return {
            imageTag: 'ImageTag',
        };
    }
    static types() {
        return {
            imageTag: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTagsImageTag },
        };
    }
    validate() {
        if (Array.isArray(this.imageTag)) {
            $dara.Model.validateArray(this.imageTag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTags = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTags;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptions extends $dara.Model {
    static names() {
        return {
            description: 'Description',
            imageFamily: 'ImageFamily',
            imageFeatures: 'ImageFeatures',
            imageName: 'ImageName',
            imageTags: 'ImageTags',
        };
    }
    static types() {
        return {
            description: 'string',
            imageFamily: 'string',
            imageFeatures: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageFeatures,
            imageName: 'string',
            imageTags: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptionsImageTags,
        };
    }
    validate() {
        if (this.imageFeatures && typeof this.imageFeatures.validate === 'function') {
            this.imageFeatures.validate();
        }
        if (this.imageTags && typeof this.imageTags.validate === 'function') {
            this.imageTags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptions = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptions;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappingsDiskDeviceMapping extends $dara.Model {
    static names() {
        return {
            diskImageSize: 'DiskImageSize',
            format: 'Format',
            OSSBucket: 'OSSBucket',
            OSSObject: 'OSSObject',
        };
    }
    static types() {
        return {
            diskImageSize: 'number',
            format: 'string',
            OSSBucket: 'string',
            OSSObject: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappingsDiskDeviceMapping = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappingsDiskDeviceMapping;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings extends $dara.Model {
    static names() {
        return {
            diskDeviceMapping: 'DiskDeviceMapping',
        };
    }
    static types() {
        return {
            diskDeviceMapping: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappingsDiskDeviceMapping },
        };
    }
    validate() {
        if (Array.isArray(this.diskDeviceMapping)) {
            $dara.Model.validateArray(this.diskDeviceMapping);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures extends $dara.Model {
    static names() {
        return {
            imdsSupport: 'ImdsSupport',
            nvmeSupport: 'NvmeSupport',
        };
    }
    static types() {
        return {
            imdsSupport: 'string',
            nvmeSupport: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag extends $dara.Model {
    static names() {
        return {
            key: 'Key',
            value: 'Value',
        };
    }
    static types() {
        return {
            key: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags extends $dara.Model {
    static names() {
        return {
            importImageTag: 'ImportImageTag',
        };
    }
    static types() {
        return {
            importImageTag: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTagsImportImageTag },
        };
    }
    validate() {
        if (Array.isArray(this.importImageTag)) {
            $dara.Model.validateArray(this.importImageTag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions extends $dara.Model {
    static names() {
        return {
            architecture: 'Architecture',
            bootMode: 'BootMode',
            description: 'Description',
            diskDeviceMappings: 'DiskDeviceMappings',
            features: 'Features',
            imageName: 'ImageName',
            importImageTags: 'ImportImageTags',
            licenseType: 'LicenseType',
            OSType: 'OSType',
            platform: 'Platform',
            retainImportedImage: 'RetainImportedImage',
            retentionStrategy: 'RetentionStrategy',
            roleName: 'RoleName',
        };
    }
    static types() {
        return {
            architecture: 'string',
            bootMode: 'string',
            description: 'string',
            diskDeviceMappings: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsDiskDeviceMappings,
            features: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsFeatures,
            imageName: 'string',
            importImageTags: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptionsImportImageTags,
            licenseType: 'string',
            OSType: 'string',
            platform: 'string',
            retainImportedImage: 'boolean',
            retentionStrategy: 'string',
            roleName: 'string',
        };
    }
    validate() {
        if (this.diskDeviceMappings && typeof this.diskDeviceMappings.validate === 'function') {
            this.diskDeviceMappings.validate();
        }
        if (this.features && typeof this.features.validate === 'function') {
            this.features.validate();
        }
        if (this.importImageTags && typeof this.importImageTags.validate === 'function') {
            this.importImageTags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTagsTag extends $dara.Model {
    static names() {
        return {
            tagKey: 'TagKey',
            tagValue: 'TagValue',
        };
    }
    static types() {
        return {
            tagKey: 'string',
            tagValue: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTagsTag = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTagsTag;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetToRegionIds extends $dara.Model {
    static names() {
        return {
            toRegionId: 'ToRegionId',
        };
    }
    static types() {
        return {
            toRegionId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.toRegionId)) {
            $dara.Model.validateArray(this.toRegionId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetToRegionIds = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetToRegionIds;
class DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet extends $dara.Model {
    static names() {
        return {
            addAccounts: 'AddAccounts',
            advancedOptions: 'AdvancedOptions',
            baseImage: 'BaseImage',
            baseImageType: 'BaseImageType',
            buildContent: 'BuildContent',
            creationTime: 'CreationTime',
            deleteInstanceOnFailure: 'DeleteInstanceOnFailure',
            description: 'Description',
            imageFamily: 'ImageFamily',
            imageName: 'ImageName',
            imageOptions: 'ImageOptions',
            imagePipelineId: 'ImagePipelineId',
            importImageOptions: 'ImportImageOptions',
            instanceType: 'InstanceType',
            internetMaxBandwidthOut: 'InternetMaxBandwidthOut',
            name: 'Name',
            nvmeSupport: 'NvmeSupport',
            repairMode: 'RepairMode',
            resourceGroupId: 'ResourceGroupId',
            systemDiskSize: 'SystemDiskSize',
            tags: 'Tags',
            testContent: 'TestContent',
            toRegionIds: 'ToRegionIds',
            vSwitchId: 'VSwitchId',
        };
    }
    static types() {
        return {
            addAccounts: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAddAccounts,
            advancedOptions: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetAdvancedOptions,
            baseImage: 'string',
            baseImageType: 'string',
            buildContent: 'string',
            creationTime: 'string',
            deleteInstanceOnFailure: 'boolean',
            description: 'string',
            imageFamily: 'string',
            imageName: 'string',
            imageOptions: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImageOptions,
            imagePipelineId: 'string',
            importImageOptions: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetImportImageOptions,
            instanceType: 'string',
            internetMaxBandwidthOut: 'number',
            name: 'string',
            nvmeSupport: 'string',
            repairMode: 'string',
            resourceGroupId: 'string',
            systemDiskSize: 'number',
            tags: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetTags,
            testContent: 'string',
            toRegionIds: DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSetToRegionIds,
            vSwitchId: 'string',
        };
    }
    validate() {
        if (this.addAccounts && typeof this.addAccounts.validate === 'function') {
            this.addAccounts.validate();
        }
        if (this.advancedOptions && typeof this.advancedOptions.validate === 'function') {
            this.advancedOptions.validate();
        }
        if (this.imageOptions && typeof this.imageOptions.validate === 'function') {
            this.imageOptions.validate();
        }
        if (this.importImageOptions && typeof this.importImageOptions.validate === 'function') {
            this.importImageOptions.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        if (this.toRegionIds && typeof this.toRegionIds.validate === 'function') {
            this.toRegionIds.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet = DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet;
class DescribeImagePipelinesResponseBodyImagePipeline extends $dara.Model {
    static names() {
        return {
            imagePipelineSet: 'ImagePipelineSet',
        };
    }
    static types() {
        return {
            imagePipelineSet: { 'type': 'array', 'itemType': DescribeImagePipelinesResponseBodyImagePipelineImagePipelineSet },
        };
    }
    validate() {
        if (Array.isArray(this.imagePipelineSet)) {
            $dara.Model.validateArray(this.imagePipelineSet);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBodyImagePipeline = DescribeImagePipelinesResponseBodyImagePipeline;
class DescribeImagePipelinesResponseBody extends $dara.Model {
    static names() {
        return {
            imagePipeline: 'ImagePipeline',
            maxResults: 'MaxResults',
            nextToken: 'NextToken',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            imagePipeline: DescribeImagePipelinesResponseBodyImagePipeline,
            maxResults: 'number',
            nextToken: 'string',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.imagePipeline && typeof this.imagePipeline.validate === 'function') {
            this.imagePipeline.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagePipelinesResponseBody = DescribeImagePipelinesResponseBody;
//# sourceMappingURL=DescribeImagePipelinesResponseBody.js.map