"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.DescribeInstanceTypesRequest = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeInstanceTypesRequest extends $dara.Model {
    static names() {
        return {
            additionalAttributes: 'AdditionalAttributes',
            cpuArchitecture: 'CpuArchitecture',
            cpuArchitectures: 'CpuArchitectures',
            GPUSpec: 'GPUSpec',
            gpuSpecs: 'GpuSpecs',
            instanceCategories: 'InstanceCategories',
            instanceCategory: 'InstanceCategory',
            instanceFamilyLevel: 'InstanceFamilyLevel',
            instanceTypeFamilies: 'InstanceTypeFamilies',
            instanceTypeFamily: 'InstanceTypeFamily',
            instanceTypes: 'InstanceTypes',
            localStorageCategories: 'LocalStorageCategories',
            localStorageCategory: 'LocalStorageCategory',
            maxResults: 'MaxResults',
            maximumCpuCoreCount: 'MaximumCpuCoreCount',
            maximumCpuSpeedFrequency: 'MaximumCpuSpeedFrequency',
            maximumCpuTurboFrequency: 'MaximumCpuTurboFrequency',
            maximumGPUAmount: 'MaximumGPUAmount',
            maximumMemorySize: 'MaximumMemorySize',
            minimumBaselineCredit: 'MinimumBaselineCredit',
            minimumCpuCoreCount: 'MinimumCpuCoreCount',
            minimumCpuSpeedFrequency: 'MinimumCpuSpeedFrequency',
            minimumCpuTurboFrequency: 'MinimumCpuTurboFrequency',
            minimumDiskQuantity: 'MinimumDiskQuantity',
            minimumEniIpv6AddressQuantity: 'MinimumEniIpv6AddressQuantity',
            minimumEniPrivateIpAddressQuantity: 'MinimumEniPrivateIpAddressQuantity',
            minimumEniQuantity: 'MinimumEniQuantity',
            minimumEriQuantity: 'MinimumEriQuantity',
            minimumGPUAmount: 'MinimumGPUAmount',
            minimumInitialCredit: 'MinimumInitialCredit',
            minimumInstanceBandwidthRx: 'MinimumInstanceBandwidthRx',
            minimumInstanceBandwidthTx: 'MinimumInstanceBandwidthTx',
            minimumInstancePpsRx: 'MinimumInstancePpsRx',
            minimumInstancePpsTx: 'MinimumInstancePpsTx',
            minimumLocalStorageAmount: 'MinimumLocalStorageAmount',
            minimumLocalStorageCapacity: 'MinimumLocalStorageCapacity',
            minimumMemorySize: 'MinimumMemorySize',
            minimumPrimaryEniQueueNumber: 'MinimumPrimaryEniQueueNumber',
            minimumQueuePairNumber: 'MinimumQueuePairNumber',
            minimumSecondaryEniQueueNumber: 'MinimumSecondaryEniQueueNumber',
            nextToken: 'NextToken',
            nvmeSupport: 'NvmeSupport',
            ownerAccount: 'OwnerAccount',
            ownerId: 'OwnerId',
            physicalProcessorModel: 'PhysicalProcessorModel',
            physicalProcessorModels: 'PhysicalProcessorModels',
            resourceOwnerAccount: 'ResourceOwnerAccount',
            resourceOwnerId: 'ResourceOwnerId',
        };
    }
    static types() {
        return {
            additionalAttributes: { 'type': 'array', 'itemType': 'string' },
            cpuArchitecture: 'string',
            cpuArchitectures: { 'type': 'array', 'itemType': 'string' },
            GPUSpec: 'string',
            gpuSpecs: { 'type': 'array', 'itemType': 'string' },
            instanceCategories: { 'type': 'array', 'itemType': 'string' },
            instanceCategory: 'string',
            instanceFamilyLevel: 'string',
            instanceTypeFamilies: { 'type': 'array', 'itemType': 'string' },
            instanceTypeFamily: 'string',
            instanceTypes: { 'type': 'array', 'itemType': 'string' },
            localStorageCategories: { 'type': 'array', 'itemType': 'string' },
            localStorageCategory: 'string',
            maxResults: 'number',
            maximumCpuCoreCount: 'number',
            maximumCpuSpeedFrequency: 'number',
            maximumCpuTurboFrequency: 'number',
            maximumGPUAmount: 'number',
            maximumMemorySize: 'number',
            minimumBaselineCredit: 'number',
            minimumCpuCoreCount: 'number',
            minimumCpuSpeedFrequency: 'number',
            minimumCpuTurboFrequency: 'number',
            minimumDiskQuantity: 'number',
            minimumEniIpv6AddressQuantity: 'number',
            minimumEniPrivateIpAddressQuantity: 'number',
            minimumEniQuantity: 'number',
            minimumEriQuantity: 'number',
            minimumGPUAmount: 'number',
            minimumInitialCredit: 'number',
            minimumInstanceBandwidthRx: 'number',
            minimumInstanceBandwidthTx: 'number',
            minimumInstancePpsRx: 'number',
            minimumInstancePpsTx: 'number',
            minimumLocalStorageAmount: 'number',
            minimumLocalStorageCapacity: 'number',
            minimumMemorySize: 'number',
            minimumPrimaryEniQueueNumber: 'number',
            minimumQueuePairNumber: 'number',
            minimumSecondaryEniQueueNumber: 'number',
            nextToken: 'string',
            nvmeSupport: 'string',
            ownerAccount: 'string',
            ownerId: 'number',
            physicalProcessorModel: 'string',
            physicalProcessorModels: { 'type': 'array', 'itemType': 'string' },
            resourceOwnerAccount: 'string',
            resourceOwnerId: 'number',
        };
    }
    validate() {
        if (Array.isArray(this.additionalAttributes)) {
            $dara.Model.validateArray(this.additionalAttributes);
        }
        if (Array.isArray(this.cpuArchitectures)) {
            $dara.Model.validateArray(this.cpuArchitectures);
        }
        if (Array.isArray(this.gpuSpecs)) {
            $dara.Model.validateArray(this.gpuSpecs);
        }
        if (Array.isArray(this.instanceCategories)) {
            $dara.Model.validateArray(this.instanceCategories);
        }
        if (Array.isArray(this.instanceTypeFamilies)) {
            $dara.Model.validateArray(this.instanceTypeFamilies);
        }
        if (Array.isArray(this.instanceTypes)) {
            $dara.Model.validateArray(this.instanceTypes);
        }
        if (Array.isArray(this.localStorageCategories)) {
            $dara.Model.validateArray(this.localStorageCategories);
        }
        if (Array.isArray(this.physicalProcessorModels)) {
            $dara.Model.validateArray(this.physicalProcessorModels);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeInstanceTypesRequest = DescribeInstanceTypesRequest;
//# sourceMappingURL=DescribeInstanceTypesRequest.js.map