/** * The BaseRoute model module. * @module Ntnx/BaseRoute * @version 4.4.1 * @class BaseRoute * @extends NetworkingBaseModel */ export default class BaseRoute extends NetworkingBaseModel { /** * Returns Route name. * @return {string} */ getName(): string; /** * Sets Route name. * @param {string} name Route name. */ setName(name: string): void; name: string; /** * Returns BGP session description. * @return {string} */ getDescription(): string; /** * Sets BGP session description. * @param {string} description BGP session description. */ setDescription(description: string): void; description: string; /** * @return {IPSubnet} */ getDestination(): IPSubnet; /** * @param {IPSubnet} destination */ setDestination(destination: IPSubnet): void; destination: IPSubnet; /** * @return {Nexthop} */ getNexthop(): Nexthop; /** * @param {Nexthop} nexthop */ setNexthop(nexthop: Nexthop): void; nexthop: Nexthop; /** * Returns Nexthops for the route. * @return {Nexthop[]} */ getNexthops(): Nexthop[]; /** * Sets Nexthops for the route. * @param {Nexthop[]} nexthops Nexthops for the route. */ setNexthops(nexthops: Nexthop[]): void; nexthops: Nexthop[]; #private; } import NetworkingBaseModel from "./NetworkingBaseModel"; import IPSubnet from "./IPSubnet"; import Nexthop from "./Nexthop";