Class AddAttachmentOperationSpec

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

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

Specification for the AddAttachment operation.

Add attachment

  • Field Details

    • VALIDATION_ENABLED

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

    • AddAttachmentOperationSpec

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

      @Internal public AddAttachmentOperationSpec(String issueIdOrKey)
      Constructs a validated instance of AddAttachmentOperationSpec.

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

      Parameters:
      issueIdOrKey - The ID or key of the issue that attachments are added to.
    • AddAttachmentOperationSpec

      protected AddAttachmentOperationSpec()
  • Method Details