@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
29 lines • 1.06 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { Constants } from '../../../Constants';
import { DecimalConverter } from '../../../custom-converters/decimal-converter';
import { CreateValue } from './create-value';
/**
* @category Model V2
*/
let CreateIntervalValue = class CreateIntervalValue extends CreateValue {
constructor() {
super(Constants.IntervalValue);
this.start = 0;
this.end = 0;
}
};
__decorate([
JsonProperty(Constants.IntervalValueHasStart, DecimalConverter),
__metadata("design:type", Object)
], CreateIntervalValue.prototype, "start", void 0);
__decorate([
JsonProperty(Constants.IntervalValueHasEnd, DecimalConverter),
__metadata("design:type", Object)
], CreateIntervalValue.prototype, "end", void 0);
CreateIntervalValue = __decorate([
JsonObject('CreateIntervalValue'),
__metadata("design:paramtypes", [])
], CreateIntervalValue);
export { CreateIntervalValue };
//# sourceMappingURL=create-interval-value.js.map