Skip to main content

GetCommitResponse Constructors

An object defining constructors for 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.

Parameters:

versionId (required): long
The unique identifier of the document version.

commitId (required): long
The unique identifier of the commit.

objectId (required): long
The unique identifier of the document object.

createdBy (required): ClientUserInfo
Information about the user who created the commit.

createdAt (required): DateTimeOffset
The date and time when the commit was created.

message (required): string
The commit message describing the changes.

isUploaded (required): bool
A value indicating whether the commit has been uploaded.

tokenId (required): string
The security token identifier.

Sets the following properties:

  • VersionId = versionId
  • CommitId = commitId
  • ObjectId = objectId
  • CreatedBy = createdBy
  • CreatedAt = createdAt
  • Message = message
  • IsUploaded = isUploaded
  • TokenId = tokenId

GetCommitResponse()

Initializes a new instance of the GetCommitResponse class.