UNPKG

@dasch-swiss/dsp-js

Version:
49 lines 1.46 kB
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { StringLiteral } from './string-literal'; /** * A request to create a list. * * @category Model Admin */ let CreateListRequest = class CreateListRequest { constructor() { /** * The comments attached to the enclosing object. */ this.comments = []; /** * The labels attached to the enclosing object. */ this.labels = []; /** * The name of the enclosing object. */ this.name = undefined; /** * The IRI of a project. */ this.projectIri = ''; } }; __decorate([ JsonProperty('comments', [StringLiteral]), __metadata("design:type", Array) ], CreateListRequest.prototype, "comments", void 0); __decorate([ JsonProperty('labels', [StringLiteral]), __metadata("design:type", Array) ], CreateListRequest.prototype, "labels", void 0); __decorate([ JsonProperty('name', String, true), __metadata("design:type", String) ], CreateListRequest.prototype, "name", void 0); __decorate([ JsonProperty('projectIri', String), __metadata("design:type", Object) ], CreateListRequest.prototype, "projectIri", void 0); CreateListRequest = __decorate([ JsonObject('CreateListRequest') ], CreateListRequest); export { CreateListRequest }; //# sourceMappingURL=create-list-request.js.map