Class GetIssuePickerResourceOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetIssuePickerResourceOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetIssuePickerResourceOperationSpec
extends Object
GetIssuePickerResourceSpec
Specification for the GetIssuePickerResource operation.
Get issue picker suggestions
-
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
GetIssuePickerResourceOperationSpec
(String query, String currentJQL, String currentIssueKey, String currentProjectId, Boolean showSubTasks, Boolean showSubTaskParent) Constructs a validated instance ofGetIssuePickerResourceOperationSpec
.Constructs a validated instance ofGetIssuePickerResourceOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@Nullable String
The key of an issue to exclude from search results.currentIssueKey
(@Nullable String currentIssueKey) The key of an issue to exclude from search results.@Nullable String
A JQL query defining a list of issues to search for the query term.currentJQL
(@Nullable String currentJQL) A JQL query defining a list of issues to search for the query term.@Nullable String
The ID of a project that suggested issues must belong to.currentProjectId
(@Nullable String currentProjectId) The ID of a project that suggested issues must belong to.boolean
int
hashCode()
@Nullable String
query()
A string to match against text fields in the issue such as title, description, or comments.A string to match against text fields in the issue such as title, description, or comments.@Nullable Boolean
WhencurrentIssueKey
is a subtask, whether to include the parent issue in the suggestions if it matches the query.showSubTaskParent
(@Nullable Boolean showSubTaskParent) WhencurrentIssueKey
is a subtask, whether to include the parent issue in the suggestions if it matches the query.@Nullable Boolean
Indicate whether to include subtasks in the suggestions list.showSubTasks
(@Nullable Boolean showSubTasks) Indicate whether to include subtasks in the suggestions list.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
-
GetIssuePickerResourceOperationSpec
@Internal public GetIssuePickerResourceOperationSpec(Consumer<GetIssuePickerResourceOperationSpec> spec) Constructs a validated instance ofGetIssuePickerResourceOperationSpec
.- Parameters:
spec
- the specification to process
-
GetIssuePickerResourceOperationSpec
@Internal public GetIssuePickerResourceOperationSpec(String query, String currentJQL, String currentIssueKey, String currentProjectId, Boolean showSubTasks, Boolean showSubTaskParent) Constructs a validated instance ofGetIssuePickerResourceOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
query
- A string to match against text fields in the issue such as title, description, or comments.currentJQL
- A JQL query defining a list of issues to search for the query term. Note thatusername
anduserkey
cannot be used as search terms for this parameter, due to privacy reasons. UseaccountId
instead.currentIssueKey
- The key of an issue to exclude from search results. For example, the issue the user is viewing when they perform this query.currentProjectId
- The ID of a project that suggested issues must belong to.showSubTasks
- Indicate whether to include subtasks in the suggestions list.showSubTaskParent
- WhencurrentIssueKey
is a subtask, whether to include the parent issue in the suggestions if it matches the query.
-
GetIssuePickerResourceOperationSpec
protected GetIssuePickerResourceOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetIssuePickerResourceOperationSpec.GetIssuePickerResourceOperationSpecBuilder builder() -
query
A string to match against text fields in the issue such as title, description, or comments. -
currentJQL
A JQL query defining a list of issues to search for the query term. Note thatusername
anduserkey
cannot be used as search terms for this parameter, due to privacy reasons. UseaccountId
instead. -
currentIssueKey
The key of an issue to exclude from search results. For example, the issue the user is viewing when they perform this query. -
currentProjectId
The ID of a project that suggested issues must belong to. -
showSubTasks
Indicate whether to include subtasks in the suggestions list. -
showSubTaskParent
WhencurrentIssueKey
is a subtask, whether to include the parent issue in the suggestions if it matches the query. -
query
A string to match against text fields in the issue such as title, description, or comments.- Returns:
this
.
-
currentJQL
A JQL query defining a list of issues to search for the query term. Note thatusername
anduserkey
cannot be used as search terms for this parameter, due to privacy reasons. UseaccountId
instead.- Returns:
this
.
-
currentIssueKey
public GetIssuePickerResourceOperationSpec currentIssueKey(@Nullable @Nullable String currentIssueKey) The key of an issue to exclude from search results. For example, the issue the user is viewing when they perform this query.- Returns:
this
.
-
currentProjectId
public GetIssuePickerResourceOperationSpec currentProjectId(@Nullable @Nullable String currentProjectId) The ID of a project that suggested issues must belong to.- Returns:
this
.
-
showSubTasks
Indicate whether to include subtasks in the suggestions list.- Returns:
this
.
-
showSubTaskParent
public GetIssuePickerResourceOperationSpec showSubTaskParent(@Nullable @Nullable Boolean showSubTaskParent) WhencurrentIssueKey
is a subtask, whether to include the parent issue in the suggestions if it matches the query.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-