Class SendEmailJson
- java.lang.Object
-
- com.blackberry.workspaces.sdk.api.json.BaseJson
-
- com.blackberry.workspaces.sdk.api.json.SendEmailJson
-
- All Implemented Interfaces:
Serializable
public class SendEmailJson extends BaseJson
Used when sending an email- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SendEmailJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNote()
Text of emailString
getOnBehalfOf()
Sending the mail on behalf ofBoolean
getReadConfirmation()
if to specify read confirmation in the emailList<String>
getRecipients()
List of email recipientsString
getSubject()
Subject line for emailvoid
setNote(String note)
Text of emailvoid
setOnBehalfOf(String onBehalfOf)
Sending the mail on behalf ofvoid
setReadConfirmation(Boolean readConfirmation)
if to specify read confirmation in the emailvoid
setRecipients(List<String> recipients)
List of email recipientsvoid
setSubject(String subject)
Subject line for email-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getNote
public String getNote()
Text of email- Returns:
- Text of email
-
setNote
public void setNote(String note)
Text of email- Parameters:
note
- Text of email
-
getSubject
public String getSubject()
Subject line for email- Returns:
- Subject line for email
-
setSubject
public void setSubject(String subject)
Subject line for email- Parameters:
subject
- Subject line for email
-
getRecipients
public List<String> getRecipients()
List of email recipients- Returns:
- List of email recipients
-
setRecipients
public void setRecipients(List<String> recipients)
List of email recipients- Parameters:
recipients
- List of email recipients
-
getOnBehalfOf
public String getOnBehalfOf()
Sending the mail on behalf of- Returns:
- Sending the mail on behalf of
-
setOnBehalfOf
public void setOnBehalfOf(String onBehalfOf)
Sending the mail on behalf of- Parameters:
onBehalfOf
- Sending the mail on behalf of
-
getReadConfirmation
public Boolean getReadConfirmation()
if to specify read confirmation in the email- Returns:
- if to specify read confirmation in the email
-
setReadConfirmation
public void setReadConfirmation(Boolean readConfirmation)
if to specify read confirmation in the email- Parameters:
readConfirmation
- if to specify read confirmation in the email
-
-