UNPKG

@dasch-swiss/dsp-js

Version:
48 lines 1.23 kB
import { __decorate, __metadata } from "tslib"; import { JsonObject, JsonProperty } from 'json2typescript'; /** * Represents Knora's state of health. * * @category Model System */ let HealthResponse = class HealthResponse { constructor() { /** * Message */ this.message = ''; /** * Name */ this.name = ''; /** * Severity */ this.severity = ''; /** * Status */ this.status = false; } }; __decorate([ JsonProperty('message', String), __metadata("design:type", Object) ], HealthResponse.prototype, "message", void 0); __decorate([ JsonProperty('name', String), __metadata("design:type", Object) ], HealthResponse.prototype, "name", void 0); __decorate([ JsonProperty('severity', String), __metadata("design:type", Object) ], HealthResponse.prototype, "severity", void 0); __decorate([ JsonProperty('status', Boolean), __metadata("design:type", Object) ], HealthResponse.prototype, "status", void 0); HealthResponse = __decorate([ JsonObject('HealthResponse') ], HealthResponse); export { HealthResponse }; //# sourceMappingURL=health-response.js.map