Class GetProjectVersionsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetProjectVersionsPaginatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetProjectVersionsPaginatedOperationSpec
extends Object
GetProjectVersionsPaginatedSpec
Specification for the GetProjectVersionsPaginated operation.
Get project versions 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
ConstructorsModifierConstructorDescriptionprotectedGetProjectVersionsPaginatedOperationSpec(String projectIdOrKey, Long startAt, Integer maxResults, String orderBy, String query, String status, String expand) Constructs a validated instance ofGetProjectVersionsPaginatedOperationSpec.Constructs a validated instance ofGetProjectVersionsPaginatedOperationSpec. -
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 StringorderBy()[Order](#ordering) the results by a field: *descriptionSorts by version description.[Order](#ordering) the results by a field: *descriptionSorts by version 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).@Nullable Stringstatus()A list of status values used to filter the results by version status.A list of status values used to filter the results by version status.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
-
GetProjectVersionsPaginatedOperationSpec
@Internal public GetProjectVersionsPaginatedOperationSpec(Consumer<GetProjectVersionsPaginatedOperationSpec> spec) Constructs a validated instance ofGetProjectVersionsPaginatedOperationSpec.- Parameters:
spec- the specification to process
-
GetProjectVersionsPaginatedOperationSpec
@Internal public GetProjectVersionsPaginatedOperationSpec(String projectIdOrKey, Long startAt, Integer maxResults, String orderBy, String query, String status, String expand) Constructs a validated instance ofGetProjectVersionsPaginatedOperationSpec.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 version description. *nameSorts by version name. *releaseDateSorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequenceSorts by the order of appearance in the user interface. *startDateSorts by start date, starting with the oldest date. Versions with no start date are listed last.query- Filter the results using a literal string. Versions with matchingnameordescriptionare returned (case insensitive).status- A list of status values used to filter the results by version status. This parameter accepts a comma-separated list. The status values arereleased,unreleased, andarchived.expand- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *issuesstatusReturns the number of issues in each status category for each version. *operationsReturns actions that can be performed on the specified version. *driverReturns the Atlassian account ID of the version driver. *approversReturns a list containing the approvers for this version.
-
GetProjectVersionsPaginatedOperationSpec
protected GetProjectVersionsPaginatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder 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 version description. *nameSorts by version name. *releaseDateSorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequenceSorts by the order of appearance in the user interface. *startDateSorts by start date, starting with the oldest date. Versions with no start date are listed last. -
query
Filter the results using a literal string. Versions with matchingnameordescriptionare returned (case insensitive). -
status
A list of status values used to filter the results by version status. This parameter accepts a comma-separated list. The status values arereleased,unreleased, andarchived. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *issuesstatusReturns the number of issues in each status category for each version. *operationsReturns actions that can be performed on the specified version. *driverReturns the Atlassian account ID of the version driver. *approversReturns a list containing the approvers for this version. -
projectIdOrKey
public GetProjectVersionsPaginatedOperationSpec 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
The maximum number of items to return per page.- Returns:
this.
-
orderBy
[Order](#ordering) the results by a field: *descriptionSorts by version description. *nameSorts by version name. *releaseDateSorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequenceSorts by the order of appearance in the user interface. *startDateSorts by start date, starting with the oldest date. Versions with no start date are listed last.- Returns:
this.
-
query
Filter the results using a literal string. Versions with matchingnameordescriptionare returned (case insensitive).- Returns:
this.
-
status
A list of status values used to filter the results by version status. This parameter accepts a comma-separated list. The status values arereleased,unreleased, andarchived.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *issuesstatusReturns the number of issues in each status category for each version. *operationsReturns actions that can be performed on the specified version. *driverReturns the Atlassian account ID of the version driver. *approversReturns a list containing the approvers for this version.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-