com.sforce.soap.partner
Class EmailFileAttachment

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

public class EmailFileAttachment
extends java.lang.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  javax.xml.bind.JAXBElement<byte[]> body
           
protected  javax.xml.bind.JAXBElement<java.lang.String> contentType
           
protected  java.lang.String fileName
           
protected  java.lang.Boolean inline
           
 
Constructor Summary
EmailFileAttachment()
           
 
Method Summary
 javax.xml.bind.JAXBElement<byte[]> getBody()
          Gets the value of the body property.
 javax.xml.bind.JAXBElement<java.lang.String> getContentType()
          Gets the value of the contentType property.
 java.lang.String getFileName()
          Gets the value of the fileName property.
 java.lang.Boolean isInline()
          Gets the value of the inline property.
 void setBody(javax.xml.bind.JAXBElement<byte[]> value)
          Sets the value of the body property.
 void setContentType(javax.xml.bind.JAXBElement<java.lang.String> value)
          Sets the value of the contentType property.
 void setFileName(java.lang.String value)
          Sets the value of the fileName property.
 void setInline(java.lang.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 javax.xml.bind.JAXBElement<byte[]> body

contentType

protected javax.xml.bind.JAXBElement<java.lang.String> contentType

fileName

protected java.lang.String fileName

inline

protected java.lang.Boolean inline
Constructor Detail

EmailFileAttachment

public EmailFileAttachment()
Method Detail

getBody

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

Returns:
possible object is JAXBElement<byte[]>

setBody

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

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

getContentType

public javax.xml.bind.JAXBElement<java.lang.String> getContentType()
Gets the value of the contentType property.

Returns:
possible object is JAXBElement<String>

setContentType

public void setContentType(javax.xml.bind.JAXBElement<java.lang.String> value)
Sets the value of the contentType property.

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

isInline

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

Returns:
possible object is Boolean

setInline

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

Parameters:
value - allowed object is Boolean


Copyright © 2010. All Rights Reserved.