Class GetSelectableIssueFieldOptionsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetSelectableIssueFieldOptionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetSelectableIssueFieldOptionsOperationSpec
extends Object
GetSelectableIssueFieldOptionsSpec
Specification for the GetSelectableIssueFieldOptions operation.
Get selectable issue field options
-
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
GetSelectableIssueFieldOptionsOperationSpec
(String fieldKey, Long startAt, Integer maxResults, Long projectId) Constructs a validated instance ofGetSelectableIssueFieldOptionsOperationSpec
.GetSelectableIssueFieldOptionsOperationSpec
(Consumer<GetSelectableIssueFieldOptionsOperationSpec> spec) Constructs a validated instance ofGetSelectableIssueFieldOptionsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionstatic GetSelectableIssueFieldOptionsOperationSpec.GetSelectableIssueFieldOptionsOperationSpecBuilder
builder()
protected boolean
boolean
@NotNull String
fieldKey()
The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**.The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**.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 Long
Filters the results to options that are only available in the specified project.Filters the results to options that are only available in the specified project.@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).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
-
GetSelectableIssueFieldOptionsOperationSpec
@Internal public GetSelectableIssueFieldOptionsOperationSpec(Consumer<GetSelectableIssueFieldOptionsOperationSpec> spec) Constructs a validated instance ofGetSelectableIssueFieldOptionsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetSelectableIssueFieldOptionsOperationSpec
@Internal public GetSelectableIssueFieldOptionsOperationSpec(String fieldKey, Long startAt, Integer maxResults, Long projectId) Constructs a validated instance ofGetSelectableIssueFieldOptionsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldKey
- The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKey
value, do one of the following: * open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in thejiraIssueFields
module. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager. * run [Get fields](#api-rest-api-3-field-get) and in the field details the value is returned inkey
. For example,"key": "teams-add-on__team-issue-field"
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.projectId
- Filters the results to options that are only available in the specified project.
-
GetSelectableIssueFieldOptionsOperationSpec
protected GetSelectableIssueFieldOptionsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetSelectableIssueFieldOptionsOperationSpec.GetSelectableIssueFieldOptionsOperationSpecBuilder builder() -
fieldKey
The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKey
value, do one of the following: * open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in thejiraIssueFields
module. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager. * run [Get fields](#api-rest-api-3-field-get) and in the field details the value is returned inkey
. For example,"key": "teams-add-on__team-issue-field"
-
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. -
projectId
Filters the results to options that are only available in the specified project. -
fieldKey
The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKey
value, do one of the following: * open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in thejiraIssueFields
module. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager. * run [Get fields](#api-rest-api-3-field-get) and in the field details the value is returned inkey
. For example,"key": "teams-add-on__team-issue-field"
- Returns:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
public GetSelectableIssueFieldOptionsOperationSpec maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Returns:
this
.
-
projectId
Filters the results to options that are only available in the specified project.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-