Class DiffResponse
Response object for obtaining list of changed files.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class DiffResponse
Properties
AddedLinesCount
Declaration
[JsonProperty(PropertyName = "addedLinesCount")]
public int? AddedLinesCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of lines added in whole difference. |
AreAllChangesIncluded
Declaration
[JsonProperty(PropertyName = "areAllChangesIncluded")]
public bool? AreAllChangesIncluded { get; set; }
Property Value
Type | Description |
---|---|
bool? | Boolean value to indicate if all changes are included in the response. |
ChangeTypeCount
Declaration
[JsonProperty(PropertyName = "changeTypeCount")]
public Dictionary<string, int> ChangeTypeCount { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, int> | Count of each type of change in difference. |
Changes
Declaration
[Required(ErrorMessage = "Changes is required.")]
[JsonProperty(PropertyName = "changes")]
public List<DiffResponseEntry> Changes { get; set; }
Property Value
Type | Description |
---|---|
List<DiffResponseEntry> | List of changes in the difference. |
Remarks
Required
CommitsAheadCount
Declaration
[JsonProperty(PropertyName = "commitsAheadCount")]
public int? CommitsAheadCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of commits source is ahead of target by. |
CommitsBehindCount
Declaration
[JsonProperty(PropertyName = "commitsBehindCount")]
public int? CommitsBehindCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of commits source is behind target by. |
CommonCommit
Declaration
[JsonProperty(PropertyName = "commonCommit")]
public string CommonCommit { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the common commit between source and target. |
DeletedLinesCount
Declaration
[JsonProperty(PropertyName = "deletedLinesCount")]
public int? DeletedLinesCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of lines deleted in whole difference. |