Class NotificationMessageData
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The message data associated with a notification.
[ReportClass]
public class NotificationMessageData : NotificationData, IEntity, IComparable, IIdentifiable
- Inheritance
-
NotificationMessageData
- Implements
- Inherited Members
Constructors
NotificationMessageData()
Initializes a new instance of the NotificationMessageData class. Initializes a new instance of the NotificationMessageData class.
public NotificationMessageData()
NotificationMessageData(Id?, string?, string?, string?)
Initializes a new instance of the NotificationMessageData class. Initializes a new instance of the NotificationMessageData class.
public NotificationMessageData(Id? id, string? machineName, string? source, string? info)
Parameters
id
IdThe Id.
machineName
stringThe machine name where the information is originating from.
source
stringThe source.
info
stringThe information description.
NotificationMessageData(string?, string?, string?)
Initializes a new instance of the NotificationMessageData class.
public NotificationMessageData(string? machineName, string? source, string? info = "")
Parameters
machineName
stringThe machine name where the information is originating from.
source
stringThe string resource id.
info
stringThe info.
Fields
PasswordChangedTextMessage
Resource id for password changed text message.
public const string PasswordChangedTextMessage = "PasswordChangedTextMessage"
Field Value
Properties
Info
Gets or sets the information.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationInfoDataInfo })]
public string? Info { get; set; }
Property Value
MachineName
Gets or sets the machine name pertaining to the relevant information.
public string? MachineName { get; set; }
Property Value
Source
Gets or sets what is the source of the application exception.
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.NotificationInfoDataSource })]
public string? Source { get; set; }
Property Value
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.
ToString()
Returns a string that represents this instance.
public override string ToString()