Klasse AddCommentOperationSpec

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

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

Specification for the AddComment operation.

Add comment

  • Felddetails

    • VALIDATION_ENABLED

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

    • AddCommentOperationSpec

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

      @Internal public AddCommentOperationSpec(String issueIdOrKey, Comment comment, String expand)
      Constructs a validated instance of AddCommentOperationSpec.

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

      Parameter:
      issueIdOrKey - The ID or key of the issue.
      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.
    • AddCommentOperationSpec

      protected AddCommentOperationSpec()
  • Methodendetails

    • validate

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

    • issueIdOrKey

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

      @NotNull public @NotNull Comment 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 AddCommentOperationSpec issueIdOrKey(@NotNull @NotNull String issueIdOrKey)
      The ID or key of the issue.
      Gibt zurück:
      this.
    • comment

      public AddCommentOperationSpec comment(@NotNull @NotNull Comment comment)
      Gibt zurück:
      this.
    • expand

      public AddCommentOperationSpec 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.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object