@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
44 lines • 1.7 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UrlConverterOperation = void 0;
const index_1 = require("./../index");
class UrlConverterOperation {
constructor(data) {
this.billing = index_1.Billing.fromJson(data === null || data === void 0 ? void 0 : data.billing);
this.password = index_1.PdfPassword.fromJson(data === null || data === void 0 ? void 0 : data.password);
this.settings = index_1.Settings.fromJson(data === null || data === void 0 ? void 0 : data.settings);
this.urlconverter = index_1.UrlConverter.fromJson(data.urlconverter);
}
static getBillingDescription() {
return "";
}
static getPasswordDescription() {
return "";
}
static getSettingsDescription() {
return "";
}
static getUrlconverterDescription() {
return "";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new UrlConverterOperation(data);
}
toJson() {
var _a, _b, _c, _d;
return {
'billing': (_a = this.billing) === null || _a === void 0 ? void 0 : _a.toJson(),
'password': (_b = this.password) === null || _b === void 0 ? void 0 : _b.toJson(),
'settings': (_c = this.settings) === null || _c === void 0 ? void 0 : _c.toJson(),
'urlconverter': (_d = this.urlconverter) === null || _d === void 0 ? void 0 : _d.toJson(),
};
}
clone() {
return UrlConverterOperation.fromJson(this.toJson());
}
}
exports.UrlConverterOperation = UrlConverterOperation;
//# sourceMappingURL=UrlConverterOperation.js.map