Package org.miaixz.bus.gitlab.models
Class IssueFilter
java.lang.Object
org.miaixz.bus.gitlab.models.IssueFilter
- All Implemented Interfaces:
Serializable
This class is used to filter issues when getting lists of them.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIids()getNot()getQueryParams(int page, int perPage) getScope()getSort()getState()voidsetAssigneeId(Long assigneeId) voidsetAuthorId(Long authorId) voidsetCreatedAfter(Date createdAfter) voidsetCreatedBefore(Date createdBefore) voidvoidsetIterationTitle(String iterationTitle) voidvoidsetMilestone(String milestone) voidsetMyReactionEmoji(String myReactionEmoji) voidvoidsetOrderBy(Constants.IssueOrderBy orderBy) voidsetScope(Constants.IssueScope scope) voidvoidsetSort(Constants.SortOrder sort) voidsetState(Constants.IssueState state) voidsetUpdatedAfter(Date updatedAfter) voidsetUpdatedBefore(Date updatedBefore) withAssigneeId(Long assigneeId) withAuthorId(Long authorId) withCreatedAfter(Date createdAfter) withCreatedBefore(Date createdBefore) withIterationTitle(String iterationTitle) withLabels(List<String> labels) withMilestone(String milestone) withMyReactionEmoji(String myReactionEmoji) Add 'not' filter.withNot(IssueFilter.IssueField field, Object value) Add 'not' filter entry.withOrderBy(Constants.IssueOrderBy orderBy) withoutAssigneeId(Long assigneeId) Add assignee_id to the 'not' filter entry.withoutAssigneeUsername(String assigneeUsername) Add assignee_username to the 'not' filter entry.withoutAuthorId(Long authorId) Add author_id to the 'not' filter entry.withoutAuthorUsername(String authorUsername) Add author_username to the 'not' filter entry.withoutIids(String... iids) withoutIterationId(Long iterationId) Add iteration_id to the 'not' filter entry.withoutIterationTitle(String iterationTitle) Add iteration_title to the 'not' filter entry.withoutLabels(String... labels) Add labels to the 'not' filter entry.withoutMilestone(String milestone) Add milestone to the 'not' filter entry.withoutMilestoneId(Long milestoneId) Add milestone_id to the 'not' filter entry.withScope(Constants.IssueScope scope) withSearch(String search) withSort(Constants.SortOrder sort) withState(Constants.IssueState state) withUpdatedAfter(Date updatedAfter) withUpdatedBefore(Date updatedBefore)
-
Constructor Details
-
IssueFilter
public IssueFilter()
-
-
Method Details
-
getIids
-
setIids
-
getState
-
setState
-
getLabels
-
setLabels
-
getMilestone
-
setMilestone
-
getScope
-
setScope
-
getAuthorId
-
setAuthorId
-
getAssigneeId
-
setAssigneeId
-
getMyReactionEmoji
-
setMyReactionEmoji
-
getOrderBy
-
setOrderBy
-
getSort
-
setSort
-
getSearch
-
setSearch
-
getCreatedAfter
-
setCreatedAfter
-
getCreatedBefore
-
setCreatedBefore
-
getUpdatedAfter
-
setUpdatedAfter
-
getUpdatedBefore
-
setUpdatedBefore
-
getIterationTitle
-
setIterationTitle
-
getNot
-
setNot
-
withIids
-
withState
-
withLabels
-
withMilestone
-
withScope
-
withAuthorId
-
withAssigneeId
-
withMyReactionEmoji
-
withOrderBy
-
withSort
-
withSearch
-
withCreatedAfter
-
withCreatedBefore
-
withUpdatedAfter
-
withUpdatedBefore
-
withIterationTitle
-
withNot
Add 'not' filter.- Parameters:
not- the 'not' filter- Returns:
- the reference to this IssueFilter instance
-
withNot
Add 'not' filter entry.- Parameters:
field- the field to be added to the 'not' valuevalue- the value for the entry- Returns:
- the reference to this IssueField instance
-
withoutLabels
Add labels to the 'not' filter entry.- Parameters:
labels- the labels to add to the filter- Returns:
- the reference to this IssueFilter instance
-
withoutIids
-
withoutAuthorId
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
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
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
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
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
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
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
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
-
getQueryParams
-