Lan
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewLan(lanId string, ) *Lan
NewLan instantiates a new Lan 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 NewLanWithDefaults() *Lan
NewLanWithDefaults instantiates a new Lan 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 *Lan) GetLanId() string
GetLanId returns the LanId field if non-nil, zero value otherwise.
func (o *Lan) GetLanIdOk() (*string, bool)
GetLanIdOk returns a tuple with the LanId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lan) SetLanId(v string)
SetLanId sets LanId field to given value.
func (o *Lan) GetDhcp() bool
GetDhcp returns the Dhcp field if non-nil, zero value otherwise.
func (o *Lan) GetDhcpOk() (*bool, bool)
GetDhcpOk returns a tuple with the Dhcp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lan) SetDhcp(v bool)
SetDhcp sets Dhcp field to given value.
func (o *Lan) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (o *Lan) GetRoutes() []Route
GetRoutes returns the Routes field if non-nil, zero value otherwise.
func (o *Lan) GetRoutesOk() (*[]Route, bool)
GetRoutesOk returns a tuple with the Routes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Lan) SetRoutes(v []Route)
SetRoutes sets Routes field to given value.
func (o *Lan) HasRoutes() bool
HasRoutes returns a boolean if a field has been set.
LanId
string
The LAN ID of an existing LAN at the related data center.
Dhcp
Pointer to bool
Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is `true`.
[optional]
Routes
Pointer to []Route
An array of additional LANs attached to worker nodes.
[optional]