Route
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewRoute(network string, gateway string, ) *Route
NewRoute instantiates a new Route 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 NewRouteWithDefaults() *Route
NewRouteWithDefaults instantiates a new Route 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 *Route) GetNetwork() string
GetNetwork returns the Network field if non-nil, zero value otherwise.
func (o *Route) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetNetwork(v string)
SetNetwork sets Network field to given value.
func (o *Route) GetGateway() string
GetGateway returns the Gateway field if non-nil, zero value otherwise.
func (o *Route) GetGatewayOk() (*string, bool)
GetGatewayOk returns a tuple with the Gateway field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Route) SetGateway(v string)
SetGateway sets Gateway field to given value.
Network
string
IPv4 or IPv6 CIDR to be routed via the interface.
Gateway
string
IPv4 or IPv6 gateway IP for the route.