Package com.boldsign.model
Class TemplateSenderDetail
- java.lang.Object
-
- com.boldsign.model.TemplateSenderDetail
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateSenderDetail extends Object
TemplateSenderDetail
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateSenderDetail.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMAIL_ADDRESSstatic StringSERIALIZED_NAME_NAME
-
Constructor Summary
Constructors Constructor Description TemplateSenderDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()TemplateSenderDetailemailAddress(String emailAddress)booleanequals(Object o)static TemplateSenderDetailfromJson(String jsonString)Create an instance of TemplateSenderDetail given an JSON stringStringgetEmailAddress()Get emailAddressStringgetName()Get nameinthashCode()TemplateSenderDetailname(String name)voidsetEmailAddress(String emailAddress)voidsetName(String name)StringtoJson()Convert an instance of TemplateSenderDetail to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_EMAIL_ADDRESS
public static final String SERIALIZED_NAME_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
emailAddress
public TemplateSenderDetail emailAddress(String emailAddress)
-
setEmailAddress
public void setEmailAddress(String emailAddress)
-
name
public TemplateSenderDetail name(String name)
-
setName
public void setName(String name)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to TemplateSenderDetail
-
fromJson
public static TemplateSenderDetail fromJson(String jsonString) throws IOException
Create an instance of TemplateSenderDetail given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateSenderDetail
- Throws:
IOException- if the JSON string is invalid with respect to TemplateSenderDetail
-
toJson
public String toJson()
Convert an instance of TemplateSenderDetail to an JSON string- Returns:
- JSON string
-
-