Class MaintenanceWorkRequestSearch
- Namespace
- Geotab.Checkmate.ObjectModel.Maintenance
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The object used to specify the arguments when searching for MaintenanceWorkRequest.
public class MaintenanceWorkRequestSearch : Search, IEntity
- Inheritance
-
MaintenanceWorkRequestSearch
- Implements
- Inherited Members
Constructors
MaintenanceWorkRequestSearch()
Initializes a new instance of the MaintenanceWorkRequestSearch class.
public MaintenanceWorkRequestSearch()
MaintenanceWorkRequestSearch(Id?)
Initializes a new instance of the MaintenanceWorkRequestSearch class.
public MaintenanceWorkRequestSearch(Id? id)
Parameters
id
IdThe id.
Properties
DeviceSearch
Gets or sets search for MaintenanceWorkRequests matching this DeviceSearch. Providing a device ID will search for any MaintenanceWorkRequest that are assigned to that Device. Providing the Groups will search for MaintenanceWorkRequest for that have Devices in that group. Available DeviceSearch options are:.
public DeviceSearch? DeviceSearch { get; set; }
Property Value
DueInEngineHours
Gets or sets a value indicating the engine hours until due.
public TimeSpan? DueInEngineHours { get; set; }
Property Value
DueInKilometers
Gets or sets a value indicating the distance until due (in kilometers).
public float? DueInKilometers { get; set; }
Property Value
DuePeriod
Gets or sets a value indicating the timespan from now in for which to search for MaintenanceWorkRequests.
public TimeSpan? DuePeriod { get; set; }
Property Value
IsOverdue
Gets or sets whether the MaintenanceWorkRequests are overdue or not.
public bool? IsOverdue { get; set; }
Property Value
IsPending
Gets or sets whether the MaintenanceWorkRequests are pending or not.
public bool? IsPending { get; set; }
Property Value
IsSnoozed
Gets or sets whether the MaintenanceWorkRequests are snoozed or not.
public bool? IsSnoozed { get; set; }
Property Value
IsVisible
Gets or sets whether the MaintenanceWorkRequests are visible or not.
public bool? IsVisible { get; set; }
Property Value
MaintenanceTypeIds
Gets or sets a value indicating a list of EventType Ids to search by.
public IEnumerable<Id>? MaintenanceTypeIds { get; set; }
Property Value
ScheduleSearch
Gets or sets search for MaintenanceWorkRequests matching this MaintenanceScheduleSearch. Providing a schedule id will search for any MaintenanceWorkRequest that are assigned to that Schedule. Available ScheduleSearch options are:
public MaintenanceScheduleSearch? ScheduleSearch { get; set; }
Property Value
Severities
Gets or sets the list of severities to search by.
public IEnumerable<MaintenanceSeverity>? Severities { get; set; }
Property Value
Sources
Gets or sets the list of sources to search by.
public IEnumerable<string>? Sources { get; set; }