Class DeleteCustomFieldOptionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteCustomFieldOptionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteCustomFieldOptionOperationSpec
extends Object
DeleteCustomFieldOptionSpec
Specification for the DeleteCustomFieldOption operation.
Delete custom field options (context)
-
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
DeleteCustomFieldOptionOperationSpec
(String fieldId, Long contextId, Long optionId) Constructs a validated instance ofDeleteCustomFieldOptionOperationSpec
.Constructs a validated instance ofDeleteCustomFieldOptionOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull Long
The ID of the context from which an option should be deleted.The ID of the context from which an option should be deleted.boolean
@NotNull String
fieldId()
The ID of the custom field.The ID of the custom field.int
hashCode()
@NotNull Long
optionId()
The ID of the option to delete.The ID of the option to delete.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
-
DeleteCustomFieldOptionOperationSpec
@Internal public DeleteCustomFieldOptionOperationSpec(Consumer<DeleteCustomFieldOptionOperationSpec> spec) Constructs a validated instance ofDeleteCustomFieldOptionOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteCustomFieldOptionOperationSpec
@Internal public DeleteCustomFieldOptionOperationSpec(String fieldId, Long contextId, Long optionId) Constructs a validated instance ofDeleteCustomFieldOptionOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldId
- The ID of the custom field.contextId
- The ID of the context from which an option should be deleted.optionId
- The ID of the option to delete.
-
DeleteCustomFieldOptionOperationSpec
protected DeleteCustomFieldOptionOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteCustomFieldOptionOperationSpec.DeleteCustomFieldOptionOperationSpecBuilder builder() -
fieldId
The ID of the custom field. -
contextId
The ID of the context from which an option should be deleted. -
optionId
The ID of the option to delete. -
fieldId
The ID of the custom field.- Returns:
this
.
-
contextId
The ID of the context from which an option should be deleted.- Returns:
this
.
-
optionId
The ID of the option to delete.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-