Table of Contents

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 Id

The 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

DeviceSearch

DeviceSearch

DueInEngineHours

Gets or sets a value indicating the engine hours until due.

public TimeSpan? DueInEngineHours { get; set; }

Property Value

TimeSpan?

TimeSpan

DueInKilometers

Gets or sets a value indicating the distance until due (in kilometers).

public float? DueInKilometers { get; set; }

Property Value

float?

float

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

TimeSpan?

TimeSpan

IsOverdue

Gets or sets whether the MaintenanceWorkRequests are overdue or not.

public bool? IsOverdue { get; set; }

Property Value

bool?

bool

IsPending

Gets or sets whether the MaintenanceWorkRequests are pending or not.

public bool? IsPending { get; set; }

Property Value

bool?

bool

IsSnoozed

Gets or sets whether the MaintenanceWorkRequests are snoozed or not.

public bool? IsSnoozed { get; set; }

Property Value

bool?

bool

IsVisible

Gets or sets whether the MaintenanceWorkRequests are visible or not.

public bool? IsVisible { get; set; }

Property Value

bool?

bool

MaintenanceTypeIds

Gets or sets a value indicating a list of EventType Ids to search by.

public IEnumerable<Id>? MaintenanceTypeIds { get; set; }

Property Value

IEnumerable<Id>

Array>Id

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

MaintenanceScheduleSearch

MaintenanceScheduleSearch

Severities

Gets or sets the list of severities to search by.

public IEnumerable<MaintenanceSeverity>? Severities { get; set; }

Property Value

IEnumerable<MaintenanceSeverity>

Array>MaintenanceSeverity

Sources

Gets or sets the list of sources to search by.

public IEnumerable<string>? Sources { get; set; }

Property Value

IEnumerable<string>

Array>string