Class GetIssuePickerResourceOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetIssuePickerResourceOperationSpec(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 StringThe key of an issue to exclude from search results.currentIssueKey(@Nullable String currentIssueKey) The key of an issue to exclude from search results.@Nullable StringA 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 StringThe 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.booleaninthashCode()@Nullable Stringquery()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 BooleanWhencurrentIssueKeyis a subtask, whether to include the parent issue in the suggestions if it matches the query.showSubTaskParent(@Nullable Boolean showSubTaskParent) WhencurrentIssueKeyis a subtask, whether to include the parent issue in the suggestions if it matches the query.@Nullable BooleanIndicate whether to include subtasks in the suggestions list.showSubTasks(@Nullable Boolean showSubTasks) Indicate whether to include subtasks in the suggestions list.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
-
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 thatusernameanduserkeycannot be used as search terms for this parameter, due to privacy reasons. UseaccountIdinstead.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- WhencurrentIssueKeyis 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 thatusernameanduserkeycannot be used as search terms for this parameter, due to privacy reasons. UseaccountIdinstead. -
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
WhencurrentIssueKeyis 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 thatusernameanduserkeycannot be used as search terms for this parameter, due to privacy reasons. UseaccountIdinstead.- 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) WhencurrentIssueKeyis 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
-