Show / Hide Table of Contents

Class ListPullRequestsRequest

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

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

Properties

CompartmentId

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

The OCID of the compartment in which to list resources.

CreatedBy

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

PullRequest Created By

DestinationBranch

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

PullRequest Target Branch

DisplayName

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

A filter to return only resources that match the entire display name given.

Id

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

Unique identifier or OCID for listing a single resource by ID.

LifecycleDetails

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleDetails")]
public PullRequest.LifecycleDetailsEnum? LifecycleDetails { get; set; }
Property Value
Type Description
PullRequest.LifecycleDetailsEnum?

A filter to return only pull requests that match the given lifecycle state.

LifecycleState

Declaration
[HttpConverter(TargetEnum.Query, "lifecycleState")]
public PullRequest.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
PullRequest.LifecycleStateEnum?

A filter to return only pull requests that match the given lifecycle state.

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.

Page

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

The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.

RepositoryId

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

The OCID of the repository in which to list resources.

ReviewerPrincipalId

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

PullRequest Reviewer Id

SortBy

Declaration
[HttpConverter(TargetEnum.Query, "sortBy")]
public ListPullRequestsRequest.SortByEnum? SortBy { get; set; }
Property Value
Type Description
ListPullRequestsRequest.SortByEnum?

The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.

SortOrder

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

The sort order to use. Use either ascending or descending.

SourceBranch

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

PullRequest Source Branch.

SourceRepositoryId

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

PullRequest Source Repository Id

Implements

IOciRequest
In this article
Back to top