public static class

PullRequestChangesRequest.Builder

extends AbstractPullRequestRequest.AbstractBuilder<T extends AbstractBuilder<T>>
java.lang.Object
   ↳ com.atlassian.bitbucket.util.BuilderSupport
     ↳ com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<T extends com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder<T>>
       ↳ com.atlassian.bitbucket.pull.PullRequestChangesRequest.Builder

Summary

[Expand]
Inherited Fields
From class com.atlassian.bitbucket.util.BuilderSupport
Public Constructors
Builder(PullRequestChangesRequest request)
Builder(PullRequest pullRequest)
Builder(int repositoryId, long pullRequestId)
Public Methods
@Nonnull PullRequestChangesRequest build()
@Nonnull PullRequestChangesRequest.Builder changeScope(PullRequestChangeScope value)
Specifies the scope of the changes to be streamed.
@Nonnull PullRequestChangesRequest.Builder sinceId(String value)
Specifies the sinceId to use when retrieving the changes, if the scope is RANGE.
@Nonnull PullRequestChangesRequest.Builder untilId(String value)
Specifies the untilId to use when retrieving the changes, if the scope is RANGE.
@Nonnull PullRequestChangesRequest.Builder withComments(boolean value)
Specifies whether comment count attributes should be applied when streaming changes.
Protected Methods
@Nonnull PullRequestChangesRequest.Builder self()
[Expand]
Inherited Methods
From class com.atlassian.bitbucket.pull.AbstractPullRequestRequest.AbstractBuilder
From class com.atlassian.bitbucket.util.BuilderSupport
From class java.lang.Object

Public Constructors

public Builder (PullRequestChangesRequest request)

public Builder (PullRequest pullRequest)

public Builder (int repositoryId, long pullRequestId)

Public Methods

@Nonnull public PullRequestChangesRequest build ()

@Nonnull public PullRequestChangesRequest.Builder changeScope (PullRequestChangeScope value)

Specifies the scope of the changes to be streamed.

Parameters
value UNREVIEWED to stream unreviewed changes for the for the current user (if they exist); otherwise, ALL to stream all changes (the default)
Returns
  • this

@Nonnull public PullRequestChangesRequest.Builder sinceId (String value)

Specifies the sinceId to use when retrieving the changes, if the scope is RANGE.

If the scope is not RANGE then this value is ignored.

Parameters
value the sinceId to use when retrieving changes
Returns
  • this

@Nonnull public PullRequestChangesRequest.Builder untilId (String value)

Specifies the untilId to use when retrieving the changes, if the scope is RANGE.

If the scope is not RANGE then this value is ignored.

Parameters
value the untilId to use when retrieving changes
Returns
  • this

@Nonnull public PullRequestChangesRequest.Builder withComments (boolean value)

Specifies whether comment count attributes should be applied when streaming changes.

Parameters
value true to request comment counts to be applied when streaming changes (the default); otherwise, false to omit the counts
Returns
  • this

Protected Methods

@Nonnull protected PullRequestChangesRequest.Builder self ()