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 |
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
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
func (o *BGPConnectionIpv4) GetCustomerPeerIp() string
GetCustomerPeerIp returns the CustomerPeerIp field if non-nil, zero value otherwise.
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.
func (o *BGPConnectionIpv4) SetCustomerPeerIp(v string)
SetCustomerPeerIp sets CustomerPeerIp field to given value.
func (o *BGPConnectionIpv4) GetEquinixPeerIp() string
GetEquinixPeerIp returns the EquinixPeerIp field if non-nil, zero value otherwise.
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.
func (o *BGPConnectionIpv4) SetEquinixPeerIp(v string)
SetEquinixPeerIp sets EquinixPeerIp field to given value.
func (o *BGPConnectionIpv4) HasEquinixPeerIp() bool
HasEquinixPeerIp returns a boolean if a field has been set.
func (o *BGPConnectionIpv4) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
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.
func (o *BGPConnectionIpv4) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.