public class EmailFileAttachment extends Object implements com.sforce.ws.bind.XMLizable, IEmailFileAttachment
| Constructor and Description |
|---|
EmailFileAttachment()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody()
element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary
java type: byte[]
|
String |
getContentType()
element : contentType of type {http://www.w3.org/2001/XMLSchema}string
java type: java.lang.String
|
String |
getFileName()
element : fileName of type {http://www.w3.org/2001/XMLSchema}string
java type: java.lang.String
|
boolean |
getInline()
element : inline of type {http://www.w3.org/2001/XMLSchema}boolean
java type: boolean
|
boolean |
isInline() |
void |
load(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) |
protected void |
loadFields(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper) |
void |
setBody(byte[] body) |
void |
setContentType(String contentType) |
void |
setFileName(String fileName) |
void |
setInline(boolean inline) |
String |
toString() |
void |
write(QName __element,
com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper) |
protected void |
writeFields(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper) |
public byte[] getBody()
IEmailFileAttachmentgetBody in interface IEmailFileAttachmentpublic void setBody(byte[] body)
setBody in interface IEmailFileAttachmentpublic String getContentType()
IEmailFileAttachmentgetContentType in interface IEmailFileAttachmentpublic void setContentType(String contentType)
setContentType in interface IEmailFileAttachmentpublic String getFileName()
IEmailFileAttachmentgetFileName in interface IEmailFileAttachmentpublic void setFileName(String fileName)
setFileName in interface IEmailFileAttachmentpublic boolean getInline()
IEmailFileAttachmentgetInline in interface IEmailFileAttachmentpublic boolean isInline()
isInline in interface IEmailFileAttachmentpublic void setInline(boolean inline)
setInline in interface IEmailFileAttachmentpublic void write(QName __element, com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws IOException
write in interface com.sforce.ws.bind.XMLizableIOExceptionprotected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws IOException
IOExceptionpublic void load(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws IOException,
com.sforce.ws.ConnectionException
load in interface com.sforce.ws.bind.XMLizableIOExceptioncom.sforce.ws.ConnectionExceptionprotected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
com.sforce.ws.bind.TypeMapper __typeMapper)
throws IOException,
com.sforce.ws.ConnectionException
IOExceptioncom.sforce.ws.ConnectionExceptionCopyright © 2015. All Rights Reserved.