Class Attachment

java.lang.Object
io.quarkiverse.mailpit.test.model.Attachment

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.5.0") public class Attachment extends Object
Attachment struct for inline and attachments
  • Field Details

  • Constructor Details

    • Attachment

      public Attachment()
  • Method Details

    • contentID

      public Attachment contentID(String contentID)
    • getContentID

      @Nullable public String getContentID()
      Content ID
      Returns:
      contentID
    • setContentID

      public void setContentID(String contentID)
    • contentType

      public Attachment contentType(String contentType)
    • getContentType

      @Nullable public String getContentType()
      Content type
      Returns:
      contentType
    • setContentType

      public void setContentType(String contentType)
    • fileName

      public Attachment fileName(String fileName)
    • getFileName

      @Nullable public String getFileName()
      File name
      Returns:
      fileName
    • setFileName

      public void setFileName(String fileName)
    • partID

      public Attachment partID(String partID)
    • getPartID

      @Nullable public String getPartID()
      Attachment part ID
      Returns:
      partID
    • setPartID

      public void setPartID(String partID)
    • size

      public Attachment size(Long size)
    • getSize

      @Nullable public Long getSize()
      Size in bytes
      Returns:
      size
    • setSize

      public void setSize(Long size)
    • equals

      public boolean equals(Object o)
      Return true if this Attachment object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string