Package io.voucherify.client.model
Class ManagementProjectWebhooksCalloutNotificationsDistributions
java.lang.Object
io.voucherify.client.model.ManagementProjectWebhooksCalloutNotificationsDistributions
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectWebhooksCalloutNotificationsDistributions
extends Object
Determines the notification settings for webhooks sent through Distributions.
-
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 ManagementProjectWebhooksCalloutNotificationsDistributions 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 ManagementProjectWebhooksCalloutNotificationsDistributions 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
-
ManagementProjectWebhooksCalloutNotificationsDistributions
public ManagementProjectWebhooksCalloutNotificationsDistributions()
-
-
Method Details
-
email
-
getEmail
Enables the notification through an email.- Returns:
-
setEmail
-
inApp
-
getInApp
Enables the notification through an email.- Returns:
- inApp
-
setInApp
-
emails
-
addEmailsItem
-
getEmails
An array of email addresses which will receive the notification.- Returns:
- emails
-
setEmails
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectWebhooksCalloutNotificationsDistributions fromJson(String jsonString) throws IOException Create an instance of ManagementProjectWebhooksCalloutNotificationsDistributions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectWebhooksCalloutNotificationsDistributions
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectWebhooksCalloutNotificationsDistributions
-
toJson
Convert an instance of ManagementProjectWebhooksCalloutNotificationsDistributions to an JSON string- Returns:
- JSON string
-