Class UpdateRelatedWorkOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.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 Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UpdateRelatedWorkOperationSpec
(String id, VersionRelatedWork versionRelatedWork) Constructs a validated instance ofUpdateRelatedWorkOperationSpec
.Constructs a validated instance ofUpdateRelatedWorkOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
The ID of the version to update the related work on.The ID of the version to update the related work on.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing@NotNull VersionRelatedWork
versionRelatedWork
(@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
-