/** * The IPv4Config model module. * @module Ntnx/IPv4Config * @version 4.3.1 * @class IPv4Config */ export default class IPv4Config { /** * Constructs a IPv4Config 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/IPv4Config} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/IPv4Config} The populated IPv4Config 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 Subnet gateway IP address. * @return {string} */ getDefaultGatewayIp(): string; /** * Sets Subnet gateway IP address. * @param {string} defaultGatewayIp Subnet gateway IP address. */ setDefaultGatewayIp(defaultGatewayIp: string): void; defaultGatewayIp: string; /** * Returns Subnet prefix length. * minimum: 0 * maximum: 32 * @return {Number} */ getPrefixLength(): number; /** * Sets Subnet prefix length. * @param {Number} prefixLength Subnet prefix length. */ setPrefixLength(prefixLength: number): void; prefixLength: number; /** * @return {IPv4Pool} */ getIpPool(): IPv4Pool; /** * @param {IPv4Pool} ipPool */ setIpPool(ipPool: IPv4Pool): void; ipPool: IPv4Pool; /** * Returns Network IP address. * @return {string} */ getNetworkIpAddress(): string; /** * Sets Network IP address. * @param {string} networkIpAddress Network IP address. */ setNetworkIpAddress(networkIpAddress: string): void; networkIpAddress: string; /** * Returns DNS Servers IP addresses. * @return {string[]} */ getDomainNameServers(): string[]; /** * Sets DNS Servers IP addresses. * @param {string[]} domainNameServers DNS Servers IP addresses. */ setDomainNameServers(domainNameServers: string[]): void; domainNameServers: string[]; /** * Returns Domain Name Servers suffixes. * @return {string[]} */ getDomainSearchSuffixes(): string[]; /** * Sets Domain Name Servers suffixes. * @param {string[]} domainSearchSuffixes Domain Name Servers suffixes. */ setDomainSearchSuffixes(domainSearchSuffixes: string[]): void; domainSearchSuffixes: string[]; 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 "../../../networking/v4/config/IPv4Pool"; import ValidationError from "../../../validation/ValidationError";