Class GetCommentOperationSpec

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

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

Specification for the GetComment operation.

Get comment

  • Field Details

    • VALIDATION_ENABLED

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

    • GetCommentOperationSpec

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

      @Internal public GetCommentOperationSpec(String issueIdOrKey, String id, String expand)
      Constructs a validated instance of GetCommentOperationSpec.

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

      Parameters:
      issueIdOrKey - The ID or key of the issue.
      id - The ID of the comment.
      expand - Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts renderedBody, which returns the comment body rendered in HTML.
    • GetCommentOperationSpec

      protected GetCommentOperationSpec()
  • 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.
    • id

      @NotNull public @NotNull String id()
      The ID of the comment.
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts renderedBody, which returns the comment body rendered in HTML.
    • issueIdOrKey

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

      public GetCommentOperationSpec id(@NotNull @NotNull String id)
      The ID of the comment.
      Returns:
      this.
    • expand

      public GetCommentOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about comments in the response. This parameter accepts renderedBody, which returns the comment body rendered in HTML.
      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