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 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 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 ()