Datastream

Datastream

Datastream Objects

class Datastream()

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

constructor
function constructor()

composeElement
function composeElement() -> '*'

Returns:

  • *

withDatapoint
function withDatapoint(datapoint: Datapoint) -> 'Datastream'

Add a datapoint in datapoints

Arguments:

  • datapoint Datapoint - required field

Returns:

  • Datastream

withFeed
function withFeed(feed: string) -> 'Datastream'

Set the feed attribute

Arguments:

  • feed string - optionals field

Returns:

  • Datastream

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

Set the id attribute

Arguments:

  • id string - required field

Returns:

  • Datastream