Skip to main content

GetDownloadUrlResponse Constructors

An object defining constructors for the GetDownloadUrlResponse class.

GetDownloadUrlResponse(downloadUrl, mimeType)

Initializes a new instance of the GetDownloadUrlResponse class with the specified download URL and MIME type.

Parameters:

downloadUrl (required): string
The temporary URL where the file can be downloaded from.

mimeType (required): string
The MIME type of the file that can be downloaded.

This constructor initializes a new response object by setting the provided download URL and MIME type. It calls the base constructor from BaseResponse to initialize common response functionality.


GetDownloadUrlResponse()

Initializes a new instance of the GetDownloadUrlResponse class.