Package io.voucherify.client.model
Class ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions
java.lang.Object
io.voucherify.client.model.ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions
extends Object
Determines the notification settings for webhooks sent through Distributions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddEmailsItem(String emailsItem) booleanCreate an instance of ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions 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 ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions 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
-
ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions
public ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions()
-
-
Method Details
-
email
public ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions email(Boolean email) -
getEmail
Enables the notification through an email.- Returns:
-
setEmail
-
inApp
public ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions inApp(Boolean inApp) -
getInApp
Enables the notification through an email.- Returns:
- inApp
-
setInApp
-
emails
public ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions emails(List<String> emails) -
addEmailsItem
public ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions 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 ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions
-
toJson
Convert an instance of ManagementProjectsGetResponseBodyWebhooksCalloutNotificationsDistributions to an JSON string- Returns:
- JSON string
-