@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
40 lines • 1.55 kB
JavaScript
;
/*
* Copyright 2024 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PDFServicesAccessibilityCheckerResponse = void 0;
const CloudAsset_1 = require("../../../io/CloudAsset");
const ObjectUtil_1 = require("../../util/ObjectUtil");
class PDFServicesAccessibilityCheckerResponse {
constructor(asset, report, errorResponse, status) {
this._status = status;
this._asset = asset;
this._report = report;
this._errorResponse = errorResponse;
}
get cloudAsset() {
if (!ObjectUtil_1.ObjectUtil.isUndefinedOrNull(this._asset)) {
return new CloudAsset_1.CloudAsset(this._asset.assetID, this._asset.downloadUri);
}
}
get report() {
if (!ObjectUtil_1.ObjectUtil.isUndefinedOrNull(this._report))
return new CloudAsset_1.CloudAsset(this._report.assetID, this._report.downloadUri);
}
get status() {
return this._status;
}
get errorResponse() {
return this._errorResponse;
}
}
exports.PDFServicesAccessibilityCheckerResponse = PDFServicesAccessibilityCheckerResponse;
//# sourceMappingURL=PDFServicesAccessibilityCheckerResponse.js.map