/** * The IPv4Address model module. * @module Ntnx/IPv4Address * @version 4.3.1 * @class IPv4Address * * @param { string } value The IPv4 address of the host. */ export default class IPv4Address { /** * Constructs a IPv4Address 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/IPv4Address} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/IPv4Address} The populated IPv4Address 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 IPv4Address. * An unique address that identifies a device on the internet or a local network in IPv4 format. * @alias module:Ntnx/IPv4Address * * @param { string } value The IPv4 address of the host. */ constructor(value: string); value: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns The IPv4 address of the host. * @return {string} */ getValue(): string; /** * Sets The IPv4 address of the host. * @param {string} value The IPv4 address of the host. */ setValue(value: string): void; /** * Returns The prefix length of the network to which this host IPv4 address belongs. * minimum: 0 * maximum: 32 * @return {Number} */ getPrefixLength(): number; /** * Sets The prefix length of the network to which this host IPv4 address belongs. * @param {Number} prefixLength The prefix length of the network to which this host IPv4 address belongs. */ setPrefixLength(prefixLength: number): void; prefixLength: 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";