Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.88 KB

BGPConnectionIpv4.md

File metadata and controls

98 lines (53 loc) · 2.88 KB

BGPConnectionIpv4

Properties

Name Type Description Notes
CustomerPeerIp string Customer side peering ip
EquinixPeerIp Pointer to string Equinix side peering ip [optional]
Enabled bool Admin status for the BGP session

Methods

NewBGPConnectionIpv4

func NewBGPConnectionIpv4(customerPeerIp string, enabled bool, ) *BGPConnectionIpv4

NewBGPConnectionIpv4 instantiates a new BGPConnectionIpv4 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

NewBGPConnectionIpv4WithDefaults

func NewBGPConnectionIpv4WithDefaults() *BGPConnectionIpv4

NewBGPConnectionIpv4WithDefaults instantiates a new BGPConnectionIpv4 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

GetCustomerPeerIp

func (o *BGPConnectionIpv4) GetCustomerPeerIp() string

GetCustomerPeerIp returns the CustomerPeerIp field if non-nil, zero value otherwise.

GetCustomerPeerIpOk

func (o *BGPConnectionIpv4) GetCustomerPeerIpOk() (*string, bool)

GetCustomerPeerIpOk returns a tuple with the CustomerPeerIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCustomerPeerIp

func (o *BGPConnectionIpv4) SetCustomerPeerIp(v string)

SetCustomerPeerIp sets CustomerPeerIp field to given value.

GetEquinixPeerIp

func (o *BGPConnectionIpv4) GetEquinixPeerIp() string

GetEquinixPeerIp returns the EquinixPeerIp field if non-nil, zero value otherwise.

GetEquinixPeerIpOk

func (o *BGPConnectionIpv4) GetEquinixPeerIpOk() (*string, bool)

GetEquinixPeerIpOk returns a tuple with the EquinixPeerIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEquinixPeerIp

func (o *BGPConnectionIpv4) SetEquinixPeerIp(v string)

SetEquinixPeerIp sets EquinixPeerIp field to given value.

HasEquinixPeerIp

func (o *BGPConnectionIpv4) HasEquinixPeerIp() bool

HasEquinixPeerIp returns a boolean if a field has been set.

GetEnabled

func (o *BGPConnectionIpv4) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *BGPConnectionIpv4) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEnabled

func (o *BGPConnectionIpv4) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

[Back to Model list] [Back to API list] [Back to README]