Package com.boldsign.model
Class ContactCreated
- java.lang.Object
-
- com.boldsign.model.ContactCreated
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class ContactCreated extends Object
ContactCreated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContactCreated.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMAILstatic StringSERIALIZED_NAME_ID
-
Constructor Summary
Constructors Constructor Description ContactCreated()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()ContactCreatedemail(String email)booleanequals(Object o)static ContactCreatedfromJson(String jsonString)Create an instance of ContactCreated given an JSON stringStringgetEmail()Get emailStringgetId()Get idinthashCode()ContactCreatedid(String id)voidsetEmail(String email)voidsetId(String id)StringtoJson()Convert an instance of ContactCreated 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_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EMAIL
public static final String SERIALIZED_NAME_EMAIL
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public ContactCreated id(String id)
-
setId
public void setId(String id)
-
email
public ContactCreated email(String email)
-
setEmail
public void setEmail(String email)
-
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 ContactCreated
-
fromJson
public static ContactCreated fromJson(String jsonString) throws IOException
Create an instance of ContactCreated given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContactCreated
- Throws:
IOException- if the JSON string is invalid with respect to ContactCreated
-
toJson
public String toJson()
Convert an instance of ContactCreated to an JSON string- Returns:
- JSON string
-
-