Class GetCommentsByIdsOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetCommentsByIdsOperationSpec

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

Specification for the GetCommentsByIds operation.

Get comments by IDs

  • Field Details

    • VALIDATION_ENABLED

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

    • GetCommentsByIdsOperationSpec

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

      @Internal public GetCommentsByIdsOperationSpec(IssueCommentListRequestBean issueCommentListRequestBean, String expand)
      Constructs a validated instance of GetCommentsByIdsOperationSpec.

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

      Parameters:
      issueCommentListRequestBean - The list of comment IDs.
      expand - Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts a comma-separated list. Expand options include: * renderedBody Returns the comment body rendered in HTML. * properties Returns the comment's properties.
    • GetCommentsByIdsOperationSpec

      protected GetCommentsByIdsOperationSpec()
  • Method Details

    • validate

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

    • issueCommentListRequestBean

      @NotNull public @NotNull IssueCommentListRequestBean issueCommentListRequestBean()
      The list of comment IDs.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts a comma-separated list. Expand options include: * renderedBody Returns the comment body rendered in HTML. * properties Returns the comment's properties.
    • issueCommentListRequestBean

      public GetCommentsByIdsOperationSpec issueCommentListRequestBean(@NotNull @NotNull IssueCommentListRequestBean issueCommentListRequestBean)
      The list of comment IDs.
      Returns:
      this.
    • expand

      public GetCommentsByIdsOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts a comma-separated list. Expand options include: * renderedBody Returns the comment body rendered in HTML. * properties Returns the comment's 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