/** * The VmNicAssociation model module. * @module Ntnx/VmNicAssociation * @version 4.4.1 * @class VmNicAssociation * * @param { string } vmNicReference VM NIC reference. */ export default class VmNicAssociation { /** * Constructs a VmNicAssociation 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/VmNicAssociation} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/VmNicAssociation} The populated VmNicAssociation 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 VmNicAssociation. * VM NIC and VPC to which the VM NIC subnet belongs. * @alias module:Ntnx/VmNicAssociation * * @param { string } vmNicReference VM NIC reference. */ constructor(vmNicReference: string); vmNicReference: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns VM NIC reference. * @return {string} */ getVmNicReference(): string; /** * Sets VM NIC reference. * @param {string} vmNicReference VM NIC reference. */ setVmNicReference(vmNicReference: 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";