public static class SuggestPullRequestsRequest.Builder extends BuilderSupport
NOT_BLANK
Constructor and Description |
---|
Builder(ApplicationUser user,
Date changesSince)
Constructs a builder for creating
SuggestPullRequestsRequest objects. |
Modifier and Type | Method and Description |
---|---|
SuggestPullRequestsRequest |
build()
Assembles a new
SuggestPullRequestsRequest from the provided values. |
SuggestPullRequestsRequest.Builder |
limit(int value)
Restricts the result set to return at most this many suggestions.
|
protected SuggestPullRequestsRequest.Builder |
self() |
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
public Builder(@Nonnull ApplicationUser user, @Nonnull Date changesSince)
SuggestPullRequestsRequest
objects.user
- suggestions will be based on push activity for the given userchangesSince
- all pull request suggestions are based on some form of activity/change that has
occurred. This restricts pull request suggestions to be based on activity up to
a certain time/date in the past@Nonnull public SuggestPullRequestsRequest build()
SuggestPullRequestsRequest
from the provided values.@Nonnull public SuggestPullRequestsRequest.Builder limit(int value)
SuggestPullRequestsRequest.DEFAULT_LIMIT
will be used.value
- the valuethis
@Nonnull protected SuggestPullRequestsRequest.Builder self()
Copyright © 2019 Atlassian. All rights reserved.