Package io.voucherify.client.model
Class UsageNotifications
java.lang.Object
io.voucherify.client.model.UsageNotifications
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class UsageNotifications
extends Object
UsageNotifications
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEmailsItem(String emailsItem) booleanstatic UsageNotificationsCreate an instance of UsageNotifications given an JSON stringAn array of email addresses which will receive the notification.Enables the notification.getInApp()Enables the notification in the application.getValue()The percent value of the limit which, when reached, triggers the notification.inthashCode()voidvoidsetEnabled(Boolean enabled) voidvoidtoJson()Convert an instance of UsageNotifications to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ENABLED
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
SERIALIZED_NAME_IN_APP
- See Also:
-
SERIALIZED_NAME_EMAILS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UsageNotifications
public UsageNotifications()
-
-
Method Details
-
enabled
-
getEnabled
Enables the notification.- Returns:
- enabled
-
setEnabled
-
value
-
getValue
The percent value of the limit which, when reached, triggers the notification. minimum: 10 maximum: 90- Returns:
- value
-
setValue
-
inApp
-
getInApp
Enables the notification in the application.- 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
Create an instance of UsageNotifications given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsageNotifications
- Throws:
IOException- if the JSON string is invalid with respect to UsageNotifications
-
toJson
Convert an instance of UsageNotifications to an JSON string- Returns:
- JSON string
-