KubernetesNodePoolLan

Properties

NameTypeDescriptionNotes

DatacenterId

Pointer to string

The datacenter ID, requires system privileges, for internal usage only

[optional]

Dhcp

Pointer to bool

Specifies whether the Kubernetes node pool LAN reserves an IP with DHCP.

[optional]

Id

int32

The LAN ID of an existing LAN at the related data center

Routes

The array of additional LANs attached to worker nodes.

[optional]

Methods

NewKubernetesNodePoolLan

func NewKubernetesNodePoolLan(id int32, ) *KubernetesNodePoolLan

NewKubernetesNodePoolLan instantiates a new KubernetesNodePoolLan 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

NewKubernetesNodePoolLanWithDefaults

func NewKubernetesNodePoolLanWithDefaults() *KubernetesNodePoolLan

NewKubernetesNodePoolLanWithDefaults instantiates a new KubernetesNodePoolLan 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

GetDatacenterId

func (o *KubernetesNodePoolLan) GetDatacenterId() string

GetDatacenterId returns the DatacenterId field if non-nil, zero value otherwise.

GetDatacenterIdOk

func (o *KubernetesNodePoolLan) GetDatacenterIdOk() (*string, bool)

GetDatacenterIdOk returns a tuple with the DatacenterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDatacenterId

func (o *KubernetesNodePoolLan) SetDatacenterId(v string)

SetDatacenterId sets DatacenterId field to given value.

HasDatacenterId

func (o *KubernetesNodePoolLan) HasDatacenterId() bool

HasDatacenterId returns a boolean if a field has been set.

GetDhcp

func (o *KubernetesNodePoolLan) GetDhcp() bool

GetDhcp returns the Dhcp field if non-nil, zero value otherwise.

GetDhcpOk

func (o *KubernetesNodePoolLan) 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.

SetDhcp

func (o *KubernetesNodePoolLan) SetDhcp(v bool)

SetDhcp sets Dhcp field to given value.

HasDhcp

func (o *KubernetesNodePoolLan) HasDhcp() bool

HasDhcp returns a boolean if a field has been set.

GetId

func (o *KubernetesNodePoolLan) GetId() int32

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *KubernetesNodePoolLan) GetIdOk() (*int32, bool)

GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetId

func (o *KubernetesNodePoolLan) SetId(v int32)

SetId sets Id field to given value.

GetRoutes

func (o *KubernetesNodePoolLan) GetRoutes() []KubernetesNodePoolLanRoutes

GetRoutes returns the Routes field if non-nil, zero value otherwise.

GetRoutesOk

func (o *KubernetesNodePoolLan) GetRoutesOk() (*[]KubernetesNodePoolLanRoutes, 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.

SetRoutes

func (o *KubernetesNodePoolLan) SetRoutes(v []KubernetesNodePoolLanRoutes)

SetRoutes sets Routes field to given value.

HasRoutes

func (o *KubernetesNodePoolLan) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

Last updated