Class DutyStatusLogSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class DutyStatusLogSearch : Search, IEntity
- Inheritance
-
DutyStatusLogSearch
- Implements
- Inherited Members
Constructors
DutyStatusLogSearch()
Initializes a new instance of the DutyStatusLogSearch class.The object used to specify the arguments when searching for DutyStatusLogs.
public DutyStatusLogSearch()
DutyStatusLogSearch(Id)
Initializes a new instance of the DutyStatusLogSearch class. The object used to specify the arguments when searching for DutyStatusLogs.
public DutyStatusLogSearch(Id id)
Parameters
id
IdThe Id to search for.
DutyStatusLogSearch(UserSearch?, DeviceSearch?, DateTime?, DateTime?, bool?, IEnumerable<DutyStatusLogType>?, bool?, IList<DutyStatusMalfunctionTypes>?, bool?)
Initializes a new instance of the DutyStatusLogSearch class.The object used to specify the arguments when searching for DutyStatusLogs.
public DutyStatusLogSearch(UserSearch? userSearch, DeviceSearch? deviceSearch = null, DateTime? fromDate = null, DateTime? toDate = null, bool? includeBoundaryLogs = null, IEnumerable<DutyStatusLogType>? statuses = null, bool? includeModifications = null, IList<DutyStatusMalfunctionTypes>? malfunction = null, bool? includeCompliance = null)
Parameters
userSearch
UserSearchSearch for DutyStatusLogs with this UserSearch Id.
deviceSearch
DeviceSearchSearch for DutyStatusLogs for this DeviceSearch Id.
fromDate
DateTime?The minimum DateTime to search for.
toDate
DateTime?The maximum DateTime to search for.
includeBoundaryLogs
bool?Include boundary logs outside of the from and to dates.
statuses
IEnumerable<DutyStatusLogType>Search for DutyStatusLogs with the provided DutyStatusLogTypes.
includeModifications
bool?Get DutyStatusLog(s) along with any modifications.
malfunction
IList<DutyStatusMalfunctionTypes>A filter for the DutyStatusMalfunctionTypes(s) of a log.
includeCompliance
bool?Include compliance DutyStatusLog(s) logs.
Properties
DeviceSearch
Gets or sets filter by the DeviceSearch options. Providing a device ID will
search for any DutyStatusLogs that are assigned to that Device.
Providing the Groups will search for DutyStatusLogs for that have Devices in that group.
Available DeviceSearch options are:
public DeviceSearch? DeviceSearch { get; set; }
Property Value
FromDate
Gets or sets search for DutyStatusLogs that were recorded at this date or after.
public DateTime? FromDate { get; set; }
Property Value
IncludeBoundaryLogs
Gets or sets search for DutyStatusLogs and include boundary logs outside the from and to dates (for example, the log immediately preceding the from date).
public bool? IncludeBoundaryLogs { get; set; }
Property Value
IncludeCompliance
Gets or sets search for DutyStatusLogs and include compliance properties (e.g. Odometer, EngineHours).
public bool? IncludeCompliance { get; set; }
Property Value
IncludeLocations
Gets or sets whether to populate locations for DutyStatusLogs. This can be expensive.
public bool? IncludeLocations { get; set; }
Property Value
IncludeModifications
Gets or sets include modification history of the DutyStatusLog results.
public bool? IncludeModifications { get; set; }
Property Value
Malfunction
Gets or sets search for DutyStatusLogs based on DutyStatusMalfunctionTypes.
public IList<DutyStatusMalfunctionTypes>? Malfunction { get; set; }
Property Value
MaxVersion
Gets or sets search for DutyStatusLogs with a maximum of this version.
public long? MaxVersion { get; set; }
Property Value
- long?
Nullable<T> where T is. long
MinVersion
Gets or sets search for DutyStatusLogs with a minimum of this version.
public long? MinVersion { get; set; }
Property Value
- long?
Nullable<T> where T is. long
OnlyDriverDiagnosticsMalfunctions
Gets or sets search for DutyStatusLogs for only the driver's malfunction/diagnostic logs.
public bool? OnlyDriverDiagnosticsMalfunctions { get; set; }
Property Value
Origin
Gets or sets search for DutyStatusLogs based on DutyStatusOrigin.
public IList<DutyStatusOrigin>? Origin { get; set; }
Property Value
Statuses
Gets or sets search for DutyStatusLogs with the provided DutyStatusLogTypes.
public IEnumerable<DutyStatusLogType>? Statuses { get; set; }
Property Value
- IEnumerable<DutyStatusLogType>
IList<T> where T is. DutyStatusLogType
ToDate
Gets or sets search for DutyStatusLogs that were recorded at this date or before.
public DateTime? ToDate { get; set; }
Property Value
UserSearch
Gets or sets search for DutyStatusLogs with this UserSearch Id. Available UserSearch options are:.
public UserSearch? UserSearch { get; set; }
Property Value
Methods
Clone()
Clone this DutyStatusLogSearch instance.
public override IEntity Clone()