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>
| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
content |
protected String |
contentType |
protected String |
filename |
| Constructor and Description |
|---|
OTRSAttachment() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Gets the value of the content property.
|
String |
getContentType()
Gets the value of the contentType property.
|
String |
getFilename()
Gets the value of the filename property.
|
void |
setContent(byte[] value)
Sets the value of the content property.
|
void |
setContentType(String value)
Sets the value of the contentType property.
|
void |
setFilename(String value)
Sets the value of the filename property.
|
protected byte[] content
protected String contentType
protected String filename
public byte[] getContent()
public void setContent(byte[] value)
value - allowed object is
byte[]public String getContentType()
Stringpublic void setContentType(String value)
value - allowed object is
Stringpublic String getFilename()
StringCopyright © 2020. All rights reserved.