Class OTRSAttachment

  • All Implemented Interfaces:
    java.io.Serializable

    public class OTRSAttachment
    extends java.lang.Object
    implements java.io.Serializable
    <p>Java class for OTRS_Attachment complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="OTRS_Attachment"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt; &lt;element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element name="Filename" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;/sequence&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected byte[] content  
      protected java.lang.String contentType  
      protected java.lang.String filename  
    • Constructor Summary

      Constructors 
      Constructor Description
      OTRSAttachment()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()
      Gets the value of the content property.
      java.lang.String getContentType()
      Gets the value of the contentType property.
      java.lang.String getFilename()
      Gets the value of the filename property.
      void setContent​(byte[] value)
      Sets the value of the content property.
      void setContentType​(java.lang.String value)
      Sets the value of the contentType property.
      void setFilename​(java.lang.String value)
      Sets the value of the filename property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • content

        protected byte[] content
      • contentType

        protected java.lang.String contentType
      • filename

        protected java.lang.String filename
    • Constructor Detail

      • OTRSAttachment

        public OTRSAttachment()
    • Method Detail

      • getContent

        public byte[] getContent()
        Gets the value of the content property.
        Returns:
        possible object is byte[]
      • setContent

        public void setContent​(byte[] value)
        Sets the value of the content property.
        Parameters:
        value - allowed object is byte[]
      • getContentType

        public java.lang.String getContentType()
        Gets the value of the contentType property.
        Returns:
        possible object is String
      • setContentType

        public void setContentType​(java.lang.String value)
        Sets the value of the contentType property.
        Parameters:
        value - allowed object is String
      • getFilename

        public java.lang.String getFilename()
        Gets the value of the filename property.
        Returns:
        possible object is String
      • setFilename

        public void setFilename​(java.lang.String value)
        Sets the value of the filename property.
        Parameters:
        value - allowed object is String