/** * The IPPoolUsage model module. * @module Ntnx/IPPoolUsage * @version 4.4.1 * @class IPPoolUsage */ export default class IPPoolUsage { /** * Constructs a IPPoolUsage 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/IPPoolUsage} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/IPPoolUsage} The populated IPPoolUsage 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 Number of free IPs. * minimum: 0 * @return {Number} */ getNumFreeIPs(): number; /** * Sets Number of free IPs. * @param {Number} numFreeIPs Number of free IPs. */ setNumFreeIPs(numFreeIPs: number): void; numFreeIPs: number; /** * Returns Total number of IPs in this pool. * minimum: 0 * @return {Number} */ getNumTotalIPs(): number; /** * Sets Total number of IPs in this pool. * @param {Number} numTotalIPs Total number of IPs in this pool. */ setNumTotalIPs(numTotalIPs: number): void; numTotalIPs: number; /** * @return {IPv4Pool} */ getRange(): IPv4Pool; /** * @param {IPv4Pool} range */ setRange(range: IPv4Pool): void; range: IPv4Pool; 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 IPv4Pool from "./IPv4Pool"; import ValidationError from "../../../validation/ValidationError";