Datapoint

Datapoint

Datapoint Objects

class Datapoint()

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

constructor
function constructor()

composeElement
function composeElement() -> '*'

Returns:

  • *

withAt
function withAt(at: number) -> 'Datapoint'

Sets the at attribute

Arguments:

  • at number - optional field

Returns:

  • Datapoint

withFrom
function withFrom(from: number) -> 'Datapoint'

Sets the from attribute

Arguments:

  • from number - optional field

Returns:

  • Datapoint

withSource
function withSource(value: string) -> 'Datapoint'

Sets the source attribute

Arguments:

  • value string - optional field

Returns:

  • Datapoint

withSourceInfo
function withSourceInfo(value: string) -> 'Datapoint'

Sets the source attribute

Arguments:

  • value string - optional field

Returns:

  • Datapoint

withTags
function withTags(tags: Array) -> 'Datapoint'

Sets the tags attribute

Arguments:

  • tags Array

Returns:

  • Datapoint

withValue
function withValue(value: string) -> 'Datapoint'

Sets the value attribute

Arguments:

  • value string - required field

Returns:

  • Datapoint