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:
hardwareHardware - optionals field
Returns:
Subscriber
withId
function withId(id: string) -> 'Subscriber'Set the id attribute
Arguments:
idstring - optional field
Returns:
Subscriber
withName
function withName(name: string) -> 'Subscriber'Set the name attribute
Arguments:
namestring - optional field
Returns:
Subscriber
withType
function withType(type: string) -> 'Subscriber'Set the type attribute
Arguments:
typestring - optional field
Returns:
Subscriber