/** * The GatewayManagementInterface model module. * @module Ntnx/GatewayManagementInterface * @version 4.4.1 * @class GatewayManagementInterface */ export default class GatewayManagementInterface { /** * Constructs a GatewayManagementInterface 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/GatewayManagementInterface} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/GatewayManagementInterface} The populated GatewayManagementInterface 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 Management Subnet extId reference used for deploying Network Gateway. * @return {string} */ getSubnetReference(): string; /** * Sets Management Subnet extId reference used for deploying Network Gateway. * @param {string} subnetReference Management Subnet extId reference used for deploying Network Gateway. */ setSubnetReference(subnetReference: string): void; subnetReference: string; /** * Returns The on-prem VLAN to deploy the gateway on. * minimum: 0 * maximum: 4095 * @return {Number} */ getVlanId(): number; /** * Sets The on-prem VLAN to deploy the gateway on. * @param {Number} vlanId The on-prem VLAN to deploy the gateway on. */ setVlanId(vlanId: number): void; vlanId: number; /** * @return {IPAddress} */ getAddress(): IPAddress; /** * @param {IPAddress} address */ setAddress(address: IPAddress): void; address: IPAddress; /** * @return {IPAddress} */ getDefaultGateway(): IPAddress; /** * @param {IPAddress} defaultGateway */ setDefaultGateway(defaultGateway: IPAddress): void; defaultGateway: IPAddress; /** * Returns MTU of management interface. * @return {Number} */ getMtu(): number; /** * Sets MTU of management interface. * @param {Number} mtu MTU of management 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";