com.sforce.soap.partner
Class EmailFileAttachment

java.lang.Object
  extended by com.sforce.soap.partner.EmailFileAttachment

public class EmailFileAttachment
extends Object

Java class for EmailFileAttachment complex type.

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

 <complexType name="EmailFileAttachment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="body" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
         <element name="contentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="inline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  JAXBElement<byte[]> body
           
protected  JAXBElement<String> contentType
           
protected  String fileName
           
protected  Boolean inline
           
 
Constructor Summary
EmailFileAttachment()
           
 
Method Summary
 JAXBElement<byte[]> getBody()
          Gets the value of the body property.
 JAXBElement<String> getContentType()
          Gets the value of the contentType property.
 String getFileName()
          Gets the value of the fileName property.
 Boolean isInline()
          Gets the value of the inline property.
 void setBody(JAXBElement<byte[]> value)
          Sets the value of the body property.
 void setContentType(JAXBElement<String> value)
          Sets the value of the contentType property.
 void setFileName(String value)
          Sets the value of the fileName property.
 void setInline(Boolean value)
          Sets the value of the inline property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

body

protected JAXBElement<byte[]> body

contentType

protected JAXBElement<String> contentType

fileName

protected String fileName

inline

protected Boolean inline
Constructor Detail

EmailFileAttachment

public EmailFileAttachment()
Method Detail

getBody

public JAXBElement<byte[]> getBody()
Gets the value of the body property.

Returns:
possible object is JAXBElement<byte[]>

setBody

public void setBody(JAXBElement<byte[]> value)
Sets the value of the body property.

Parameters:
value - allowed object is JAXBElement<byte[]>

getContentType

public JAXBElement<String> getContentType()
Gets the value of the contentType property.

Returns:
possible object is JAXBElement<String>

setContentType

public void setContentType(JAXBElement<String> value)
Sets the value of the contentType property.

Parameters:
value - allowed object is JAXBElement<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

isInline

public Boolean isInline()
Gets the value of the inline property.

Returns:
possible object is Boolean

setInline

public void setInline(Boolean value)
Sets the value of the inline property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.