public class NotificationModel
extends java.lang.Object
Constructor and Description |
---|
NotificationModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getAccountId()
Getter for accountId
The unique ID number of the account that received this notification.
|
java.util.Date |
getActionDueDate()
Getter for actionDueDate
If there is a specific action suggested by this notification, and if this action is requested
by a specific due date, this value will be the due date for the action.
|
java.lang.String |
getActionLink()
Getter for actionLink
If there is a specific action suggested by this notification, this is the URL of the action.
|
java.lang.String |
getActionName()
Getter for actionName
If there is a specific action suggested by this notification, this is the name of the action.
|
java.lang.String |
getCategory()
Getter for category
The category of this notification.
|
java.lang.Integer |
getCompanyId()
Getter for companyId
If this notification was tied to a specific company, this will be the
unique ID number of the company that received the notification.
|
java.util.Date |
getCreatedDate()
Getter for createdDate
The UTC timestamp of the time when this notification was created.
|
java.lang.Integer |
getCreatedUserId()
Getter for createdUserId
The unique ID number of the user who created the notification.
|
java.lang.Boolean |
getDismissed()
Getter for dismissed
When a user has finished reviewing a notification, they may opt to dismiss it by calling the
`DismissNotification` API.
|
java.lang.Integer |
getDismissedByUserId()
Getter for dismissedByUserId
If this notification has been dismissed, this indicates the unique ID number of the user that
dismissed the notification.
|
java.util.Date |
getDismissedDate()
Getter for dismissedDate
If this notification has been dismissed, this indicates the timestamp (in UTC time) when the user
dismissed the notification.
|
java.util.Date |
getExpireDate()
Getter for expireDate
If this notification is time sensitive, this is the latest date when the notification should be
displayed to the user.
|
java.lang.Long |
getId()
Getter for id
The unique id of the notification.
|
java.lang.String |
getMessage()
Getter for message
The message for this notification.
|
java.util.Date |
getModifiedDate()
Getter for modifiedDate
The UTC timestamp of the time when this notification was last modified.
|
java.lang.Integer |
getModifiedUserId()
Getter for modifiedUserId
The unique ID number of the user who most recently modified this notification.
|
java.lang.Boolean |
getNeedsAction()
Getter for needsAction
If this notification object requires user action to resolve, this value will be set to true.
|
java.lang.Long |
getReferenceId()
Getter for referenceId
The unique reference Id number of the object referred to by this notification, if any.
|
java.lang.String |
getReferenceObject()
Getter for referenceObject
The type name of object referred to by this notification, if any.
|
NotificationSeverityLevel |
getSeverityLevelId()
Getter for severityLevelId
The severity level of the notification.
|
java.lang.String |
getTopic()
Getter for topic
The topic of this notification.
|
void |
setAccountId(java.lang.Integer value)
Setter for accountId
The unique ID number of the account that received this notification.
|
void |
setActionDueDate(java.util.Date value)
Setter for actionDueDate
If there is a specific action suggested by this notification, and if this action is requested
by a specific due date, this value will be the due date for the action.
|
void |
setActionLink(java.lang.String value)
Setter for actionLink
If there is a specific action suggested by this notification, this is the URL of the action.
|
void |
setActionName(java.lang.String value)
Setter for actionName
If there is a specific action suggested by this notification, this is the name of the action.
|
void |
setCategory(java.lang.String value)
Setter for category
The category of this notification.
|
void |
setCompanyId(java.lang.Integer value)
Setter for companyId
If this notification was tied to a specific company, this will be the
unique ID number of the company that received the notification.
|
void |
setCreatedDate(java.util.Date value)
Setter for createdDate
The UTC timestamp of the time when this notification was created.
|
void |
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId
The unique ID number of the user who created the notification.
|
void |
setDismissed(java.lang.Boolean value)
Setter for dismissed
When a user has finished reviewing a notification, they may opt to dismiss it by calling the
`DismissNotification` API.
|
void |
setDismissedByUserId(java.lang.Integer value)
Setter for dismissedByUserId
If this notification has been dismissed, this indicates the unique ID number of the user that
dismissed the notification.
|
void |
setDismissedDate(java.util.Date value)
Setter for dismissedDate
If this notification has been dismissed, this indicates the timestamp (in UTC time) when the user
dismissed the notification.
|
void |
setExpireDate(java.util.Date value)
Setter for expireDate
If this notification is time sensitive, this is the latest date when the notification should be
displayed to the user.
|
void |
setId(java.lang.Long value)
Setter for id
The unique id of the notification.
|
void |
setMessage(java.lang.String value)
Setter for message
The message for this notification.
|
void |
setModifiedDate(java.util.Date value)
Setter for modifiedDate
The UTC timestamp of the time when this notification was last modified.
|
void |
setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId
The unique ID number of the user who most recently modified this notification.
|
void |
setNeedsAction(java.lang.Boolean value)
Setter for needsAction
If this notification object requires user action to resolve, this value will be set to true.
|
void |
setReferenceId(java.lang.Long value)
Setter for referenceId
The unique reference Id number of the object referred to by this notification, if any.
|
void |
setReferenceObject(java.lang.String value)
Setter for referenceObject
The type name of object referred to by this notification, if any.
|
void |
setSeverityLevelId(NotificationSeverityLevel value)
Setter for severityLevelId
The severity level of the notification.
|
void |
setTopic(java.lang.String value)
Setter for topic
The topic of this notification.
|
java.lang.String |
toString()
Returns a JSON string representation of NotificationModel
|
public java.lang.Long getId()
public void setId(java.lang.Long value)
public java.lang.Integer getAccountId()
public void setAccountId(java.lang.Integer value)
public java.lang.Integer getCompanyId()
public void setCompanyId(java.lang.Integer value)
public java.lang.String getReferenceObject()
public void setReferenceObject(java.lang.String value)
public java.lang.Long getReferenceId()
public void setReferenceId(java.lang.Long value)
public NotificationSeverityLevel getSeverityLevelId()
public void setSeverityLevelId(NotificationSeverityLevel value)
public java.lang.String getCategory()
public void setCategory(java.lang.String value)
public java.lang.String getTopic()
public void setTopic(java.lang.String value)
public java.lang.String getMessage()
public void setMessage(java.lang.String value)
public java.lang.Boolean getNeedsAction()
public void setNeedsAction(java.lang.Boolean value)
public java.lang.String getActionName()
public void setActionName(java.lang.String value)
public java.lang.String getActionLink()
public void setActionLink(java.lang.String value)
public java.util.Date getActionDueDate()
public void setActionDueDate(java.util.Date value)
public java.lang.Boolean getDismissed()
public void setDismissed(java.lang.Boolean value)
public java.lang.Integer getDismissedByUserId()
public void setDismissedByUserId(java.lang.Integer value)
public java.util.Date getDismissedDate()
public void setDismissedDate(java.util.Date value)
public java.util.Date getExpireDate()
public void setExpireDate(java.util.Date value)
public java.lang.Integer getCreatedUserId()
public void setCreatedUserId(java.lang.Integer value)
public java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date value)
public java.lang.Integer getModifiedUserId()
public void setModifiedUserId(java.lang.Integer value)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date value)
public java.lang.String toString()
toString
in class java.lang.Object