Show / Hide Table of Contents

Class DiffSummary

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

Inheritance
object
DiffSummary
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 DiffSummary

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

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}

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.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

In this article
Back to top