Class DeleteAndReplaceVersionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteAndReplaceVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteAndReplaceVersionOperationSpec
extends Object
DeleteAndReplaceVersionSpec
Specification for the DeleteAndReplaceVersion operation.
Delete and replace version
-
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
ConstructorsModifierConstructorDescriptionprotectedDeleteAndReplaceVersionOperationSpec(String id, DeleteAndReplaceVersionBean deleteAndReplaceVersionBean) Constructs a validated instance ofDeleteAndReplaceVersionOperationSpec.Constructs a validated instance ofDeleteAndReplaceVersionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull DeleteAndReplaceVersionBeandeleteAndReplaceVersionBean(@NotNull DeleteAndReplaceVersionBean deleteAndReplaceVersionBean) booleaninthashCode()@NotNull Stringid()The ID of the version.The ID of the version.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
-
DeleteAndReplaceVersionOperationSpec
@Internal public DeleteAndReplaceVersionOperationSpec(Consumer<DeleteAndReplaceVersionOperationSpec> spec) Constructs a validated instance ofDeleteAndReplaceVersionOperationSpec.- Parameters:
spec- the specification to process
-
DeleteAndReplaceVersionOperationSpec
@Internal public DeleteAndReplaceVersionOperationSpec(String id, DeleteAndReplaceVersionBean deleteAndReplaceVersionBean) Constructs a validated instance ofDeleteAndReplaceVersionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the version.deleteAndReplaceVersionBean-
-
DeleteAndReplaceVersionOperationSpec
protected DeleteAndReplaceVersionOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteAndReplaceVersionOperationSpec.DeleteAndReplaceVersionOperationSpecBuilder builder() -
id
The ID of the version. -
deleteAndReplaceVersionBean
-
id
The ID of the version.- Returns:
this.
-
deleteAndReplaceVersionBean
public DeleteAndReplaceVersionOperationSpec deleteAndReplaceVersionBean(@NotNull @NotNull DeleteAndReplaceVersionBean deleteAndReplaceVersionBean) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-