/**
* The IPSubnet model module.
* @module Ntnx/IPSubnet
* @version 4.4.1
* @class IPSubnet
*/
export default class IPSubnet {
/**
* Constructs a IPSubnet 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/IPSubnet} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/IPSubnet} The populated IPSubnet 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;
/**
* @return {IPv4Subnet}
*/
getIpv4(): IPv4Subnet;
/**
* @param {IPv4Subnet} ipv4
*/
setIpv4(ipv4: IPv4Subnet): void;
ipv4: IPv4Subnet;
/**
* @return {IPv6Subnet}
*/
getIpv6(): IPv6Subnet;
/**
* @param {IPv6Subnet} ipv6
*/
setIpv6(ipv6: IPv6Subnet): void;
ipv6: IPv6Subnet;
get$Reserved(): any;
get$ObjectType(): string;
get$UnknownFields(): any;
hasIpv4(): boolean;
hasIpv6(): boolean;
isValid(): boolean;
toJson(forMutation: any): any;
validate(scope: any, properties: any, ...args: any[]): Promise;
validateProperty(scope: any, property: any): ValidationError;
#private;
}
import IPv4Subnet from "./IPv4Subnet";
import IPv6Subnet from "./IPv6Subnet";
import ValidationError from "../../../validation/ValidationError";