Class SuggestPullRequestsRequest
java.lang.Object
com.atlassian.bitbucket.dashboard.SuggestPullRequestsRequest
A request for fetching pull request creation suggestions based on repository activity/history.
The purpose and behaviour of each field is described on its accessor.
- Since:
- 4.10
-
Nested Class Summary
-
Field Summary
-
Method Summary
-
Field Details
-
DEFAULT_LIMIT
public static final int DEFAULT_LIMIT- See Also:
-
-
Method Details
-
getChangesSince
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.- Returns:
- changes since date
-
getLimit
public int getLimit()Restricts the result set to return at most this many suggestions. If no limit was set by callingSuggestPullRequestsRequest.Builder.limit(int)
then the defaultDEFAULT_LIMIT
will be used.- Returns:
- the limit
-
getUser
Suggestions will be based on push activity for the given user.- Returns:
- the user
-