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

Tip

Tipo: Promise


withFile(file)

Set the file attribute

Parámetros

Nombre Tipo Opcional Descripción
file string required field

Retorna

Tip

Tipo: ManufacturerMedia


withIdentifier(id)

Set the identifier attribute

Parámetros

Nombre Tipo Opcional Descripción
id string required field

Retorna

Tip

Tipo: ManufacturerMedia


withName(name)

Set the name attribute

Parámetros

Nombre Tipo Opcional Descripción
name string required field

Retorna

Tip

Tipo: ManufacturerMedia