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

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

    • GetIssueWorklogOperationSpec

      @Internal public GetIssueWorklogOperationSpec(Consumer<GetIssueWorklogOperationSpec> spec)
      Constructs a validated instance of GetIssueWorklogOperationSpec.
      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 of GetIssueWorklogOperationSpec.

      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

      @NotNull public @NotNull String issueIdOrKey()
      The ID or key of the issue.
    • startAt

      @Nullable public @Nullable Long startAt()
      The index of the first item to return in a page of results (page offset).
    • maxResults

      @Nullable public @Nullable Integer maxResults()
      The maximum number of items to return per page.
    • startedAfter

      @Nullable public @Nullable Long startedAfter()
      The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.
    • startedBefore

      @Nullable public @Nullable Long startedBefore()
      The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.
    • issueIdOrKey

      public GetIssueWorklogOperationSpec issueIdOrKey(@NotNull @NotNull String issueIdOrKey)
      The ID or key of the issue.
      Returns:
      this.
    • startAt

      public GetIssueWorklogOperationSpec startAt(@Nullable @Nullable Long startAt)
      The index of the first item to return in a page of results (page offset).
      Returns:
      this.
    • maxResults

      public GetIssueWorklogOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return per page.
      Returns:
      this.
    • startedAfter

      public GetIssueWorklogOperationSpec startedAfter(@Nullable @Nullable Long startedAfter)
      The worklog start date and time, as a UNIX timestamp in milliseconds, after which worklogs are returned.
      Returns:
      this.
    • startedBefore

      public GetIssueWorklogOperationSpec startedBefore(@Nullable @Nullable Long startedBefore)
      The worklog start date and time, as a UNIX timestamp in milliseconds, before which worklogs are returned.
      Returns:
      this.
    • expand

      public GetIssueWorklogOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about worklogs in the response. This parameter acceptsproperties, which returns worklog properties.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object