@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
23 lines • 794 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { Constants } from '../../../Constants';
import { DecimalConverter } from '../../../custom-converters/decimal-converter';
import { ReadValue } from './read-value';
/**
* @category Model V2
*/
let ReadDecimalValue = class ReadDecimalValue extends ReadValue {
constructor() {
super(...arguments);
this.decimal = 0;
}
};
__decorate([
JsonProperty(Constants.DecimalValueAsDecimal, DecimalConverter),
__metadata("design:type", Object)
], ReadDecimalValue.prototype, "decimal", void 0);
ReadDecimalValue = __decorate([
JsonObject('ReadDecimalValue')
], ReadDecimalValue);
export { ReadDecimalValue };
//# sourceMappingURL=read-decimal-value.js.map