"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.DescribeDedicatedHostClustersResponseBody = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClusters = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostCluster = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTags = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTagsTag = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostIds = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacity = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacities = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacitiesLocalStorageCapacity = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypes = exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypesAvailableInstanceType = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypesAvailableInstanceType extends $dara.Model {
    static names() {
        return {
            availableInstanceCapacity: 'AvailableInstanceCapacity',
            instanceType: 'InstanceType',
        };
    }
    static types() {
        return {
            availableInstanceCapacity: 'number',
            instanceType: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypesAvailableInstanceType = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypesAvailableInstanceType;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypes extends $dara.Model {
    static names() {
        return {
            availableInstanceType: 'AvailableInstanceType',
        };
    }
    static types() {
        return {
            availableInstanceType: { 'type': 'array', 'itemType': DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypesAvailableInstanceType },
        };
    }
    validate() {
        if (Array.isArray(this.availableInstanceType)) {
            $dara.Model.validateArray(this.availableInstanceType);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypes = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypes;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacitiesLocalStorageCapacity extends $dara.Model {
    static names() {
        return {
            availableDisk: 'AvailableDisk',
            dataDiskCategory: 'DataDiskCategory',
            totalDisk: 'TotalDisk',
        };
    }
    static types() {
        return {
            availableDisk: 'number',
            dataDiskCategory: 'string',
            totalDisk: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacitiesLocalStorageCapacity = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacitiesLocalStorageCapacity;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacities extends $dara.Model {
    static names() {
        return {
            localStorageCapacity: 'LocalStorageCapacity',
        };
    }
    static types() {
        return {
            localStorageCapacity: { 'type': 'array', 'itemType': DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacitiesLocalStorageCapacity },
        };
    }
    validate() {
        if (Array.isArray(this.localStorageCapacity)) {
            $dara.Model.validateArray(this.localStorageCapacity);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacities = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacities;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacity extends $dara.Model {
    static names() {
        return {
            availableInstanceTypes: 'AvailableInstanceTypes',
            availableMemory: 'AvailableMemory',
            availableVcpus: 'AvailableVcpus',
            localStorageCapacities: 'LocalStorageCapacities',
            totalMemory: 'TotalMemory',
            totalVcpus: 'TotalVcpus',
        };
    }
    static types() {
        return {
            availableInstanceTypes: DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityAvailableInstanceTypes,
            availableMemory: 'number',
            availableVcpus: 'number',
            localStorageCapacities: DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacityLocalStorageCapacities,
            totalMemory: 'number',
            totalVcpus: 'number',
        };
    }
    validate() {
        if (this.availableInstanceTypes && typeof this.availableInstanceTypes.validate === 'function') {
            this.availableInstanceTypes.validate();
        }
        if (this.localStorageCapacities && typeof this.localStorageCapacities.validate === 'function') {
            this.localStorageCapacities.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacity = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacity;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostIds extends $dara.Model {
    static names() {
        return {
            dedicatedHostId: 'DedicatedHostId',
        };
    }
    static types() {
        return {
            dedicatedHostId: { 'type': 'array', 'itemType': 'string' },
        };
    }
    validate() {
        if (Array.isArray(this.dedicatedHostId)) {
            $dara.Model.validateArray(this.dedicatedHostId);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostIds = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostIds;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTagsTag 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.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTagsTag = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTagsTag;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTags extends $dara.Model {
    static names() {
        return {
            tag: 'Tag',
        };
    }
    static types() {
        return {
            tag: { 'type': 'array', 'itemType': DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTagsTag },
        };
    }
    validate() {
        if (Array.isArray(this.tag)) {
            $dara.Model.validateArray(this.tag);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTags = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTags;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostCluster extends $dara.Model {
    static names() {
        return {
            dedicatedHostClusterCapacity: 'DedicatedHostClusterCapacity',
            dedicatedHostClusterId: 'DedicatedHostClusterId',
            dedicatedHostClusterName: 'DedicatedHostClusterName',
            dedicatedHostIds: 'DedicatedHostIds',
            description: 'Description',
            regionId: 'RegionId',
            resourceGroupId: 'ResourceGroupId',
            tags: 'Tags',
            zoneId: 'ZoneId',
        };
    }
    static types() {
        return {
            dedicatedHostClusterCapacity: DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostClusterCapacity,
            dedicatedHostClusterId: 'string',
            dedicatedHostClusterName: 'string',
            dedicatedHostIds: DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterDedicatedHostIds,
            description: 'string',
            regionId: 'string',
            resourceGroupId: 'string',
            tags: DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostClusterTags,
            zoneId: 'string',
        };
    }
    validate() {
        if (this.dedicatedHostClusterCapacity && typeof this.dedicatedHostClusterCapacity.validate === 'function') {
            this.dedicatedHostClusterCapacity.validate();
        }
        if (this.dedicatedHostIds && typeof this.dedicatedHostIds.validate === 'function') {
            this.dedicatedHostIds.validate();
        }
        if (this.tags && typeof this.tags.validate === 'function') {
            this.tags.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostCluster = DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostCluster;
class DescribeDedicatedHostClustersResponseBodyDedicatedHostClusters extends $dara.Model {
    static names() {
        return {
            dedicatedHostCluster: 'DedicatedHostCluster',
        };
    }
    static types() {
        return {
            dedicatedHostCluster: { 'type': 'array', 'itemType': DescribeDedicatedHostClustersResponseBodyDedicatedHostClustersDedicatedHostCluster },
        };
    }
    validate() {
        if (Array.isArray(this.dedicatedHostCluster)) {
            $dara.Model.validateArray(this.dedicatedHostCluster);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBodyDedicatedHostClusters = DescribeDedicatedHostClustersResponseBodyDedicatedHostClusters;
class DescribeDedicatedHostClustersResponseBody extends $dara.Model {
    static names() {
        return {
            dedicatedHostClusters: 'DedicatedHostClusters',
            pageNumber: 'PageNumber',
            pageSize: 'PageSize',
            requestId: 'RequestId',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            dedicatedHostClusters: DescribeDedicatedHostClustersResponseBodyDedicatedHostClusters,
            pageNumber: 'number',
            pageSize: 'number',
            requestId: 'string',
            totalCount: 'number',
        };
    }
    validate() {
        if (this.dedicatedHostClusters && typeof this.dedicatedHostClusters.validate === 'function') {
            this.dedicatedHostClusters.validate();
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeDedicatedHostClustersResponseBody = DescribeDedicatedHostClustersResponseBody;
//# sourceMappingURL=DescribeDedicatedHostClustersResponseBody.js.map