Class GetIssueWorklogOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetIssueWorklogOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetIssueWorklogOperationSpec
extends Object
GetIssueWorklogSpec
Specification for the GetIssueWorklog operation.
Get issue worklogs
-
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
ConstructorsModifierConstructorDescriptionprotectedGetIssueWorklogOperationSpec(String issueIdOrKey, Long startAt, Integer maxResults, Long startedAfter, Long startedBefore, String expand) Constructs a validated instance ofGetIssueWorklogOperationSpec.Constructs a validated instance ofGetIssueWorklogOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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 StringThe ID or key of the issue.issueIdOrKey(@NotNull String issueIdOrKey) The ID or key of the issue.@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable LongstartAt()The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).@Nullable LongThe worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.startedAfter(@Nullable Long startedAfter) The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.@Nullable LongThe worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.startedBefore(@Nullable Long startedBefore) The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.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
-
GetIssueWorklogOperationSpec
Constructs a validated instance ofGetIssueWorklogOperationSpec.- Parameters:
spec- the specification to process
-
GetIssueWorklogOperationSpec
@Internal public GetIssueWorklogOperationSpec(String issueIdOrKey, Long startAt, Integer maxResults, Long startedAfter, Long startedBefore, String expand) Constructs a validated instance ofGetIssueWorklogOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey- The ID or key of the issue.startAt- The index of the first item to return in a page of results (page offset).maxResults- The maximum number of items to return per page.startedAfter- The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.startedBefore- The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.expand- Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.
-
GetIssueWorklogOperationSpec
protected GetIssueWorklogOperationSpec()
-
-
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. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
startedAfter
The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned. -
startedBefore
The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned. -
expand
Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties. -
issueIdOrKey
The ID or key of the issue.- Returns:
this.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
startedAfter
The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.- Returns:
this.
-
startedBefore
The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-