public class Notification extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Notification.Color |
static class |
Notification.MessageFormat |
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getAttachTo() |
Card |
getCard() |
Notification.Color |
getColor() |
String |
getFrom() |
String |
getMessage()
(Required)
|
Notification.MessageFormat |
getMessageFormat() |
int |
hashCode() |
boolean |
isNotify() |
void |
setAttachTo(String attachTo) |
void |
setCard(Card card) |
void |
setColor(Notification.Color color) |
void |
setFrom(String from) |
void |
setMessage(String message)
(Required)
|
void |
setMessageFormat(Notification.MessageFormat messageFormat) |
void |
setNotify(boolean notify) |
String |
toString() |
Notification |
withAttachTo(String attachTo) |
Notification |
withCard(Card card) |
Notification |
withColor(Notification.Color color) |
Notification |
withFrom(String from) |
Notification |
withMessage(String message) |
Notification |
withMessageFormat(Notification.MessageFormat messageFormat) |
Notification |
withNotify(boolean notify) |
public String getFrom()
public void setFrom(String from)
public Notification withFrom(String from)
public Notification.MessageFormat getMessageFormat()
public void setMessageFormat(Notification.MessageFormat messageFormat)
public Notification withMessageFormat(Notification.MessageFormat messageFormat)
public Notification.Color getColor()
public void setColor(Notification.Color color)
public Notification withColor(Notification.Color color)
public String getAttachTo()
public void setAttachTo(String attachTo)
public Notification withAttachTo(String attachTo)
public boolean isNotify()
public void setNotify(boolean notify)
public Notification withNotify(boolean notify)
public String getMessage()
public void setMessage(String message)
public Notification withMessage(String message)
public Card getCard()
public void setCard(Card card)
public Notification withCard(Card card)
Copyright © 2016–2018. All rights reserved.