/** * The CpuInfo model module. * @module Ntnx/CpuInfo * @version 4.3.1 * @class CpuInfo */ export default class CpuInfo { /** * Constructs a CpuInfo from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:Ntnx/CpuInfo} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/CpuInfo} The populated CpuInfo instance. */ static constructFromObject(data: any, obj?: any, callFromChild?: boolean): any; /** * Converts a given snake_case string to camelCase. * @param {string} snakeStr - The input string in snake_case format. * @returns {string} - The converted string in camelCase format. */ static snakeToCamel(snakeStr: string): string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Manufacturer of the CPU (e.g., Intel, AMD) * @return {string} */ getManufacturer(): string; /** * Sets Manufacturer of the CPU (e.g., Intel, AMD) * @param {string} manufacturer Manufacturer of the CPU (e.g., Intel, AMD) */ setManufacturer(manufacturer: string): void; manufacturer: string; /** * Returns Model name of the CPU * @return {string} */ getModel(): string; /** * Sets Model name of the CPU * @param {string} model Model name of the CPU */ setModel(model: string): void; model: string; /** * Returns CPU clock speed in GHz * @return {Number} */ getCapacityGHz(): number; /** * Sets CPU clock speed in GHz * @param {Number} capacityGHz CPU clock speed in GHz */ setCapacityGHz(capacityGHz: number): void; capacityGHz: number; /** * Returns Number of logical CPU cores * minimum: 1 * maximum: 4096 * @return {Number} */ getLogicalCoreCount(): number; /** * Sets Number of logical CPU cores * @param {Number} logicalCoreCount Number of logical CPU cores */ setLogicalCoreCount(logicalCoreCount: number): void; logicalCoreCount: number; /** * Returns Number of CPU sockets in the node * minimum: 1 * maximum: 64 * @return {Number} */ getSocketCount(): number; /** * Sets Number of CPU sockets in the node * @param {Number} socketCount Number of CPU sockets in the node */ setSocketCount(socketCount: number): void; socketCount: number; get$Reserved(): any; get$ObjectType(): string; get$UnknownFields(): any; toJson(forMutation: any): any; validate(scope: any, properties: any, ...args: any[]): Promise; validateProperty(scope: any, property: any): ValidationError; #private; } import ValidationError from "../../../validation/ValidationError";