/** * The GatewayInterface model module. * @module Ntnx/GatewayInterface * @version 4.4.1 * @class GatewayInterface */ export default class GatewayInterface { /** * Constructs a GatewayInterface 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/GatewayInterface} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GatewayInterface} The populated GatewayInterface 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; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * Returns The VLAN subnet to deploy this network gateway VM on. * @return {string} */ getSubnetReference(): string; /** * Sets The VLAN subnet to deploy this network gateway VM on. * @param {string} subnetReference The VLAN subnet to deploy this network gateway VM on. */ setSubnetReference(subnetReference: string): void; subnetReference: string; /** * @return {IPAddress} */ getIpAddress(): IPAddress; /** * @param {IPAddress} ipAddress */ setIpAddress(ipAddress: IPAddress): void; ipAddress: IPAddress; /** * @return {IPAddress} */ getDefaultGatewayAddress(): IPAddress; /** * @param {IPAddress} defaultGatewayAddress */ setDefaultGatewayAddress(defaultGatewayAddress: IPAddress): void; defaultGatewayAddress: IPAddress; /** * Returns MAC address of this gateway interface. * @return {string} */ getMacAddress(): string; /** * Sets MAC address of this gateway interface. * @param {string} macAddress MAC address of this gateway interface. */ setMacAddress(macAddress: string): void; macAddress: string; /** * Returns MTU of this gateway interface. * @return {Number} */ getMtu(): number; /** * Sets MTU of this gateway interface. * @param {Number} mtu MTU of this gateway interface. */ setMtu(mtu: number): void; mtu: number; 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";