# Manufacturer Media

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

## constructor


Constructor

### Parámetros

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


---
## create(rawFile)


This invoke a request to OpenGate North API and the callback is managed by promises
This method create an element deploymentElement

### Parámetros

| Nombre | Tipo | Opcional | Descripción |
| :--- | :--- | :---: | :--- |
| **rawFile** | `File` | ❌ | this File is the deployment element |

### Retorna

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

{{% /notice %}}

---
## withFile(file)


Set the file attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withIdentifier(id)


Set the identifier attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---
## withName(name)


Set the name attribute

### Parámetros

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

### Retorna

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

{{% /notice %}}

---

