@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
23 lines • 775 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { Constants } from '../../../Constants';
import { UpdateValue } from './update-value';
/**
* @category Model V2
*/
let UpdateBooleanValue = class UpdateBooleanValue extends UpdateValue {
constructor() {
super(Constants.BooleanValue);
this.bool = false;
}
};
__decorate([
JsonProperty(Constants.BooleanValueAsBoolean, Boolean),
__metadata("design:type", Object)
], UpdateBooleanValue.prototype, "bool", void 0);
UpdateBooleanValue = __decorate([
JsonObject('UpdateBooleanValue'),
__metadata("design:paramtypes", [])
], UpdateBooleanValue);
export { UpdateBooleanValue };
//# sourceMappingURL=update-boolean-value.js.map