Name | Type | Description | Notes |
---|---|---|---|
AddressFamily | Pointer to int32 | Address Family for IP Address. Accepted values are 4 or 6 | [optional] |
CustomerAs | Pointer to int32 | The customer's ASN. In a local BGP deployment, this will be an internal ASN used to route within the data center. For a global BGP deployment, this will be the your own ASN, configured when you set up BGP for your project. | [optional] |
CustomerIp | Pointer to string | The device's IP address. For an IPv4 BGP session, this is typically the private bond0 address for the device. | [optional] |
Md5Enabled | Pointer to bool | True if an MD5 password is configured for the project. | [optional] |
Md5Password | Pointer to string | The MD5 password configured for the project, if set. | [optional] |
Multihop | Pointer to bool | True when the BGP session should be configured as multihop. | [optional] |
PeerAs | Pointer to int32 | The Peer ASN to use when configuring BGP on your device. | [optional] |
PeerIps | Pointer to []string | A list of one or more IP addresses to use for the Peer IP section of your BGP configuration. For non-multihop sessions, this will typically be a single gateway address for the device. For multihop sessions, it will be a list of IPs. | [optional] |
RoutesIn | Pointer to []BgpRoute | A list of project subnets | [optional] |
RoutesOut | Pointer to []BgpRoute | A list of outgoing routes. Only populated if the BGP session has default route enabled. | [optional] |
func NewBgpNeighborData() *BgpNeighborData
NewBgpNeighborData instantiates a new BgpNeighborData 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 NewBgpNeighborDataWithDefaults() *BgpNeighborData
NewBgpNeighborDataWithDefaults instantiates a new BgpNeighborData 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 *BgpNeighborData) GetAddressFamily() int32
GetAddressFamily returns the AddressFamily field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetAddressFamilyOk() (*int32, bool)
GetAddressFamilyOk returns a tuple with the AddressFamily field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetAddressFamily(v int32)
SetAddressFamily sets AddressFamily field to given value.
func (o *BgpNeighborData) HasAddressFamily() bool
HasAddressFamily returns a boolean if a field has been set.
func (o *BgpNeighborData) GetCustomerAs() int32
GetCustomerAs returns the CustomerAs field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetCustomerAsOk() (*int32, bool)
GetCustomerAsOk returns a tuple with the CustomerAs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetCustomerAs(v int32)
SetCustomerAs sets CustomerAs field to given value.
func (o *BgpNeighborData) HasCustomerAs() bool
HasCustomerAs returns a boolean if a field has been set.
func (o *BgpNeighborData) GetCustomerIp() string
GetCustomerIp returns the CustomerIp field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetCustomerIpOk() (*string, bool)
GetCustomerIpOk returns a tuple with the CustomerIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetCustomerIp(v string)
SetCustomerIp sets CustomerIp field to given value.
func (o *BgpNeighborData) HasCustomerIp() bool
HasCustomerIp returns a boolean if a field has been set.
func (o *BgpNeighborData) GetMd5Enabled() bool
GetMd5Enabled returns the Md5Enabled field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetMd5EnabledOk() (*bool, bool)
GetMd5EnabledOk returns a tuple with the Md5Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetMd5Enabled(v bool)
SetMd5Enabled sets Md5Enabled field to given value.
func (o *BgpNeighborData) HasMd5Enabled() bool
HasMd5Enabled returns a boolean if a field has been set.
func (o *BgpNeighborData) GetMd5Password() string
GetMd5Password returns the Md5Password field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetMd5PasswordOk() (*string, bool)
GetMd5PasswordOk returns a tuple with the Md5Password field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetMd5Password(v string)
SetMd5Password sets Md5Password field to given value.
func (o *BgpNeighborData) HasMd5Password() bool
HasMd5Password returns a boolean if a field has been set.
func (o *BgpNeighborData) GetMultihop() bool
GetMultihop returns the Multihop field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetMultihopOk() (*bool, bool)
GetMultihopOk returns a tuple with the Multihop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetMultihop(v bool)
SetMultihop sets Multihop field to given value.
func (o *BgpNeighborData) HasMultihop() bool
HasMultihop returns a boolean if a field has been set.
func (o *BgpNeighborData) GetPeerAs() int32
GetPeerAs returns the PeerAs field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetPeerAsOk() (*int32, bool)
GetPeerAsOk returns a tuple with the PeerAs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetPeerAs(v int32)
SetPeerAs sets PeerAs field to given value.
func (o *BgpNeighborData) HasPeerAs() bool
HasPeerAs returns a boolean if a field has been set.
func (o *BgpNeighborData) GetPeerIps() []string
GetPeerIps returns the PeerIps field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetPeerIpsOk() (*[]string, bool)
GetPeerIpsOk returns a tuple with the PeerIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetPeerIps(v []string)
SetPeerIps sets PeerIps field to given value.
func (o *BgpNeighborData) HasPeerIps() bool
HasPeerIps returns a boolean if a field has been set.
func (o *BgpNeighborData) GetRoutesIn() []BgpRoute
GetRoutesIn returns the RoutesIn field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetRoutesInOk() (*[]BgpRoute, bool)
GetRoutesInOk returns a tuple with the RoutesIn field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetRoutesIn(v []BgpRoute)
SetRoutesIn sets RoutesIn field to given value.
func (o *BgpNeighborData) HasRoutesIn() bool
HasRoutesIn returns a boolean if a field has been set.
func (o *BgpNeighborData) GetRoutesOut() []BgpRoute
GetRoutesOut returns the RoutesOut field if non-nil, zero value otherwise.
func (o *BgpNeighborData) GetRoutesOutOk() (*[]BgpRoute, bool)
GetRoutesOutOk returns a tuple with the RoutesOut field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BgpNeighborData) SetRoutesOut(v []BgpRoute)
SetRoutesOut sets RoutesOut field to given value.
func (o *BgpNeighborData) HasRoutesOut() bool
HasRoutesOut returns a boolean if a field has been set.