@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
29 lines • 932 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
/**
* @category Internal
*/
let UpdateEntityCommentOrLabel = class UpdateEntityCommentOrLabel {
constructor(type) {
this.id = '';
/**
* Type will be assigned on construction.
*/
this.type = '';
this.type = type;
}
};
__decorate([
JsonProperty('@id', String),
__metadata("design:type", Object)
], UpdateEntityCommentOrLabel.prototype, "id", void 0);
__decorate([
JsonProperty('@type', String),
__metadata("design:type", String)
], UpdateEntityCommentOrLabel.prototype, "type", void 0);
UpdateEntityCommentOrLabel = __decorate([
JsonObject('UpdateEntityCommentOrLabel'),
__metadata("design:paramtypes", [String])
], UpdateEntityCommentOrLabel);
export { UpdateEntityCommentOrLabel };
//# sourceMappingURL=update-entity-comment-or-label.js.map