@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
24 lines • 1.05 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { Constants } from '../../Constants';
import { StringLiteralToStringLiteralArrayConverter } from '../../custom-converters/string-literal-to-string-literal-array-converter';
import { UpdateEntityCommentOrLabel } from './update-entity-comment-or-label';
/**
* @category Model V2
*/
let UpdateResourcePropertyLabel = class UpdateResourcePropertyLabel extends UpdateEntityCommentOrLabel {
constructor() {
super(Constants.ObjectProperty);
this.labels = [];
}
};
__decorate([
JsonProperty(Constants.Label, StringLiteralToStringLiteralArrayConverter),
__metadata("design:type", Array)
], UpdateResourcePropertyLabel.prototype, "labels", void 0);
UpdateResourcePropertyLabel = __decorate([
JsonObject('UpdateResourcePropertyLabel'),
__metadata("design:paramtypes", [])
], UpdateResourcePropertyLabel);
export { UpdateResourcePropertyLabel };
//# sourceMappingURL=update-resource-property-label.js.map