/**
* The ResourceSpec model module.
* @module Ntnx/ResourceSpec
* @version 4.4.2
* @class ResourceSpec
*/
export default class ResourceSpec {
/**
* Constructs a ResourceSpec 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/ResourceSpec} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/ResourceSpec} The populated ResourceSpec 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 Indicates the number of additional virtual CPUs to be added for a given portfolio product.
* @return {Number}
*/
getCpuCount(): number;
/**
* Sets Indicates the number of additional virtual CPUs to be added for a given portfolio product.
* @param {Number} cpuCount Indicates the number of additional virtual CPUs to be added for a given portfolio product.
*/
setCpuCount(cpuCount: number): void;
cpuCount: number;
/**
* Returns Indicates the memory to be added for a given portfolio product in bytes.
* @return {Number}
*/
getMemorySizeBytes(): number;
/**
* Sets Indicates the memory to be added for a given portfolio product in bytes.
* @param {Number} memorySizeBytes Indicates the memory to be added for a given portfolio product in bytes.
*/
setMemorySizeBytes(memorySizeBytes: number): void;
memorySizeBytes: 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";