Class OTRSAttachment

  • All Implemented Interfaces:
    Serializable

    public class OTRSAttachment
    extends Object
    implements Serializable

    Java class for OTRS_Attachment complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="OTRS_Attachment">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
             <element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="Filename" type="{http://www.w3.org/2001/XMLSchema}string"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • content

        protected byte[] content
      • contentType

        protected String contentType
      • filename

        protected 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 String getContentType()
        Gets the value of the contentType property.
        Returns:
        possible object is String
      • setContentType

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

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

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