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 |
---|---|
SecretKey | Gets the encrypted secret key used for secure operations. |
TokenId | Gets the token identifier used for security purposes. |
DecryptedSecret | Gets a new instance of DMObjectVersionSecret containing the decrypted security information. |
VersionId | Gets the unique identifier of the document version. |
Message | Gets the commit message associated with this version. |
CreatedAt | Gets the date and time when the commit was created. |
CreatedBy | Gets information about the user who created the commit. |
ObjectId | Gets the unique identifier of the document object. |
IsUploaded | Gets a value indicating whether the commit has been successfully uploaded. |
CommitId | Gets the unique identifier of the commit. |
Constructors
Name | Description |
---|---|
GetCommitResponse(versionId, commitId, objectId, createdBy, createdAt, message, isUploaded, tokenId) | Initializes a new instance of the GetCommitResponse class with the specified commit information. |
GetCommitResponse() | Initializes a new instance of the GetCommitResponse class. |