Class Pullrequest
java.lang.Object
se.bjurr.bitbucketcloud.gen.model.ModelObject
se.bjurr.bitbucketcloud.gen.model.Pullrequest
@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen",
date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]",
comments="Generator version: 7.14.0")
public class Pullrequest
extends ModelObject
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddParticipantsItem(Participant participantsItem) addReviewersItem(Account reviewersItem) closeSourceBranch(Boolean closeSourceBranch) A boolean flag indicating if merging the pull request closes the source branch.commentCount(Integer commentCount) The number of comments for a specific pull request. minimum: 0The ISO8601 timestamp the request was created.destination(PullrequestEndpoint destination) boolean@Valid Account@Valid Account@Min(0L) Integer@Valid PullrequestEndpointgetId()@Valid PullrequestAllOfLinksgetLinks()@Valid PullrequestAllOfMergeCommit@Valid List<@Valid Participant>@Valid PullrequestAllOfRendered@Valid PullrequestEndpointgetState()@Valid IssueAllOfContent@Min(0L) IntegergetTitle()inthashCode()The pull request's unique ID.links(PullrequestAllOfLinks links) mergeCommit(PullrequestAllOfMergeCommit mergeCommit) participants(List<Participant> participants) The list of users that are collaborating on this pull request.Explains why a pull request was declined.removeParticipantsItem(Participant participantsItem) removeReviewersItem(Account reviewersItem) rendered(PullrequestAllOfRendered rendered) The list of users that were added as reviewers on this pull request when it was created.voidvoidsetClosedBy(Account closedBy) voidsetCloseSourceBranch(Boolean closeSourceBranch) voidsetCommentCount(Integer commentCount) voidsetCreatedOn(Date createdOn) voidsetDestination(PullrequestEndpoint destination) voidvoidsetLinks(PullrequestAllOfLinks links) voidsetMergeCommit(PullrequestAllOfMergeCommit mergeCommit) voidsetParticipants(List<Participant> participants) voidvoidsetRendered(PullrequestAllOfRendered rendered) voidsetReviewers(List<Account> reviewers) voidsetSource(PullrequestEndpoint source) voidsetState(Pullrequest.StateEnum state) voidsetSummary(IssueAllOfContent summary) voidsetTaskCount(Integer taskCount) voidvoidsetUpdatedOn(Date updatedOn) source(PullrequestEndpoint source) state(Pullrequest.StateEnum state) The pull request's current status.summary(IssueAllOfContent summary) The number of open tasks for a specific pull request. minimum: 0Title of the pull request.toString()The ISO8601 timestamp the request was last updated.Methods inherited from class se.bjurr.bitbucketcloud.gen.model.ModelObject
getType, setType, type
-
Constructor Details
-
Pullrequest
public Pullrequest() -
Pullrequest
-
-
Method Details
-
state
The pull request's current status. -
getState
-
setState
-
participants
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. -
getParticipants
-
setParticipants
-
addParticipantsItem
-
removeParticipantsItem
-
closeSourceBranch
A boolean flag indicating if merging the pull request closes the source branch. -
getCloseSourceBranch
-
setCloseSourceBranch
-
links
-
getLinks
-
setLinks
-
destination
-
getDestination
-
setDestination
-
createdOn
The ISO8601 timestamp the request was created. -
getCreatedOn
-
setCreatedOn
-
reviewers
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. -
getReviewers
-
setReviewers
-
addReviewersItem
-
removeReviewersItem
-
updatedOn
The ISO8601 timestamp the request was last updated. -
getUpdatedOn
-
setUpdatedOn
-
reason
Explains why a pull request was declined. This field is only applicable to pull requests in rejected state. -
getReason
-
setReason
-
author
-
getAuthor
-
setAuthor
-
commentCount
The number of comments for a specific pull request. minimum: 0 -
getCommentCount
-
setCommentCount
-
taskCount
The number of open tasks for a specific pull request. minimum: 0 -
getTaskCount
-
setTaskCount
-
closedBy
-
getClosedBy
-
setClosedBy
-
rendered
-
getRendered
-
setRendered
-
summary
-
getSummary
-
setSummary
-
id
The pull request's unique ID. Note that pull request IDs are only unique within their associated repository. -
getId
-
setId
-
title
Title of the pull request. -
getTitle
-
setTitle
-
mergeCommit
-
getMergeCommit
-
setMergeCommit
-
source
-
getSource
-
setSource
-
equals
- Overrides:
equalsin classModelObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelObject
-
toString
- Overrides:
toStringin classModelObject
-