compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::RouterStatus Class Reference

#include <router_status.h>

Inheritance diagram for google_compute_api::RouterStatus:

Public Member Functions

 RouterStatus (const Json::Value &storage)
 
 RouterStatus (Json::Value *storage)
 
virtual ~RouterStatus ()
 
const StringPiece GetTypeName () const
 
bool has_best_routes () const
 
void clear_best_routes ()
 
const client::JsonCppArray< Routeget_best_routes () const
 
client::JsonCppArray< Routemutable_bestRoutes ()
 
bool has_best_routes_for_router () const
 
void clear_best_routes_for_router ()
 
const client::JsonCppArray< Routeget_best_routes_for_router () const
 
client::JsonCppArray< Routemutable_bestRoutesForRouter ()
 
bool has_bgp_peer_status () const
 
void clear_bgp_peer_status ()
 
const client::JsonCppArray< RouterStatusBgpPeerStatusget_bgp_peer_status () const
 
client::JsonCppArray< RouterStatusBgpPeerStatusmutable_bgpPeerStatus ()
 
bool has_nat_status () const
 
void clear_nat_status ()
 
const client::JsonCppArray< RouterStatusNatStatusget_nat_status () const
 
client::JsonCppArray< RouterStatusNatStatusmutable_natStatus ()
 
bool has_network () const
 
void clear_network ()
 
const StringPiece get_network () const
 
void set_network (const StringPiece &value)
 

Static Public Member Functions

static RouterStatusNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ RouterStatus() [1/2]

google_compute_api::RouterStatus::RouterStatus ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ RouterStatus() [2/2]

google_compute_api::RouterStatus::RouterStatus ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~RouterStatus()

google_compute_api::RouterStatus::~RouterStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_best_routes()

void google_compute_api::RouterStatus::clear_best_routes ( )
inline

Clears the 'bestRoutes' attribute.

◆ clear_best_routes_for_router()

void google_compute_api::RouterStatus::clear_best_routes_for_router ( )
inline

Clears the 'bestRoutesForRouter' attribute.

◆ clear_bgp_peer_status()

void google_compute_api::RouterStatus::clear_bgp_peer_status ( )
inline

Clears the 'bgpPeerStatus' attribute.

◆ clear_nat_status()

void google_compute_api::RouterStatus::clear_nat_status ( )
inline

Clears the 'natStatus' attribute.

◆ clear_network()

void google_compute_api::RouterStatus::clear_network ( )
inline

Clears the 'network' attribute.

◆ get_best_routes()

const client::JsonCppArray<Route > google_compute_api::RouterStatus::get_best_routes ( ) const

Get a reference to the value of the 'bestRoutes' attribute.

◆ get_best_routes_for_router()

const client::JsonCppArray<Route > google_compute_api::RouterStatus::get_best_routes_for_router ( ) const

Get a reference to the value of the 'bestRoutesForRouter' attribute.

◆ get_bgp_peer_status()

const client::JsonCppArray<RouterStatusBgpPeerStatus > google_compute_api::RouterStatus::get_bgp_peer_status ( ) const

Get a reference to the value of the 'bgpPeerStatus' attribute.

◆ get_nat_status()

const client::JsonCppArray<RouterStatusNatStatus > google_compute_api::RouterStatus::get_nat_status ( ) const

Get a reference to the value of the 'natStatus' attribute.

◆ get_network()

const StringPiece google_compute_api::RouterStatus::get_network ( ) const
inline

Get the value of the 'network' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::RouterStatus::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::RouterStatus

◆ has_best_routes()

bool google_compute_api::RouterStatus::has_best_routes ( ) const
inline

Determine if the 'bestRoutes' attribute was set.

Returns
true if the 'bestRoutes' attribute was set.

◆ has_best_routes_for_router()

bool google_compute_api::RouterStatus::has_best_routes_for_router ( ) const
inline

Determine if the 'bestRoutesForRouter' attribute was set.

Returns
true if the 'bestRoutesForRouter' attribute was set.

◆ has_bgp_peer_status()

bool google_compute_api::RouterStatus::has_bgp_peer_status ( ) const
inline

Determine if the 'bgpPeerStatus' attribute was set.

Returns
true if the 'bgpPeerStatus' attribute was set.

◆ has_nat_status()

bool google_compute_api::RouterStatus::has_nat_status ( ) const
inline

Determine if the 'natStatus' attribute was set.

Returns
true if the 'natStatus' attribute was set.

◆ has_network()

bool google_compute_api::RouterStatus::has_network ( ) const
inline

Determine if the 'network' attribute was set.

Returns
true if the 'network' attribute was set.

◆ mutable_bestRoutes()

client::JsonCppArray<Route > google_compute_api::RouterStatus::mutable_bestRoutes ( )

Gets a reference to a mutable value of the 'bestRoutes' property.

Best routes for this router's network.

Returns
The result can be modified to change the attribute value.

◆ mutable_bestRoutesForRouter()

client::JsonCppArray<Route > google_compute_api::RouterStatus::mutable_bestRoutesForRouter ( )

Gets a reference to a mutable value of the 'bestRoutesForRouter' property.

Best routes learned by this router.

Returns
The result can be modified to change the attribute value.

◆ mutable_bgpPeerStatus()

client::JsonCppArray<RouterStatusBgpPeerStatus > google_compute_api::RouterStatus::mutable_bgpPeerStatus ( )

Gets a reference to a mutable value of the 'bgpPeerStatus' property.

Returns
The result can be modified to change the attribute value.

◆ mutable_natStatus()

client::JsonCppArray<RouterStatusNatStatus > google_compute_api::RouterStatus::mutable_natStatus ( )

Gets a reference to a mutable value of the 'natStatus' property.

Returns
The result can be modified to change the attribute value.

◆ New()

RouterStatus * google_compute_api::RouterStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_network()

void google_compute_api::RouterStatus::set_network ( const StringPiece &  value)
inline

Change the 'network' attribute.

URI of the network to which this router belongs.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: