Skip to main content

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

NameDescription
SecretKeyGets the encrypted secret key used for secure operations.
TokenIdGets the token identifier used for security purposes.
DecryptedSecretGets a new instance of DMObjectVersionSecret containing the decrypted security information.
VersionIdGets the unique identifier of the document version.
MessageGets the commit message associated with this version.
CreatedAtGets the date and time when the commit was created.
CreatedByGets information about the user who created the commit.
ObjectIdGets the unique identifier of the document object.
IsUploadedGets a value indicating whether the commit has been successfully uploaded.
CommitIdGets the unique identifier of the commit.

Constructors

NameDescription
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.