Class GetProjectComponentsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetProjectComponentsPaginatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetProjectComponentsPaginatedOperationSpec
extends Object
GetProjectComponentsPaginatedSpec
Specification for the GetProjectComponentsPaginated operation.
Get project components paginated
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetProjectComponentsPaginatedOperationSpec
(String projectIdOrKey, Long startAt, Integer maxResults, String orderBy, String componentSource, String query) Constructs a validated instance ofGetProjectComponentsPaginatedOperationSpec
.GetProjectComponentsPaginatedOperationSpec
(Consumer<GetProjectComponentsPaginatedOperationSpec> spec) Constructs a validated instance ofGetProjectComponentsPaginatedOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@Nullable String
The source of the components to return.componentSource
(@Nullable String componentSource) The source of the components to return.boolean
int
hashCode()
@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable String
orderBy()
[Order](#ordering) the results by a field: *description
Sorts by the component description.[Order](#ordering) the results by a field: *description
Sorts by the component description.@NotNull String
The project ID or project key (case sensitive).projectIdOrKey
(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).@Nullable String
query()
Filter the results using a literal string.Filter the results using a literal string.@Nullable Long
startAt()
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()
void
validate()
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
-
GetProjectComponentsPaginatedOperationSpec
@Internal public GetProjectComponentsPaginatedOperationSpec(Consumer<GetProjectComponentsPaginatedOperationSpec> spec) Constructs a validated instance ofGetProjectComponentsPaginatedOperationSpec
.- Parameters:
spec
- the specification to process
-
GetProjectComponentsPaginatedOperationSpec
@Internal public GetProjectComponentsPaginatedOperationSpec(String projectIdOrKey, Long startAt, Integer maxResults, String orderBy, String componentSource, String query) Constructs a validated instance ofGetProjectComponentsPaginatedOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
projectIdOrKey
- The project ID or project key (case sensitive).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.orderBy
- [Order](#ordering) the results by a field: *description
Sorts by the component description. *issueCount
Sorts by the count of issues associated with the component. *lead
Sorts by the user key of the component's project lead. *name
Sorts by component name.componentSource
- The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
.query
- Filter the results using a literal string. Components with a matchingname
ordescription
are returned (case insensitive).
-
GetProjectComponentsPaginatedOperationSpec
protected GetProjectComponentsPaginatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder builder() -
projectIdOrKey
The project ID or project key (case sensitive). -
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. -
orderBy
[Order](#ordering) the results by a field: *description
Sorts by the component description. *issueCount
Sorts by the count of issues associated with the component. *lead
Sorts by the user key of the component's project lead. *name
Sorts by component name. -
componentSource
The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
. -
query
Filter the results using a literal string. Components with a matchingname
ordescription
are returned (case insensitive). -
projectIdOrKey
public GetProjectComponentsPaginatedOperationSpec projectIdOrKey(@NotNull @NotNull String projectIdOrKey) The project ID or project key (case sensitive).- Returns:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
public GetProjectComponentsPaginatedOperationSpec maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Returns:
this
.
-
orderBy
[Order](#ordering) the results by a field: *description
Sorts by the component description. *issueCount
Sorts by the count of issues associated with the component. *lead
Sorts by the user key of the component's project lead. *name
Sorts by component name.- Returns:
this
.
-
componentSource
public GetProjectComponentsPaginatedOperationSpec componentSource(@Nullable @Nullable String componentSource) The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
.- Returns:
this
.
-
query
Filter the results using a literal string. Components with a matchingname
ordescription
are returned (case insensitive).- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-