Class Attachment


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class Attachment
    extends Object
    Attachment struct for inline and attachments
    • Constructor Detail

      • Attachment

        public Attachment()
    • Method Detail

      • getContentID

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

        public void setContentID​(String contentID)
      • getContentType

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

        public void setContentType​(String contentType)
      • getFileName

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

        public void setFileName​(String fileName)
      • getPartID

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

        public void setPartID​(String partID)
      • 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
      • 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