@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class SendSMTPEnvelopeOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SendSMTPEnvelopeOptions.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DATA |
static String |
SERIALIZED_NAME_MAIL_FROM |
static String |
SERIALIZED_NAME_RCPT_TO |
Constructor and Description |
---|
SendSMTPEnvelopeOptions() |
Modifier and Type | Method and Description |
---|---|
SendSMTPEnvelopeOptions |
addRcptToItem(String rcptToItem) |
SendSMTPEnvelopeOptions |
data(String data) |
boolean |
equals(Object o) |
static SendSMTPEnvelopeOptions |
fromJson(String jsonString)
Create an instance of SendSMTPEnvelopeOptions given an JSON string
|
String |
getData()
Get data
|
String |
getMailFrom()
Get mailFrom
|
List<String> |
getRcptTo()
Get rcptTo
|
int |
hashCode() |
SendSMTPEnvelopeOptions |
mailFrom(String mailFrom) |
SendSMTPEnvelopeOptions |
rcptTo(List<String> rcptTo) |
void |
setData(String data) |
void |
setMailFrom(String mailFrom) |
void |
setRcptTo(List<String> rcptTo) |
String |
toJson()
Convert an instance of SendSMTPEnvelopeOptions 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_RCPT_TO
public static final String SERIALIZED_NAME_MAIL_FROM
public static final String SERIALIZED_NAME_DATA
public SendSMTPEnvelopeOptions rcptTo(List<String> rcptTo)
public SendSMTPEnvelopeOptions addRcptToItem(String rcptToItem)
public SendSMTPEnvelopeOptions mailFrom(String mailFrom)
public void setMailFrom(String mailFrom)
public SendSMTPEnvelopeOptions data(String data)
public void setData(String data)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to SendSMTPEnvelopeOptionspublic static SendSMTPEnvelopeOptions fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to SendSMTPEnvelopeOptionspublic String toJson()
Copyright © 2023. All rights reserved.