Class AddCommentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.AddCommentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddCommentOperationSpec
extends Object
AddCommentSpec
Specification for the AddComment operation.
Add 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
AddCommentOperationSpec
(String issueIdOrKey, Comment comment, String expand) Constructs a validated instance ofAddCommentOperationSpec
.Constructs a validated instance ofAddCommentOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull Comment
comment()
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about comments in the response.Use [expand](#expansion) to include additional information about comments in the response.int
hashCode()
@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
-
AddCommentOperationSpec
Constructs a validated instance ofAddCommentOperationSpec
.- Parameters:
spec
- the specification to process
-
AddCommentOperationSpec
Constructs a validated instance ofAddCommentOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.comment
-expand
- Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody
, which returns the comment body rendered in HTML.
-
AddCommentOperationSpec
protected AddCommentOperationSpec()
-
-
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. -
comment
-
expand
Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody
, which returns the comment body rendered in HTML. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
comment
- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody
, which returns the comment body rendered in HTML.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-