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
Name | Description |
---|---|
SecretKey | Gets the encrypted security key for this version. |
Id | Gets or sets the unique identifier for the version or branch. |
IsDefault | Gets whether this is the default version of the object. |
Version | Gets the version number or identifier string. |
CreatedAt | Gets the timestamp when this version was created. |
CreatedBy | Gets information about the user who created this version. |
ObjectId | Gets the identifier of the document management object this version belongs to. |
Constructors
Name | Description |
---|---|
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. |