bitbucket-api-client-lib

Pullrequest

Properties

Name | Type | Description | Notes ———— | ————- | ————- | ————- links | PullrequestLinks | | [optional] id | Integer | The pull request's unique ID. Note that pull request IDs are only unique within their associated repository. | [optional] title | String | Title of the pull request. | [optional] rendered | PullrequestRendered | | [optional] summary | IssueContent | | [optional] state | StateEnum | The pull request's current status. | [optional] author | Account | | [optional] source | PullrequestEndpoint | | [optional] destination | PullrequestEndpoint | | [optional] mergeCommit | PullrequestMergeCommit | | [optional] commentCount | Integer | The number of comments for a specific pull request. | [optional] taskCount | Integer | The number of open tasks for a specific pull request. | [optional] closeSourceBranch | Boolean | A boolean flag indicating if merging the pull request closes the source branch. | [optional] closedBy | Account | | [optional] reason | String | Explains why a pull request was declined. This field is only applicable to pull requests in rejected state. | [optional] createdOn | OffsetDateTime | The ISO8601 timestamp the request was created. | [optional] updatedOn | OffsetDateTime | The ISO8601 timestamp the request was last updated. | [optional] reviewers | List<Account> | The list of users that were added as reviewers on this pull request when it was created. For performance reasons, the API only includes this list on a pull request's `self` URL. | [optional] participants | List<Participant> | The list of users that are collaborating on this pull request. Collaborators are user that: * are added to the pull request as a reviewer (part of the reviewers list) * are not explicit reviewers, but have commented on the pull request * are not explicit reviewers, but have approved the pull request Each user is wrapped in an object that indicates the user's role and whether they have approved the pull request. For performance reasons, the API only returns this list when an API requests a pull request by id. | [optional]

Enum: StateEnum

Name | Value —- | —– MERGED | "MERGED" SUPERSEDED | "SUPERSEDED" OPEN | "OPEN" DECLINED | "DECLINED"