Class GetProjectVersionsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.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 Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetProjectVersionsPaginatedOperationSpec
(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 boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.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 version description.[Order](#ordering) the results by a field: *description
Sorts by version 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).@Nullable String
status()
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()
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
-
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: *description
Sorts by version description. *name
Sorts by version name. *releaseDate
Sorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequence
Sorts by the order of appearance in the user interface. *startDate
Sorts 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 matchingname
ordescription
are 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: *issuesstatus
Returns the number of issues in each status category for each version. *operations
Returns actions that can be performed on the specified version. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns 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: *description
Sorts by version description. *name
Sorts by version name. *releaseDate
Sorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequence
Sorts by the order of appearance in the user interface. *startDate
Sorts 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 matchingname
ordescription
are 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: *issuesstatus
Returns the number of issues in each status category for each version. *operations
Returns actions that can be performed on the specified version. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns 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: *description
Sorts by version description. *name
Sorts by version name. *releaseDate
Sorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequence
Sorts by the order of appearance in the user interface. *startDate
Sorts 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 matchingname
ordescription
are 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: *issuesstatus
Returns the number of issues in each status category for each version. *operations
Returns actions that can be performed on the specified version. *driver
Returns the Atlassian account ID of the version driver. *approvers
Returns a list containing the approvers for this version.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-