Class EmissionVehicleEnrollmentSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Search class for EmissionVehicleEnrollments.
public class EmissionVehicleEnrollmentSearch : Search, IEntity
- Inheritance
-
EmissionVehicleEnrollmentSearch
- Implements
- Inherited Members
Constructors
EmissionVehicleEnrollmentSearch()
Initializes a new instance of the EmissionVehicleEnrollmentSearch class.
public EmissionVehicleEnrollmentSearch()
EmissionVehicleEnrollmentSearch(Id)
Initializes a new instance of the EmissionVehicleEnrollmentSearch class.
public EmissionVehicleEnrollmentSearch(Id id)
Parameters
Properties
DeviceSearch
Gets or sets filter by the DeviceSearch options. Providing a device ID will search for any EmissionVehicleEnrollments that are assigned to that Device. Providing the Groups will search for EmissionVehicleEnrollment records for that have Devices in that group. Available DeviceSearch options are:
public DeviceSearch? DeviceSearch { get; set; }
Property Value
EnrollmentStatus
Gets or sets a value to search for all EmissionVehicleEnrollment records with the given EmissionVehicleEnrollmentStatus value.
public EmissionVehicleEnrollmentStatus? EnrollmentStatus { get; set; }
Property Value
EnrollmentStatuses
Gets or sets search for enrollments with these unique EmissionVehicleEnrollmentStatus(s).
public IEnumerable<EmissionVehicleEnrollmentStatus>? EnrollmentStatuses { get; set; }
Property Value
- IEnumerable<EmissionVehicleEnrollmentStatus>
The IEnumerable of EmissionVehicleEnrollmentStatus to be searched.
FromDmvRegistrationDate
Gets or sets a value to search for all EmissionVehicleEnrollment records with DMV registration datetime from this date.
public DateTime? FromDmvRegistrationDate { get; set; }
Property Value
- DateTime?
The earliest DMV registration datetime
Ids
Gets or sets search for enrollments with these unique Id(s).
public IEnumerable<Id>? Ids { get; set; }
Property Value
- IEnumerable<Id>
The IEnumerable of EmissionVehicleEnrollmentStatus Ids to be searched.
IncludeDisenrolledRecords
Gets or sets a value indicating whether previously disenrolled records are included. By default, the disenrolled records are not included.
public bool IncludeDisenrolledRecords { get; set; }
Property Value
- bool
If true, returns both enrolled and disenrolled records; otherwise, only returns currently enrolled records.
IncludeRejectedEnrollment
Gets or sets a value indicating whether to include an enrollment with Rejected status. By default, the Rejected enrollment records are not included.
public bool IncludeRejectedEnrollment { get; set; }
Property Value
- bool
If true, returns all active enrolled (Status = Pending or Enrolled) and Rejected enrollment records; otherwise, only returns active enrolled records.
LoggingFrequencyType
Gets or sets a value to search for all EmissionVehicleEnrollment records with the given EmissionEnrollmentLoggingFrequencyType value.
public byte? LoggingFrequencyType { get; set; }
Property Value
- byte?
The byte value representing the logging frequency type. For logging frequency type represented by each value, see EmissionEnrollmentLoggingFrequencyType
ToDmvRegistrationDate
Gets or sets a value to search for all EmissionVehicleEnrollment records with DMV registration datetime to this date.
public DateTime? ToDmvRegistrationDate { get; set; }
Property Value
- DateTime?
The latest DMV registration datetime