@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ObjectKeyReplyToAnnotationEdit = void 0;
class ObjectKeyReplyToAnnotationEdit {
constructor(data) {
let idDefault = "";
this.id = typeof (data === null || data === void 0 ? void 0 : data.id) !== "undefined" ? data === null || data === void 0 ? void 0 : data.id : idDefault;
}
static getIdDefault() {
return "";
}
static getIdDescription() {
return "The object id shall be given as a String that may contain either:\n\n* The numeric object ID itself\n* The object ID followed by the generation number, separated by a space";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new ObjectKeyReplyToAnnotationEdit(data);
}
toJson() {
return {
'id': this.id,
};
}
clone() {
return ObjectKeyReplyToAnnotationEdit.fromJson(this.toJson());
}
}
exports.ObjectKeyReplyToAnnotationEdit = ObjectKeyReplyToAnnotationEdit;
//# sourceMappingURL=ObjectKeyReplyToAnnotationEdit.js.map