Table of Contents

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 Id

The Id.

machineName string

The machine name where the information is originating from.

source string

The source.

state NotificationStatus?

The state.

instance string

The instance.

info string

The 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 string

The machine name.

source string

The source.

state NotificationStatus

The state.

info string

The 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 string

The machines name.

source string

The source.

state NotificationStatus?

The state.

instance string

The instance.

databaseName string

the database name.

info string

The info.

Properties

DatabaseName

Gets or sets database name pertaining to the relevant information.

public string? DatabaseName { get; set; }

Property Value

string

string

Info

Gets or sets the information for the specific machine.

public string? Info { get; set; }

Property Value

string

string

Instance

Gets or sets the instance of this particular notification eg. the particular downloader serial number.

public string? Instance { get; set; }

Property Value

string

string

MachineName

Gets or sets the machine name pertaining to the relevant information.

public string? MachineName { get; set; }

Property Value

string

string

Source

Gets or sets what is the source of the application exception.

public string? Source { get; set; }

Property Value

string

string

State

Gets or sets what is the current state for the application exception.

public NotificationStatus? State { get; set; }

Property Value

NotificationStatus?

NotificationStatus

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()

Returns

string

A string that represents this instance.