"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.DescribeImagesResponseBody = exports.DescribeImagesResponseBodyImages = exports.DescribeImagesResponseBodyImagesImage = exports.DescribeImagesResponseBodyImagesImageTags = exports.DescribeImagesResponseBodyImagesImageTagsTag = exports.DescribeImagesResponseBodyImagesImageFeatures = exports.DescribeImagesResponseBodyImagesImageDiskDeviceMappings = exports.DescribeImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping = exports.DescribeImagesResponseBodyImagesImageDetectionOptions = exports.DescribeImagesResponseBodyImagesImageDetectionOptionsItems = exports.DescribeImagesResponseBodyImagesImageDetectionOptionsItemsItem = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeImagesResponseBodyImagesImageDetectionOptionsItemsItem extends $dara.Model {
    static names() {
        return {
            name: 'Name',
            riskCode: 'RiskCode',
            riskLevel: 'RiskLevel',
            value: 'Value',
        };
    }
    static types() {
        return {
            name: 'string',
            riskCode: 'string',
            riskLevel: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageDetectionOptionsItemsItem = DescribeImagesResponseBodyImagesImageDetectionOptionsItemsItem;
class DescribeImagesResponseBodyImagesImageDetectionOptionsItems extends $dara.Model {
    static names() {
        return {
            item: 'Item',
        };
    }
    static types() {
        return {
            item: { 'type': 'array', 'itemType': DescribeImagesResponseBodyImagesImageDetectionOptionsItemsItem },
        };
    }
    validate() {
        if (Array.isArray(this.item)) {
            $dara.Model.validateArray(this.item);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageDetectionOptionsItems = DescribeImagesResponseBodyImagesImageDetectionOptionsItems;
class DescribeImagesResponseBodyImagesImageDetectionOptions extends $dara.Model {
    static names() {
        return {
            items: 'Items',
            status: 'Status',
        };
    }
    static types() {
        return {
            items: DescribeImagesResponseBodyImagesImageDetectionOptionsItems,
            status: 'string',
        };
    }
    validate() {
        if (this.items && typeof this.items.validate === 'function') {
            this.items.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageDetectionOptions = DescribeImagesResponseBodyImagesImageDetectionOptions;
class DescribeImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping extends $dara.Model {
    static names() {
        return {
            device: 'Device',
            encrypted: 'Encrypted',
            format: 'Format',
            importOSSBucket: 'ImportOSSBucket',
            importOSSObject: 'ImportOSSObject',
            progress: 'Progress',
            remainTime: 'RemainTime',
            size: 'Size',
            snapshotId: 'SnapshotId',
            type: 'Type',
        };
    }
    static types() {
        return {
            device: 'string',
            encrypted: 'boolean',
            format: 'string',
            importOSSBucket: 'string',
            importOSSObject: 'string',
            progress: 'string',
            remainTime: 'number',
            size: 'string',
            snapshotId: 'string',
            type: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping = DescribeImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping;
class DescribeImagesResponseBodyImagesImageDiskDeviceMappings extends $dara.Model {
    static names() {
        return {
            diskDeviceMapping: 'DiskDeviceMapping',
        };
    }
    static types() {
        return {
            diskDeviceMapping: { 'type': 'array', 'itemType': DescribeImagesResponseBodyImagesImageDiskDeviceMappingsDiskDeviceMapping },
        };
    }
    validate() {
        if (Array.isArray(this.diskDeviceMapping)) {
            $dara.Model.validateArray(this.diskDeviceMapping);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageDiskDeviceMappings = DescribeImagesResponseBodyImagesImageDiskDeviceMappings;
class DescribeImagesResponseBodyImagesImageFeatures extends $dara.Model {
    static names() {
        return {
            cpuOnlineDowngrade: 'CpuOnlineDowngrade',
            cpuOnlineUpgrade: 'CpuOnlineUpgrade',
            imdsSupport: 'ImdsSupport',
            memoryOnlineDowngrade: 'MemoryOnlineDowngrade',
            memoryOnlineUpgrade: 'MemoryOnlineUpgrade',
            nvmeSupport: 'NvmeSupport',
        };
    }
    static types() {
        return {
            cpuOnlineDowngrade: 'string',
            cpuOnlineUpgrade: 'string',
            imdsSupport: 'string',
            memoryOnlineDowngrade: 'string',
            memoryOnlineUpgrade: 'string',
            nvmeSupport: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageFeatures = DescribeImagesResponseBodyImagesImageFeatures;
class DescribeImagesResponseBodyImagesImageTagsTag 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.DescribeImagesResponseBodyImagesImageTagsTag = DescribeImagesResponseBodyImagesImageTagsTag;
class DescribeImagesResponseBodyImagesImageTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeImagesResponseBodyImagesImageTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImageTags = DescribeImagesResponseBodyImagesImageTags;
class DescribeImagesResponseBodyImagesImage extends $dara.Model {
    static names() {
        return {
            architecture: 'Architecture',
            bootMode: 'BootMode',
            creationTime: 'CreationTime',
            description: 'Description',
            detectionOptions: 'DetectionOptions',
            diskDeviceMappings: 'DiskDeviceMappings',
            features: 'Features',
            imageFamily: 'ImageFamily',
            imageId: 'ImageId',
            imageName: 'ImageName',
            imageOwnerAlias: 'ImageOwnerAlias',
            imageOwnerId: 'ImageOwnerId',
            imageVersion: 'ImageVersion',
            isCopied: 'IsCopied',
            isPublic: 'IsPublic',
            isSelfShared: 'IsSelfShared',
            isSubscribed: 'IsSubscribed',
            isSupportCloudinit: 'IsSupportCloudinit',
            isSupportIoOptimized: 'IsSupportIoOptimized',
            licenseType: 'LicenseType',
            loginAsNonRootSupported: 'LoginAsNonRootSupported',
            OSName: 'OSName',
            OSNameEn: 'OSNameEn',
            OSType: 'OSType',
            platform: 'Platform',
            productCode: 'ProductCode',
            progress: 'Progress',
            resourceGroupId: 'ResourceGroupId',
            size: 'Size',
            status: 'Status',
            supplierName: 'SupplierName',
            tags: 'Tags',
            usage: 'Usage',
        };
    }
    static types() {
        return {
            architecture: 'string',
            bootMode: 'string',
            creationTime: 'string',
            description: 'string',
            detectionOptions: DescribeImagesResponseBodyImagesImageDetectionOptions,
            diskDeviceMappings: DescribeImagesResponseBodyImagesImageDiskDeviceMappings,
            features: DescribeImagesResponseBodyImagesImageFeatures,
            imageFamily: 'string',
            imageId: 'string',
            imageName: 'string',
            imageOwnerAlias: 'string',
            imageOwnerId: 'number',
            imageVersion: 'string',
            isCopied: 'boolean',
            isPublic: 'boolean',
            isSelfShared: 'string',
            isSubscribed: 'boolean',
            isSupportCloudinit: 'boolean',
            isSupportIoOptimized: 'boolean',
            licenseType: 'string',
            loginAsNonRootSupported: 'boolean',
            OSName: 'string',
            OSNameEn: 'string',
            OSType: 'string',
            platform: 'string',
            productCode: 'string',
            progress: 'string',
            resourceGroupId: 'string',
            size: 'number',
            status: 'string',
            supplierName: 'string',
            tags: DescribeImagesResponseBodyImagesImageTags,
            usage: 'string',
        };
    }
    validate() {
        if (this.detectionOptions && typeof this.detectionOptions.validate === 'function') {
            this.detectionOptions.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.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImagesImage = DescribeImagesResponseBodyImagesImage;
class DescribeImagesResponseBodyImages extends $dara.Model {
    static names() {
        return {
            image: 'Image',
        };
    }
    static types() {
        return {
            image: { 'type': 'array', 'itemType': DescribeImagesResponseBodyImagesImage },
        };
    }
    validate() {
        if (Array.isArray(this.image)) {
            $dara.Model.validateArray(this.image);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBodyImages = DescribeImagesResponseBodyImages;
class DescribeImagesResponseBody extends $dara.Model {
    static names() {
        return {
            images: 'Images',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            regionId: 'RegionId',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            images: DescribeImagesResponseBodyImages,
            pageNumber: 'number',
            pageSize: 'number',
            regionId: 'string',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.images && typeof this.images.validate === 'function') {
            this.images.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeImagesResponseBody = DescribeImagesResponseBody;
//# sourceMappingURL=DescribeImagesResponseBody.js.map