@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
31 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.NamedDestinationGoToNamed = void 0;
class NamedDestinationGoToNamed {
constructor(data) {
let nameDefault = "";
this.name = typeof (data === null || data === void 0 ? void 0 : data.name) !== "undefined" ? data === null || data === void 0 ? void 0 : data.name : nameDefault;
}
static getNameDefault() {
return "";
}
static getNameDescription() {
return "The name of the location to which the jump will be.";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new NamedDestinationGoToNamed(data);
}
toJson() {
return {
'name': this.name,
};
}
clone() {
return NamedDestinationGoToNamed.fromJson(this.toJson());
}
}
exports.NamedDestinationGoToNamed = NamedDestinationGoToNamed;
//# sourceMappingURL=NamedDestinationGoToNamed.js.map