Package com.boldsign.model
Class CreateContactResponse
- java.lang.Object
-
- com.boldsign.model.CreateContactResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class CreateContactResponse extends Object
CreateContactResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateContactResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_CREATED_CONTACTS
-
Constructor Summary
Constructors Constructor Description CreateContactResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateContactResponseaddCreatedContactsItem(ContactCreated createdContactsItem)CreateContactResponsecreatedContacts(List<ContactCreated> createdContacts)Map<String,Object>createFormData()booleanequals(Object o)static CreateContactResponsefromJson(String jsonString)Create an instance of CreateContactResponse given an JSON stringList<ContactCreated>getCreatedContacts()Get createdContactsinthashCode()voidsetCreatedContacts(List<ContactCreated> createdContacts)StringtoJson()Convert an instance of CreateContactResponse to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Method Detail
-
createdContacts
public CreateContactResponse createdContacts(List<ContactCreated> createdContacts)
-
addCreatedContactsItem
public CreateContactResponse addCreatedContactsItem(ContactCreated createdContactsItem)
-
getCreatedContacts
@Nullable public List<ContactCreated> getCreatedContacts()
Get createdContacts- Returns:
- createdContacts
-
setCreatedContacts
public void setCreatedContacts(List<ContactCreated> createdContacts)
-
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 CreateContactResponse
-
fromJson
public static CreateContactResponse fromJson(String jsonString) throws IOException
Create an instance of CreateContactResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateContactResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateContactResponse
-
toJson
public String toJson()
Convert an instance of CreateContactResponse to an JSON string- Returns:
- JSON string
-
-