@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
57 lines • 1.75 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.AutotagPDFResult = void 0;
/**
* This class encapsulates the result of {@link AutotagPDFJob}.
*/
class AutotagPDFResult {
/**
* Constructs a new `AutotagPDFResult` instance with the tagged PDF asset and report asset.
*
* @param [taggedPDF] - The tagged PDF asset
* @param [report] - The report asset
* @param [resource] - The zipped asset associated with the {@link AutotagPDFJob} result
*/
constructor(taggedPDF, report, resource) {
this._taggedPDF = taggedPDF;
this._report = report;
this._resource = resource;
}
/**
* Returns tagged PDF asset, if an internal asset was used as input PDF.
*
* @returns {@link Asset}
*/
get taggedPDF() {
return this._taggedPDF;
}
/**
* Returns report asset, if an internal asset was used as input PDF.
*
* @returns {@link Asset}
*/
get report() {
return this._report;
}
/**
* Returns the zipped asset associated with the {@link AutotagPDFJob} result,
* if an external asset was used as input PDF.
*
* @returns {@link Asset}
*/
get resource() {
return this._resource;
}
}
exports.AutotagPDFResult = AutotagPDFResult;
//# sourceMappingURL=AutotagPDFResult.js.map