Package io.voucherify.client.model
Class ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks
java.lang.Object
io.voucherify.client.model.ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks
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 ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks 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 ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks 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
-
ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks
public ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks()
-
-
Method Details
-
email
public ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks email(Boolean email) -
getEmail
Enables the notification through an email.- Returns:
-
setEmail
-
inApp
public ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks inApp(Boolean inApp) -
getInApp
Enables the notification through an email.- Returns:
- inApp
-
setInApp
-
emails
public ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks emails(List<String> emails) -
addEmailsItem
public ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks 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 ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks
-
toJson
Convert an instance of ManagementProjectsUpdateResponseBodyWebhooksCalloutNotificationsWebhooks to an JSON string- Returns:
- JSON string
-