Class GetFileDiffRequest
Implements
Inherited Members
Namespace: Oci.DevopsService.Requests
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class GetFileDiffRequest : IOciRequestExamples
Click here to see an example of how to use GetFileDiff 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
[Required(ErrorMessage = "FilePath is required.")]
[HttpConverter(TargetEnum.Path, "filePath")]
public string FilePath { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Path to a file within a repository. | 
Remarks
Required
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