Class MergeVersionsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.MergeVersionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class MergeVersionsOperationSpec
extends Object
MergeVersionsSpec
Specification for the MergeVersions operation.
Merge versions
-
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
ConstructorsModifierConstructorDescriptionprotectedMergeVersionsOperationSpec(String id, String moveIssuesTo) Constructs a validated instance ofMergeVersionsOperationSpec.Constructs a validated instance ofMergeVersionsOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the version to delete.The ID of the version to delete.@NotNull StringThe ID of the version to merge into.moveIssuesTo(@NotNull String moveIssuesTo) The ID of the version to merge into.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
-
MergeVersionsOperationSpec
Constructs a validated instance ofMergeVersionsOperationSpec.- Parameters:
spec- the specification to process
-
MergeVersionsOperationSpec
Constructs a validated instance ofMergeVersionsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the version to delete.moveIssuesTo- The ID of the version to merge into.
-
MergeVersionsOperationSpec
protected MergeVersionsOperationSpec()
-
-
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 version to delete. -
moveIssuesTo
The ID of the version to merge into. -
id
The ID of the version to delete.- Returns:
this.
-
moveIssuesTo
The ID of the version to merge into.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-