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 Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UpdateCustomFieldOperationSpec
(String fieldId, UpdateCustomFieldDetails updateCustomFieldDetails) Constructs a validated instance ofUpdateCustomFieldOperationSpec
.Constructs a validated instance ofUpdateCustomFieldOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@NotNull String
fieldId()
The ID of the custom field.The ID of the custom field.int
hashCode()
toString()
@NotNull UpdateCustomFieldDetails
The custom field update details.updateCustomFieldDetails
(@NotNull UpdateCustomFieldDetails updateCustomFieldDetails) The custom field update details.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
-
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
-