Model Finder

ModelFinder

ModelFinder Objects

class ModelFinder()

This class allow make get request to hardware models resource into Opengate North API.

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

findByOrganizationAndManufacturerAndId
function findByOrganizationAndManufacturerAndId(organization: string,manufacturer: string,identifier: string) -> 'Promise'

Download a specific model by its id. This execute a GET http method

Arguments:

  • organization string - model organization .
  • manufacturer string - model manufacturer .
  • identifier string - model name .

Returns:

  • Promise