Home Manual Reference Source Test Repository
public class | source

Datastream

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

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

Add a datapoint in datapoints

public

Set the feed attribute

public

Set the id attribute

Public Constructors

public constructor() source

Public Methods

public composeElement(): * source

Return:

*

public withDatapoint(datapoint: Datapoint): Datastream source

Add a datapoint in datapoints

Params:

NameTypeAttributeDescription
datapoint Datapoint

required field

Return:

Datastream

public withFeed(feed: string): Datastream source

Set the feed attribute

Params:

NameTypeAttributeDescription
feed string

optionals field

Return:

Datastream

public withId(id: string): Datastream source

Set the id attribute

Params:

NameTypeAttributeDescription
id string

required field

Return:

Datastream