/**
* The IpMapping model module.
* @module Ntnx/IpMapping
* @version 4.3.1
* @class IpMapping
*
* @param { string } networkMappingExtId External identifier of the network mapping for which this IP mapping is applicable.
*
* @param { IPAddress } primaryIp
*
* @param { IPAddress } recoveryIp
*/
export default class IpMapping {
/**
* Constructs a IpMapping 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/IpMapping} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/IpMapping} The populated IpMapping 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 IpMapping.
* IP address assignment.
* @alias module:Ntnx/IpMapping
*
* @param { string } networkMappingExtId External identifier of the network mapping for which this IP mapping is applicable.
*
* @param { IPAddress } primaryIp
*
* @param { IPAddress } recoveryIp
*/
constructor(networkMappingExtId: string, primaryIp: IPAddress, recoveryIp: IPAddress);
networkMappingExtId: string;
primaryIp: IPAddress;
recoveryIp: IPAddress;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns External identifier of the network mapping for which this IP mapping is applicable.
* @return {string}
*/
getNetworkMappingExtId(): string;
/**
* Sets External identifier of the network mapping for which this IP mapping is applicable.
* @param {string} networkMappingExtId External identifier of the network mapping for which this IP mapping is applicable.
*/
setNetworkMappingExtId(networkMappingExtId: string): void;
/**
* @return {IPAddress}
*/
getPrimaryIp(): IPAddress;
/**
* @param {IPAddress} primaryIp
*/
setPrimaryIp(primaryIp: IPAddress): void;
/**
* @return {IPAddress}
*/
getRecoveryIp(): IPAddress;
/**
* @param {IPAddress} recoveryIp
*/
setRecoveryIp(recoveryIp: IPAddress): void;
/**
* @return {IPAddress}
*/
getPrimaryTestIp(): IPAddress;
/**
* @param {IPAddress} primaryTestIp
*/
setPrimaryTestIp(primaryTestIp: IPAddress): void;
primaryTestIp: IPAddress;
/**
* @return {IPAddress}
*/
getRecoveryTestIp(): IPAddress;
/**
* @param {IPAddress} recoveryTestIp
*/
setRecoveryTestIp(recoveryTestIp: IPAddress): void;
recoveryTestIp: IPAddress;
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 IPAddress from "../../../common/v1/config/IPAddress";
import ValidationError from "../../../validation/ValidationError";