/** * The QosSpec model module. * @module Ntnx/QosSpec * @version 4.3.1 * @class QosSpec * * @param { Number } throttledIops Throttled IOPS for the entities being governed. The block size for the IO is 32kB. */ export default class QosSpec { /** * Constructs a QosSpec 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/QosSpec} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/QosSpec} The populated QosSpec 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; /** * Constructs a new QosSpec. * Storage QOS parameters for the entities. * @alias module:Ntnx/QosSpec * * @param { Number } throttledIops Throttled IOPS for the entities being governed. The block size for the IO is 32kB. */ constructor(throttledIops: number); throttledIops: number; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Throttled IOPS for the entities being governed. The block size for the IO is 32kB. * minimum: 100 * maximum: 2147483647 * @return {Number} */ getThrottledIops(): number; /** * Sets Throttled IOPS for the entities being governed. The block size for the IO is 32kB. * @param {Number} throttledIops Throttled IOPS for the entities being governed. The block size for the IO is 32kB. */ setThrottledIops(throttledIops: number): void; 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";