public class

ChangesRequest

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.content.ChangesRequest

Summary

Nested Classes
class ChangesRequest.Builder  
Public Methods
@Nullable Long getPullRequestId()
When comments should be returned as well (isWithComments() == true), a pull request ID can be provided to only retrieve comments that were made in the context of that pull request.
@Nonnull Repository getRepository()
@Nullable String getSinceId()
@Nonnull String getUntilId()
boolean isWithComments()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

@Nullable public Long getPullRequestId ()

When comments should be returned as well (isWithComments() == true), a pull request ID can be provided to only retrieve comments that were made in the context of that pull request. If no pull request ID is provided, only comments made outside the context of any pull request will be retrieved.

Returns
  • the ID for the pull request in which the diff will be displayed

@Nonnull public Repository getRepository ()

@Nullable public String getSinceId ()

@Nonnull public String getUntilId ()

public boolean isWithComments ()

Returns
  • true if the comment counts associated with the paths in the changes should be included in the response to this request. false otherwise