Show / Hide Table of Contents

Class GetRepoFileDiffRequest

Inheritance
object
GetRepoFileDiffRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DevopsService.Requests
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class GetRepoFileDiffRequest : IOciRequest
Examples

Click here to see an example of how to use GetRepoFileDiff request.

Properties

BaseVersion

Declaration
[Required(ErrorMessage = "BaseVersion is required.")]
[HttpConverter(TargetEnum.Query, "baseVersion")]
public string BaseVersion { get; set; }
Property Value
Type Description
string

The branch to compare changes against.

Remarks

Required

FilePath

Declaration
[HttpConverter(TargetEnum.Query, "filePath")]
public string FilePath { get; set; }
Property Value
Type Description
string

A filter to return only commits that affect any of the specified paths.

IsComparisonFromMergeBase

Declaration
[HttpConverter(TargetEnum.Query, "isComparisonFromMergeBase")]
public bool? IsComparisonFromMergeBase { get; set; }
Property Value
Type Description
bool?

Boolean to indicate whether to use merge base or most recent revision.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.

RepositoryId

Declaration
[Required(ErrorMessage = "RepositoryId is required.")]
[HttpConverter(TargetEnum.Path, "repositoryId")]
public string RepositoryId { get; set; }
Property Value
Type Description
string

Unique repository identifier.

Remarks

Required

TargetVersion

Declaration
[Required(ErrorMessage = "TargetVersion is required.")]
[HttpConverter(TargetEnum.Query, "targetVersion")]
public string TargetVersion { get; set; }
Property Value
Type Description
string

The branch where changes are coming from.

Remarks

Required

Implements

IOciRequest
In this article
Back to top