Usage
Datapoints
Initialize a Datapoint, either empty, or with a type or format:
const dp1 = new Datapoint();
const dp2 = new Datapoint('sample-type');
const dp3 = new Datapoint('sample-type', 'string');
Set fields in a Datapoint
const dp1 = new Datapoint();
dp1.setType('sample-type');
dp1.setFormat('string');
