Klasse DeleteWorklogOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteWorklogOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteWorklogOperationSpec
extends Object
DeleteWorklogSpec
Specification for the DeleteWorklog operation.
Delete worklog
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
DeleteWorklogOperationSpec
(String issueIdOrKey, String id, Boolean notifyUsers, String adjustEstimate, String newEstimate, String increaseBy, Boolean overrideEditableFlag) Constructs a validated instance ofDeleteWorklogOperationSpec
.Constructs a validated instance ofDeleteWorklogOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable String
Defines how to update the issue's time estimate, the options are: *new
Sets the estimate to a specific value, defined innewEstimate
.adjustEstimate
(@Nullable String adjustEstimate) Defines how to update the issue's time estimate, the options are: *new
Sets the estimate to a specific value, defined innewEstimate
.builder()
protected boolean
boolean
int
hashCode()
@NotNull String
id()
The ID of the worklog.The ID of the worklog.@Nullable String
The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).increaseBy
(@Nullable String increaseBy) The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#).@NotNull String
The ID or key of the issue.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue.@Nullable String
The 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 Boolean
Whether users watching the issue are notified by email.notifyUsers
(@Nullable Boolean notifyUsers) Whether users watching the issue are notified by email.@Nullable Boolean
Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing.overrideEditableFlag
(@Nullable Boolean overrideEditableFlag) Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
DeleteWorklogOperationSpec
Constructs a validated instance ofDeleteWorklogOperationSpec
.- Parameter:
spec
- the specification to process
-
DeleteWorklogOperationSpec
@Internal public DeleteWorklogOperationSpec(String issueIdOrKey, String id, Boolean notifyUsers, String adjustEstimate, String newEstimate, String increaseBy, Boolean overrideEditableFlag) Constructs a validated instance ofDeleteWorklogOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameter:
issueIdOrKey
- The ID or key of the issue.id
- The ID of the worklog.notifyUsers
- Whether users watching the issue are notified by email.adjustEstimate
- Defines how to update the issue's time estimate, the options are: *new
Sets the estimate to a specific value, defined innewEstimate
. *leave
Leaves the estimate unchanged. *manual
Increases the estimate by amount specified inincreaseBy
. *auto
Reduces the estimate by the value oftimeSpent
in the worklog.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 whenadjustEstimate
isnew
.increaseBy
- The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimate
ismanual
.overrideEditableFlag
- Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Connect and Forge app users with admin permission can use this flag.
-
DeleteWorklogOperationSpec
protected DeleteWorklogOperationSpec()
-
-
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 of the issue. -
id
The ID of the worklog. -
notifyUsers
Whether users watching the issue are notified by email. -
adjustEstimate
Defines how to update the issue's time estimate, the options are: *new
Sets the estimate to a specific value, defined innewEstimate
. *leave
Leaves the estimate unchanged. *manual
Increases the estimate by amount specified inincreaseBy
. *auto
Reduces the estimate by the value oftimeSpent
in the worklog. -
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 whenadjustEstimate
isnew
. -
increaseBy
The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimate
ismanual
. -
overrideEditableFlag
Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Connect and Forge app users with admin permission can use this flag. -
issueIdOrKey
The ID or key of the issue.- Gibt zurück:
this
.
-
id
The ID of the 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: *new
Sets the estimate to a specific value, defined innewEstimate
. *leave
Leaves the estimate unchanged. *manual
Increases the estimate by amount specified inincreaseBy
. *auto
Reduces the estimate by the value oftimeSpent
in the worklog.- 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 whenadjustEstimate
isnew
.- Gibt zurück:
this
.
-
increaseBy
The amount to increase the issue's remaining estimate by, as days (\\#d), hours (\\#h), or minutes (\\#m or \\#). For example, *2d*. Required whenadjustEstimate
ismanual
.- Gibt zurück:
this
.
-
overrideEditableFlag
public DeleteWorklogOperationSpec overrideEditableFlag(@Nullable @Nullable Boolean overrideEditableFlag) Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Connect and Forge app users with admin permission can use this flag.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-