@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class EmailHtmlDto extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailHtmlDto.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BODY |
static String |
SERIALIZED_NAME_SUBJECT |
Constructor and Description |
---|
EmailHtmlDto() |
Modifier and Type | Method and Description |
---|---|
EmailHtmlDto |
body(String body) |
boolean |
equals(Object o) |
static EmailHtmlDto |
fromJson(String jsonString)
Create an instance of EmailHtmlDto given an JSON string
|
String |
getBody()
Get body
|
String |
getSubject()
Get subject
|
int |
hashCode() |
void |
setBody(String body) |
void |
setSubject(String subject) |
EmailHtmlDto |
subject(String subject) |
String |
toJson()
Convert an instance of EmailHtmlDto 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_SUBJECT
public static final String SERIALIZED_NAME_BODY
public EmailHtmlDto subject(String subject)
public void setSubject(String subject)
public EmailHtmlDto body(String body)
public void setBody(String body)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to EmailHtmlDtopublic static EmailHtmlDto fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to EmailHtmlDtopublic String toJson()
Copyright © 2023. All rights reserved.