Show / Hide Table of Contents

Class GetCommitDiffRequest

Inheritance
object
GetCommitDiffRequest
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 GetCommitDiffRequest : IOciRequest
Examples

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

Properties

BaseVersion

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

The commit or reference name to compare changes against. If base version is not provided, the difference goes against an empty tree.

IsComparisonFromMergeBase

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

Boolean value 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

TargetRepositoryId

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

The target repository identifier

TargetVersion

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

The commit or reference name that represents the newer changes against the base version.

Remarks

Required

Implements

IOciRequest
In this article
Back to top