# Event

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

## withCommsModule(communicationsModules)


Set the powerSupply attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **communicationsModules** | `*` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withCpuUsage(cpuUsage)


Set the cpuUsage attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **cpuUsage** | `*` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withCurrentTemperature(currentTemperature)


Set the currentTemperature attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withDateLocation(date)


Set the date attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withDeviceId(deviceId)


Set the deviceId attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withEventDescription(description)


Set the description attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withEventId(id)


Set the id attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withEventName(name)


Set the name attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withHardware(hardware)


Set the hardware attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **hardware** | `Hardware` | ❌ | optionals field |

### Retorna

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

{{% /notice %}}

---
## withLatitude(latitude)


Set the latitude attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **latitude** | `number` | ❌ | optionals field |

### Retorna

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

{{% /notice %}}

---
## withLongitude(longitude)


Set the longitude attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **longitude** | `number` | ❌ | optionals field |

### Retorna

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

{{% /notice %}}

---
## withMaximumTemperature(maximumTemperature)


Set the maximum attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withMinimumTemperature(minimumTemperature)


Set the minimum attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withNonVolatilStorage(nonVolatilStorage)


Set the nonVolatilStorage attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **nonVolatilStorage** | `*` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withOperationalStatus(operationalStatus)


Set the operationalStatus attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **operationalStatus** | `string` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withPath(path)


Set the path attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withPowerSupply(powerSupply)


Set the powerSupply attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **powerSupply** | `*` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withRam(ram)


Set the Ram attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **ram** | `*` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withSoftware(software)


Set the software attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withStatusTemperature(unitTemperature)


Set the unitTemperature attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withTemperatureAverage(averageTemperature)


Set the average attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withTrendTemperature(unitTemperature)


Set the unitTemperature attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withUnitTemperature(unitTemperature)


Set the unitTemperature attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withUpTime(upTime)


Set the upTime  attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **upTime** | `number` | ❌ |  |

### Retorna

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

{{% /notice %}}

---
## withVolatilStorage(volatilStorage)


Set the volatilStorage attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **volatilStorage** | `*` | ❌ |  |

### Retorna

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

{{% /notice %}}

---

