Class UpdateCustomFieldOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateCustomFieldOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateCustomFieldOperationSpec
extends Object
UpdateCustomFieldSpec
Specification for the UpdateCustomField operation.
Update custom field
-
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
ConstructorsModifierConstructorDescriptionprotectedUpdateCustomFieldOperationSpec(String fieldId, UpdateCustomFieldDetails updateCustomFieldDetails) Constructs a validated instance ofUpdateCustomFieldOperationSpec.Constructs a validated instance ofUpdateCustomFieldOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@NotNull StringfieldId()The ID of the custom field.The ID of the custom field.inthashCode()toString()@NotNull UpdateCustomFieldDetailsThe custom field update details.updateCustomFieldDetails(@NotNull UpdateCustomFieldDetails updateCustomFieldDetails) The custom field update details.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
-
UpdateCustomFieldOperationSpec
Constructs a validated instance ofUpdateCustomFieldOperationSpec.- Parameters:
spec- the specification to process
-
UpdateCustomFieldOperationSpec
@Internal public UpdateCustomFieldOperationSpec(String fieldId, UpdateCustomFieldDetails updateCustomFieldDetails) Constructs a validated instance ofUpdateCustomFieldOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldId- The ID of the custom field.updateCustomFieldDetails- The custom field update details.
-
UpdateCustomFieldOperationSpec
protected UpdateCustomFieldOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
fieldId
The ID of the custom field. -
updateCustomFieldDetails
The custom field update details. -
fieldId
The ID of the custom field.- Returns:
this.
-
updateCustomFieldDetails
public UpdateCustomFieldOperationSpec updateCustomFieldDetails(@NotNull @NotNull UpdateCustomFieldDetails updateCustomFieldDetails) The custom field update details.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-