UNPKG

@dasch-swiss/dsp-js

Version:
46 lines 1.77 kB
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { Constants } from '../../Constants'; import { DateTimeStampConverter } from '../../custom-converters/date-time-stamp-converter'; /** * @category Model V2 */ let UpdateResourceMetadata = class UpdateResourceMetadata { constructor() { this.id = ''; this.type = ''; this.lastModificationDate = undefined; this.label = undefined; this.hasPermissions = undefined; this.newModificationDate = undefined; } }; __decorate([ JsonProperty('@id', String), __metadata("design:type", Object) ], UpdateResourceMetadata.prototype, "id", void 0); __decorate([ JsonProperty('@type', String), __metadata("design:type", Object) ], UpdateResourceMetadata.prototype, "type", void 0); __decorate([ JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true), __metadata("design:type", String) ], UpdateResourceMetadata.prototype, "lastModificationDate", void 0); __decorate([ JsonProperty(Constants.Label, String, true), __metadata("design:type", String) ], UpdateResourceMetadata.prototype, "label", void 0); __decorate([ JsonProperty(Constants.HasPermissions, String, true), __metadata("design:type", String) ], UpdateResourceMetadata.prototype, "hasPermissions", void 0); __decorate([ JsonProperty(Constants.NewModificationDate, DateTimeStampConverter, true), __metadata("design:type", String) ], UpdateResourceMetadata.prototype, "newModificationDate", void 0); UpdateResourceMetadata = __decorate([ JsonObject('UpdateResourceMetadata') ], UpdateResourceMetadata); export { UpdateResourceMetadata }; //# sourceMappingURL=update-resource-metadata.js.map