Class DVIRLogSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
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
DeviceSearchThe DeviceSearch to search for.
trailerSearch
TrailerSearchThe 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
Idthe id.
Properties
CertifiedBySearch
Gets or sets search for DVIRLogs certified by a User. Available UserSearch options are:.
public UserSearch? CertifiedBySearch { get; set; }
Property Value
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
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
FromDate
Gets or sets search for DVIRLogs that were recorded at this date or after.
public DateTime? FromDate { get; set; }
Property Value
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
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
IsCertified
Gets or sets search for DVIRLogs that have been certified (CertifyDate is not null).
public bool? IsCertified { get; set; }
Property Value
IsDefective
Gets or sets search for DVIRLogs that have. Defects
public bool? IsDefective { get; set; }
Property Value
IsRepaired
Gets or sets search for DVIRLogs that have been repaired (RepairDate is not null).
public bool? IsRepaired { get; set; }
Property Value
IsSafeToOperate
Gets or sets search for DVIRLogs which are safe or are not safe to operate.
public bool? IsSafeToOperate { get; set; }
Property Value
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
public long? MaxVersion { get; set; }
Property Value
- long?
Nullable<T> where T is. long
MinVersion
Gets or sets
public long? MinVersion { get; set; }
Property Value
- long?
Nullable<T> where T is. long
PopulateLogType
Gets or sets search to populate. DVIRLogType
[Obsolete("The LogType property of a DVIRLog is now always populated", false)]
public bool? PopulateLogType { get; set; }
Property Value
RepairedBySearch
Gets or sets search for DVIRLogs repaired by a User. Available UserSearch options are:.
public UserSearch? RepairedBySearch { get; set; }
Property Value
SearchByRemark
Gets or sets search for DVIRLogs have a match to this. DefectRemark
public string? SearchByRemark { get; set; }
Property Value
ToDate
Gets or sets search for DVIRLogs that were recorded at this date or before.
public DateTime? ToDate { get; set; }
Property Value
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
UserSearch
Gets or sets search for DVIRLogs with this UserSearch Id. Available UserSearch options are:.
public UserSearch? UserSearch { get; set; }