@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class SimpleSendEmailOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SimpleSendEmailOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BODY |
static String |
SERIALIZED_NAME_SENDER_ID |
static String |
SERIALIZED_NAME_SUBJECT |
static String |
SERIALIZED_NAME_TO |
Constructor and Description |
---|
SimpleSendEmailOptions() |
Modifier and Type | Method and Description |
---|---|
SimpleSendEmailOptions |
body(String body) |
boolean |
equals(Object o) |
static SimpleSendEmailOptions |
fromJson(String jsonString)
Create an instance of SimpleSendEmailOptions given an JSON string
|
String |
getBody()
Body of the email message.
|
UUID |
getSenderId()
ID of inbox to send from.
|
String |
getSubject()
Subject line of the email
|
String |
getTo()
Email address to send to
|
int |
hashCode() |
SimpleSendEmailOptions |
senderId(UUID senderId) |
void |
setBody(String body) |
void |
setSenderId(UUID senderId) |
void |
setSubject(String subject) |
void |
setTo(String to) |
SimpleSendEmailOptions |
subject(String subject) |
SimpleSendEmailOptions |
to(String to) |
String |
toJson()
Convert an instance of SimpleSendEmailOptions to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_SENDER_ID
public static final String SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_BODY
public static final String SERIALIZED_NAME_SUBJECT
public SimpleSendEmailOptions senderId(UUID senderId)
@Nullable public UUID getSenderId()
public void setSenderId(UUID senderId)
public SimpleSendEmailOptions to(String to)
public void setTo(String to)
public SimpleSendEmailOptions body(String body)
public void setBody(String body)
public SimpleSendEmailOptions subject(String subject)
public void setSubject(String subject)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to SimpleSendEmailOptionspublic static SimpleSendEmailOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to SimpleSendEmailOptionspublic String toJson()
Copyright © 2023. All rights reserved.