Class MergeRequestFilter

  • All Implemented Interfaces:
    java.io.Serializable

    public class MergeRequestFilter
    extends java.lang.Object
    implements java.io.Serializable
    This class is used to filter merge requests when getting lists of them.
    See Also:
    Serialized Form
    • Constructor Detail

      • MergeRequestFilter

        public MergeRequestFilter()
    • Method Detail

      • getProjectId

        public java.lang.Long getProjectId()
      • setProjectId

        public void setProjectId​(java.lang.Long projectId)
      • getIids

        public java.util.List<java.lang.Long> getIids()
      • setIids

        public void setIids​(java.util.List<java.lang.Long> iids)
      • getMilestone

        public java.lang.String getMilestone()
      • setMilestone

        public void setMilestone​(java.lang.String milestone)
      • getSimpleView

        public java.lang.Boolean getSimpleView()
      • setSimpleView

        public void setSimpleView​(java.lang.Boolean simpleView)
      • withSimpleView

        public MergeRequestFilter withSimpleView​(java.lang.Boolean simpleView)
      • getLabels

        public java.util.List<java.lang.String> getLabels()
      • setLabels

        public void setLabels​(java.util.List<java.lang.String> labels)
      • withLabels

        public MergeRequestFilter withLabels​(java.util.List<java.lang.String> labels)
      • getCreatedAfter

        public java.util.Date getCreatedAfter()
      • setCreatedAfter

        public void setCreatedAfter​(java.util.Date createdAfter)
      • withCreatedAfter

        public MergeRequestFilter withCreatedAfter​(java.util.Date createdAfter)
      • getCreatedBefore

        public java.util.Date getCreatedBefore()
      • setCreatedBefore

        public void setCreatedBefore​(java.util.Date createdBefore)
      • withCreatedBefore

        public MergeRequestFilter withCreatedBefore​(java.util.Date createdBefore)
      • getUpdatedAfter

        public java.util.Date getUpdatedAfter()
      • setUpdatedAfter

        public void setUpdatedAfter​(java.util.Date updatedAfter)
      • withUpdatedAfter

        public MergeRequestFilter withUpdatedAfter​(java.util.Date updatedAfter)
      • getUpdatedBefore

        public java.util.Date getUpdatedBefore()
      • setUpdatedBefore

        public void setUpdatedBefore​(java.util.Date updatedBefore)
      • withUpdatedBefore

        public MergeRequestFilter withUpdatedBefore​(java.util.Date updatedBefore)
      • getAuthorId

        public java.lang.Long getAuthorId()
      • setAuthorId

        public void setAuthorId​(java.lang.Long authorId)
      • getAssigneeId

        public java.lang.Long getAssigneeId()
      • setAssigneeId

        public void setAssigneeId​(java.lang.Long assigneeId)
      • getReviewerId

        public java.lang.Long getReviewerId()
      • setReviewerId

        public void setReviewerId​(java.lang.Long reviewerId)
      • withAssigneeId

        public MergeRequestFilter withAssigneeId​(java.lang.Long assigneeId)
      • withReviewerId

        public MergeRequestFilter withReviewerId​(java.lang.Long reviewerId)
      • getMyReactionEmoji

        public java.lang.String getMyReactionEmoji()
      • setMyReactionEmoji

        public void setMyReactionEmoji​(java.lang.String myReactionEmoji)
      • withMyReactionEmoji

        public MergeRequestFilter withMyReactionEmoji​(java.lang.String myReactionEmoji)
      • getSourceBranch

        public java.lang.String getSourceBranch()
      • setSourceBranch

        public void setSourceBranch​(java.lang.String sourceBranch)
      • withSourceBranch

        public MergeRequestFilter withSourceBranch​(java.lang.String sourceBranch)
      • getTargetBranch

        public java.lang.String getTargetBranch()
      • setTargetBranch

        public void setTargetBranch​(java.lang.String targetBranch)
      • withTargetBranch

        public MergeRequestFilter withTargetBranch​(java.lang.String targetBranch)
      • getSearch

        public java.lang.String getSearch()
      • setSearch

        public void setSearch​(java.lang.String search)
      • getWip

        public java.lang.Boolean getWip()
      • setWip

        public void setWip​(java.lang.Boolean wip)
      • getGroupId

        public java.lang.Long getGroupId()
      • setGroupId

        public void setGroupId​(java.lang.Long groupId)
      • withNot

        public MergeRequestFilter withNot​(MergeRequestFilter.MergeRequestField field,
                                          java.lang.Object value)
        Add 'not' filter entry.
        Parameters:
        field - the field to be added to the 'not' value
        value - the value for the entry
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutAuthorId

        public MergeRequestFilter withoutAuthorId​(java.lang.Long authorId)
        Add author_id to the 'not' filter entry.
        Parameters:
        authorId - the id of the author to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutAuthorUsername

        public MergeRequestFilter withoutAuthorUsername​(java.lang.String authorUsername)
        Add author_username to the 'not' filter entry.
        Parameters:
        authorUsername - the username of the author to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutAssigneeId

        public MergeRequestFilter withoutAssigneeId​(java.lang.Long assigneeId)
        Add assignee_id to the 'not' filter entry.
        Parameters:
        assigneeId - the id of the assignee to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutAssigneeUsername

        public MergeRequestFilter withoutAssigneeUsername​(java.lang.String assigneeUsername)
        Add assignee_username to the 'not' filter entry.
        Parameters:
        assigneeUsername - the username of the assignee to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutReviewerId

        public MergeRequestFilter withoutReviewerId​(java.lang.Long reviewerId)
        Add reviewer_id to the 'not' filter entry.
        Parameters:
        reviewerId - the id of the reviewer to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutReviewerUsername

        public MergeRequestFilter withoutReviewerUsername​(java.lang.String reviewerUsername)
        Add reviewer_username to the 'not' filter entry.
        Parameters:
        reviewerUsername - the username of the reviewer to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutMyReactionEmoji

        public MergeRequestFilter withoutMyReactionEmoji​(java.lang.String myReactionEmoji)
        Add my_reaction_emoji to the 'not' filter entry.
        Parameters:
        myReactionEmoji - the name of the reactionEmoji to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutMilestone

        public MergeRequestFilter withoutMilestone​(java.lang.String milestone)
        Add milestone to the 'not' filter entry.
        Parameters:
        milestone - the name of the milestone to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • withoutLabels

        public MergeRequestFilter withoutLabels​(java.lang.String... labels)
        Add labels to the 'not' filter entry.
        Parameters:
        labels - the labels to add to the filter
        Returns:
        the reference to this MergeRequestFilter instance
      • getQueryParams

        public GitLabForm getQueryParams​(int page,
                                         int perPage)
      • getQueryParams

        public GitLabForm getQueryParams()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object