UNPKG

@dasch-swiss/dsp-js

Version:
36 lines 1.25 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 DeleteResource = class DeleteResource { constructor() { this.id = ''; this.type = ''; this.lastModificationDate = undefined; this.deleteComment = undefined; } }; __decorate([ JsonProperty('@id', String), __metadata("design:type", Object) ], DeleteResource.prototype, "id", void 0); __decorate([ JsonProperty('@type', String), __metadata("design:type", Object) ], DeleteResource.prototype, "type", void 0); __decorate([ JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true), __metadata("design:type", String) ], DeleteResource.prototype, "lastModificationDate", void 0); __decorate([ JsonProperty(Constants.DeleteComment, String, true), __metadata("design:type", String) ], DeleteResource.prototype, "deleteComment", void 0); DeleteResource = __decorate([ JsonObject('DeleteResource') ], DeleteResource); export { DeleteResource }; //# sourceMappingURL=delete-resource.js.map