public final class NotificationSettings
extends java.lang.Object
Constructor and Description |
---|
NotificationSettings(java.lang.String groupId,
NotificationDisplayType displayType,
boolean shouldLog,
boolean shouldReadAloud) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
NotificationDisplayType |
getDisplayType() |
java.lang.String |
getGroupId() |
int |
hashCode() |
boolean |
isShouldLog() |
boolean |
isShouldReadAloud() |
static NotificationSettings |
load(Element element) |
Element |
save() |
NotificationSettings |
withDisplayType(NotificationDisplayType displayType) |
NotificationSettings |
withShouldLog(boolean shouldLog) |
NotificationSettings |
withShouldReadAloud(boolean shouldReadAloud) |
public NotificationSettings(java.lang.String groupId, NotificationDisplayType displayType, boolean shouldLog, boolean shouldReadAloud)
public java.lang.String getGroupId()
public NotificationDisplayType getDisplayType()
public boolean isShouldLog()
public NotificationSettings withShouldLog(boolean shouldLog)
public boolean isShouldReadAloud()
public NotificationSettings withShouldReadAloud(boolean shouldReadAloud)
public NotificationSettings withDisplayType(NotificationDisplayType displayType)
public static NotificationSettings load(Element element)
public Element save()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object