Class GetFieldsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetFieldsPaginatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetFieldsPaginatedOperationSpec
extends Object
GetFieldsPaginatedSpec
Specification for the GetFieldsPaginated operation.
Get fields paginated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetFieldsPaginatedOperationSpec(Long startAt, Integer maxResults, List<String> type, Set<String> id, String query, String orderBy, String expand) Constructs a validated instance ofGetFieldsPaginatedOperationSpec.Constructs a validated instance ofGetFieldsPaginatedOperationSpec. -
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()id()The IDs of the custom fields to return or, wherequeryis specified, filter.The IDs of the custom fields to return or, wherequeryis specified, filter.@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable StringorderBy()[Order](#ordering) the results by a field: *contextsCountsorts by the number of contexts related to a field *lastUsedsorts by the date when the value of the field last changed *namesorts by the field name *screensCountsorts by the number of screens related to a field[Order](#ordering) the results by a field: *contextsCountsorts by the number of contexts related to a field *lastUsedsorts by the date when the value of the field last changed *namesorts by the field name *screensCountsorts by the number of screens related to a field@Nullable Stringquery()String used to perform a case-insensitive partial match with field names or descriptions.String used to perform a case-insensitive partial match with field names or descriptions.@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).toString()type()The type of fields to search.The type of fields to search.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
-
GetFieldsPaginatedOperationSpec
Constructs a validated instance ofGetFieldsPaginatedOperationSpec.- Parameters:
spec- the specification to process
-
GetFieldsPaginatedOperationSpec
@Internal public GetFieldsPaginatedOperationSpec(Long startAt, Integer maxResults, List<String> type, Set<String> id, String query, String orderBy, String expand) Constructs a validated instance ofGetFieldsPaginatedOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
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.type- The type of fields to search.id- The IDs of the custom fields to return or, wherequeryis specified, filter.query- String used to perform a case-insensitive partial match with field names or descriptions.orderBy- [Order](#ordering) the results by a field: *contextsCountsorts by the number of contexts related to a field *lastUsedsorts by the date when the value of the field last changed *namesorts by the field name *screensCountsorts by the number of screens related to a fieldexpand- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *keyreturns the key for each field *lastUsedreturns the date when the value of the field last changed *screensCountreturns the number of screens related to a field *contextsCountreturns the number of contexts related to a field *isLockedreturns information about whether the field is [locked](https://confluence.atlassian.com/x/ZSN7Og) *searcherKeyreturns the searcher key for each custom field
-
GetFieldsPaginatedOperationSpec
protected GetFieldsPaginatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
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. -
type
The type of fields to search. -
id
The IDs of the custom fields to return or, wherequeryis specified, filter. -
query
String used to perform a case-insensitive partial match with field names or descriptions. -
orderBy
[Order](#ordering) the results by a field: *contextsCountsorts by the number of contexts related to a field *lastUsedsorts by the date when the value of the field last changed *namesorts by the field name *screensCountsorts by the number of screens related to a field -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *keyreturns the key for each field *lastUsedreturns the date when the value of the field last changed *screensCountreturns the number of screens related to a field *contextsCountreturns the number of contexts related to a field *isLockedreturns information about whether the field is [locked](https://confluence.atlassian.com/x/ZSN7Og) *searcherKeyreturns the searcher key for each custom field -
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.
-
type
The type of fields to search.- Returns:
this.
-
id
The IDs of the custom fields to return or, wherequeryis specified, filter.- Returns:
this.
-
query
String used to perform a case-insensitive partial match with field names or descriptions.- Returns:
this.
-
orderBy
[Order](#ordering) the results by a field: *contextsCountsorts by the number of contexts related to a field *lastUsedsorts by the date when the value of the field last changed *namesorts by the field name *screensCountsorts by the number of screens related to a field- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *keyreturns the key for each field *lastUsedreturns the date when the value of the field last changed *screensCountreturns the number of screens related to a field *contextsCountreturns the number of contexts related to a field *isLockedreturns information about whether the field is [locked](https://confluence.atlassian.com/x/ZSN7Og) *searcherKeyreturns the searcher key for each custom field- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-