GetCommitResponse
The GetCommitResponse class represents a response object that contains information about a specific document commit, including version, creation details, and encrypted secrets.
This class encapsulates all the necessary information about a document commit, including its version, creator, creation time, and associated security information. It inherits from BaseResponse and implements encryption for sensitive data through attributes.
Properties
| Name | Description |
|---|---|
| ObjectId | Gets the unique identifier of the document object. |
| VersionId | Gets the unique identifier of the document version. |
| SecretKey | Gets the encrypted secret key used for secure operations. |
| CommitId | Gets the unique identifier of the commit. |
| IsUploaded | Gets a value indicating whether the commit has been successfully uploaded. |
| Message | Gets the commit message associated with this version. |
| TokenId | Gets the token identifier used for security purposes. |
| CreatedAt | Gets the date and time when the commit was created. |
| CreatedBy | Gets information about the user who created the commit. |
| DecryptedSecret | Gets a new instance of DMObjectVersionSecret containing the decrypted security information. |
Constructors
| Name | Description |
|---|---|
| GetCommitResponse() | Initializes a new instance of the GetCommitResponse class. |
| GetCommitResponse(versionId, commitId, objectId, createdBy, createdAt, message, isUploaded, tokenId) | Initializes a new instance of the GetCommitResponse class with the specified commit information. |