@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 1.21 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GroupRelation = void 0;
class GroupRelation {
constructor(data) {
let objectIDDefault = "";
this.objectID = typeof (data === null || data === void 0 ? void 0 : data.objectID) !== "undefined" ? data === null || data === void 0 ? void 0 : data.objectID : objectIDDefault;
}
static getObjectIDDefault() {
return "";
}
static getObjectIDDescription() {
return "The object ID of the annotation. **Info:** A PDF object ID consists of two numbers, where the first number selects the object's number and the second the \"generation\" of the object. The object ID shall always be unique within the context of the document and can be used to select a specific object.";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new GroupRelation(data);
}
toJson() {
return {
'objectID': this.objectID,
};
}
clone() {
return GroupRelation.fromJson(this.toJson());
}
}
exports.GroupRelation = GroupRelation;
//# sourceMappingURL=GroupRelation.js.map