"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.DescribeInstanceTypesResponseBody = exports.DescribeInstanceTypesResponseBodyInstanceTypes = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceType = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes = exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute extends $dara.Model {
    static names() {
        return {
            name: 'Name',
            value: 'Value',
        };
    }
    static types() {
        return {
            name: 'string',
            value: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes extends $dara.Model {
    static names() {
        return {
            attribute: 'Attribute',
        };
    }
    static types() {
        return {
            attribute: { 'type': 'array', 'itemType': DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributesAttribute },
        };
    }
    validate() {
        if (Array.isArray(this.attribute)) {
            $dara.Model.validateArray(this.attribute);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock extends $dara.Model {
    static names() {
        return {
            ptpSupport: 'PtpSupport',
        };
    }
    static types() {
        return {
            ptpSupport: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes extends $dara.Model {
    static names() {
        return {
            supportedTopologyType: 'SupportedTopologyType',
        };
    }
    static types() {
        return {
            supportedTopologyType: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.supportedTopologyType)) {
            $dara.Model.validateArray(this.supportedTopologyType);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions extends $dara.Model {
    static names() {
        return {
            core: 'Core',
            coreFactor: 'CoreFactor',
            hyperThreadingAdjustable: 'HyperThreadingAdjustable',
            supportedTopologyTypes: 'SupportedTopologyTypes',
            threadsPerCore: 'ThreadsPerCore',
        };
    }
    static types() {
        return {
            core: 'number',
            coreFactor: 'number',
            hyperThreadingAdjustable: 'boolean',
            supportedTopologyTypes: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptionsSupportedTopologyTypes,
            threadsPerCore: 'number',
        };
    }
    validate() {
        if (this.supportedTopologyTypes && typeof this.supportedTopologyTypes.validate === 'function') {
            this.supportedTopologyTypes.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork extends $dara.Model {
    static names() {
        return {
            rssSupport: 'RssSupport',
            sriovSupport: 'SriovSupport',
            vfQueueNumberPerEni: 'VfQueueNumberPerEni',
        };
    }
    static types() {
        return {
            rssSupport: 'boolean',
            sriovSupport: 'boolean',
            vfQueueNumberPerEni: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo extends $dara.Model {
    static names() {
        return {
            networkCardIndex: 'NetworkCardIndex',
        };
    }
    static types() {
        return {
            networkCardIndex: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards extends $dara.Model {
    static names() {
        return {
            networkCardInfo: 'NetworkCardInfo',
        };
    }
    static types() {
        return {
            networkCardInfo: { 'type': 'array', 'itemType': DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo },
        };
    }
    validate() {
        if (Array.isArray(this.networkCardInfo)) {
            $dara.Model.validateArray(this.networkCardInfo);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo extends $dara.Model {
    static names() {
        return {
            ebsBandwidth: 'EbsBandwidth',
            ebsBurstBandwidth: 'EbsBurstBandwidth',
            name: 'Name',
            vpcBandwidth: 'VpcBandwidth',
            vpcBurstBandwidth: 'VpcBurstBandwidth',
        };
    }
    static types() {
        return {
            ebsBandwidth: 'number',
            ebsBurstBandwidth: 'number',
            name: 'string',
            vpcBandwidth: 'number',
            vpcBurstBandwidth: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos extends $dara.Model {
    static names() {
        return {
            weightingInfo: 'WeightingInfo',
        };
    }
    static types() {
        return {
            weightingInfo: { 'type': 'array', 'itemType': DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo },
        };
    }
    validate() {
        if (Array.isArray(this.weightingInfo)) {
            $dara.Model.validateArray(this.weightingInfo);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting extends $dara.Model {
    static names() {
        return {
            weightingInfos: 'WeightingInfos',
        };
    }
    static types() {
        return {
            weightingInfos: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos,
        };
    }
    validate() {
        if (this.weightingInfos && typeof this.weightingInfos.validate === 'function') {
            this.weightingInfos.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo extends $dara.Model {
    static names() {
        return {
            bandwidthWeighting: 'BandwidthWeighting',
        };
    }
    static types() {
        return {
            bandwidthWeighting: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting,
        };
    }
    validate() {
        if (this.bandwidthWeighting && typeof this.bandwidthWeighting.validate === 'function') {
            this.bandwidthWeighting.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes extends $dara.Model {
    static names() {
        return {
            supportedBootMode: 'SupportedBootMode',
        };
    }
    static types() {
        return {
            supportedBootMode: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.supportedBootMode)) {
            $dara.Model.validateArray(this.supportedBootMode);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes = DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes;
class DescribeInstanceTypesResponseBodyInstanceTypesInstanceType extends $dara.Model {
    static names() {
        return {
            attributes: 'Attributes',
            baselineCredit: 'BaselineCredit',
            clock: 'Clock',
            cpuArchitecture: 'CpuArchitecture',
            cpuCoreCount: 'CpuCoreCount',
            cpuOptions: 'CpuOptions',
            cpuSpeedFrequency: 'CpuSpeedFrequency',
            cpuTurboFrequency: 'CpuTurboFrequency',
            diskQuantity: 'DiskQuantity',
            enhancedNetwork: 'EnhancedNetwork',
            eniIpv6AddressQuantity: 'EniIpv6AddressQuantity',
            eniPrivateIpAddressQuantity: 'EniPrivateIpAddressQuantity',
            eniQuantity: 'EniQuantity',
            eniTotalQuantity: 'EniTotalQuantity',
            eniTrunkSupported: 'EniTrunkSupported',
            eriQuantity: 'EriQuantity',
            GPUAmount: 'GPUAmount',
            GPUMemorySize: 'GPUMemorySize',
            GPUSpec: 'GPUSpec',
            initialCredit: 'InitialCredit',
            instanceBandwidthRx: 'InstanceBandwidthRx',
            instanceBandwidthTx: 'InstanceBandwidthTx',
            instanceCategory: 'InstanceCategory',
            instanceFamilyLevel: 'InstanceFamilyLevel',
            instancePpsRx: 'InstancePpsRx',
            instancePpsTx: 'InstancePpsTx',
            instanceTypeFamily: 'InstanceTypeFamily',
            instanceTypeId: 'InstanceTypeId',
            jumboFrameSupport: 'JumboFrameSupport',
            localStorageAmount: 'LocalStorageAmount',
            localStorageCapacity: 'LocalStorageCapacity',
            localStorageCategory: 'LocalStorageCategory',
            maximumQueueNumberPerEni: 'MaximumQueueNumberPerEni',
            memorySize: 'MemorySize',
            networkCardQuantity: 'NetworkCardQuantity',
            networkCards: 'NetworkCards',
            networkEncryptionSupport: 'NetworkEncryptionSupport',
            networkInfo: 'NetworkInfo',
            nvmeSupport: 'NvmeSupport',
            physicalProcessorModel: 'PhysicalProcessorModel',
            primaryEniQueueNumber: 'PrimaryEniQueueNumber',
            queuePairNumber: 'QueuePairNumber',
            secondaryEniQueueNumber: 'SecondaryEniQueueNumber',
            supportedBootModes: 'SupportedBootModes',
            totalEniQueueQuantity: 'TotalEniQueueQuantity',
        };
    }
    static types() {
        return {
            attributes: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeAttributes,
            baselineCredit: 'number',
            clock: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeClock,
            cpuArchitecture: 'string',
            cpuCoreCount: 'number',
            cpuOptions: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions,
            cpuSpeedFrequency: 'number',
            cpuTurboFrequency: 'number',
            diskQuantity: 'number',
            enhancedNetwork: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork,
            eniIpv6AddressQuantity: 'number',
            eniPrivateIpAddressQuantity: 'number',
            eniQuantity: 'number',
            eniTotalQuantity: 'number',
            eniTrunkSupported: 'boolean',
            eriQuantity: 'number',
            GPUAmount: 'number',
            GPUMemorySize: 'number',
            GPUSpec: 'string',
            initialCredit: 'number',
            instanceBandwidthRx: 'number',
            instanceBandwidthTx: 'number',
            instanceCategory: 'string',
            instanceFamilyLevel: 'string',
            instancePpsRx: 'number',
            instancePpsTx: 'number',
            instanceTypeFamily: 'string',
            instanceTypeId: 'string',
            jumboFrameSupport: 'boolean',
            localStorageAmount: 'number',
            localStorageCapacity: 'number',
            localStorageCategory: 'string',
            maximumQueueNumberPerEni: 'number',
            memorySize: 'number',
            networkCardQuantity: 'number',
            networkCards: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards,
            networkEncryptionSupport: 'boolean',
            networkInfo: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo,
            nvmeSupport: 'string',
            physicalProcessorModel: 'string',
            primaryEniQueueNumber: 'number',
            queuePairNumber: 'number',
            secondaryEniQueueNumber: 'number',
            supportedBootModes: DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes,
            totalEniQueueQuantity: 'number',
        };
    }
    validate() {
        if (this.attributes && typeof this.attributes.validate === 'function') {
            this.attributes.validate();
        }
        if (this.clock && typeof this.clock.validate === 'function') {
            this.clock.validate();
        }
        if (this.cpuOptions && typeof this.cpuOptions.validate === 'function') {
            this.cpuOptions.validate();
        }
        if (this.enhancedNetwork && typeof this.enhancedNetwork.validate === 'function') {
            this.enhancedNetwork.validate();
        }
        if (this.networkCards && typeof this.networkCards.validate === 'function') {
            this.networkCards.validate();
        }
        if (this.networkInfo && typeof this.networkInfo.validate === 'function') {
            this.networkInfo.validate();
        }
        if (this.supportedBootModes && typeof this.supportedBootModes.validate === 'function') {
            this.supportedBootModes.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypesInstanceType = DescribeInstanceTypesResponseBodyInstanceTypesInstanceType;
class DescribeInstanceTypesResponseBodyInstanceTypes extends $dara.Model {
    static names() {
        return {
            instanceType: 'InstanceType',
        };
    }
    static types() {
        return {
            instanceType: { 'type': 'array', 'itemType': DescribeInstanceTypesResponseBodyInstanceTypesInstanceType },
        };
    }
    validate() {
        if (Array.isArray(this.instanceType)) {
            $dara.Model.validateArray(this.instanceType);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBodyInstanceTypes = DescribeInstanceTypesResponseBodyInstanceTypes;
class DescribeInstanceTypesResponseBody extends $dara.Model {
    static names() {
        return {
            instanceTypes: 'InstanceTypes',
            nextToken: 'NextToken',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            instanceTypes: DescribeInstanceTypesResponseBodyInstanceTypes,
            nextToken: 'string',
            requestId: 'string',
        };
    }
    validate() {
        if (this.instanceTypes && typeof this.instanceTypes.validate === 'function') {
            this.instanceTypes.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesResponseBody = DescribeInstanceTypesResponseBody;
//# sourceMappingURL=DescribeInstanceTypesResponseBody.js.map