Class DriverChangeSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The object used to specify the arguments when searching for a DriverChange.
This search defaults to searching DriverChange(s) by Driver Id when no DeviceSearch is provided.
public class DriverChangeSearch : Search, IEntity
- Inheritance
-
DriverChangeSearch
- Implements
- Inherited Members
Constructors
DriverChangeSearch()
public DriverChangeSearch()
Properties
DeviceSearch
Gets or sets filter by the DeviceSearch options. Providing a device ID will search for any DriverChanges that are assigned to that Device. Providing the Groups will search for DriverChanges for that have Devices in that group. Available DeviceSearch options are:
public DeviceSearch? DeviceSearch { get; set; }
Property Value
FromDate
Gets or sets search for DriverChange records at this date or after.
public DateTime? FromDate { get; set; }
Property Value
IncludeNextChanges
Gets or sets a value indicating whether to include the next driver change after the to date or the most recent driver change (if dates are not provided).
public bool? IncludeNextChanges { get; set; }
Property Value
IncludeOverlappedChanges
Gets or sets a value indicating whether to include the last driver change before the from date or the most recent driver change (if dates are not provided).
public bool? IncludeOverlappedChanges { get; set; }
Property Value
MaxVersion
Gets or sets maximum version of the search criteria.
public long? MaxVersion { get; set; }
Property Value
- long?
Nullable<T> where T is. long
ToDate
Gets or sets search for DriverChange records at this date or before.
public DateTime? ToDate { get; set; }
Property Value
Type
Gets or sets a value indicating the DriverChangeType to search for exclusively.
public DriverChangeType? Type { get; set; }
Property Value
UserSearch
Gets or sets search for DriverChanges with this UserSearch Id or DriverGroups. Available UserSearch options are:.
public UserSearch? UserSearch { get; set; }