# Organization Plans

This is a base object that contains all you can do about Organizations plan.

## 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:** `OrganizationPlans`
<br>

{{% /notice %}}

---
## withMaxDeviceAmount(maxDeviceAmount)


Set the maxDeviceAmount attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **maxDeviceAmount** | `object` | ❌ | optional and greater than 0 |

### Retorna

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

{{% /notice %}}

---
## withMaxStorageLifeTime(maxStorageLifeTime)


Set the maxStorageLifeTime attribute

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **maxStorageLifeTime** | `object` | ❌ | required field: {total: number, period: [SECONDS, MINUTES, HOURS, DAYS, MONTHS, YEARS]} |

### Retorna

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

{{% /notice %}}

---
## withName(name)


Set the name attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---

