UNPKG

@dasch-swiss/dsp-js

Version:
49 lines 1.6 kB
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; import { StringLiteral } from './string-literal'; /** * A request to update a group. * * @category Model Admin */ let UpdateGroupRequest = class UpdateGroupRequest { constructor() { /** * Descriptions of a user group */ this.descriptions = undefined; /** * The name of the enclosing object. */ this.name = undefined; /** * Exists and is true if users can add themselves to the project or group. */ this.selfjoin = undefined; /** * The status of the user / group / project. It is false if the entity has been deactivated (deleted). */ this.status = undefined; } }; __decorate([ JsonProperty('descriptions', [StringLiteral], true), __metadata("design:type", Array) ], UpdateGroupRequest.prototype, "descriptions", void 0); __decorate([ JsonProperty('name', String, true), __metadata("design:type", String) ], UpdateGroupRequest.prototype, "name", void 0); __decorate([ JsonProperty('selfjoin', Boolean, true), __metadata("design:type", Boolean) ], UpdateGroupRequest.prototype, "selfjoin", void 0); __decorate([ JsonProperty('status', Boolean, true), __metadata("design:type", Boolean) ], UpdateGroupRequest.prototype, "status", void 0); UpdateGroupRequest = __decorate([ JsonObject('UpdateGroupRequest') ], UpdateGroupRequest); export { UpdateGroupRequest }; //# sourceMappingURL=update-group-request.js.map