Class CreateRelatedWorkOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.CreateRelatedWorkOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateRelatedWorkOperationSpec
extends Object
CreateRelatedWorkSpec
Specification for the CreateRelatedWork operation.
Create 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
CreateRelatedWorkOperationSpec
(String id, VersionRelatedWork versionRelatedWork) Constructs a validated instance ofCreateRelatedWorkOperationSpec
.Constructs a validated instance ofCreateRelatedWorkOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
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
-
CreateRelatedWorkOperationSpec
Constructs a validated instance ofCreateRelatedWorkOperationSpec
.- Parameters:
spec
- the specification to process
-
CreateRelatedWorkOperationSpec
Constructs a validated instance ofCreateRelatedWorkOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
-versionRelatedWork
-
-
CreateRelatedWorkOperationSpec
protected CreateRelatedWorkOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
-
versionRelatedWork
-
id
- Returns:
this
.
-
versionRelatedWork
public CreateRelatedWorkOperationSpec versionRelatedWork(@NotNull @NotNull VersionRelatedWork versionRelatedWork) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-