Class UpdateIssueFieldOptionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateIssueFieldOptionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateIssueFieldOptionOperationSpec
extends Object
UpdateIssueFieldOptionSpec
Specification for the UpdateIssueFieldOption operation.
Update issue field option
-
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
ConstructorsModifierConstructorDescriptionprotectedUpdateIssueFieldOptionOperationSpec(String fieldKey, Long optionId, IssueFieldOption issueFieldOption) Constructs a validated instance ofUpdateIssueFieldOptionOperationSpec.Constructs a validated instance ofUpdateIssueFieldOptionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@NotNull StringfieldKey()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)**.inthashCode()@NotNull IssueFieldOptionissueFieldOption(@NotNull IssueFieldOption issueFieldOption) @NotNull LongoptionId()The ID of the option to be updated.The ID of the option to be updated.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
-
UpdateIssueFieldOptionOperationSpec
@Internal public UpdateIssueFieldOptionOperationSpec(Consumer<UpdateIssueFieldOptionOperationSpec> spec) Constructs a validated instance ofUpdateIssueFieldOptionOperationSpec.- Parameters:
spec- the specification to process
-
UpdateIssueFieldOptionOperationSpec
@Internal public UpdateIssueFieldOptionOperationSpec(String fieldKey, Long optionId, IssueFieldOption issueFieldOption) Constructs a validated instance ofUpdateIssueFieldOptionOperationSpec.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 thefieldKeyvalue, 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 thejiraIssueFieldsmodule. **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"optionId- The ID of the option to be updated.issueFieldOption-
-
UpdateIssueFieldOptionOperationSpec
protected UpdateIssueFieldOptionOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateIssueFieldOptionOperationSpec.UpdateIssueFieldOptionOperationSpecBuilder 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 thefieldKeyvalue, 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 thejiraIssueFieldsmodule. **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" -
optionId
The ID of the option to be updated. -
issueFieldOption
-
fieldKey
The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine thefieldKeyvalue, 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 thejiraIssueFieldsmodule. **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.
-
optionId
The ID of the option to be updated.- Returns:
this.
-
issueFieldOption
public UpdateIssueFieldOptionOperationSpec issueFieldOption(@NotNull @NotNull IssueFieldOption issueFieldOption) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-