Notification is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Notification : ApiEntity, IApiEntity
{
Notification();
Notification(AdditionalInfo info);
Notification(IMapper<NotificationActor,NotificationActor> notificationActorMapper, INotificationRenderingService notificationRenderingService, Notification coreNotification, AdditionalInfo info);
IEnumerable<NotificationActor> Actors { get; }
Content Content { get; }
Guid? ContentId { get; set; }
Guid? ContentTypeId { get; set; }
string ContentUrl { get; set; }
DateTime CreatedDate { get; set; }
IList<Error> Errors { get; }
IList<IExtendedAttribute> ExtendedAttributes { get; set; }
bool ForceSend { get; set; }
bool IsRead { get; set; }
DateTime LastUpdatedDate { get; set; }
NotificationCategory NotificationCategory { get; }
Guid NotificationId { get; set; }
Guid NotificationTypeId { get; set; }
string TargetUrl { get; }
int UserId { get; set; }
IList<Warning> Warnings { get; }
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
string Message(string notificationTarget);
void ThrowErrors();
}
Constructors
Notification();
Notification(AdditionalInfo info);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| info | AdditionalInfo | Info | Required |
Notification(IMapper<NotificationActor,NotificationActor> notificationActorMapper, INotificationRenderingService notificationRenderingService, Notification coreNotification, AdditionalInfo info);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| notificationActorMapper | IMapper<NotificationActor,NotificationActor> | Notification Actor Mapper | Required | ||
| notificationRenderingService | INotificationRenderingService | Notification Rendering Service | Required | ||
| coreNotification | Notification | Core Notification | Required | ||
| info | AdditionalInfo | Info | Required |
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> | |||
| ForceSend | bool | |||
| IsRead | bool | |||
| LastUpdatedDate | DateTime | |||
| NotificationCategory | NotificationCategory | |||
| NotificationId | Guid | |||
| NotificationTypeId | Guid | |||
| TargetUrl | string | |||
| UserId | int | |||
| Warnings | IList<Warning> |