# KubernetesNodePoolLan

## Properties

| Name             | Type                                                                                                | Description                                                              | Notes       |
| ---------------- | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | ----------- |
| **DatacenterId** | Pointer to **string**                                                                               | The datacenter ID, requires system privileges, for internal usage only   | \[optional] |
| **Id**           | **int32**                                                                                           | The LAN ID of an existing LAN at the related data center                 |             |
| **Dhcp**         | Pointer to **bool**                                                                                 | Specifies whether the Kubernetes node pool LAN reserves an IP with DHCP. | \[optional] |
| **Routes**       | Pointer to [**\[\]KubernetesNodePoolLanRoutes**](/golang-sdk/models/kubernetesnodepoollanroutes.md) | 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.

### 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.

### 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.

### 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/golang-sdk/models/kubernetesnodepoollan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
