Home Manual Reference Source Test Repository
public class | source

Datapoint

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

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public
public

Sets the at attribute

public

Sets the from attribute

public

Sets the source attribute

public

Sets the source attribute

public

Sets the tags attribute

public

Sets the value attribute

Public Constructors

public constructor() source

Public Methods

public composeElement(): * source

Return:

*

public withAt(at: number): Datapoint source

Sets the at attribute

Params:

NameTypeAttributeDescription
at number

optional field

Return:

Datapoint

public withFrom(from: number): Datapoint source

Sets the from attribute

Params:

NameTypeAttributeDescription
from number

optional field

Return:

Datapoint

public withSource(value: string): Datapoint source

Sets the source attribute

Params:

NameTypeAttributeDescription
value string

optional field

Return:

Datapoint

public withSourceInfo(value: string): Datapoint source

Sets the source attribute

Params:

NameTypeAttributeDescription
value string

optional field

Return:

Datapoint

public withTags(tags: Array): Datapoint source

Sets the tags attribute

Params:

NameTypeAttributeDescription
tags Array

Return:

Datapoint

public withValue(value: string): Datapoint source

Sets the value attribute

Params:

NameTypeAttributeDescription
value string

required field

Return:

Datapoint