Class UpdateRelatedWorkOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateRelatedWorkOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateRelatedWorkOperationSpec
extends Object
UpdateRelatedWorkSpec
Specification for the UpdateRelatedWork operation.
Update related work
-
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
ConstructorsModifierConstructorDescriptionprotectedUpdateRelatedWorkOperationSpec(String id, VersionRelatedWork versionRelatedWork) Constructs a validated instance ofUpdateRelatedWorkOperationSpec.Constructs a validated instance ofUpdateRelatedWorkOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Stringid()The ID of the version to update the related work on.The ID of the version to update the related work on.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull VersionRelatedWorkversionRelatedWork(@NotNull VersionRelatedWork versionRelatedWork)
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
UpdateRelatedWorkOperationSpec
Constructs a validated instance ofUpdateRelatedWorkOperationSpec.- Parameters:
spec- the specification to process
-
UpdateRelatedWorkOperationSpec
Constructs a validated instance ofUpdateRelatedWorkOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the version to update the related work on. For the related work id, pass it to the input JSON.versionRelatedWork-
-
UpdateRelatedWorkOperationSpec
protected UpdateRelatedWorkOperationSpec()
-
-
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 update the related work on. For the related work id, pass it to the input JSON. -
versionRelatedWork
-
id
The ID of the version to update the related work on. For the related work id, pass it to the input JSON.- Returns:
this.
-
versionRelatedWork
public UpdateRelatedWorkOperationSpec versionRelatedWork(@NotNull @NotNull VersionRelatedWork versionRelatedWork) - Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-