/**
* The LoadBalancerSessionAssociation model module.
* @module Ntnx/LoadBalancerSessionAssociation
* @version 4.4.1
* @class LoadBalancerSessionAssociation
*
* @param { string } loadBalancerSessionReference Load Balancer Session reference UUID.
*/
export default class LoadBalancerSessionAssociation {
/**
* Constructs a LoadBalancerSessionAssociation 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/LoadBalancerSessionAssociation} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/LoadBalancerSessionAssociation} The populated LoadBalancerSessionAssociation 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 LoadBalancerSessionAssociation.
* Load Balancer Session to which the floating IP is associated.
* @alias module:Ntnx/LoadBalancerSessionAssociation
*
* @param { string } loadBalancerSessionReference Load Balancer Session reference UUID.
*/
constructor(loadBalancerSessionReference: string);
loadBalancerSessionReference: string;
$objectType: string;
/** @type {object} */
$reserved: object;
/** @type {object} */
$unknownFields: object;
/**
* Returns Load Balancer Session reference UUID.
* @return {string}
*/
getLoadBalancerSessionReference(): string;
/**
* Sets Load Balancer Session reference UUID.
* @param {string} loadBalancerSessionReference Load Balancer Session reference UUID.
*/
setLoadBalancerSessionReference(loadBalancerSessionReference: string): void;
/**
* Returns VPC reference to which the VM NIC subnet belongs.
* @return {string}
*/
getVpcReference(): string;
/**
* Sets VPC reference to which the VM NIC subnet belongs.
* @param {string} vpcReference VPC reference to which the VM NIC subnet belongs.
*/
setVpcReference(vpcReference: string): void;
vpcReference: string;
/**
* @return {IPAddress}
*/
getPrivateIp(): IPAddress;
/**
* @param {IPAddress} privateIp
*/
setPrivateIp(privateIp: IPAddress): void;
privateIp: 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";