Skip to main content

CreateShortcutObjectsRequest Constructors

An object defining constructors for the CreateShortcutObjectsRequest class.

CreateShortcutObjectsRequest()

Initializes a new instance of the CreateShortcutObjectsRequest class.


CreateShortcutObjectsRequest(sourceSecretKeys, destinationSecretKey)

Initializes a new instance of the CreateShortcutObjectsRequest class with security keys.

Parameters:

sourceSecretKeys (required): List<string>
A list of encrypted secret keys for the source objects.

destinationSecretKey (required): string
The encrypted secret key for the destination location.

This constructor creates a new CreateShortcutObjectsRequest instance by calling the parameterized constructor with null values for createdBy and createdAt. It provides a simpler way to create shortcuts when audit information is not needed, focusing only on the security keys for source and destination objects.


CreateShortcutObjectsRequest()

Initializes a new instance of the CreateShortcutObjectsRequest class.

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


CreateShortcutObjectsRequest(sourceSecretKeys, destinationSecretKey, createdBy, createdAt)

Initializes a new instance of the CreateShortcutObjectsRequest class with security keys and audit information.

Parameters:

sourceSecretKeys (required): List<string>
A list of encrypted secret keys for the source objects.

destinationSecretKey (required): string
The encrypted secret key for the destination location.

createdBy (optional): long?
The ID of the user creating the shortcut objects.

createdAt (optional): DateTimeOffset?
The timestamp when the shortcut objects were created.

This constructor, marked with the JsonConstructor attribute for JSON deserialization support, creates a new CreateShortcutObjectsRequest instance with complete information. It initializes both the security keys and optional audit information, allowing for full tracking of the shortcut creation process.