com.shephertz.app42.paas.sdk.java.email
Class Email

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.java.App42Response
      extended by com.shephertz.app42.paas.sdk.java.email.Email

public class Email
extends App42Response

This Email object is the value object which contains the properties of Email along with the setter & getter for those properties.


Nested Class Summary
 class Email.Configuration
          An inner class that contains the remaining properties of the Cart.
 
Field Summary
 java.lang.String body
           
 java.util.ArrayList<Email.Configuration> configList
           
 java.lang.String from
           
 java.lang.String subject
           
 java.lang.String to
           
 
Constructor Summary
Email()
           
 
Method Summary
 java.lang.String getBody()
          Returns the body of the Email.
 java.util.ArrayList<Email.Configuration> getConfigList()
          Returns the list of email configuration.
 java.lang.String getFrom()
          Returns the ID from where the email is received.
 java.lang.String getSubject()
          Returns the subject of the Email.
 java.lang.String getTo()
          Returns the ID to whom the email has to be sent.
 void setBody(java.lang.String body)
          Sets the body of the Email.
 void setConfigList(java.util.ArrayList<Email.Configuration> configList)
          Sets the configuration of email
 void setFrom(java.lang.String from)
          Sets the ID from where the email is received.
 void setSubject(java.lang.String subject)
          Sets the subject of the Email.
 void setTo(java.lang.String to)
          Sets the ID to whom the email has to be sent.
 
Methods inherited from class com.shephertz.app42.paas.sdk.java.App42Response
getStrResponse, getTotalRecords, isResponseSuccess, setResponseSuccess, setStrResponse, setTotalRecords, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

body

public java.lang.String body

configList

public java.util.ArrayList<Email.Configuration> configList

from

public java.lang.String from

subject

public java.lang.String subject

to

public java.lang.String to
Constructor Detail

Email

public Email()
Method Detail

getBody

public java.lang.String getBody()
Returns the body of the Email.

Returns:
the body of the Email.

getConfigList

public java.util.ArrayList<Email.Configuration> getConfigList()
Returns the list of email configuration.

Returns:
List of configuration of the email.

getFrom

public java.lang.String getFrom()
Returns the ID from where the email is received.

Returns:
the ID from where the email is received.

getSubject

public java.lang.String getSubject()
Returns the subject of the Email.

Returns:
the subject of the Email.

getTo

public java.lang.String getTo()
Returns the ID to whom the email has to be sent.

Returns:
the ID to whom the email has to be sent.

setBody

public void setBody(java.lang.String body)
Sets the body of the Email.

Parameters:
body - - body of the Email.

setConfigList

public void setConfigList(java.util.ArrayList<Email.Configuration> configList)
Sets the configuration of email

Parameters:
configList - List of configuration of the email

setFrom

public void setFrom(java.lang.String from)
Sets the ID from where the email is received.

Parameters:
from - - ID from where the email is received.

setSubject

public void setSubject(java.lang.String subject)
Sets the subject of the Email.

Parameters:
subject - - subject of the Email.

setTo

public void setTo(java.lang.String to)
Sets the ID to whom the email has to be sent.

Parameters:
to - - ID to whom the email has to be sent.