Hardware

Hardware

Hardware Objects

class Hardware()

This is a base object that allows the user to create a Datapoint.

constructor
function constructor()

composeElement
function composeElement() -> '*'

Returns:

  • *

withClockDate
function withClockDate(clockDate: string) -> 'Hardware'

Set the clockDate attribute

Arguments:

  • clockDate string

Returns:

  • Hardware

withManufacturerName
function withManufacturerName(manufacturerName: string) -> 'Hardware'

Set the manufacturerName attribute

Arguments:

  • manufacturerName string

Returns:

  • Hardware

withManufacturerOui
function withManufacturerOui(manufacturerOui: string) -> 'Hardware'

Set the manufacturerOui attribute

Arguments:

  • manufacturerOui string

Returns:

  • Hardware

withModelName
function withModelName(modelName: string) -> 'Hardware'

Set the modelName attribute

Arguments:

  • modelName string

Returns:

  • Hardware

withModelVersion
function withModelVersion(modelVersion: string) -> 'Hardware'

Set the modelVersion attribute

Arguments:

  • modelVersion string

Returns:

  • Hardware

withSerialnumber
function withSerialnumber(serialnumber: string) -> 'Hardware'

Set the serialnumber attribute

Arguments:

  • serialnumber string

Returns:

  • Hardware