@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 { UpdateValue } from './update-value';
/**
* @category Model V2
*/
let UpdateIntervalValue = class UpdateIntervalValue extends UpdateValue {
constructor() {
super(Constants.IntervalValue);
this.start = 0;
this.end = 0;
}
};
__decorate([
JsonProperty(Constants.IntervalValueHasStart, DecimalConverter),
__metadata("design:type", Object)
], UpdateIntervalValue.prototype, "start", void 0);
__decorate([
JsonProperty(Constants.IntervalValueHasEnd, DecimalConverter),
__metadata("design:type", Object)
], UpdateIntervalValue.prototype, "end", void 0);
UpdateIntervalValue = __decorate([
JsonObject('UpdateIntervalValue'),
__metadata("design:paramtypes", [])
], UpdateIntervalValue);
export { UpdateIntervalValue };
//# sourceMappingURL=update-interval-value.js.map