com.sforce.soap.partner
Class SendEmailResult

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

public class SendEmailResult
extends Object

Java class for SendEmailResult complex type.

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

 <complexType name="SendEmailResult">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="errors" type="{urn:partner.soap.sforce.com}SendEmailError" maxOccurs="unbounded" minOccurs="0"/>
         <element name="success" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<SendEmailError> errors
           
protected  boolean success
           
 
Constructor Summary
SendEmailResult()
           
 
Method Summary
 List<SendEmailError> getErrors()
          Gets the value of the errors property.
 boolean isSuccess()
          Gets the value of the success property.
 void setSuccess(boolean value)
          Sets the value of the success property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

errors

protected List<SendEmailError> errors

success

protected boolean success
Constructor Detail

SendEmailResult

public SendEmailResult()
Method Detail

getErrors

public List<SendEmailError> getErrors()
Gets the value of the errors property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the errors property.

For example, to add a new item, do as follows:

    getErrors().add(newItem);
 

Objects of the following type(s) are allowed in the list SendEmailError


isSuccess

public boolean isSuccess()
Gets the value of the success property.


setSuccess

public void setSuccess(boolean value)
Sets the value of the success property.



Copyright © 2012. All Rights Reserved.