Show / Hide Table of Contents

Class FileDiffResponse

Response object for showing differences for a file between two commits.

Inheritance
object
FileDiffResponse
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class FileDiffResponse

Properties

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.

In this article
Back to top