Class SearchRequestBean
java.lang.Object
io.github.primelib.jira4j.restv3.model.SearchRequestBean
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SearchRequestBean
extends Object
SearchRequestBean
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
Determines how to validate the JQL query and treat the validation results. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse [expand](em>#expansion) to include additional information about issues in the response.A list of fields to return for each issue, use it to retrieve a subset of fields.protected Boolean
Reference fields by their key (rather than ID).protected String
A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.protected Integer
The maximum number of items to return per page.A list of up to 5 issue properties to include in the results.protected Integer
The index of the first item to return in the page of results (page offset).protected SearchRequestBean.ValidateQueryEnum
Determines how to validate the JQL query and treat the validation results. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a validated instance ofSearchRequestBean
.SearchRequestBean
(List<String> expand, List<String> fields, Boolean fieldsByKeys, String jql, Integer maxResults, List<String> properties, Integer startAt, SearchRequestBean.ValidateQueryEnum validateQuery) Constructs a validated instance ofSearchRequestBean
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
expand()
Use [expand](em>#expansion) to include additional information about issues in the response.Use [expand](em>#expansion) to include additional information about issues in the response.fields()
A list of fields to return for each issue, use it to retrieve a subset of fields.A list of fields to return for each issue, use it to retrieve a subset of fields.Reference fields by their key (rather than ID).fieldsByKeys
(Boolean fieldsByKeys) Reference fields by their key (rather than ID).int
hashCode()
jql()
A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.The maximum number of items to return per page.maxResults
(Integer maxResults) The maximum number of items to return per page.A list of up to 5 issue properties to include in the results.properties
(List<String> properties) A list of up to 5 issue properties to include in the results.startAt()
The index of the first item to return in the page of results (page offset).The index of the first item to return in the page of results (page offset).toString()
Determines how to validate the JQL query and treat the validation results.validateQuery
(SearchRequestBean.ValidateQueryEnum validateQuery) Determines how to validate the JQL query and treat the validation results.
-
Field Details
-
expand
Use [expand](em>#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances whereexpand
is specified,expand
is defined as a list of values. The expand options are: *renderedFields
Returns field values rendered in HTML format. *names
Returns the display name of each field. *schema
Returns the schema describing a field type. *transitions
Returns all possible transitions for the issue. *operations
Returns all possible operations for the issue. *editmeta
Returns information about how each field can be edited. *changelog
Returns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentations
Instead offields
, returnsversionedRepresentations
a JSON array containing each version of a field's value, with the highest numbered item representing the most recent version. -
fields
A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include: **all
Returns all fields. **navigable
Returns navigable fields. * Any issue field, prefixed with a minus to exclude. The default is*navigable
. Examples: *summary,comment
Returns the summary and comments fields only. *-description
Returns all navigable (default) fields except description. **all,-comment
Returns all fields except comments. Multiplefields
parameters can be included in a request. Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields. -
fieldsByKeys
Reference fields by their key (rather than ID). The default isfalse
. -
jql
A [JQL](https://confluence.atlassian.com/x/egORLQ) expression. -
maxResults
The maximum number of items to return per page. -
properties
A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list. -
startAt
The index of the first item to return in the page of results (page offset). The base index is0
. -
validateQuery
Determines how to validate the JQL query and treat the validation results. Supported values: *strict
Returns a 400 response code if any errors are found, along with a list of all errors (and warnings). *warn
Returns all errors as warnings. *none
No validation is performed. *true
*Deprecated* A legacy synonym forstrict
. *false
*Deprecated* A legacy synonym forwarn
. The default isstrict
. Note: If the JQL is not correctly formed a 400 response code is returned, regardless of thevalidateQuery
value.
-
-
Constructor Details
-
SearchRequestBean
Constructs a validated instance ofSearchRequestBean
.- Parameters:
spec
- the specification to process
-
SearchRequestBean
@Internal public SearchRequestBean(List<String> expand, List<String> fields, Boolean fieldsByKeys, String jql, Integer maxResults, List<String> properties, Integer startAt, SearchRequestBean.ValidateQueryEnum validateQuery) Constructs a validated instance ofSearchRequestBean
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
SearchRequestBean(Consumer)
instead.- Parameters:
expand
- Use [expand](em>#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances whereexpand
is specified,expand
is defined as a list of values. The expand options are: *renderedFields
Returns field values rendered in HTML format. *names
Returns the display name of each field. *schema
Returns the schema describing a field type. *transitions
Returns all possible transitions for the issue. *operations
Returns all possible operations for the issue. *editmeta
Returns information about how each field can be edited. *changelog
Returns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentations
Instead offields
, returnsversionedRepresentations
a JSON array containing each version of a field's value, with the highest numbered item representing the most recent version.fields
- A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include: **all
Returns all fields. **navigable
Returns navigable fields. * Any issue field, prefixed with a minus to exclude. The default is*navigable
. Examples: *summary,comment
Returns the summary and comments fields only. *-description
Returns all navigable (default) fields except description. **all,-comment
Returns all fields except comments. Multiplefields
parameters can be included in a request. Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.fieldsByKeys
- Reference fields by their key (rather than ID). The default isfalse
.jql
- A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.maxResults
- The maximum number of items to return per page.properties
- A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list.startAt
- The index of the first item to return in the page of results (page offset). The base index is0
.validateQuery
- Determines how to validate the JQL query and treat the validation results. Supported values: *strict
Returns a 400 response code if any errors are found, along with a list of all errors (and warnings). *warn
Returns all errors as warnings. *none
No validation is performed. *true
*Deprecated* A legacy synonym forstrict
. *false
*Deprecated* A legacy synonym forwarn
. The default isstrict
. Note: If the JQL is not correctly formed a 400 response code is returned, regardless of thevalidateQuery
value.
-
SearchRequestBean
protected SearchRequestBean()
-
-
Method Details
-
builder
-
expand
Use [expand](em>#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances whereexpand
is specified,expand
is defined as a list of values. The expand options are: *renderedFields
Returns field values rendered in HTML format. *names
Returns the display name of each field. *schema
Returns the schema describing a field type. *transitions
Returns all possible transitions for the issue. *operations
Returns all possible operations for the issue. *editmeta
Returns information about how each field can be edited. *changelog
Returns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentations
Instead offields
, returnsversionedRepresentations
a JSON array containing each version of a field's value, with the highest numbered item representing the most recent version. -
fields
A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include: **all
Returns all fields. **navigable
Returns navigable fields. * Any issue field, prefixed with a minus to exclude. The default is*navigable
. Examples: *summary,comment
Returns the summary and comments fields only. *-description
Returns all navigable (default) fields except description. **all,-comment
Returns all fields except comments. Multiplefields
parameters can be included in a request. Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields. -
fieldsByKeys
Reference fields by their key (rather than ID). The default isfalse
. -
jql
A [JQL](https://confluence.atlassian.com/x/egORLQ) expression. -
maxResults
The maximum number of items to return per page. -
properties
A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list. -
startAt
The index of the first item to return in the page of results (page offset). The base index is0
. -
validateQuery
Determines how to validate the JQL query and treat the validation results. Supported values: *strict
Returns a 400 response code if any errors are found, along with a list of all errors (and warnings). *warn
Returns all errors as warnings. *none
No validation is performed. *true
*Deprecated* A legacy synonym forstrict
. *false
*Deprecated* A legacy synonym forwarn
. The default isstrict
. Note: If the JQL is not correctly formed a 400 response code is returned, regardless of thevalidateQuery
value. -
expand
Use [expand](em>#expansion) to include additional information about issues in the response. Note that, unlike the majority of instances whereexpand
is specified,expand
is defined as a list of values. The expand options are: *renderedFields
Returns field values rendered in HTML format. *names
Returns the display name of each field. *schema
Returns the schema describing a field type. *transitions
Returns all possible transitions for the issue. *operations
Returns all possible operations for the issue. *editmeta
Returns information about how each field can be edited. *changelog
Returns a list of recent updates to an issue, sorted by date, starting from the most recent. *versionedRepresentations
Instead offields
, returnsversionedRepresentations
a JSON array containing each version of a field's value, with the highest numbered item representing the most recent version.- Returns:
this
.
-
fields
A list of fields to return for each issue, use it to retrieve a subset of fields. This parameter accepts a comma-separated list. Expand options include: **all
Returns all fields. **navigable
Returns navigable fields. * Any issue field, prefixed with a minus to exclude. The default is*navigable
. Examples: *summary,comment
Returns the summary and comments fields only. *-description
Returns all navigable (default) fields except description. **all,-comment
Returns all fields except comments. Multiplefields
parameters can be included in a request. Note: All navigable fields are returned by default. This differs from [GET issue](#api-rest-api-3-issue-issueIdOrKey-get) where the default is all fields.- Returns:
this
.
-
fieldsByKeys
Reference fields by their key (rather than ID). The default isfalse
.- Returns:
this
.
-
jql
A [JQL](https://confluence.atlassian.com/x/egORLQ) expression.- Returns:
this
.
-
maxResults
The maximum number of items to return per page.- Returns:
this
.
-
properties
A list of up to 5 issue properties to include in the results. This parameter accepts a comma-separated list.- Returns:
this
.
-
startAt
The index of the first item to return in the page of results (page offset). The base index is0
.- Returns:
this
.
-
validateQuery
Determines how to validate the JQL query and treat the validation results. Supported values: *strict
Returns a 400 response code if any errors are found, along with a list of all errors (and warnings). *warn
Returns all errors as warnings. *none
No validation is performed. *true
*Deprecated* A legacy synonym forstrict
. *false
*Deprecated* A legacy synonym forwarn
. The default isstrict
. Note: If the JQL is not correctly formed a 400 response code is returned, regardless of thevalidateQuery
value.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-