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
idIdThe Id of the annotation.
dateTimeDateTime?The DateTime of the annotation.
deviceDeviceThe Device the annotation was made for.
textstringThe text of the annotation.
Properties
DateTime
Gets or sets the DateTime of the annotation.
public DateTime? DateTime { get; set; }
Property Value
Device
Gets or sets the Device of the annotation.
public Device? Device { get; set; }
Property Value
Text
Gets or sets the text of the annotation.
public string? Text { 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.