Class RepositoryBranchSummary
Branch related information.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class RepositoryBranchSummary : RepositoryRefSummary
Properties
CommitId
Declaration
[Required(ErrorMessage = "CommitId is required.")]
[JsonProperty(PropertyName = "commitId")]
public string CommitId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Commit ID pointed to by the new branch. |
Remarks
Required
LatestCommitAuthorName
Declaration
[JsonProperty(PropertyName = "latestCommitAuthorName")]
public string LatestCommitAuthorName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The author of latest commit |
PullRequestStateCounts
Declaration
[JsonProperty(PropertyName = "pullRequestStateCounts")]
public Dictionary<string, int> PullRequestStateCounts { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, int> | Counts of pull requests for this branch grouped by their state. |
TopNPullRequests
Declaration
[JsonProperty(PropertyName = "topNPullRequests")]
public List<PullRequestSummary> TopNPullRequests { get; set; }
Property Value
| Type | Description |
|---|---|
| List<PullRequestSummary> | Up to 5 pull requests associated with this branch. |