Class PartAttachment


  • public final class PartAttachment
    extends java.lang.Object
    • Method Detail

      • getType

        public java.util.Optional<java.lang.String> getType()
        Returns:
        The type of attachment
      • getName

        public java.util.Optional<java.lang.String> getName()
        Returns:
        The name of the attachment
      • getUrl

        public java.util.Optional<java.lang.String> getUrl()
        Returns:
        The URL of the attachment
      • getContentType

        public java.util.Optional<java.lang.String> getContentType()
        Returns:
        The content type of the attachment
      • getFilesize

        public java.util.Optional<java.lang.Integer> getFilesize()
        Returns:
        The size of the attachment
      • getWidth

        public java.util.Optional<java.lang.Integer> getWidth()
        Returns:
        The width of the attachment
      • getHeight

        public java.util.Optional<java.lang.Integer> getHeight()
        Returns:
        The height of the attachment
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object