Table of Contents

Class MaintenanceScheduleSearch

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

false search The object used to specify the arguments when searching for MaintenanceSchedule(s).

public class MaintenanceScheduleSearch : Search, IEntity
Inheritance
MaintenanceScheduleSearch
Implements
Inherited Members

Constructors

MaintenanceScheduleSearch()

Initializes a new instance of the MaintenanceScheduleSearch class.Constructor

public MaintenanceScheduleSearch()

MaintenanceScheduleSearch(Id)

Initializes a new instance of the MaintenanceScheduleSearch class.Constructor.

public MaintenanceScheduleSearch(Id id)

Parameters

id Id

The Id.

Properties

Active

Gets or sets search for all Active MaintenanceSchedule.

public bool? Active { get; set; }

Property Value

bool?

string

Days

Gets or sets a value indicating whether to filter for EventRules that have the days recurrence field populated.

public bool Days { get; set; }

Property Value

bool

bool

EngineHours

Gets or sets a value indicating whether to filter for EventRules that are set to not generate recurring events.

public bool EngineHours { get; set; }

Property Value

bool

bool

EventTypeId

Gets or sets a value indicating whether to filter for EventRules by the event type id.

public Id? EventTypeId { get; set; }

Property Value

Id

Id

EventTypeIds

Gets or sets a value indicating a list of EventType Id-s to search by.

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

Property Value

IEnumerable<Id>

IList<T> where T is Id

GroupFilterCondition

Gets or sets the groups to find the event rules belonging to parents or children of the groups using and/or relationship.

public GroupFilterCondition? GroupFilterCondition { get; set; }

Property Value

GroupFilterCondition

And/or relation between groups to search

Groups

Gets or sets search for Event Rules that are members of these GroupSearch(s) one of it's children or one of it's parents. Available GroupSearch options are:.

public List<GroupSearch>? Groups { get; set; }

Property Value

List<GroupSearch>

IList<T>

IncludeAssetCounts

Gets or sets a value indicating whether to include vehicle asset counts for the returned event rules.

public bool IncludeAssetCounts { get; set; }

Property Value

bool

bool

IncludeGroups

Gets or sets a value indicating how to filter on Group.

public IncludeGroups? IncludeGroups { get; set; }

Property Value

IncludeGroups?

IncludeGroups

IncludeMaintenanceTypeInfo

Gets or sets a value indicating whether to include maintenance type information in the results.

public bool IncludeMaintenanceTypeInfo { get; set; }

Property Value

bool

bool

Kilometers

Gets or sets a value indicating whether to filter for EventRules that have the kilometers recurrence field populated.

public bool Kilometers { get; set; }

Property Value

bool

bool

Months

Gets or sets a value indicating whether to filter for EventRules that have the months recurrence field populated.

public bool Months { get; set; }

Property Value

bool

bool

Name

Gets or sets search for all MaintenanceSchedule matching this Name. Wildcard can be used by prepending/appending "%" to string. Example "%name%".

public string? Name { get; set; }

Property Value

string

string

NonRepeating

Gets or sets a value indicating whether to filter for EventRules that have the datetime one-off field populated.

public bool NonRepeating { get; set; }

Property Value

bool

bool

Repeats

Gets or sets a value indicating whether to filter for EventRules that are set to generate recurring events.

public bool Repeats { get; set; }

Property Value

bool

bool

ScheduleIds

Gets or sets search for Schedules with these unique Id(s). Not Supported for searching for schedules, only for MaintenanceWorkRequest.

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

Property Value

IEnumerable<Id>

IList<T>

Source

Gets or sets search for all MaintenanceSchedule matching this Source.

public string? Source { get; set; }

Property Value

string

string

Weeks

Gets or sets a value indicating whether to filter for EventRules that have the weeks recurrence field populated.

public bool Weeks { get; set; }

Property Value

bool

bool