# Allowed Resource Type Search Builder

Defined a search over mobile phone provider catalog

## constructor



### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **parent** | `InternalOpenGateAPI` | ❌ | Instance of our InternalOpenGateAPI |


---
## build()


Build a instance of StaticSearch 


### Retorna

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

{{% /notice %}}

### Ejemplos

```javascript
  ogapi.AllowedResourceTypeSearchBuilder().build()
```

---
## withType(type)


Sets type to search

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **type** | `string` | ❌ | type to searcg |

### Retorna

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

{{% /notice %}}

### Ejemplos

```javascript
 ogapi.AllowedResourceTypeSearchBuilder().withType('device').build()
```

---

