Table of Contents

Class TripAnnotation

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

A class used to annotate a trip. Represents a comment at a moment in time for a device.

public class TripAnnotation : Entity, IEntity, IComparable, IIdentifiable, IDateTimeProvider
Inheritance
TripAnnotation
Implements
Inherited Members

Constructors

TripAnnotation()

Initializes a new instance of the TripAnnotation class.

public TripAnnotation()

TripAnnotation(Id?, DateTime?, Device?, string?)

Initializes a new instance of the TripAnnotation class.

public TripAnnotation(Id? id, DateTime? dateTime, Device? device, string? text)

Parameters

id Id

The Id of the annotation.

dateTime DateTime?

The DateTime of the annotation.

device Device

The Device the annotation was made for.

text string

The text of the annotation.

Properties

DateTime

Gets or sets the DateTime of the annotation.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

DateTime

Device

Gets or sets the Device of the annotation.

public Device? Device { get; set; }

Property Value

Device

Device

Text

Gets or sets the text of the annotation.

public string? Text { get; set; }

Property Value

string

string

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.