Name | Type | Description | Notes |
---|---|---|---|
ImportPolicy | map[string]interface{} | ||
Prefix | Pointer to string | Subnet prefix | [optional] |
PrefixLength | int32 | Determines the size of ip subnet | |
IpBlock | Pointer to IpBlockReadModel | [optional] |
func NewRoutingProtocolCustomerRouteIpv4(importPolicy map[string]interface{}, prefixLength int32, ) *RoutingProtocolCustomerRouteIpv4
NewRoutingProtocolCustomerRouteIpv4 instantiates a new RoutingProtocolCustomerRouteIpv4 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 NewRoutingProtocolCustomerRouteIpv4WithDefaults() *RoutingProtocolCustomerRouteIpv4
NewRoutingProtocolCustomerRouteIpv4WithDefaults instantiates a new RoutingProtocolCustomerRouteIpv4 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 *RoutingProtocolCustomerRouteIpv4) GetImportPolicy() map[string]interface{}
GetImportPolicy returns the ImportPolicy field if non-nil, zero value otherwise.
func (o *RoutingProtocolCustomerRouteIpv4) GetImportPolicyOk() (*map[string]interface{}, bool)
GetImportPolicyOk returns a tuple with the ImportPolicy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolCustomerRouteIpv4) SetImportPolicy(v map[string]interface{})
SetImportPolicy sets ImportPolicy field to given value.
func (o *RoutingProtocolCustomerRouteIpv4) GetPrefix() string
GetPrefix returns the Prefix field if non-nil, zero value otherwise.
func (o *RoutingProtocolCustomerRouteIpv4) GetPrefixOk() (*string, bool)
GetPrefixOk returns a tuple with the Prefix field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolCustomerRouteIpv4) SetPrefix(v string)
SetPrefix sets Prefix field to given value.
func (o *RoutingProtocolCustomerRouteIpv4) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (o *RoutingProtocolCustomerRouteIpv4) GetPrefixLength() int32
GetPrefixLength returns the PrefixLength field if non-nil, zero value otherwise.
func (o *RoutingProtocolCustomerRouteIpv4) GetPrefixLengthOk() (*int32, bool)
GetPrefixLengthOk returns a tuple with the PrefixLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolCustomerRouteIpv4) SetPrefixLength(v int32)
SetPrefixLength sets PrefixLength field to given value.
func (o *RoutingProtocolCustomerRouteIpv4) GetIpBlock() IpBlockReadModel
GetIpBlock returns the IpBlock field if non-nil, zero value otherwise.
func (o *RoutingProtocolCustomerRouteIpv4) GetIpBlockOk() (*IpBlockReadModel, bool)
GetIpBlockOk returns a tuple with the IpBlock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RoutingProtocolCustomerRouteIpv4) SetIpBlock(v IpBlockReadModel)
SetIpBlock sets IpBlock field to given value.
func (o *RoutingProtocolCustomerRouteIpv4) HasIpBlock() bool
HasIpBlock returns a boolean if a field has been set.