Skip to main content

GetVersionListRequest Constructors

An object defining constructors for the GetVersionListRequest class.

GetVersionListRequest()

Initializes a new instance of the GetVersionListRequest class.


GetVersionListRequest(secretKey, whichUser)

Initializes a new instance of the GetVersionListRequest class with security information and user filter.

Parameters:

secretKey (required): string
The encrypted secret key for the object whose versions are being requested.

whichUser (required): string
The filter criteria for which user's versions to retrieve.

This constructor, marked with the JsonConstructor attribute for JSON deserialization support, creates a new GetVersionListRequest instance with the provided security key and user filter. It allows specifying which user's versions should be included in the results.


GetVersionListRequest(secretKey)

Initializes a new instance of the GetVersionListRequest class with security information.

Parameters:

secretKey (required): string
The encrypted secret key for the object whose versions are being requested.

This constructor creates a new GetVersionListRequest instance with the provided security key. It automatically sets the WhichUser property to "ALL", indicating that versions from all users should be retrieved.