/**
* The VirtualIP model module.
* @module Ntnx/VirtualIP
* @version 4.4.1
* @class VirtualIP
*
* @param { string } subnetReference UUID of the subnet from which virtual IP address is allocated.
*
* @param { AssignmentType } assignmentType
*/
export default class VirtualIP {
/**
* Constructs a VirtualIP 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/VirtualIP} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/VirtualIP} The populated VirtualIP 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 VirtualIP.
* Virtual IP configuration for the load balancer session listener.
* @alias module:Ntnx/VirtualIP
*
* @param { string } subnetReference UUID of the subnet from which virtual IP address is allocated.
*
* @param { AssignmentType } assignmentType
*/
constructor(subnetReference: string, assignmentType: AssignmentType);
subnetReference: string;
assignmentType: string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns UUID of the subnet from which virtual IP address is allocated.
* @return {string}
*/
getSubnetReference(): string;
/**
* Sets UUID of the subnet from which virtual IP address is allocated.
* @param {string} subnetReference UUID of the subnet from which virtual IP address is allocated.
*/
setSubnetReference(subnetReference: string): void;
/**
* @return {AssignmentType}
*/
getAssignmentType(): AssignmentType;
/**
* @param {AssignmentType} assignmentType
*/
setAssignmentType(assignmentType: AssignmentType): void;
/**
* @return {IPAddress}
*/
getIpAddress(): IPAddress;
/**
* @param {IPAddress} ipAddress
*/
setIpAddress(ipAddress: IPAddress): void;
ipAddress: 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 AssignmentType from "./AssignmentType";
import IPAddress from "../../../common/v1/config/IPAddress";
import ValidationError from "../../../validation/ValidationError";