Class SearchPrioritiesOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SearchPrioritiesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SearchPrioritiesOperationSpec
extends Object
SearchPrioritiesSpec
Specification for the SearchPriorities operation.
Search priorities
-
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
ConstructorsModifierConstructorDescriptionprotectedSearchPrioritiesOperationSpec(String startAt, String maxResults, List<String> id, List<String> projectId, String priorityName, Boolean onlyDefault) Constructs a validated instance ofSearchPrioritiesOperationSpec.Constructs a validated instance ofSearchPrioritiesOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()id()The list of priority IDs.The list of priority IDs.@Nullable StringThe maximum number of items to return per page.maxResults(@Nullable String maxResults) The maximum number of items to return per page.@Nullable BooleanWhether only the default priority is returned.onlyDefault(@Nullable Boolean onlyDefault) Whether only the default priority is returned.@Nullable StringThe name of priority to search for.priorityName(@Nullable String priorityName) The name of priority to search for.The list of projects IDs.The list of projects IDs.@Nullable StringstartAt()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
-
SearchPrioritiesOperationSpec
Constructs a validated instance ofSearchPrioritiesOperationSpec.- Parameters:
spec- the specification to process
-
SearchPrioritiesOperationSpec
@Internal public SearchPrioritiesOperationSpec(String startAt, String maxResults, List<String> id, List<String> projectId, String priorityName, Boolean onlyDefault) Constructs a validated instance ofSearchPrioritiesOperationSpec.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.id- The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example,id=2&id=3.projectId- The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example,projectId=10010&projectId=10111.priorityName- The name of priority to search for.onlyDefault- Whether only the default priority is returned.
-
SearchPrioritiesOperationSpec
protected SearchPrioritiesOperationSpec()
-
-
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. -
id
The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example,id=2&id=3. -
projectId
The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example,projectId=10010&projectId=10111. -
priorityName
The name of priority to search for. -
onlyDefault
Whether only the default priority is returned. -
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.
-
id
The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example,id=2&id=3.- Returns:
this.
-
projectId
The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example,projectId=10010&projectId=10111.- Returns:
this.
-
priorityName
The name of priority to search for.- Returns:
this.
-
onlyDefault
Whether only the default priority is returned.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-