/** * The GatewayNic model module. * @module Ntnx/GatewayNic * @version 4.4.1 * @class GatewayNic * * @param { Number } index Index of the NIC. * * @param { IPAddress } ipAddress * * @param { string } macAddress MAC address of the NIC. */ export default class GatewayNic { /** * Constructs a GatewayNic 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/GatewayNic} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GatewayNic} The populated GatewayNic 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 GatewayNic. * Information of the VNICs attached to the local BGP gateways. * @alias module:Ntnx/GatewayNic * * @param { Number } index Index of the NIC. * * @param { IPAddress } ipAddress * * @param { string } macAddress MAC address of the NIC. */ constructor(index: number, ipAddress: IPAddress, macAddress: string); index: number; ipAddress: IPAddress; macAddress: string; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns Index of the NIC. * @return {Number} */ getIndex(): number; /** * Sets Index of the NIC. * @param {Number} index Index of the NIC. */ setIndex(index: number): void; /** * @return {IPAddress} */ getIpAddress(): IPAddress; /** * @param {IPAddress} ipAddress */ setIpAddress(ipAddress: IPAddress): void; /** * Returns MAC address of the NIC. * @return {string} */ getMacAddress(): string; /** * Sets MAC address of the NIC. * @param {string} macAddress MAC address of the NIC. */ setMacAddress(macAddress: string): void; 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";