Skip to main content

RenameObjectRequest Constructors

An object defining constructors for the RenameObjectRequest class.

RenameObjectRequest()

Initializes a new instance of the RenameObjectRequest class.


RenameObjectRequest()

Initializes a new instance of the RenameObjectRequest class.

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


RenameObjectRequest(objectkey, versionSecretKey, objectSecret)

Initializes a new instance of the RenameObjectRequest class with the specified security information.

Parameters:

objectkey (required): string
The encrypted key for the object to be renamed.

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

objectSecret (required): DMObjectSecret
The decrypted secret information for the object.

This constructor creates a new RenameObjectRequest instance by calling the base constructor and initializing the security-related properties. The multilingual name and description properties can be set after construction.