CreateCommitRequest Properties
An object defining properties for the CreateCommitRequest class.
SecretKey
Gets the encrypted secret key for the object being committed.
Type: string
This property contains the encrypted security key for the object that is receiving the new commit. It is read-only and works in conjunction with the DecryptedObjectSecret property to verify access to the object. The key is initialized through the constructor and remains unchanged throughout the request lifecycle.
BranchSecretKey
Gets the encrypted secret key for the branch receiving the commit.
Type: string
This property contains the encrypted security key for the branch where the commit will be created. It is read-only and works in conjunction with the DecryptedBranchSecret property to verify access to the branch. The key is initialized through the constructor and remains unchanged throughout the request lifecycle.
Length
Gets the size of the content being committed.
Type: long
This property contains the length (in bytes) of the content included in this commit. It is read-only and initialized through the constructor, providing information about the size of the changes being committed. This value helps in resource allocation and validation during the commit process.
DecryptedBranchSecret
Gets the decrypted secret information for the branch receiving the commit.
Type: DMObjectVersionSecret
This property contains the decrypted version of the BranchSecretKey, automatically populated using the DecryptData attribute. It provides secure access to the branch's decrypted security information and has a private setter to ensure controlled access to the sensitive data during the commit creation process.
DecryptedObjectSecret
Gets the decrypted secret information for the object being committed.
Type: DMObjectSecret
This property contains the decrypted version of the SecretKey, automatically populated using the DecryptData attribute. It provides secure access to the object's decrypted security information and has a private setter to ensure controlled access to the sensitive data during the commit creation process.
CreatedAt
Gets the timestamp when the commit was created.
Type: DateTimeOffset?
This property contains the optional timestamp indicating when the commit was created. It is read-only and initialized through the constructor, serving as part of the audit trail to record the exact time of the commit. When not specified, the system will use the current timestamp.
CreatedBy
Gets the ID of the user creating the commit.
This property contains the optional identifier of the user who is creating the commit. It is read-only and initialized through the constructor, serving as part of the audit trail to track who made the changes. When not specified, the system will use the current user's context.
CommitMessage
Gets the message describing the changes in this commit.
Type: string
This property contains the descriptive message that explains the changes included in this commit. It is read-only and initialized through the constructor, serving as documentation for the version history. The message helps maintain a clear audit trail of changes made to the object.