import ManufacturerFinder from 'opengate-js/src/manufacturers/ManufacturerFinder.js'ManufacturerFinder
Extends:
This class allow make get request to hardware manufacturers resource into Opengate North API.
Constructor Summary
| Public Constructor | ||
| public |
constructor(Reference: InternalOpenGateAPI) Constructor |
|
Method Summary
| Public Methods | ||
| public |
Download a specific manufacturer by its id. |
|
| public |
Download a specific manufacturer by its id. |
|
| public |
findMediaById(manufacturerId: string, mediaIdentifier: string): Promise Download a specific manufacturer media by its ids. |
|
| public |
findMedias(manufacturerId: string): Promise Download manufacturer medias. |
|
Public Constructors
public constructor(Reference: InternalOpenGateAPI) source
Constructor
Override:
ProvisionGenericFinder#constructorParams:
| Name | Type | Attribute | Description |
| Reference | InternalOpenGateAPI | to the API object. |
Public Methods
public findAll(): Promise source
Download a specific manufacturer by its id. This execute a GET http method
public findById(identifier: string): Promise source
Download a specific manufacturer by its id. This execute a GET http method
Params:
| Name | Type | Attribute | Description |
| identifier | string | manufacturer identifier . |