@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-12T23:33:57.654989Z[Etc/UTC]") public class Sender extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Sender.CustomTypeAdapterFactory |
Modifier and Type | Field and Description |
---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_EMAIL_ADDRESS |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_RAW_VALUE |
Constructor and Description |
---|
Sender() |
Modifier and Type | Method and Description |
---|---|
Sender |
emailAddress(String emailAddress) |
boolean |
equals(Object o) |
static Sender |
fromJson(String jsonString)
Create an instance of Sender given an JSON string
|
String |
getEmailAddress()
Get emailAddress
|
String |
getName()
Get name
|
String |
getRawValue()
Get rawValue
|
int |
hashCode() |
Sender |
name(String name) |
Sender |
rawValue(String rawValue) |
void |
setEmailAddress(String emailAddress) |
void |
setName(String name) |
void |
setRawValue(String rawValue) |
String |
toJson()
Convert an instance of Sender 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_RAW_VALUE
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_NAME
public void setRawValue(String rawValue)
public void setEmailAddress(String emailAddress)
public void setName(String name)
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
jsonObj
- JSON ObjectIOException
- if the JSON Object is invalid with respect to Senderpublic static Sender fromJson(String jsonString) throws IOException
jsonString
- JSON stringIOException
- if the JSON string is invalid with respect to Senderpublic String toJson()
Copyright © 2023. All rights reserved.