UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

46 lines 1.28 kB
"use strict"; /* * 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.CloudAsset = void 0; /** * This class represents an asset stored in Adobe internal storage. */ class CloudAsset { /** * Construct an instance of `CloudAsset`. * * @param assetId - assetId of the asset. * @param [downloadURI] - downloadURI of the asset. */ constructor(assetId, downloadURI) { this._assetId = assetId; this._downloadURI = downloadURI; } /** * Returns the assetId of the asset. * * @returns assetId of the asset. */ get assetId() { return this._assetId; } /** * Returns the downloadURI of the asset. * * @returns downloadURI of the asset. */ get downloadURI() { return this._downloadURI; } } exports.CloudAsset = CloudAsset; //# sourceMappingURL=CloudAsset.js.map