Manufacturer Media
ManufacturerMedia
ManufacturerMedia Objects
class ManufacturerMedia()This is a base object that contains all you can do about ManufacturerMedia.
constructor
function constructor()Constructor
Arguments:
ReferenceInternalOpenGateAPI - to the API object.
create
function create(rawFile: File) -> 'Promise'This invoke a request to OpenGate North API and the callback is managed by promises This method create an element deploymentElement
Arguments:
rawFileFile - this File is the deployment element
Returns:
Promise
update
function update()withFile
function withFile(file: string) -> 'ManufacturerMedia'Set the file attribute
Arguments:
filestring - required field
Returns:
ManufacturerMedia
withIdentifier
function withIdentifier(id: string) -> 'ManufacturerMedia'Set the identifier attribute
Arguments:
idstring - required field
Returns:
ManufacturerMedia
withName
function withName(name: string) -> 'ManufacturerMedia'Set the name attribute
Arguments:
namestring - required field
Returns:
ManufacturerMedia