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:
atnumber - optional field
Returns:
Datapoint
withFrom
function withFrom(from: number) -> 'Datapoint'Sets the from attribute
Arguments:
fromnumber - optional field
Returns:
Datapoint
withSource
function withSource(value: string) -> 'Datapoint'Sets the source attribute
Arguments:
valuestring - optional field
Returns:
Datapoint
withSourceInfo
function withSourceInfo(value: string) -> 'Datapoint'Sets the source attribute
Arguments:
valuestring - optional field
Returns:
Datapoint
withTags
function withTags(tags: Array) -> 'Datapoint'Sets the tags attribute
Arguments:
tagsArray
Returns:
Datapoint
withValue
function withValue(value: string) -> 'Datapoint'Sets the value attribute
Arguments:
valuestring - required field
Returns:
Datapoint