Class EventType
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The type of an event.
[ReportClass]
public class EventType : NameEntityWithMaintenanceSource, IEntity, IComparable, IIdentifiable, IMaintenanceSource
- Inheritance
-
EventType
- Implements
- Derived
- Inherited Members
Constructors
EventType()
Initializes a new instance of the EventType class.Initializes a new instance of the EventType class.
public EventType()
EventType(EventType)
Initializes a new instance of the EventType class. Copy constructor - initializes a new instance of the EventType class.
protected EventType(EventType eventType)
Parameters
eventType
EventTypeType of the event.
EventType(Id?, string?, string?, string?, IList<string>?, User?)
Initializes a new instance of the EventType class.Initializes a new instance of the EventType class.
public EventType(Id? id, string? name, string? source, string? sourceDescription, IList<string>? labels, User? createdBy)
Parameters
id
IdThe Id.
name
stringThe name.
source
stringThe source.
sourceDescription
stringThe description of the source.
labels
IList<string>The labels.
createdBy
UserThe user that created the maintenance type.
Properties
CreatedBy
Gets or sets the user that created the maintenance type.
public User? CreatedBy { 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.
SystemFromId(Id?)
Returns a system event type from the provided system Id else null if its a not a system event type.
public static EventType? SystemFromId(Id? id)
Parameters
id
IdThe id.