Class GetRepoFileLinesRequest
Implements
Inherited Members
Namespace: Oci.DevopsService.Requests
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class GetRepoFileLinesRequest : IOciRequest
Examples
Click here to see an example of how to use GetRepoFileLines request.
Properties
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. |
Limit
Declaration
[HttpConverter(TargetEnum.Query, "limit")]
public int? Limit { get; set; }
Property Value
Type | Description |
---|---|
int? | The maximum number of items to return. |
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
Revision
Declaration
[Required(ErrorMessage = "Revision is required.")]
[HttpConverter(TargetEnum.Query, "revision")]
public string Revision { get; set; }
Property Value
Type | Description |
---|---|
string | Retrieve file lines from specific revision. |
Remarks
Required
StartLineNumber
Declaration
[HttpConverter(TargetEnum.Query, "startLineNumber")]
public int? StartLineNumber { get; set; }
Property Value
Type | Description |
---|---|
int? | Line number from where to start returning file lines. |