@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
57 lines • 1.76 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { StringLiteral } from './string-literal';
/**
* A request to update a child node.
*
* @category Model Admin
*/
let UpdateChildNodeRequest = class UpdateChildNodeRequest {
constructor() {
/**
* Provides a list IRI.
*/
this.listIri = '';
/**
* The IRI of a project.
*/
this.projectIri = '';
/**
* The name of the node.
*/
this.name = undefined;
/**
* The labels attached to the enclosing object.
*/
this.labels = undefined;
/**
* The comments attached to the enclosing object.
*/
this.comments = undefined;
}
};
__decorate([
JsonProperty('listIri', String),
__metadata("design:type", Object)
], UpdateChildNodeRequest.prototype, "listIri", void 0);
__decorate([
JsonProperty('projectIri', String),
__metadata("design:type", Object)
], UpdateChildNodeRequest.prototype, "projectIri", void 0);
__decorate([
JsonProperty('name', String, true),
__metadata("design:type", String)
], UpdateChildNodeRequest.prototype, "name", void 0);
__decorate([
JsonProperty('labels', [StringLiteral], true),
__metadata("design:type", Array)
], UpdateChildNodeRequest.prototype, "labels", void 0);
__decorate([
JsonProperty('comments', [StringLiteral], true),
__metadata("design:type", Array)
], UpdateChildNodeRequest.prototype, "comments", void 0);
UpdateChildNodeRequest = __decorate([
JsonObject('UpdateChildNodeRequest')
], UpdateChildNodeRequest);
export { UpdateChildNodeRequest };
//# sourceMappingURL=update-child-node-request.js.map