Name | Type | Description | Notes |
---|---|---|---|
Type | RoutingProtocolBGPTypeType | ||
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] |
func NewRoutingProtocolBGPType(type_ RoutingProtocolBGPTypeType, ) *RoutingProtocolBGPType
NewRoutingProtocolBGPType instantiates a new RoutingProtocolBGPType 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 NewRoutingProtocolBGPTypeWithDefaults() *RoutingProtocolBGPType
NewRoutingProtocolBGPTypeWithDefaults instantiates a new RoutingProtocolBGPType 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 *RoutingProtocolBGPType) GetType() RoutingProtocolBGPTypeType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) GetTypeOk() (*RoutingProtocolBGPTypeType, 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 *RoutingProtocolBGPType) SetType(v RoutingProtocolBGPTypeType)
SetType sets Type field to given value.
func (o *RoutingProtocolBGPType) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetName(v string)
SetName sets Name field to given value.
func (o *RoutingProtocolBGPType) HasName() bool
HasName returns a boolean if a field has been set.
func (o *RoutingProtocolBGPType) GetBgpIpv4() BGPConnectionIpv4
GetBgpIpv4 returns the BgpIpv4 field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetBgpIpv4(v BGPConnectionIpv4)
SetBgpIpv4 sets BgpIpv4 field to given value.
func (o *RoutingProtocolBGPType) HasBgpIpv4() bool
HasBgpIpv4 returns a boolean if a field has been set.
func (o *RoutingProtocolBGPType) GetBgpIpv6() BGPConnectionIpv6
GetBgpIpv6 returns the BgpIpv6 field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetBgpIpv6(v BGPConnectionIpv6)
SetBgpIpv6 sets BgpIpv6 field to given value.
func (o *RoutingProtocolBGPType) HasBgpIpv6() bool
HasBgpIpv6 returns a boolean if a field has been set.
func (o *RoutingProtocolBGPType) GetCustomerAsn() int64
GetCustomerAsn returns the CustomerAsn field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetCustomerAsn(v int64)
SetCustomerAsn sets CustomerAsn field to given value.
func (o *RoutingProtocolBGPType) HasCustomerAsn() bool
HasCustomerAsn returns a boolean if a field has been set.
func (o *RoutingProtocolBGPType) GetEquinixAsn() int64
GetEquinixAsn returns the EquinixAsn field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetEquinixAsn(v int64)
SetEquinixAsn sets EquinixAsn field to given value.
func (o *RoutingProtocolBGPType) HasEquinixAsn() bool
HasEquinixAsn returns a boolean if a field has been set.
func (o *RoutingProtocolBGPType) GetBgpAuthKey() string
GetBgpAuthKey returns the BgpAuthKey field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetBgpAuthKey(v string)
SetBgpAuthKey sets BgpAuthKey field to given value.
func (o *RoutingProtocolBGPType) HasBgpAuthKey() bool
HasBgpAuthKey returns a boolean if a field has been set.
func (o *RoutingProtocolBGPType) GetBfd() RoutingProtocolBFD
GetBfd returns the Bfd field if non-nil, zero value otherwise.
func (o *RoutingProtocolBGPType) 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 *RoutingProtocolBGPType) SetBfd(v RoutingProtocolBFD)
SetBfd sets Bfd field to given value.
func (o *RoutingProtocolBGPType) HasBfd() bool
HasBfd returns a boolean if a field has been set.