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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetProjectComponentsPaginatedOperationSpec(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 StringThe source of the components to return.componentSource(@Nullable String componentSource) The source of the components to return.booleaninthashCode()@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: *descriptionSorts by the component description.[Order](#ordering) the results by a field: *descriptionSorts by the component description.@NotNull StringThe project ID or project key (case sensitive).projectIdOrKey(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).@Nullable Stringquery()Filter the results using a literal string.Filter the results using a literal string.@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()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
-
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: *descriptionSorts by the component description. *issueCountSorts by the count of issues associated with the component. *leadSorts by the user key of the component's project lead. *nameSorts by component name.componentSource- The source of the components to return. Can bejira(default),compassorauto. Whenautois 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 matchingnameordescriptionare 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: *descriptionSorts by the component description. *issueCountSorts by the count of issues associated with the component. *leadSorts by the user key of the component's project lead. *nameSorts by component name. -
componentSource
The source of the components to return. Can bejira(default),compassorauto. Whenautois 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 matchingnameordescriptionare 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: *descriptionSorts by the component description. *issueCountSorts by the count of issues associated with the component. *leadSorts by the user key of the component's project lead. *nameSorts by component name.- Returns:
this.
-
componentSource
public GetProjectComponentsPaginatedOperationSpec componentSource(@Nullable @Nullable String componentSource) The source of the components to return. Can bejira(default),compassorauto. Whenautois 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 matchingnameordescriptionare returned (case insensitive).- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-