Class EditIssueOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.EditIssueOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class EditIssueOperationSpec
extends Object
EditIssueSpec
Specification for the EditIssue operation.
Edit issue
-
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
EditIssueOperationSpec
(String issueIdOrKey, IssueUpdateDetails issueUpdateDetails, Boolean notifyUsers, Boolean overrideScreenSecurity, Boolean overrideEditableFlag, Boolean returnIssue, String expand) Constructs a validated instance ofEditIssueOperationSpec
.Constructs a validated instance ofEditIssueOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
The Get issue API expand parameter to use in the response if thereturnIssue
parameter istrue
.The Get issue API expand parameter to use in the response if thereturnIssue
parameter istrue
.int
hashCode()
@NotNull String
The ID or key of the issue.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue.@NotNull IssueUpdateDetails
issueUpdateDetails
(@NotNull IssueUpdateDetails issueUpdateDetails) @Nullable Boolean
Whether a notification email about the issue update is sent to all watchers.notifyUsers
(@Nullable Boolean notifyUsers) Whether a notification email about the issue update is sent to all watchers.@Nullable Boolean
Whether 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.@Nullable Boolean
Whether screen security is overridden to enable hidden fields to be edited.overrideScreenSecurity
(@Nullable Boolean overrideScreenSecurity) Whether screen security is overridden to enable hidden fields to be edited.@Nullable Boolean
Whether the response should contain the issue with fields edited in this request.returnIssue
(@Nullable Boolean returnIssue) Whether the response should contain the issue with fields edited in this request.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
-
EditIssueOperationSpec
Constructs a validated instance ofEditIssueOperationSpec
.- Parameters:
spec
- the specification to process
-
EditIssueOperationSpec
@Internal public EditIssueOperationSpec(String issueIdOrKey, IssueUpdateDetails issueUpdateDetails, Boolean notifyUsers, Boolean overrideScreenSecurity, Boolean overrideEditableFlag, Boolean returnIssue, String expand) Constructs a validated instance ofEditIssueOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.issueUpdateDetails
-notifyUsers
- Whether a notification email about the issue update is sent to all watchers. To disable the notification, administer Jira or administer project permissions are required. If the user doesn't have the necessary permission the request is ignored.overrideScreenSecurity
- Whether screen security is overridden to enable hidden fields to be edited. Available to Connect app users with *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).overrideEditableFlag
- Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with *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).returnIssue
- Whether the response should contain the issue with fields edited in this request. The returned issue will have the same format as in the [Get issue API](#api-rest-api-3-issue-issueidorkey-get).expand
- The Get issue API expand parameter to use in the response if thereturnIssue
parameter istrue
.
-
EditIssueOperationSpec
protected EditIssueOperationSpec()
-
-
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. -
issueUpdateDetails
-
notifyUsers
Whether a notification email about the issue update is sent to all watchers. To disable the notification, administer Jira or administer project permissions are required. If the user doesn't have the necessary permission the request is ignored. -
overrideScreenSecurity
Whether screen security is overridden to enable hidden fields to be edited. Available to Connect app users with *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). -
overrideEditableFlag
Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with *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). -
returnIssue
Whether the response should contain the issue with fields edited in this request. The returned issue will have the same format as in the [Get issue API](#api-rest-api-3-issue-issueidorkey-get). -
expand
The Get issue API expand parameter to use in the response if thereturnIssue
parameter istrue
. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
issueUpdateDetails
public EditIssueOperationSpec issueUpdateDetails(@NotNull @NotNull IssueUpdateDetails issueUpdateDetails) - Returns:
this
.
-
notifyUsers
Whether a notification email about the issue update is sent to all watchers. To disable the notification, administer Jira or administer project permissions are required. If the user doesn't have the necessary permission the request is ignored.- Returns:
this
.
-
overrideScreenSecurity
public EditIssueOperationSpec overrideScreenSecurity(@Nullable @Nullable Boolean overrideScreenSecurity) Whether screen security is overridden to enable hidden fields to be edited. Available to Connect app users with *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
.
-
overrideEditableFlag
public EditIssueOperationSpec overrideEditableFlag(@Nullable @Nullable Boolean overrideEditableFlag) Whether screen security is overridden to enable uneditable fields to be edited. Available to Connect app users with *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
.
-
returnIssue
Whether the response should contain the issue with fields edited in this request. The returned issue will have the same format as in the [Get issue API](#api-rest-api-3-issue-issueidorkey-get).- Returns:
this
.
-
expand
The Get issue API expand parameter to use in the response if thereturnIssue
parameter istrue
.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-