Table of Contents

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 EventType

Type 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 Id

The Id.

name string

The name.

source string

The source.

sourceDescription string

The description of the source.

labels IList<string>

The labels.

createdBy User

The 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

User

User

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 Id

The id.

Returns

EventType

EventType