Class DeleteResolutionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteResolutionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteResolutionOperationSpec
extends Object
DeleteResolutionSpec
Specification for the DeleteResolution operation.
Delete resolution
-
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
ConstructorsModifierConstructorDescriptionprotectedDeleteResolutionOperationSpec(String id, String replaceWith) Constructs a validated instance ofDeleteResolutionOperationSpec.Constructs a validated instance ofDeleteResolutionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the issue resolution.The ID of the issue resolution.@NotNull StringThe ID of the issue resolution that will replace the currently selected resolution.replaceWith(@NotNull String replaceWith) The ID of the issue resolution that will replace the currently selected resolution.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
-
DeleteResolutionOperationSpec
Constructs a validated instance ofDeleteResolutionOperationSpec.- Parameters:
spec- the specification to process
-
DeleteResolutionOperationSpec
Constructs a validated instance ofDeleteResolutionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the issue resolution.replaceWith- The ID of the issue resolution that will replace the currently selected resolution.
-
DeleteResolutionOperationSpec
protected DeleteResolutionOperationSpec()
-
-
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 issue resolution. -
replaceWith
The ID of the issue resolution that will replace the currently selected resolution. -
id
The ID of the issue resolution.- Returns:
this.
-
replaceWith
The ID of the issue resolution that will replace the currently selected resolution.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-