@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
32 lines • 895 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
/**
* A string with an optional language tag.
*
* @category Model V2
*/
let StringLiteralV2 = class StringLiteralV2 {
constructor() {
/**
* The language of a string literal.
*/
this.language = undefined;
/**
* The value of a string literal.
*/
this.value = '';
}
};
__decorate([
JsonProperty('@language', String, true),
__metadata("design:type", String)
], StringLiteralV2.prototype, "language", void 0);
__decorate([
JsonProperty('@value', String),
__metadata("design:type", Object)
], StringLiteralV2.prototype, "value", void 0);
StringLiteralV2 = __decorate([
JsonObject('StringLiteralV2')
], StringLiteralV2);
export { StringLiteralV2 };
//# sourceMappingURL=string-literal-v2.js.map