Class GetRepositoryFileLinesRequest
Implements
Inherited Members
Namespace: Oci.DevopsService.Requests
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class GetRepositoryFileLinesRequest : IOciRequestExamples
Click here to see an example of how to use GetRepositoryFileLines request.
Properties
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
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. |