Class NotificationInfoData
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The information data associated with a notification.
public class NotificationInfoData : NotificationData, IEntity, IComparable, IIdentifiable
- Inheritance
-
NotificationInfoData
- Implements
- Inherited Members
Constructors
NotificationInfoData()
Initializes a new instance of the NotificationInfoData class. Initializes a new instance of the NotificationInfoData class.
public NotificationInfoData()
NotificationInfoData(Id?, string?, string?, NotificationStatus?, string?, string?)
Initializes a new instance of the NotificationInfoData class.
public NotificationInfoData(Id? id, string? machineName, string? source, NotificationStatus? state, string? instance, string? info)
Parameters
idIdThe Id.
machineNamestringThe machine name where the information is originating from.
sourcestringThe source.
stateNotificationStatus?The state.
instancestringThe instance.
infostringThe information description.
NotificationInfoData(string, string, NotificationStatus, string)
Initializes a new instance of the NotificationInfoData class.Construct a new NotificationInfoData.
public NotificationInfoData(string machineName, string source, NotificationStatus state, string info)
Parameters
machineNamestringThe machine name.
sourcestringThe source.
stateNotificationStatusThe state.
infostringThe info.
NotificationInfoData(string, string, NotificationStatus?, string, string, string)
Initializes a new instance of the NotificationInfoData class.
public NotificationInfoData(string machineName, string source, NotificationStatus? state, string instance = "", string databaseName = "", string info = "")
Parameters
machineNamestringThe machines name.
sourcestringThe source.
stateNotificationStatus?The state.
instancestringThe instance.
databaseNamestringthe database name.
infostringThe info.
Properties
DatabaseName
Gets or sets database name pertaining to the relevant information.
public string? DatabaseName { get; set; }
Property Value
Info
Gets or sets the information for the specific machine.
public string? Info { get; set; }
Property Value
Instance
Gets or sets the instance of this particular notification eg. the particular downloader serial number.
public string? Instance { 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.
public string? Source { get; set; }
Property Value
State
Gets or sets what is the current state for the application exception.
public NotificationStatus? State { 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()