Class FileDiffResponse
Response object for showing differences for a file between two commits.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class FileDiffResponseProperties
AreConflictsInFile
Declaration
[JsonProperty(PropertyName = "areConflictsInFile")]
public bool? AreConflictsInFile { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | Indicates whether the changed file contains conflicts. | 
Changes
Declaration
[Required(ErrorMessage = "Changes is required.")]
[JsonProperty(PropertyName = "changes")]
public List<DiffChunk> Changes { get; set; }Property Value
| Type | Description | 
|---|---|
| List<DiffChunk> | List of changed section in the file. | 
Remarks
Required
IsBinary
Declaration
[JsonProperty(PropertyName = "isBinary")]
public bool? IsBinary { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | Indicates whether the file is binary. | 
IsLarge
Declaration
[JsonProperty(PropertyName = "isLarge")]
public bool? IsLarge { get; set; }Property Value
| Type | Description | 
|---|---|
| bool? | Indicates whether the file is large. | 
NewId
Declaration
[JsonProperty(PropertyName = "newId")]
public string NewId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The ID of the changed object on the target version. | 
NewPath
Declaration
[JsonProperty(PropertyName = "newPath")]
public string NewPath { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The path on the target version to 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 base version. | 
OldPath
Declaration
[JsonProperty(PropertyName = "oldPath")]
public string OldPath { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The path on the base version to the changed object. |