Table of Contents

Class Notification

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

false This class represents a notification that has to be send to a recipient.

[ReportClass]
public class Notification : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IDateTimeProvider
Inheritance
Notification
Implements
Inherited Members

Constructors

Notification()

Initializes a new instance of the Notification class.Initializes a new instance of the Notification class.

public Notification()

Notification(Id?, long?, Recipient?, DateTime?, DateTime?, NotificationData?)

Initializes a new instance of the Notification class.

public Notification(Id? id, long? version, Recipient? recipient, DateTime? dateTime, DateTime? dateTimeEnd, NotificationData? notificationData)

Parameters

id Id

Id

version long?

Nullable<T> where T is. long

recipient Recipient

Recipient

dateTime DateTime?

DateTime

dateTimeEnd DateTime?

The end DateTime fo the notification.

notificationData NotificationData

NotificationData

Properties

DateTime

Gets or sets gets the date.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationDateTime })]
public DateTime? DateTime { get; set; }

Property Value

DateTime?

The DateTime of the event.

DateTimeEnd

Gets or sets the timestamp indication until when this notification was processed (viewed, delivered).

public DateTime? DateTimeEnd { get; set; }

Property Value

DateTime?

DateTime

NotificationApplicationExceptionData

Gets or sets the <xref href="Geotab.Checkmate.ObjectModel.NotificationApplicationExceptionData" data-throw-if-not-resolved="false"></xref> data that provides
the data for this notification.

Deprecated: Please send all exceptions directly to Error Reporting rather than using NotificationApplicationExceptionData

public NotificationApplicationExceptionData? NotificationApplicationExceptionData { get; set; }

Property Value

NotificationApplicationExceptionData

NotificationApplicationExceptionData

NotificationData

Gets or sets the notification data.

public NotificationData? NotificationData { get; set; }

Property Value

NotificationData

NotificationData

NotificationDeviceShareData

Gets or sets the NotificationDeviceShareData data that provides the data for this notification.

public NotificationDeviceShareData? NotificationDeviceShareData { get; set; }

Property Value

NotificationDeviceShareData

NotificationDeviceShareData

NotificationExceptionData

Gets or sets the NotificationExceptionData data that provides the data for this notification.

public NotificationExceptionData? NotificationExceptionData { get; set; }

Property Value

NotificationExceptionData

NotificationExceptionData

NotificationExceptionForUsersData

Gets or sets the NotificationExceptionForUsersData data that provides the data for this notification.

public NotificationExceptionForUsersData? NotificationExceptionForUsersData { get; set; }

Property Value

NotificationExceptionForUsersData

NotificationExceptionForUsersData

NotificationForAdminUsers

Gets or sets the NotificationForAdminUsersData data that provides the data for this notification.

public NotificationForAdminUsersData? NotificationForAdminUsers { get; set; }

Property Value

NotificationForAdminUsersData

NotificationForAdminUsersData

NotificationInfoData

Gets or sets the NotificationInfoData data that provides the data for this notification.

public NotificationInfoData? NotificationInfoData { get; set; }

Property Value

NotificationInfoData

NotificationInfoData

NotificationMaintenanceReminderData

Gets or sets the NotificationMaintenanceReminderData data that provides the data for this notification.

public NotificationMaintenanceReminderData? NotificationMaintenanceReminderData { get; set; }

Property Value

NotificationMaintenanceReminderData

NotificationMaintenanceReminderData

NotificationMessageData

Gets or sets the NotificationNewsData data that provides the data for this notification.

public NotificationMessageData? NotificationMessageData { get; set; }

Property Value

NotificationMessageData

NotificationNewsData

NotificationNewsData

Gets or sets the NotificationNewsData data that provides the data for this notification.

public NotificationNewsData? NotificationNewsData { get; set; }

Property Value

NotificationNewsData

NotificationNewsData

NotificationReportDownloadData

Gets or sets the NotificationReportDownloadData data that provides the data for this notification.

public NotificationReportProcessorData? NotificationReportDownloadData { get; set; }

Property Value

NotificationReportProcessorData

NotificationReportDownloadData

NotificationSimpleEmailData

Gets or sets the NotificationSimpleEmailData data that provides the data for this notification.

public NotificationSimpleEmailData? NotificationSimpleEmailData { get; set; }

Property Value

NotificationSimpleEmailData

NotificationSimpleEmailData

NotificationUserModifiedData

Gets or sets the NotificationUserModifiedData data that provides the data for this notification.

public NotificationUserModifiedData? NotificationUserModifiedData { get; set; }

Property Value

NotificationUserModifiedData

NotificationUserModifiedData

Recipient

Gets or sets the recipient this notification belongs to.

public Recipient? Recipient { get; set; }

Property Value

Recipient

Recipient

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.

IsDismissed()

false Returns if the notification has been dismissed.

public bool IsDismissed()

Returns

bool

bool