Name | Type | Description | Notes |
---|---|---|---|
AddressFamily | Pointer to string | Address family for BGP session. | [optional] |
DefaultRoute | Pointer to bool | Set the default route policy. | [optional] [default to false] |
func NewBGPSessionInput() *BGPSessionInput
NewBGPSessionInput instantiates a new BGPSessionInput 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 NewBGPSessionInputWithDefaults() *BGPSessionInput
NewBGPSessionInputWithDefaults instantiates a new BGPSessionInput 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 *BGPSessionInput) GetAddressFamily() string
GetAddressFamily returns the AddressFamily field if non-nil, zero value otherwise.
func (o *BGPSessionInput) GetAddressFamilyOk() (*string, 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 *BGPSessionInput) SetAddressFamily(v string)
SetAddressFamily sets AddressFamily field to given value.
func (o *BGPSessionInput) HasAddressFamily() bool
HasAddressFamily returns a boolean if a field has been set.
func (o *BGPSessionInput) GetDefaultRoute() bool
GetDefaultRoute returns the DefaultRoute field if non-nil, zero value otherwise.
func (o *BGPSessionInput) GetDefaultRouteOk() (*bool, bool)
GetDefaultRouteOk returns a tuple with the DefaultRoute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BGPSessionInput) SetDefaultRoute(v bool)
SetDefaultRoute sets DefaultRoute field to given value.
func (o *BGPSessionInput) HasDefaultRoute() bool
HasDefaultRoute returns a boolean if a field has been set.