Skip to main content

DeleteContentRequest Constructors

An object defining constructors for the DeleteContentRequest class.

DeleteContentRequest()

Initializes a new instance of the DeleteContentRequest class.


DeleteContentRequest()

Initializes a new instance of the DeleteContentRequest class.

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


DeleteContentRequest(secretKey, branchSecretKey, commitMessage, reason)

Initializes a new instance of the DeleteContentRequest class with the specified security keys and messages.

Parameters:

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

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

commitMessage (required): string
The message describing the reason for the delete operation in version control.

reason (required): string
The explanation for why the content is being deleted.

This constructor initializes a new delete content request by setting the provided security keys and messages. It calls the base constructor and then assigns the parameter values to their respective properties.