@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
32 lines • 877 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
/**
* A string with an optional language tag.
*
* @category Model Admin
*/
let StringLiteral = class StringLiteral {
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)
], StringLiteral.prototype, "language", void 0);
__decorate([
JsonProperty('value', String),
__metadata("design:type", Object)
], StringLiteral.prototype, "value", void 0);
StringLiteral = __decorate([
JsonObject('StringLiteral')
], StringLiteral);
export { StringLiteral };
//# sourceMappingURL=string-literal.js.map