Skip to main content

DeleteObjectRequest Constructors

An object defining constructors for the DeleteObjectRequest class.

DeleteObjectRequest()

Initializes a new instance of the DeleteObjectRequest class.


DeleteObjectRequest()

Initializes a new instance of the DeleteObjectRequest class.

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


DeleteObjectRequest(secretKey)

Initializes a new instance of the DeleteObjectRequest class with the specified security key.

Parameters:

secretKey (required): string
The encrypted secret key for the object to be deleted.

This constructor creates a new DeleteObjectRequest instance by calling the base constructor and initializing the SecretKey property. The DecryptedSecret property will be automatically populated through the DecryptData attribute, ensuring secure access verification during the deletion process.