"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.DescribeDedicatedHostTypesResponseBody = exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes = exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostType = exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypesList = exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypeFamilies = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypeFamilies extends $dara.Model {
    static names() {
        return {
            supportedInstanceTypeFamily: 'SupportedInstanceTypeFamily',
        };
    }
    static types() {
        return {
            supportedInstanceTypeFamily: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.supportedInstanceTypeFamily)) {
            $dara.Model.validateArray(this.supportedInstanceTypeFamily);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypeFamilies = DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypeFamilies;
class DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypesList extends $dara.Model {
    static names() {
        return {
            supportedInstanceTypesList: 'SupportedInstanceTypesList',
        };
    }
    static types() {
        return {
            supportedInstanceTypesList: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.supportedInstanceTypesList)) {
            $dara.Model.validateArray(this.supportedInstanceTypesList);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypesList = DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypesList;
class DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostType extends $dara.Model {
    static names() {
        return {
            cores: 'Cores',
            cpuOverCommitRatioRange: 'CpuOverCommitRatioRange',
            dedicatedHostType: 'DedicatedHostType',
            GPUSpec: 'GPUSpec',
            localStorageAmount: 'LocalStorageAmount',
            localStorageCapacity: 'LocalStorageCapacity',
            localStorageCategory: 'LocalStorageCategory',
            memorySize: 'MemorySize',
            physicalGpus: 'PhysicalGpus',
            sockets: 'Sockets',
            supportCpuOverCommitRatio: 'SupportCpuOverCommitRatio',
            supportedInstanceTypeFamilies: 'SupportedInstanceTypeFamilies',
            supportedInstanceTypesList: 'SupportedInstanceTypesList',
            totalVcpus: 'TotalVcpus',
            totalVgpus: 'TotalVgpus',
        };
    }
    static types() {
        return {
            cores: 'number',
            cpuOverCommitRatioRange: 'string',
            dedicatedHostType: 'string',
            GPUSpec: 'string',
            localStorageAmount: 'number',
            localStorageCapacity: 'number',
            localStorageCategory: 'string',
            memorySize: 'number',
            physicalGpus: 'number',
            sockets: 'number',
            supportCpuOverCommitRatio: 'boolean',
            supportedInstanceTypeFamilies: DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypeFamilies,
            supportedInstanceTypesList: DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostTypeSupportedInstanceTypesList,
            totalVcpus: 'number',
            totalVgpus: 'number',
        };
    }
    validate() {
        if (this.supportedInstanceTypeFamilies && typeof this.supportedInstanceTypeFamilies.validate === 'function') {
            this.supportedInstanceTypeFamilies.validate();
        }
        if (this.supportedInstanceTypesList && typeof this.supportedInstanceTypesList.validate === 'function') {
            this.supportedInstanceTypesList.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostType = DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostType;
class DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes extends $dara.Model {
    static names() {
        return {
            dedicatedHostType: 'DedicatedHostType',
        };
    }
    static types() {
        return {
            dedicatedHostType: { 'type': 'array', 'itemType': DescribeDedicatedHostTypesResponseBodyDedicatedHostTypesDedicatedHostType },
        };
    }
    validate() {
        if (Array.isArray(this.dedicatedHostType)) {
            $dara.Model.validateArray(this.dedicatedHostType);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes = DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes;
class DescribeDedicatedHostTypesResponseBody extends $dara.Model {
    static names() {
        return {
            dedicatedHostTypes: 'DedicatedHostTypes',
            requestId: 'RequestId',
        };
    }
    static types() {
        return {
            dedicatedHostTypes: DescribeDedicatedHostTypesResponseBodyDedicatedHostTypes,
            requestId: 'string',
        };
    }
    validate() {
        if (this.dedicatedHostTypes && typeof this.dedicatedHostTypes.validate === 'function') {
            this.dedicatedHostTypes.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostTypesResponseBody = DescribeDedicatedHostTypesResponseBody;
//# sourceMappingURL=DescribeDedicatedHostTypesResponseBody.js.map