Skip to main content

GetVersionResponse

Represents a response containing detailed information about a version or branch in the document management system.

This class extends BaseResponse to provide comprehensive information about a specific version or branch. It manages version identification, security through encrypted/decrypted keys, and metadata such as creation information and version numbers. The class implements a flexible identification system that distinguishes between branches and versions while maintaining secure access patterns.

Properties

NameDescription
SecretKeyGets the encrypted security key for this version.
IdGets or sets the unique identifier for the version or branch.
IsDefaultGets whether this is the default version of the object.
VersionGets the version number or identifier string.
CreatedAtGets the timestamp when this version was created.
CreatedByGets information about the user who created this version.
ObjectIdGets the identifier of the document management object this version belongs to.

Constructors

NameDescription
GetVersionResponse(versionId, commitId, isBranch, objectId, isDefault, createdBy, createdAt, version, tokenId)Initializes a new instance of the GetVersionResponse class with auto-generated identifier.
GetVersionResponse(id, versionId, commitId, isBranch, objectId, isDefault, createdBy, createdAt, version, tokenId, secretKey)Initializes a new instance of the GetVersionResponse class with complete version information.
GetVersionResponse()Initializes a new instance of the GetVersionResponse class.