public static class

PullRequestChangesRequest.Builder

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

Summary

[Expand]
Inherited Fields
From class com.atlassian.stash.pull.AbstractPullRequestRequest.AbstractBuilder
From class com.atlassian.stash.util.BuilderSupport
Public Constructors
PullRequestChangesRequest.Builder(PullRequestChangesRequest request)
PullRequestChangesRequest.Builder(PullRequest pullRequest)
PullRequestChangesRequest.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.stash.pull.AbstractPullRequestRequest.AbstractBuilder
From class com.atlassian.stash.util.BuilderSupport
From class java.lang.Object

Public Constructors

public PullRequestChangesRequest.Builder (PullRequestChangesRequest request)

public PullRequestChangesRequest.Builder (PullRequest pullRequest)

public PullRequestChangesRequest.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 ()