@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
36 lines • 1.21 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { Constants } from '../../Constants';
import { IdConverter } from '../../custom-converters/id-converter';
/**
* @category Model V2
*/
let CreateOntology = class CreateOntology {
constructor() {
this.label = '';
this.comment = undefined;
this.attachedToProject = '';
this.name = '';
}
};
__decorate([
JsonProperty(Constants.Label, String),
__metadata("design:type", Object)
], CreateOntology.prototype, "label", void 0);
__decorate([
JsonProperty(Constants.Comment, String, true),
__metadata("design:type", String)
], CreateOntology.prototype, "comment", void 0);
__decorate([
JsonProperty(Constants.AttachedToProject, IdConverter),
__metadata("design:type", Object)
], CreateOntology.prototype, "attachedToProject", void 0);
__decorate([
JsonProperty(Constants.OntologyName, String),
__metadata("design:type", Object)
], CreateOntology.prototype, "name", void 0);
CreateOntology = __decorate([
JsonObject('CreateOntology')
], CreateOntology);
export { CreateOntology };
//# sourceMappingURL=create-ontology.js.map