Class DeleteVersionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteVersionOperationSpec
extends Object
DeleteVersionSpec
Specification for the DeleteVersion operation.
Delete version
-
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
DeleteVersionOperationSpec
(String id, String moveFixIssuesTo, String moveAffectedIssuesTo) Constructs a validated instance ofDeleteVersionOperationSpec
.Constructs a validated instance ofDeleteVersionOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
The ID of the version.The ID of the version.@Nullable String
The ID of the version to updateaffectedVersion
to when the field contains the deleted version.moveAffectedIssuesTo
(@Nullable String moveAffectedIssuesTo) The ID of the version to updateaffectedVersion
to when the field contains the deleted version.@Nullable String
The ID of the version to updatefixVersion
to when the field contains the deleted version.moveFixIssuesTo
(@Nullable String moveFixIssuesTo) The ID of the version to updatefixVersion
to when the field contains the deleted version.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
-
DeleteVersionOperationSpec
Constructs a validated instance ofDeleteVersionOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteVersionOperationSpec
@Internal public DeleteVersionOperationSpec(String id, String moveFixIssuesTo, String moveAffectedIssuesTo) Constructs a validated instance ofDeleteVersionOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the version.moveFixIssuesTo
- The ID of the version to updatefixVersion
to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.moveAffectedIssuesTo
- The ID of the version to updateaffectedVersion
to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.
-
DeleteVersionOperationSpec
protected DeleteVersionOperationSpec()
-
-
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. -
moveFixIssuesTo
The ID of the version to updatefixVersion
to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted. -
moveAffectedIssuesTo
The ID of the version to updateaffectedVersion
to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted. -
id
The ID of the version.- Returns:
this
.
-
moveFixIssuesTo
The ID of the version to updatefixVersion
to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.- Returns:
this
.
-
moveAffectedIssuesTo
public DeleteVersionOperationSpec moveAffectedIssuesTo(@Nullable @Nullable String moveAffectedIssuesTo) The ID of the version to updateaffectedVersion
to when the field contains the deleted version. The replacement version must be in the same project as the version being deleted and cannot be the version being deleted.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-