Table of Contents

Class DVIRLogSearch

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

true search The object used to specify the arguments when searching for DVIRLog(s). A trailerSearch and deviceSearch cannot be used at the same time because a DVIR log entry is only ever associated with one asset type (for instance, if the "device" is set, "trailer" is always null and vice versa).

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

Constructors

DVIRLogSearch()

Initializes a new instance of the DVIRLogSearch class.The object used to specify the arguments when searching for DVIRLogs.

public DVIRLogSearch()

DVIRLogSearch(DeviceSearch?, TrailerSearch?, DateTime?, DateTime?)

Initializes a new instance of the DVIRLogSearch class.The object used to specify the arguments when searching for DVIRLogs.

public DVIRLogSearch(DeviceSearch? deviceSearch, TrailerSearch? trailerSearch, DateTime? fromDate = null, DateTime? toDate = null)

Parameters

deviceSearch DeviceSearch

The DeviceSearch to search for.

trailerSearch TrailerSearch

The TrailerSearch to search for.

fromDate DateTime?

The minimum DateTime to search for.

toDate DateTime?

The maximum DateTime to search for.

DVIRLogSearch(Id?)

Initializes a new instance of the DVIRLogSearch class.Constructor.

public DVIRLogSearch(Id? id)

Parameters

id Id

the id.

Properties

CertifiedBySearch

Gets or sets search for DVIRLogs certified by a User. Available UserSearch options are:.

public UserSearch? CertifiedBySearch { get; set; }

Property Value

UserSearch

UserSearch

DefectSearch

Gets or sets search for DVIRLogs that are a member of these defect Group(s). Available GroupSearch options are:.

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

Property Value

List<GroupSearch>

IList<T>

DeviceSearch

Gets or sets filter by the DeviceSearch options. Providing a device ID will search for any DVIRLogs that are assigned to that Device. Providing the Groups will search for DVIRLogs for that have Devices in that group. Available DeviceSearch options are:

public DeviceSearch? DeviceSearch { get; set; }

Property Value

DeviceSearch

DeviceSearch

FromDate

Gets or sets search for DVIRLogs that were recorded at this date or after.

public DateTime? FromDate { get; set; }

Property Value

DateTime?

DateTime

IncludeBoundaryLogs

Gets or sets search for DVIRLogs 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

bool?

bool

IncludeRejected

Gets or sets search for DVIRLogs and include logs that have been marked as rejected by the driver.

public bool? IncludeRejected { get; set; }

Property Value

bool?

bool

IsCertified

Gets or sets search for DVIRLogs that have been certified (CertifyDate is not null).

public bool? IsCertified { get; set; }

Property Value

bool?

bool

IsDefective

Gets or sets search for DVIRLogs that have. Defects

public bool? IsDefective { get; set; }

Property Value

bool?

bool

IsRepaired

Gets or sets search for DVIRLogs that have been repaired (RepairDate is not null).

public bool? IsRepaired { get; set; }

Property Value

bool?

bool

IsSafeToOperate

Gets or sets search for DVIRLogs which are safe or are not safe to operate.

public bool? IsSafeToOperate { get; set; }

Property Value

bool?

bool

LogTypes

Gets or sets search for DVIRLogs that match the specified DVIRLogTypes.

public IEnumerable<DVIRLogType>? LogTypes { get; set; }

Property Value

IEnumerable<DVIRLogType>

IList<T> where T is. DVIRLogType

MaxVersion

Gets or sets false Search for DVIRLogs with a maximum of this version.

public long? MaxVersion { get; set; }

Property Value

long?

Nullable<T> where T is. long

MinVersion

Gets or sets false Search for DVIRLogs with a minimum of this version.

public long? MinVersion { get; set; }

Property Value

long?

Nullable<T> where T is. long

PopulateLogType

Gets or sets search to populate. DVIRLogTypefalse

[Obsolete("The LogType property of a DVIRLog is now always populated", false)]
public bool? PopulateLogType { get; set; }

Property Value

bool?

bool

RepairedBySearch

Gets or sets search for DVIRLogs repaired by a User. Available UserSearch options are:.

public UserSearch? RepairedBySearch { get; set; }

Property Value

UserSearch

UserSearch

SearchByRemark

Gets or sets search for DVIRLogs have a match to this. DefectRemark

public string? SearchByRemark { get; set; }

Property Value

string

string

ToDate

Gets or sets search for DVIRLogs that were recorded at this date or before.

public DateTime? ToDate { get; set; }

Property Value

DateTime?

DateTime

TrailerSearch

Gets or sets filter by the TrailerSearch options. Providing a trailer ID will search for any DVIRLogs that are assigned to that Trailer. Providing the Groups will search for DVIRLogs for that have Trailer in that group. Available TrailerSearch options are:

public TrailerSearch? TrailerSearch { get; set; }

Property Value

TrailerSearch

TrailerSearch

UserSearch

Gets or sets search for DVIRLogs with this UserSearch Id. Available UserSearch options are:.

public UserSearch? UserSearch { get; set; }

Property Value

UserSearch

UserSearch