public class Notification extends RequestDetails
$type| Constructor and Description |
|---|
Notification() |
| Modifier and Type | Method and Description |
|---|---|
Notification |
addTokensItem(java.lang.String tokensItem) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getId()
Notification id will be returned in response and will indicate that the notification was
processed successfully.
|
java.lang.String |
getImpressionId()
Impression id is used to stitch (link) the current notification with a previous notification or
execute request.
|
NotificationMbox |
getMbox()
Get mbox
|
NotificationPageLoad |
getPageLoad()
Get pageLoad
|
java.lang.Long |
getTimestamp()
Timestamp of the notification, in milliseconds elapsed since UNIX epoch.
|
java.util.List<java.lang.String> |
getTokens()
A list of tokens for displayed content or clicked selectors, based on the type of notification.
|
MetricType |
getType()
Get type
|
NotificationView |
getView()
Get view
|
int |
hashCode() |
Notification |
id(java.lang.String id) |
Notification |
impressionId(java.lang.String impressionId) |
Notification |
mbox(NotificationMbox mbox) |
Notification |
pageLoad(NotificationPageLoad pageLoad) |
void |
setId(java.lang.String id) |
void |
setImpressionId(java.lang.String impressionId) |
void |
setMbox(NotificationMbox mbox) |
void |
setPageLoad(NotificationPageLoad pageLoad) |
void |
setTimestamp(java.lang.Long timestamp) |
void |
setTokens(java.util.List<java.lang.String> tokens) |
void |
setType(MetricType type) |
void |
setView(NotificationView view) |
Notification |
timestamp(java.lang.Long timestamp) |
Notification |
tokens(java.util.List<java.lang.String> tokens) |
java.lang.String |
toString() |
Notification |
type(MetricType type) |
Notification |
view(NotificationView view) |
$type, address, get$Type, getAddress, getOrder, getParameters, getProduct, getProfileParameters, order, parameters, product, profileParameters, putParametersItem, putProfileParametersItem, set$Type, setAddress, setOrder, setParameters, setProduct, setProfileParameterspublic Notification id(java.lang.String id)
public java.lang.String getId()
public void setId(java.lang.String id)
public Notification impressionId(java.lang.String impressionId)
public java.lang.String getImpressionId()
public void setImpressionId(java.lang.String impressionId)
public Notification type(MetricType type)
public MetricType getType()
public void setType(MetricType type)
public Notification timestamp(java.lang.Long timestamp)
public java.lang.Long getTimestamp()
public void setTimestamp(java.lang.Long timestamp)
public Notification tokens(java.util.List<java.lang.String> tokens)
public Notification addTokensItem(java.lang.String tokensItem)
public java.util.List<java.lang.String> getTokens()
public void setTokens(java.util.List<java.lang.String> tokens)
public Notification mbox(NotificationMbox mbox)
public NotificationMbox getMbox()
public void setMbox(NotificationMbox mbox)
public Notification view(NotificationView view)
public NotificationView getView()
public void setView(NotificationView view)
public Notification pageLoad(NotificationPageLoad pageLoad)
public NotificationPageLoad getPageLoad()
public void setPageLoad(NotificationPageLoad pageLoad)
public boolean equals(java.lang.Object o)
equals in class RequestDetailspublic int hashCode()
hashCode in class RequestDetailspublic java.lang.String toString()
toString in class RequestDetails