Class DiffResponseEntry
Entry for description of change on a file.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class DiffResponseEntry
Properties
AddedLinesCount
Declaration
[JsonProperty(PropertyName = "addedLinesCount")]
public int? AddedLinesCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of lines added in whole difference. |
AreConflictsInFile
Declaration
[JsonProperty(PropertyName = "areConflictsInFile")]
public bool? AreConflictsInFile { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether the changed file contains conflicts. |
ChangeType
Declaration
[Required(ErrorMessage = "ChangeType is required.")]
[JsonProperty(PropertyName = "changeType")]
public string ChangeType { get; set; }
Property Value
Type | Description |
---|---|
string | Type of change made to file. |
Remarks
Required
CommitId
Declaration
[JsonProperty(PropertyName = "commitId")]
public string CommitId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the commit where the change is coming from. |
DeletedLinesCount
Declaration
[JsonProperty(PropertyName = "deletedLinesCount")]
public int? DeletedLinesCount { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of lines deleted in whole difference. |
NewId
Declaration
[JsonProperty(PropertyName = "newId")]
public string NewId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the changed object on the source. |
NewPath
Declaration
[JsonProperty(PropertyName = "newPath")]
public string NewPath { get; set; }
Property Value
Type | Description |
---|---|
string | The path on the source to the changed object. |
ObjectType
Declaration
[JsonProperty(PropertyName = "objectType")]
public string ObjectType { get; set; }
Property Value
Type | Description |
---|---|
string | The type of the changed object. |
OldId
Declaration
[JsonProperty(PropertyName = "oldId")]
public string OldId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the changed object on the target. |
OldPath
Declaration
[JsonProperty(PropertyName = "oldPath")]
public string OldPath { get; set; }
Property Value
Type | Description |
---|---|
string | The path on the target to the changed object. |
Url
Declaration
[JsonProperty(PropertyName = "url")]
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string | The URL of the changed object. |