Class UpdateResolutionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateResolutionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateResolutionOperationSpec
extends Object
UpdateResolutionSpec
Specification for the UpdateResolution operation.
Update 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
ConstructorsModifierConstructorDescriptionprotectedUpdateResolutionOperationSpec(String id, UpdateResolutionDetails updateResolutionDetails) Constructs a validated instance ofUpdateResolutionOperationSpec.Constructs a validated instance ofUpdateResolutionOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the issue resolution.The ID of the issue resolution.toString()@NotNull UpdateResolutionDetailsupdateResolutionDetails(@NotNull UpdateResolutionDetails updateResolutionDetails) 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
-
UpdateResolutionOperationSpec
Constructs a validated instance ofUpdateResolutionOperationSpec.- Parameters:
spec- the specification to process
-
UpdateResolutionOperationSpec
@Internal public UpdateResolutionOperationSpec(String id, UpdateResolutionDetails updateResolutionDetails) Constructs a validated instance ofUpdateResolutionOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the issue resolution.updateResolutionDetails-
-
UpdateResolutionOperationSpec
protected UpdateResolutionOperationSpec()
-
-
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. -
updateResolutionDetails
-
id
The ID of the issue resolution.- Returns:
this.
-
updateResolutionDetails
public UpdateResolutionOperationSpec updateResolutionDetails(@NotNull @NotNull UpdateResolutionDetails updateResolutionDetails) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-