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 |
|---|---|
| ObjectId | Gets the identifier of the document management object this version belongs to. |
| Id | Gets or sets the unique identifier for the version or branch. |
| SecretKey | Gets the encrypted security key for this version. |
| 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. |
| IsDefault | Gets whether this is the default version of the object. |
Constructors
| Name | Description |
|---|---|
| GetVersionResponse() | Initializes a new instance of the GetVersionResponse class. |
| 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(versionId, commitId, isBranch, objectId, isDefault, createdBy, createdAt, version, tokenId) | Initializes a new instance of the GetVersionResponse class with auto-generated identifier. |