Skip to main content

DeleteFilesRequest Constructors

An object defining constructors for the DeleteFilesRequest class.

DeleteFilesRequest()

Initializes a new instance of the DeleteFilesRequest class.


DeleteFilesRequest()

Initializes a new instance of the DeleteFilesRequest class.

Provides a default constructor for creating instances of the DeleteFilesRequest class.


DeleteFilesRequest(requests, reason)

Initializes a new instance of the DeleteFilesRequest class with the specified deletion requests and common reason.

Parameters:

requests (required): List<DeleteFileRequest>
The collection of file deletion requests to be processed.

reason (required): string
The common reason for deleting the files.

This constructor creates a new DeleteFilesRequest instance by calling the base constructor and initializing both the collection of deletion requests and the shared reason for the deletion operation.