Class DeleteComponentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteComponentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteComponentOperationSpec
extends Object
DeleteComponentSpec
Specification for the DeleteComponent operation.
Delete component
-
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
ConstructorsModifierConstructorDescriptionprotectedDeleteComponentOperationSpec(String id, String moveIssuesTo) Constructs a validated instance ofDeleteComponentOperationSpec.Constructs a validated instance ofDeleteComponentOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the component.The ID of the component.@Nullable StringThe ID of the component to replace the deleted component.moveIssuesTo(@Nullable String moveIssuesTo) The ID of the component to replace the deleted component.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
-
DeleteComponentOperationSpec
Constructs a validated instance ofDeleteComponentOperationSpec.- Parameters:
spec- the specification to process
-
DeleteComponentOperationSpec
Constructs a validated instance ofDeleteComponentOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the component.moveIssuesTo- The ID of the component to replace the deleted component. If this value is null no replacement is made.
-
DeleteComponentOperationSpec
protected DeleteComponentOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
The ID of the component. -
moveIssuesTo
The ID of the component to replace the deleted component. If this value is null no replacement is made. -
id
The ID of the component.- Returns:
this.
-
moveIssuesTo
The ID of the component to replace the deleted component. If this value is null no replacement is made.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-