com.sforce.soap.partner
Class SendEmailError

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

public class SendEmailError
extends Object

Java class for SendEmailError complex type.

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

 <complexType name="SendEmailError">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="fields" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="statusCode" type="{urn:partner.soap.sforce.com}StatusCode"/>
         <element name="targetObjectId" type="{urn:partner.soap.sforce.com}ID"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> fields
           
protected  String message
           
protected  StatusCode statusCode
           
protected  String targetObjectId
           
 
Constructor Summary
SendEmailError()
           
 
Method Summary
 List<String> getFields()
          Gets the value of the fields property.
 String getMessage()
          Gets the value of the message property.
 StatusCode getStatusCode()
          Gets the value of the statusCode property.
 String getTargetObjectId()
          Gets the value of the targetObjectId property.
 void setMessage(String value)
          Sets the value of the message property.
 void setStatusCode(StatusCode value)
          Sets the value of the statusCode property.
 void setTargetObjectId(String value)
          Sets the value of the targetObjectId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fields

protected List<String> fields

message

protected String message

statusCode

protected StatusCode statusCode

targetObjectId

protected String targetObjectId
Constructor Detail

SendEmailError

public SendEmailError()
Method Detail

getFields

public List<String> getFields()
Gets the value of the fields 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 fields property.

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

    getFields().add(newItem);
 

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


getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getStatusCode

public StatusCode getStatusCode()
Gets the value of the statusCode property.

Returns:
possible object is StatusCode

setStatusCode

public void setStatusCode(StatusCode value)
Sets the value of the statusCode property.

Parameters:
value - allowed object is StatusCode

getTargetObjectId

public String getTargetObjectId()
Gets the value of the targetObjectId property.

Returns:
possible object is String

setTargetObjectId

public void setTargetObjectId(String value)
Sets the value of the targetObjectId property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.