@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NamedActionExecuteNamed = void 0;
class NamedActionExecuteNamed {
constructor(data) {
let namedOperationDefault = "";
this.namedOperation = typeof (data === null || data === void 0 ? void 0 : data.namedOperation) !== "undefined" ? data === null || data === void 0 ? void 0 : data.namedOperation : namedOperationDefault;
}
static getNamedOperationDefault() {
return "";
}
static getNamedOperationDescription() {
return "The name of the action that should be run. The following are standard names that any reader application should know:\n\n* NextPage = Jumps to the next page\n* PrevPage = Jumps to the previous page\n* FirstPage = Jump to the first page\n* LastPage = Jump to the last page";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new NamedActionExecuteNamed(data);
}
toJson() {
return {
'namedOperation': this.namedOperation,
};
}
clone() {
return NamedActionExecuteNamed.fromJson(this.toJson());
}
}
exports.NamedActionExecuteNamed = NamedActionExecuteNamed;
//# sourceMappingURL=NamedActionExecuteNamed.js.map