/** * The RemoteBgpService model module. * @module Ntnx/RemoteBgpService * @version 4.4.1 * @class RemoteBgpService * * @param { IPAddress } address * * @param { Number } asn Autonomous system number. 0 and 4294967295 are reserved. */ export default class RemoteBgpService { /** * Constructs a RemoteBgpService 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/RemoteBgpService} obj Optional instance to populate. * @param callFromChild {Boolean} Flag to recognise calling instance * @return {module:Ntnx/RemoteBgpService} The populated RemoteBgpService 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 RemoteBgpService. * BGP service hosted on this remote gateway. * @alias module:Ntnx/RemoteBgpService * * @param { IPAddress } address * * @param { Number } asn Autonomous system number. 0 and 4294967295 are reserved. */ constructor(address: IPAddress, asn: number); address: IPAddress; asn: number; $objectType: string; /** @type {object} */ $reserved: object; /** @type {object} */ $unknownFields: object; /** * @return {IPAddress} */ getAddress(): IPAddress; /** * @param {IPAddress} address */ setAddress(address: IPAddress): void; /** * Returns Autonomous system number. 0 and 4294967295 are reserved. * minimum: 1 * maximum: 4294967294 * @return {Number} */ getAsn(): number; /** * Sets Autonomous system number. 0 and 4294967295 are reserved. * @param {Number} asn Autonomous system number. 0 and 4294967295 are reserved. */ setAsn(asn: number): 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";