Class SearchOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.SearchOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SearchOperationSpec
extends Object
SearchSpec
Specification for the Search operation.
Search statuses paginated
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSearchOperationSpec(String expand, String projectId, Long startAt, Integer maxResults, String searchString, String statusCategory) Constructs a validated instance ofSearchOperationSpec.Constructs a validated instance ofSearchOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.inthashCode()@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable StringThe project the status is part of or null for global statuses.The project the status is part of or null for global statuses.@Nullable StringTerm to match status names against or null to search for all statuses in the search scope.searchString(@Nullable String searchString) Term to match status names against or null to search for all statuses in the search scope.@Nullable LongstartAt()The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).@Nullable StringCategory of the status to filter by.statusCategory(@Nullable String statusCategory) Category of the status to filter by.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
SearchOperationSpec
Constructs a validated instance ofSearchOperationSpec.- Parameters:
spec- the specification to process
-
SearchOperationSpec
@Internal public SearchOperationSpec(String expand, String projectId, Long startAt, Integer maxResults, String searchString, String statusCategory) Constructs a validated instance ofSearchOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
expand- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *usagesReturns the project and issue types that use the status in their workflow. *workflowUsagesReturns the workflows that use the status.projectId- The project the status is part of or null for global statuses.startAt- The index of the first item to return in a page of results (page offset).maxResults- The maximum number of items to return per page.searchString- Term to match status names against or null to search for all statuses in the search scope.statusCategory- Category of the status to filter by. The supported values are:TODO,IN_PROGRESS, andDONE.
-
SearchOperationSpec
protected SearchOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *usagesReturns the project and issue types that use the status in their workflow. *workflowUsagesReturns the workflows that use the status. -
projectId
The project the status is part of or null for global statuses. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
searchString
Term to match status names against or null to search for all statuses in the search scope. -
statusCategory
Category of the status to filter by. The supported values are:TODO,IN_PROGRESS, andDONE. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *usagesReturns the project and issue types that use the status in their workflow. *workflowUsagesReturns the workflows that use the status.- Returns:
this.
-
projectId
The project the status is part of or null for global statuses.- Returns:
this.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
searchString
Term to match status names against or null to search for all statuses in the search scope.- Returns:
this.
-
statusCategory
Category of the status to filter by. The supported values are:TODO,IN_PROGRESS, andDONE.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-