# Temperature

This is a base object that allows the user to create a Datapoint.

## withCurrentTemperature(currentTemperature)


Set the currentTemperature attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **currentTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---
## withMaximumTemperature(maximumTemperature)


Set the maximum attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **maximumTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---
## withMinimumTemperature(minimumTemperature)


Set the minimumTemperature attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **minimumTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---
## withStatusTemperature(statusTemperature)


Set the statusTemperature attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **statusTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---
## withTemperatureAverage(averageTemperature)


Set the averageTemperature attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **averageTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---
## withTrendTemperature(trendTemperature)


Set the trendTemperature attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **trendTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---
## withUnitTemperature(unitTemperature)


Set the unitTemperature attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **unitTemperature** | `string` | ❌ | optionals field |

### Retorna

{{% notice tip %}}
**Tipo:** `Temperature`
<br>

{{% /notice %}}

---

