/**
* The BgpConfig model module.
* @module Ntnx/BgpConfig
* @version 4.4.1
* @class BgpConfig
*/
export default class BgpConfig {
/**
* Constructs a BgpConfig 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/BgpConfig} obj Optional instance to populate.
* @param callFromChild {Boolean} Flag to recognise calling instance
* @return {module:Ntnx/BgpConfig} The populated BgpConfig 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 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;
asn: number;
/**
* Returns BPG password.
* @return {string}
*/
getPassword(): string;
/**
* Sets BPG password.
* @param {string} password BPG password.
*/
setPassword(password: string): void;
password: string;
/**
* Returns Redistribute routes over eBGP. Applicable only to network gateways deployed on VLAN subnets with eBGP over VPN.
* @return {boolean}
*/
getShouldRedistributeRoutes(): boolean;
/**
* Sets Redistribute routes over eBGP. Applicable only to network gateways deployed on VLAN subnets with eBGP over VPN.
* @param {boolean} shouldRedistributeRoutes Redistribute routes over eBGP. Applicable only to network gateways deployed on VLAN subnets with eBGP over VPN.
*/
setShouldRedistributeRoutes(shouldRedistributeRoutes: boolean): void;
shouldRedistributeRoutes: boolean;
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 ValidationError from "../../../validation/ValidationError";