Skip to main content

GetDownloadUrlRequest Constructors

An object defining constructors for the GetDownloadUrlRequest class.

GetDownloadUrlRequest()

Initializes a new instance of the GetDownloadUrlRequest class.


GetDownloadUrlRequest(secretKey, versionSecretKey, fileName, addRecent, path)

Initializes a new instance of the GetDownloadUrlRequest class with the specified security keys and file information.

Parameters:

secretKey (required): string
The encrypted secret key used for object security.

versionSecretKey (required): string
The encrypted secret key for version security.

fileName (required): string
The name of the file to be downloaded.

addRecent (optional): bool
Whether to add the file to the recent items list. Default is true.

path (optional): string
The path of the file in the document management system. Default is an empty string.

This constructor initializes a new request object by setting the provided security keys, file information, and options. The security keys will be automatically decrypted when needed using the DecryptData attribute.