@softvision/webpdf-wsclient-typescript
Version:
A simplified and optimized API client library for the webPDF server
27 lines • 756 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DocumentsBody = void 0;
class DocumentsBody {
constructor(data) {
this.filedata = data === null || data === void 0 ? void 0 : data.filedata;
}
static getFiledataDescription() {
return "The document to upload, as binary data bytes.";
}
static fromJson(data) {
if (data === undefined || data === null) {
return data;
}
return new DocumentsBody(data);
}
toJson() {
return {
'filedata': this.filedata,
};
}
clone() {
return DocumentsBody.fromJson(this.toJson());
}
}
exports.DocumentsBody = DocumentsBody;
//# sourceMappingURL=DocumentsBody.js.map