Class MaintenanceNotificationRule
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class MaintenanceNotificationRule : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
MaintenanceNotificationRule
- Implements
- Inherited Members
Constructors
MaintenanceNotificationRule()
Initializes a new instance of the MaintenanceNotificationRule class.
public MaintenanceNotificationRule()
MaintenanceNotificationRule(Id)
Initializes a new instance of the MaintenanceNotificationRule class.
public MaintenanceNotificationRule(Id id)
Parameters
id
IdThe id of the MaintenanceNotificationRule entity
MaintenanceNotificationRule(MaintenanceNotificationRule)
Initializes a new instance of the MaintenanceNotificationRule class.
public MaintenanceNotificationRule(MaintenanceNotificationRule rule)
Parameters
rule
MaintenanceNotificationRuleThe rule to copy
Properties
DaysDueTrigger
Gets or sets the number of days before the maintenance rule becomes overdue to trigger the notification
public TimeSpan? DaysDueTrigger { get; set; }
Property Value
- TimeSpan?
The number of days.
EngineHoursTrigger
Gets or sets the amount of engine hours before the maintenance rule becomes overdue to trigger the notification
public TimeSpan? EngineHoursTrigger { get; set; }
Property Value
- TimeSpan?
The engine hours.
EventRule
Gets or sets the maintenance event rule EventRule for this notification rule.
public MaintenanceSchedule? EventRule { get; set; }
Property Value
- MaintenanceSchedule
The template.
OdometerTrigger
Gets or sets the number of kilometers before the maintenance rule becomes overdue to trigger the notification
public long? OdometerTrigger { get; set; }
Property Value
- long?
The number of kilometers.
Recipient
Gets or sets the recipient Recipient of the notification.
public Recipient? Recipient { get; set; }
Property Value
- Recipient
The recipient.
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.