Klasse UpdateWorklogOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateWorklogOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateWorklogOperationSpec
extends Object
UpdateWorklogSpec
Specification for the UpdateWorklog operation.
Update worklog
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedUpdateWorklogOperationSpec(String issueIdOrKey, String id, Worklog worklog, Boolean notifyUsers, String adjustEstimate, String newEstimate, String expand, Boolean overrideEditableFlag) Constructs a validated instance ofUpdateWorklogOperationSpec.Constructs a validated instance ofUpdateWorklogOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable StringDefines how to update the issue's time estimate, the options are: *newSets the estimate to a specific value, defined innewEstimate.adjustEstimate(@Nullable String adjustEstimate) Defines how to update the issue's time estimate, the options are: *newSets the estimate to a specific value, defined innewEstimate.builder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information about worklogs in the response.Use [expand](#expansion) to include additional information about worklogs in the response.inthashCode()@NotNull Stringid()The ID of the worklog.The ID of the worklog.@NotNull StringThe ID or key the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key the issue.@Nullable StringThe value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).newEstimate(@Nullable String newEstimate) The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).@Nullable BooleanWhether users watching the issue are notified by email.notifyUsers(@Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.@Nullable BooleanWhether the worklog should be added to the issue even if the issue is not editable.overrideEditableFlag(@Nullable Boolean overrideEditableFlag) Whether the worklog should be added to the issue even if the issue is not editable.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@NotNull Worklogworklog()
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
UpdateWorklogOperationSpec
Constructs a validated instance ofUpdateWorklogOperationSpec.- Parameter:
spec- the specification to process
-
UpdateWorklogOperationSpec
@Internal public UpdateWorklogOperationSpec(String issueIdOrKey, String id, Worklog worklog, Boolean notifyUsers, String adjustEstimate, String newEstimate, String expand, Boolean overrideEditableFlag) Constructs a validated instance ofUpdateWorklogOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
issueIdOrKey- The ID or key the issue.id- The ID of the worklog.worklog-notifyUsers- Whether users watching the issue are notified by email.adjustEstimate- Defines how to update the issue's time estimate, the options are: *newSets the estimate to a specific value, defined innewEstimate. *leaveLeaves the estimate unchanged. *autoUpdates the estimate by the difference between the original and updated value oftimeSpentortimeSpentSeconds.newEstimate- The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimateisnew.expand- Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.overrideEditableFlag- Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) can use this flag.
-
UpdateWorklogOperationSpec
protected UpdateWorklogOperationSpec()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key the issue. -
id
The ID of the worklog. -
worklog
-
notifyUsers
Whether users watching the issue are notified by email. -
adjustEstimate
Defines how to update the issue's time estimate, the options are: *newSets the estimate to a specific value, defined innewEstimate. *leaveLeaves the estimate unchanged. *autoUpdates the estimate by the difference between the original and updated value oftimeSpentortimeSpentSeconds. -
newEstimate
The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimateisnew. -
expand
Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties. -
overrideEditableFlag
Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) can use this flag. -
issueIdOrKey
The ID or key the issue.- Gibt zurück:
this.
-
id
The ID of the worklog.- Gibt zurück:
this.
-
worklog
- Gibt zurück:
this.
-
notifyUsers
Whether users watching the issue are notified by email.- Gibt zurück:
this.
-
adjustEstimate
Defines how to update the issue's time estimate, the options are: *newSets the estimate to a specific value, defined innewEstimate. *leaveLeaves the estimate unchanged. *autoUpdates the estimate by the difference between the original and updated value oftimeSpentortimeSpentSeconds.- Gibt zurück:
this.
-
newEstimate
The value to set as the issue's remaining time estimate, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimateisnew.- Gibt zurück:
this.
-
expand
Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.- Gibt zurück:
this.
-
overrideEditableFlag
public UpdateWorklogOperationSpec overrideEditableFlag(@Nullable @Nullable Boolean overrideEditableFlag) Whether the worklog should be added to the issue even if the issue is not editable. For example, because the issue is closed. Connect and Forge app users with *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg) can use this flag.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-