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
id
IdThe Id.
machineName
stringThe machine name where the information is originating from.
source
stringThe source.
state
NotificationStatus?The state.
instance
stringThe instance.
info
stringThe 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
machineName
stringThe machine name.
source
stringThe source.
state
NotificationStatusThe state.
info
stringThe 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
machineName
stringThe machines name.
source
stringThe source.
state
NotificationStatus?The state.
instance
stringThe instance.
databaseName
stringthe database name.
info
stringThe 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()