Class DeleteCommentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteCommentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteCommentOperationSpec
extends Object
DeleteCommentSpec
Specification for the DeleteComment operation.
Delete comment
-
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
DeleteCommentOperationSpec
(String issueIdOrKey, String id) Constructs a validated instance ofDeleteCommentOperationSpec
.Constructs a validated instance ofDeleteCommentOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
The ID of the comment.The ID of the comment.@NotNull String
The ID or key of the issue.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
DeleteCommentOperationSpec
Constructs a validated instance ofDeleteCommentOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteCommentOperationSpec
Constructs a validated instance ofDeleteCommentOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.id
- The ID of the comment.
-
DeleteCommentOperationSpec
protected DeleteCommentOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
id
The ID of the comment. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
id
The ID of the comment.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-