@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
73 lines • 2.38 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { StringLiteral } from './string-literal';
/**
* A request to update a project.
*
* @category Model Admin
*/
let UpdateProjectRequest = class UpdateProjectRequest {
constructor() {
/**
* Project keywords.
*/
this.keywords = undefined;
/**
* The path to the projects's logo.
*/
this.logo = undefined;
/**
* The longname of a Knora project.
*/
this.longname = undefined;
/**
* A description of a project.
*/
this.description = undefined;
/**
* Exists and is true if users can add themselves to the project or group.
*/
this.selfjoin = undefined;
/**
* The unique shortname of a Knora project.
*/
this.shortname = undefined;
/**
* The status of the user / group / project. It is false if the entity has been deactivated (deleted).
*/
this.status = undefined;
}
};
__decorate([
JsonProperty('keywords', [String], true),
__metadata("design:type", Array)
], UpdateProjectRequest.prototype, "keywords", void 0);
__decorate([
JsonProperty('logo', String, true),
__metadata("design:type", String)
], UpdateProjectRequest.prototype, "logo", void 0);
__decorate([
JsonProperty('longname', String, true),
__metadata("design:type", String)
], UpdateProjectRequest.prototype, "longname", void 0);
__decorate([
JsonProperty('description', [StringLiteral], true),
__metadata("design:type", Array)
], UpdateProjectRequest.prototype, "description", void 0);
__decorate([
JsonProperty('selfjoin', Boolean, true),
__metadata("design:type", Boolean)
], UpdateProjectRequest.prototype, "selfjoin", void 0);
__decorate([
JsonProperty('shortname', String, true),
__metadata("design:type", String)
], UpdateProjectRequest.prototype, "shortname", void 0);
__decorate([
JsonProperty('status', Boolean, true),
__metadata("design:type", Boolean)
], UpdateProjectRequest.prototype, "status", void 0);
UpdateProjectRequest = __decorate([
JsonObject('UpdateProjectRequest')
], UpdateProjectRequest);
export { UpdateProjectRequest };
//# sourceMappingURL=update-project-request.js.map