Class DeleteRelatedWorkOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteRelatedWorkOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteRelatedWorkOperationSpec
extends Object
DeleteRelatedWorkSpec
Specification for the DeleteRelatedWork operation.
Delete 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
DeleteRelatedWorkOperationSpec
(String versionId, String relatedWorkId) Constructs a validated instance ofDeleteRelatedWorkOperationSpec
.Constructs a validated instance ofDeleteRelatedWorkOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
The ID of the related work to delete.relatedWorkId
(@NotNull String relatedWorkId) The ID of the related work to delete.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing@NotNull String
The ID of the version that the target related work belongs to.The ID of the version that the target related work belongs to.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
DeleteRelatedWorkOperationSpec
Constructs a validated instance ofDeleteRelatedWorkOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteRelatedWorkOperationSpec
Constructs a validated instance ofDeleteRelatedWorkOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
versionId
- The ID of the version that the target related work belongs to.relatedWorkId
- The ID of the related work to delete.
-
DeleteRelatedWorkOperationSpec
protected DeleteRelatedWorkOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
versionId
The ID of the version that the target related work belongs to. -
versionId
The ID of the version that the target related work belongs to.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-