Show / Hide Table of Contents

Class PullRequestFileChangeSummary

Entry for description of change on a file.

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

Properties

AddedLinesCount

Declaration
[JsonProperty(PropertyName = "addedLinesCount")]
public int? AddedLinesCount { get; set; }
Property Value
Type Description
int?

The number of lines added in whole difference.

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.

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"}}

DeletedLinesCount

Declaration
[JsonProperty(PropertyName = "deletedLinesCount")]
public int? DeletedLinesCount { get; set; }
Property Value
Type Description
int?

The number of lines deleted in whole difference.

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"}

HasConflicts

Declaration
[JsonProperty(PropertyName = "hasConflicts")]
public bool? HasConflicts { get; set; }
Property Value
Type Description
bool?

Indicates whether the changed file contains conflicts.

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.

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