Class UpdateCommentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateCommentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateCommentOperationSpec
extends Object
UpdateCommentSpec
Specification for the UpdateComment operation.
Update comment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateCommentOperationSpec(String issueIdOrKey, String id, Comment comment, Boolean notifyUsers, Boolean overrideEditableFlag, String expand) Constructs a validated instance ofUpdateCommentOperationSpec.Constructs a validated instance ofUpdateCommentOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull Commentcomment()boolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information about comments in the response.Use [expand](#expansion) to include additional information about comments in the response.inthashCode()@NotNull Stringid()The ID of the comment.The ID of the comment.@NotNull StringThe ID or key of the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key of the issue.@Nullable BooleanWhether users are notified when a comment is updated.notifyUsers(@Nullable Boolean notifyUsers) Whether users are notified when a comment is updated.@Nullable BooleanWhether screen security is overridden to enable uneditable fields to be edited.overrideEditableFlag(@Nullable Boolean overrideEditableFlag) Whether screen security is overridden to enable uneditable fields to be edited.toString()voidvalidate()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
-
UpdateCommentOperationSpec
Constructs a validated instance ofUpdateCommentOperationSpec.- Parameters:
spec- the specification to process
-
UpdateCommentOperationSpec
@Internal public UpdateCommentOperationSpec(String issueIdOrKey, String id, Comment comment, Boolean notifyUsers, Boolean overrideEditableFlag, String expand) Constructs a validated instance ofUpdateCommentOperationSpec.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.comment-notifyUsers- Whether users are notified when a comment is updated.overrideEditableFlag- Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with the *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on behalf of users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).expand- Use [expand](#expansion) to include additional information about comments in the response. This parameter acceptsrenderedBody, which returns the comment body rendered in HTML.
-
UpdateCommentOperationSpec
protected UpdateCommentOperationSpec()
-
-
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. -
comment
-
notifyUsers
Whether users are notified when a comment is updated. -
overrideEditableFlag
Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with the *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on behalf of users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). -
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.
-
id
The ID of the comment.- Returns:
this.
-
comment
- Returns:
this.
-
notifyUsers
Whether users are notified when a comment is updated.- Returns:
this.
-
overrideEditableFlag
public UpdateCommentOperationSpec overrideEditableFlag(@Nullable @Nullable Boolean overrideEditableFlag) Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with the *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) and Forge apps acting on behalf of users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).- 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
-