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