Package io.voucherify.client.model
Class ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks
java.lang.Object
io.voucherify.client.model.ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks
extends Object
Determines the notification settings for webhooks sent as set out in the Project settings.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmailsItem(String emailsItem) booleanCreate an instance of ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks given an JSON stringgetEmail()Enables the notification through an email.An array of email addresses which will receive the notification.getInApp()Enables the notification through an email.inthashCode()voidvoidvoidtoJson()Convert an instance of ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_IN_APP
- See Also:
-
SERIALIZED_NAME_EMAILS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks
public ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks()
-
-
Method Details
-
email
-
getEmail
Enables the notification through an email.- Returns:
-
setEmail
-
inApp
-
getInApp
Enables the notification through an email.- Returns:
- inApp
-
setInApp
-
emails
public ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks emails(List<String> emails) -
addEmailsItem
public ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks addEmailsItem(String emailsItem) -
getEmails
An array of email addresses which will receive the notification.- Returns:
- emails
-
setEmails
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks
-
toJson
Convert an instance of ManagementProjectsCreateRequestBodyWebhooksCalloutNotificationsWebhooks to an JSON string- Returns:
- JSON string
-