Properties
Name | Access | Type | Description |
---|---|---|---|
Actors | Read | IEnumerable of NotificationActor | Actors |
Content | Read | Content | Content |
ContentId | Read, Write | Nullable of Guid | Content Id |
ContentTypeId | Read, Write | Nullable of Guid | Content Type Id |
ContentUrl | Read, Write | String | Content Url |
CreatedDate | Read, Write | DateTime | Created Date |
Errors | Read | IList of Error | Errors |
ExtendedAttributes | Read, Write | IList of IExtendedAttribute | Extended Attributes |
IsRead | Read, Write | Boolean | Is Read |
LastUpdatedDate | Read, Write | DateTime | Last Updated Date |
NotificationCategory | Read | NotificationCategory | Notification Category |
NotificationId | Read, Write | Guid | Notification Id |
NotificationTypeId | Read, Write | Guid | Notification Type Id |
TargetUrl | Read | String | Target Url |
UserId | Read, Write | Int32 | User Id |
Warnings | Read | IList of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $notification.HasErrors())
JavaScript
var booleanResponse = notification.HasErrors();
Returns
Boolean
HasWarnings
Velocity
#set($booleanResponse = $notification.HasWarnings())
JavaScript
var booleanResponse = notification.HasWarnings();
Returns
Boolean
HasWarningsOrErrors
Velocity
#set($booleanResponse = $notification.HasWarningsOrErrors())
JavaScript
var booleanResponse = notification.HasWarningsOrErrors();
Returns
Boolean
Message
Velocity
#set($stringResponse = $notification.Message($notificationTarget))
JavaScript
var stringResponse = notification.Message(notificationTarget);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
notificationTarget | String | Notification Target | Required |
Returns
String
ThrowErrors
Velocity
$notification.ThrowErrors()
JavaScript
notification.ThrowErrors();