Class UpdateCustomFieldValueOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateCustomFieldValueOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateCustomFieldValueOperationSpec
extends Object
UpdateCustomFieldValueSpec
Specification for the UpdateCustomFieldValue operation.
Update custom field value
-
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
UpdateCustomFieldValueOperationSpec
(String fieldIdOrKey, CustomFieldValueUpdateDetails customFieldValueUpdateDetails, Boolean generateChangelog) Constructs a validated instance ofUpdateCustomFieldValueOperationSpec
.Constructs a validated instance ofUpdateCustomFieldValueOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull CustomFieldValueUpdateDetails
customFieldValueUpdateDetails
(@NotNull CustomFieldValueUpdateDetails customFieldValueUpdateDetails) boolean
@NotNull String
The ID or key of the custom field.fieldIdOrKey
(@NotNull String fieldIdOrKey) The ID or key of the custom field.@Nullable Boolean
Whether to generate a changelog for this update.generateChangelog
(@Nullable Boolean generateChangelog) Whether to generate a changelog for this update.int
hashCode()
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
-
UpdateCustomFieldValueOperationSpec
@Internal public UpdateCustomFieldValueOperationSpec(Consumer<UpdateCustomFieldValueOperationSpec> spec) Constructs a validated instance ofUpdateCustomFieldValueOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateCustomFieldValueOperationSpec
@Internal public UpdateCustomFieldValueOperationSpec(String fieldIdOrKey, CustomFieldValueUpdateDetails customFieldValueUpdateDetails, Boolean generateChangelog) Constructs a validated instance ofUpdateCustomFieldValueOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldIdOrKey
- The ID or key of the custom field. For example,customfield_10010
.customFieldValueUpdateDetails
-generateChangelog
- Whether to generate a changelog for this update.
-
UpdateCustomFieldValueOperationSpec
protected UpdateCustomFieldValueOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateCustomFieldValueOperationSpec.UpdateCustomFieldValueOperationSpecBuilder builder() -
fieldIdOrKey
The ID or key of the custom field. For example,customfield_10010
. -
customFieldValueUpdateDetails
-
generateChangelog
Whether to generate a changelog for this update. -
fieldIdOrKey
The ID or key of the custom field. For example,customfield_10010
.- Returns:
this
.
-
customFieldValueUpdateDetails
public UpdateCustomFieldValueOperationSpec customFieldValueUpdateDetails(@NotNull @NotNull CustomFieldValueUpdateDetails customFieldValueUpdateDetails) - Returns:
this
.
-
generateChangelog
public UpdateCustomFieldValueOperationSpec generateChangelog(@Nullable @Nullable Boolean generateChangelog) Whether to generate a changelog for this update.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-