Class RepositoryCommit
Commit object with commit information.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class RepositoryCommit
Properties
AuthorEmail
Declaration
[JsonProperty(PropertyName = "authorEmail")]
public string AuthorEmail { get; set; }
Property Value
Type | Description |
---|---|
string | Email of the author of the repository. |
AuthorName
Declaration
[JsonProperty(PropertyName = "authorName")]
public string AuthorName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the author of the repository. |
CommitId
Declaration
[Required(ErrorMessage = "CommitId is required.")]
[JsonProperty(PropertyName = "commitId")]
public string CommitId { get; set; }
Property Value
Type | Description |
---|---|
string | Commit hash pointed to by reference name. |
Remarks
Required
CommitMessage
Declaration
[Required(ErrorMessage = "CommitMessage is required.")]
[JsonProperty(PropertyName = "commitMessage")]
public string CommitMessage { get; set; }
Property Value
Type | Description |
---|---|
string | The commit message. |
Remarks
Required
CommitterEmail
Declaration
[JsonProperty(PropertyName = "committerEmail")]
public string CommitterEmail { get; set; }
Property Value
Type | Description |
---|---|
string | Email of who creates the commit. |
CommitterName
Declaration
[JsonProperty(PropertyName = "committerName")]
public string CommitterName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of who creates the commit. |
ParentCommitIds
Declaration
[JsonProperty(PropertyName = "parentCommitIds")]
public List<string> ParentCommitIds { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of parent commit IDs of created commit. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time at which commit was created. |
TreeId
Declaration
[JsonProperty(PropertyName = "treeId")]
public string TreeId { get; set; }
Property Value
Type | Description |
---|---|
string | Tree information for the specified commit. |