# Device Plans

This is a base object that contains all you can do about Device plans.

## constructor


    

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **Reference** | `InternalOpenGateAPI` | ❌ | to the API object. |


---
## withFlowRate(flowRate)


Set the flowRate attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **flowRate** | `object` | ❌ | {value: number, unit: [SECONDS, MINUTES, HOURS, DAYS, MONTHS, YEARS]} |

### Retorna

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

{{% /notice %}}

---
## withIdentifier(identifier)


Set the identifier attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **identifier** | `string` | ❌ | required field |

### Retorna

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

{{% /notice %}}

---
## withName(name)


Set the name attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---

