Usage
This is a base object that allows the user to create a Datapoint.
withAverage(average)
Set the average attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| average | string |
❌ | optionals field |
Retorna
Tip
Tipo: Usage
withCurrent(current)
Set the current attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| current | string |
❌ | optionals field |
Retorna
Tip
Tipo: Usage
withMaximum(maximum)
Set the maximum attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| maximum | string |
❌ | optionals field |
Retorna
Tip
Tipo: Usage
withMinimum(minimum)
Set the minimum attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| minimum | string |
❌ | optionals field |
Retorna
Tip
Tipo: Usage
withUsageUnit(unit)
Set the unit attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| unit | string |
❌ | optionals field |
Retorna
Tip
Tipo: Usage