Class UpdateVersionOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateVersionOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateVersionOperationSpec
extends Object
UpdateVersionSpec
Specification for the UpdateVersion operation.
Update 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
UpdateVersionOperationSpec
(String id, Version version) Constructs a validated instance ofUpdateVersionOperationSpec
.Constructs a validated instance ofUpdateVersionOperationSpec
. -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
UpdateVersionOperationSpec
Constructs a validated instance ofUpdateVersionOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateVersionOperationSpec
Constructs a validated instance ofUpdateVersionOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the version.version
-
-
UpdateVersionOperationSpec
protected UpdateVersionOperationSpec()
-
-
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. -
version
-
id
The ID of the version.- Returns:
this
.
-
version
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-