Class GetWorklogsForIdsOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetWorklogsForIdsOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class GetWorklogsForIdsOperationSpec extends Object
GetWorklogsForIdsSpec

Specification for the GetWorklogsForIds operation.

Get worklogs

  • Field Details

    • VALIDATION_ENABLED

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

    • GetWorklogsForIdsOperationSpec

      @Internal public GetWorklogsForIdsOperationSpec(Consumer<GetWorklogsForIdsOperationSpec> spec)
      Constructs a validated instance of GetWorklogsForIdsOperationSpec.
      Parameters:
      spec - the specification to process
    • GetWorklogsForIdsOperationSpec

      @Internal public GetWorklogsForIdsOperationSpec(WorklogIdsRequestBean worklogIdsRequestBean, String expand)
      Constructs a validated instance of GetWorklogsForIdsOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameters:
      worklogIdsRequestBean - A JSON object containing a list of worklog IDs.
      expand - Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.
    • GetWorklogsForIdsOperationSpec

      protected GetWorklogsForIdsOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • builder

    • worklogIdsRequestBean

      @NotNull public @NotNull WorklogIdsRequestBean worklogIdsRequestBean()
      A JSON object containing a list of worklog IDs.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.
    • worklogIdsRequestBean

      public GetWorklogsForIdsOperationSpec worklogIdsRequestBean(@NotNull @NotNull WorklogIdsRequestBean worklogIdsRequestBean)
      A JSON object containing a list of worklog IDs.
      Returns:
      this.
    • expand

      public GetWorklogsForIdsOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about worklogs in the response. This parameter accepts properties that returns the properties of each worklog.
      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