@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
48 lines • 1.36 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
/**
* A group of Knora users.
*
* @category Model Admin
*/
let Group = class Group {
constructor() {
/**
* A description of a user group
*/
this.description = undefined;
/**
* The name of the enclosing object.
*/
this.name = '';
/**
* Exists and is true if users can add themselves to the project or group.
*/
this.selfjoin = false;
/**
* The status of the user / group / project. It is false if the entity has been deactivated (deleted).
*/
this.status = undefined;
}
};
__decorate([
JsonProperty('description', String, true),
__metadata("design:type", String)
], Group.prototype, "description", void 0);
__decorate([
JsonProperty('name', String),
__metadata("design:type", Object)
], Group.prototype, "name", void 0);
__decorate([
JsonProperty('selfjoin', Boolean),
__metadata("design:type", Object)
], Group.prototype, "selfjoin", void 0);
__decorate([
JsonProperty('status', Boolean, true),
__metadata("design:type", Boolean)
], Group.prototype, "status", void 0);
Group = __decorate([
JsonObject('Group')
], Group);
export { Group };
//# sourceMappingURL=group.js.map