Package com.boldsign.model
Class TemplateCcWebhookModel
- java.lang.Object
-
- com.boldsign.model.TemplateCcWebhookModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class TemplateCcWebhookModel extends Object
TemplateCcWebhookModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTemplateCcWebhookModel.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EMAIL_ADDRESSstatic StringSERIALIZED_NAME_USER_ID
-
Constructor Summary
Constructors Constructor Description TemplateCcWebhookModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()TemplateCcWebhookModelemailAddress(String emailAddress)booleanequals(Object o)static TemplateCcWebhookModelfromJson(String jsonString)Create an instance of TemplateCcWebhookModel given an JSON stringStringgetEmailAddress()Get emailAddressStringgetUserId()Get userIdinthashCode()voidsetEmailAddress(String emailAddress)voidsetUserId(String userId)StringtoJson()Convert an instance of TemplateCcWebhookModel to an JSON stringStringtoString()TemplateCcWebhookModeluserId(String userId)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_USER_ID
public static final String SERIALIZED_NAME_USER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
emailAddress
public TemplateCcWebhookModel emailAddress(String emailAddress)
-
setEmailAddress
public void setEmailAddress(String emailAddress)
-
userId
public TemplateCcWebhookModel userId(String userId)
-
setUserId
public void setUserId(String userId)
-
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 TemplateCcWebhookModel
-
fromJson
public static TemplateCcWebhookModel fromJson(String jsonString) throws IOException
Create an instance of TemplateCcWebhookModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TemplateCcWebhookModel
- Throws:
IOException- if the JSON string is invalid with respect to TemplateCcWebhookModel
-
toJson
public String toJson()
Convert an instance of TemplateCcWebhookModel to an JSON string- Returns:
- JSON string
-
-