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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateCustomFieldValueOperationSpec(String fieldIdOrKey, CustomFieldValueUpdateDetails customFieldValueUpdateDetails, Boolean generateChangelog) Constructs a validated instance ofUpdateCustomFieldValueOperationSpec.Constructs a validated instance ofUpdateCustomFieldValueOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull CustomFieldValueUpdateDetailscustomFieldValueUpdateDetails(@NotNull CustomFieldValueUpdateDetails customFieldValueUpdateDetails) boolean@NotNull StringThe ID or key of the custom field.fieldIdOrKey(@NotNull String fieldIdOrKey) The ID or key of the custom field.@Nullable BooleanWhether to generate a changelog for this update.generateChangelog(@Nullable Boolean generateChangelog) Whether to generate a changelog for this update.inthashCode()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
-
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
-