Subscriber

Subscriber

Subscriber Objects

class Subscriber()

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

constructor
function constructor()

composeElement
function composeElement() -> '*'

Returns:

  • *

withHardware
function withHardware(hardware: Hardware) -> 'Subscriber'

Set the hardware attribute

Arguments:

  • hardware Hardware - optionals field

Returns:

  • Subscriber

withId
function withId(id: string) -> 'Subscriber'

Set the id attribute

Arguments:

  • id string - optional field

Returns:

  • Subscriber

withName
function withName(name: string) -> 'Subscriber'

Set the name attribute

Arguments:

  • name string - optional field

Returns:

  • Subscriber

withType
function withType(type: string) -> 'Subscriber'

Set the type attribute

Arguments:

  • type string - optional field

Returns:

  • Subscriber