@JsonSurrogate public class

RestPullRequest

extends RestLinkedMapEntity
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ java.util.LinkedHashMap<K, V>
         ↳ com.atlassian.bitbucket.rest.RestMapEntity
           ↳ com.atlassian.bitbucket.rest.RestLinkedMapEntity
             ↳ com.atlassian.bitbucket.rest.pull.RestPullRequest

Summary

Constants
String AUTHOR
String CLOSED
String CLOSED_DATE
String CREATED_DATE
String DESCRIPTION
String DESCRIPTION_AS_HTML
String FROM_REF
String ID
String LOCKED
String OPEN
String PARTICIPANTS
String REVIEWERS
String STATE
String TITLE
String TO_REF
String UPDATED_DATE
String VERSION
[Expand]
Inherited Constants
From class com.atlassian.bitbucket.rest.RestLinkedMapEntity
Fields
public static final RestPage<RestPullRequest> PAGE_EXAMPLE
public static final RestPullRequest REQUEST_EXAMPLE
public static final RestPullRequest REQUEST_EXAMPLE_UPDATE
public static final RestPullRequest RESPONSE_EXAMPLE
public static final RestPullRequest RESPONSE_EXAMPLE_BRAND_NEW
public static final RestPullRequest RESPONSE_EXAMPLE_MERGED
public static final Function<PullRequestRestPullRequest> REST_TRANSFORM
Public Constructors
RestPullRequest()
RestPullRequest(PullRequest pullRequest)
Public Methods
String getDescription()
RestPullRequestRef getFromRef()
long getId()
Set<RestPullRequestParticipant> getReviewers()
String getTitle()
RestPullRequestRef getToRef()
int getVersion()
boolean hasAuthor()
boolean hasDescription()
boolean hasParticipants()
boolean hasReviewers()
boolean hasTitle()
boolean hasVersion()
void setHtmlDescription(String html)
@Nullable static RestPullRequest valueOf(Object value)
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.rest.RestLinkedMapEntity
From class com.atlassian.bitbucket.rest.RestMapEntity
From class java.util.LinkedHashMap
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Constants

public static final String AUTHOR

Constant Value: "author"

public static final String CLOSED

Constant Value: "closed"

public static final String CLOSED_DATE

Constant Value: "closedDate"

public static final String CREATED_DATE

Constant Value: "createdDate"

public static final String DESCRIPTION

Constant Value: "description"

public static final String DESCRIPTION_AS_HTML

Constant Value: "descriptionAsHtml"

public static final String FROM_REF

Constant Value: "fromRef"

public static final String ID

Constant Value: "id"

public static final String LOCKED

Constant Value: "locked"

public static final String OPEN

Constant Value: "open"

public static final String PARTICIPANTS

Constant Value: "participants"

public static final String REVIEWERS

Constant Value: "reviewers"

public static final String STATE

Constant Value: "state"

public static final String TITLE

Constant Value: "title"

public static final String TO_REF

Constant Value: "toRef"

public static final String UPDATED_DATE

Constant Value: "updatedDate"

public static final String VERSION

Constant Value: "version"

Fields

public static final RestPage<RestPullRequest> PAGE_EXAMPLE

public static final RestPullRequest REQUEST_EXAMPLE

public static final RestPullRequest REQUEST_EXAMPLE_UPDATE

public static final RestPullRequest RESPONSE_EXAMPLE

public static final RestPullRequest RESPONSE_EXAMPLE_BRAND_NEW

public static final RestPullRequest RESPONSE_EXAMPLE_MERGED

public static final Function<PullRequestRestPullRequest> REST_TRANSFORM

Public Constructors

public RestPullRequest ()

public RestPullRequest (PullRequest pullRequest)

Public Methods

public String getDescription ()

public RestPullRequestRef getFromRef ()

public long getId ()

public Set<RestPullRequestParticipant> getReviewers ()

public String getTitle ()

public RestPullRequestRef getToRef ()

public int getVersion ()

public boolean hasAuthor ()

public boolean hasDescription ()

public boolean hasParticipants ()

public boolean hasReviewers ()

public boolean hasTitle ()

public boolean hasVersion ()

public void setHtmlDescription (String html)

@Nullable public static RestPullRequest valueOf (Object value)