@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class Notification extends Object
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
Notification |
addMessagesItem(NotificationMessage messagesItem) |
Notification |
allowSnooze(Boolean allowSnooze) |
boolean |
equals(Object o) |
String |
getInterval()
If a window lasts for more than twenty-four hours, a notification can be repeated on a daily repeat value.
|
List<NotificationMessage> |
getMessages()
The message to use for a notification.
|
NotificationType |
getNotifyAt()
Get notifyAt
|
String |
getOffset()
The time after a window starts or before it ends (based on the `notifyAt` property) when a notification should be shown to the user.
|
String |
getType()
Notification
|
int |
hashCode() |
Notification |
interval(String interval) |
Boolean |
isAllowSnooze()
Allow the participant to “snooze” a notification or reminder (dismiss it with some amount of time before it occurs again).
|
Notification |
messages(List<NotificationMessage> messages) |
Notification |
notifyAt(NotificationType notifyAt) |
Notification |
offset(String offset) |
void |
setAllowSnooze(Boolean allowSnooze) |
void |
setInterval(String interval) |
void |
setMessages(List<NotificationMessage> messages) |
void |
setNotifyAt(NotificationType notifyAt) |
void |
setOffset(String offset) |
String |
toString() |
public Notification notifyAt(NotificationType notifyAt)
public NotificationType getNotifyAt()
public void setNotifyAt(NotificationType notifyAt)
public Notification offset(String offset)
public String getOffset()
public void setOffset(String offset)
public Notification interval(String interval)
public String getInterval()
public void setInterval(String interval)
public Notification allowSnooze(Boolean allowSnooze)
public Boolean isAllowSnooze()
public void setAllowSnooze(Boolean allowSnooze)
public Notification messages(List<NotificationMessage> messages)
public Notification addMessagesItem(NotificationMessage messagesItem)
public List<NotificationMessage> getMessages()
public void setMessages(List<NotificationMessage> messages)
public String getType()
Copyright © 2022 Sage Bionetworks. All rights reserved.