Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Actors | IEnumerable<NotificationActor> | |||
Content | Content | |||
ContentId | Guid? | |||
ContentTypeId | Guid? | |||
ContentUrl | string | |||
CreatedDate | DateTime | |||
Errors | IList<Error> | |||
ExtendedAttributes | IList<IExtendedAttribute> | |||
IsRead | bool | |||
LastUpdatedDate | DateTime | |||
NotificationCategory | NotificationCategory | |||
NotificationId | Guid | |||
NotificationTypeId | Guid | |||
TargetUrl | string | |||
UserId | int | |||
Warnings | IList<Warning> |
Methods
HasErrors
Usage
#set($booleanResponse = $notification.HasErrors())
Return Type
bool
HasWarnings
Usage
#set($booleanResponse = $notification.HasWarnings())
Return Type
bool
HasWarningsOrErrors
Usage
#set($booleanResponse = $notification.HasWarningsOrErrors())
Return Type
bool
Message
Usage
#set($stringResponse = $notification.Message($notificationTarget))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
notificationTarget | string | Notification Target | Required |
Return Type
string
ThrowErrors
Usage
$notification.ThrowErrors()