Class SuggestPullRequestsRequest

java.lang.Object
com.atlassian.bitbucket.dashboard.SuggestPullRequestsRequest

public class SuggestPullRequestsRequest extends Object
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
  • Field Details

  • Method Details

    • getChangesSince

      @Nonnull public Date 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 calling SuggestPullRequestsRequest.Builder.limit(int) then the default DEFAULT_LIMIT will be used.
      Returns:
      the limit
    • getUser

      @Nonnull public ApplicationUser getUser()
      Suggestions will be based on push activity for the given user.
      Returns:
      the user