UNPKG

@dasch-swiss/dsp-js

Version:
25 lines 688 B
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { WriteValue } from '../write-value'; /** * Represents a value to be updated. * * @category Model V2 */ let UpdateValue = class UpdateValue extends WriteValue { constructor(type) { super(); this.id = ''; this.type = type; } }; __decorate([ JsonProperty('@id', String), __metadata("design:type", Object) ], UpdateValue.prototype, "id", void 0); UpdateValue = __decorate([ JsonObject('UpdateValue'), __metadata("design:paramtypes", [String]) ], UpdateValue); export { UpdateValue }; //# sourceMappingURL=update-value.js.map