Module bus.gitlab

Class IssueFilter

java.lang.Object
org.miaixz.bus.gitlab.models.IssueFilter
All Implemented Interfaces:
Serializable

public class IssueFilter extends Object implements Serializable
This class is used to filter issues when getting lists of them.
See Also:
  • Constructor Details

    • IssueFilter

      public IssueFilter()
  • Method Details

    • getIids

      public List<Long> getIids()
    • setIids

      public void setIids(List<Long> iids)
    • getIn

      public List<String> getIn()
    • getState

      public Constants.IssueState getState()
    • setState

      public void setState(Constants.IssueState state)
    • setIn

      public void setIn(List<String> in)
    • withIids

      public IssueFilter withIids(List<Long> iids)
    • getLabels

      public List<String> getLabels()
    • setLabels

      public void setLabels(List<String> labels)
    • getMilestone

      public String getMilestone()
    • setMilestone

      public void setMilestone(String milestone)
    • getScope

      public Constants.IssueScope getScope()
    • setScope

      public void setScope(Constants.IssueScope scope)
    • getAuthorId

      public Long getAuthorId()
    • setAuthorId

      public void setAuthorId(Long authorId)
    • getAssigneeId

      public Long getAssigneeId()
    • setAssigneeId

      public void setAssigneeId(Long assigneeId)
    • getMyReactionEmoji

      public String getMyReactionEmoji()
    • setMyReactionEmoji

      public void setMyReactionEmoji(String myReactionEmoji)
    • getOrderBy

      public Constants.IssueOrderBy getOrderBy()
    • setOrderBy

      public void setOrderBy(Constants.IssueOrderBy orderBy)
    • getSort

      public Constants.SortOrder getSort()
    • setSort

      public void setSort(Constants.SortOrder sort)
    • getSearch

      public String getSearch()
    • setSearch

      public void setSearch(String search)
    • getCreatedAfter

      public Date getCreatedAfter()
    • setCreatedAfter

      public void setCreatedAfter(Date createdAfter)
    • getCreatedBefore

      public Date getCreatedBefore()
    • setCreatedBefore

      public void setCreatedBefore(Date createdBefore)
    • getUpdatedAfter

      public Date getUpdatedAfter()
    • setUpdatedAfter

      public void setUpdatedAfter(Date updatedAfter)
    • getUpdatedBefore

      public Date getUpdatedBefore()
    • setUpdatedBefore

      public void setUpdatedBefore(Date updatedBefore)
    • getIterationTitle

      public String getIterationTitle()
    • setIterationTitle

      public void setIterationTitle(String iterationTitle)
    • getNot

      public Map<IssueFilter.IssueField,Object> getNot()
    • setNot

      public void setNot(Map<IssueFilter.IssueField,Object> not)
    • getQueryParams

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

      public IssueFilter withState(Constants.IssueState state)
    • withLabels

      public IssueFilter withLabels(List<String> labels)
    • withMilestone

      public IssueFilter withMilestone(String milestone)
    • withScope

      public IssueFilter withScope(Constants.IssueScope scope)
    • withAuthorId

      public IssueFilter withAuthorId(Long authorId)
    • withAssigneeId

      public IssueFilter withAssigneeId(Long assigneeId)
    • withMyReactionEmoji

      public IssueFilter withMyReactionEmoji(String myReactionEmoji)
    • withOrderBy

      public IssueFilter withOrderBy(Constants.IssueOrderBy orderBy)
    • withSort

      public IssueFilter withSort(Constants.SortOrder sort)
    • withSearch

      public IssueFilter withSearch(String search)
    • withCreatedAfter

      public IssueFilter withCreatedAfter(Date createdAfter)
    • withCreatedBefore

      public IssueFilter withCreatedBefore(Date createdBefore)
    • withUpdatedAfter

      public IssueFilter withUpdatedAfter(Date updatedAfter)
    • withUpdatedBefore

      public IssueFilter withUpdatedBefore(Date updatedBefore)
    • withIterationTitle

      public IssueFilter withIterationTitle(String iterationTitle)
    • withNot

      Add 'not' filter.
      Parameters:
      not - the 'not' filter
      Returns:
      the reference to this IssueFilter instance
    • withNot

      public IssueFilter withNot(IssueFilter.IssueField field, 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 IssueField instance
    • withoutLabels

      public IssueFilter withoutLabels(String... labels)
      Add labels to the 'not' filter entry.
      Parameters:
      labels - the labels to add to the filter
      Returns:
      the reference to this IssueFilter instance
    • withoutIids

      public IssueFilter withoutIids(String... iids)
    • withoutAuthorId

      public IssueFilter withoutAuthorId(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 IssueFilter instance
    • withoutAuthorUsername

      public IssueFilter withoutAuthorUsername(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 IssueFilter instance
    • withoutAssigneeId

      public IssueFilter withoutAssigneeId(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 IssueFilter instance
    • withoutAssigneeUsername

      public IssueFilter withoutAssigneeUsername(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 IssueFilter instance
    • withoutIterationId

      public IssueFilter withoutIterationId(Long iterationId)
      Add iteration_id to the 'not' filter entry.
      Parameters:
      iterationId - the id of the iteration to add to the filter
      Returns:
      the reference to this IssueFilter instance
    • withoutIterationTitle

      public IssueFilter withoutIterationTitle(String iterationTitle)
      Add iteration_title to the 'not' filter entry.
      Parameters:
      iterationTitle - the title of the iteration to add to the filter
      Returns:
      the reference to this IssueFilter instance
    • withoutMilestoneId

      public IssueFilter withoutMilestoneId(Long milestoneId)
      Add milestone_id to the 'not' filter entry.
      Parameters:
      milestoneId - the id of the milestone to add to the filter
      Returns:
      the reference to this IssueFilter instance
    • withoutMilestone

      public IssueFilter withoutMilestone(String milestone)
      Add milestone to the 'not' filter entry.
      Parameters:
      milestone - the title of the milestone to add to the filter
      Returns:
      the reference to this IssueFilter instance
    • getQueryParams

      public GitLabForm getQueryParams()