Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to string | Routing protocol type | [optional] |
Name | Pointer to string | [optional] | |
BgpIpv4 | Pointer to BGPConnectionIpv4 | [optional] | |
BgpIpv6 | Pointer to BGPConnectionIpv6 | [optional] | |
CustomerAsn | Pointer to int64 | Customer asn | [optional] |
EquinixAsn | Pointer to int64 | Equinix asn | [optional] |
BgpAuthKey | Pointer to string | BGP authorization key | [optional] |
Bfd | Pointer to RoutingProtocolBFD | [optional] | |
DirectIpv4 | Pointer to DirectConnectionIpv4 | [optional] | |
DirectIpv6 | Pointer to DirectConnectionIpv6 | [optional] |
func NewRoutingProtocolBase() *RoutingProtocolBase
NewRoutingProtocolBase instantiates a new RoutingProtocolBase object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoutingProtocolBaseWithDefaults() *RoutingProtocolBase
NewRoutingProtocolBaseWithDefaults instantiates a new RoutingProtocolBase object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *RoutingProtocolBase) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetType(v string)
SetType sets Type field to given value.
func (o *RoutingProtocolBase) HasType() bool
HasType returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetName(v string)
SetName sets Name field to given value.
func (o *RoutingProtocolBase) HasName() bool
HasName returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetBgpIpv4() BGPConnectionIpv4
GetBgpIpv4 returns the BgpIpv4 field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetBgpIpv4Ok() (*BGPConnectionIpv4, bool)
GetBgpIpv4Ok returns a tuple with the BgpIpv4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetBgpIpv4(v BGPConnectionIpv4)
SetBgpIpv4 sets BgpIpv4 field to given value.
func (o *RoutingProtocolBase) HasBgpIpv4() bool
HasBgpIpv4 returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetBgpIpv6() BGPConnectionIpv6
GetBgpIpv6 returns the BgpIpv6 field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetBgpIpv6Ok() (*BGPConnectionIpv6, bool)
GetBgpIpv6Ok returns a tuple with the BgpIpv6 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetBgpIpv6(v BGPConnectionIpv6)
SetBgpIpv6 sets BgpIpv6 field to given value.
func (o *RoutingProtocolBase) HasBgpIpv6() bool
HasBgpIpv6 returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetCustomerAsn() int64
GetCustomerAsn returns the CustomerAsn field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetCustomerAsnOk() (*int64, bool)
GetCustomerAsnOk returns a tuple with the CustomerAsn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetCustomerAsn(v int64)
SetCustomerAsn sets CustomerAsn field to given value.
func (o *RoutingProtocolBase) HasCustomerAsn() bool
HasCustomerAsn returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetEquinixAsn() int64
GetEquinixAsn returns the EquinixAsn field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetEquinixAsnOk() (*int64, bool)
GetEquinixAsnOk returns a tuple with the EquinixAsn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetEquinixAsn(v int64)
SetEquinixAsn sets EquinixAsn field to given value.
func (o *RoutingProtocolBase) HasEquinixAsn() bool
HasEquinixAsn returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetBgpAuthKey() string
GetBgpAuthKey returns the BgpAuthKey field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetBgpAuthKeyOk() (*string, bool)
GetBgpAuthKeyOk returns a tuple with the BgpAuthKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetBgpAuthKey(v string)
SetBgpAuthKey sets BgpAuthKey field to given value.
func (o *RoutingProtocolBase) HasBgpAuthKey() bool
HasBgpAuthKey returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetBfd() RoutingProtocolBFD
GetBfd returns the Bfd field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetBfdOk() (*RoutingProtocolBFD, bool)
GetBfdOk returns a tuple with the Bfd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetBfd(v RoutingProtocolBFD)
SetBfd sets Bfd field to given value.
func (o *RoutingProtocolBase) HasBfd() bool
HasBfd returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetDirectIpv4() DirectConnectionIpv4
GetDirectIpv4 returns the DirectIpv4 field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetDirectIpv4Ok() (*DirectConnectionIpv4, bool)
GetDirectIpv4Ok returns a tuple with the DirectIpv4 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetDirectIpv4(v DirectConnectionIpv4)
SetDirectIpv4 sets DirectIpv4 field to given value.
func (o *RoutingProtocolBase) HasDirectIpv4() bool
HasDirectIpv4 returns a boolean if a field has been set.
func (o *RoutingProtocolBase) GetDirectIpv6() DirectConnectionIpv6
GetDirectIpv6 returns the DirectIpv6 field if non-nil, zero value otherwise.
func (o *RoutingProtocolBase) GetDirectIpv6Ok() (*DirectConnectionIpv6, bool)
GetDirectIpv6Ok returns a tuple with the DirectIpv6 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolBase) SetDirectIpv6(v DirectConnectionIpv6)
SetDirectIpv6 sets DirectIpv6 field to given value.
func (o *RoutingProtocolBase) HasDirectIpv6() bool
HasDirectIpv6 returns a boolean if a field has been set.