Class DutyStatusViolationSearch
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
This search has been designed to work efficiently with these combinations of parameters:
public class DutyStatusViolationSearch : Search, IEntity
- Inheritance
-
DutyStatusViolationSearch
- Implements
- Inherited Members
Constructors
DutyStatusViolationSearch()
Initializes a new instance of the DutyStatusViolationSearch class.
public DutyStatusViolationSearch()
DutyStatusViolationSearch(DateTime?, DateTime?, UserSearch?)
Initializes a new instance of the DutyStatusViolationSearch class.
public DutyStatusViolationSearch(DateTime? fromDate, DateTime? toDate, UserSearch? userSearch)
Parameters
fromDate
DateTime?From date.
toDate
DateTime?To date.
userSearch
UserSearchThe user search.
DutyStatusViolationSearch(DateTime?, DateTime?, UserSearch?, DutyStatusViolationType?)
Initializes a new instance of the DutyStatusViolationSearch class.
public DutyStatusViolationSearch(DateTime? fromDate, DateTime? toDate, UserSearch? userSearch, DutyStatusViolationType? type)
Parameters
fromDate
DateTime?From date.
toDate
DateTime?To date.
userSearch
UserSearchThe user search.
type
DutyStatusViolationType?The violation type.
Properties
FromDate
Gets or sets search for duty status violations that were recorded at this date or after.
public DateTime? FromDate { get; set; }
Property Value
Id
Gets or sets search for an entry based on the specific Id.
public override Id? Id { get; set; }
Property Value
ToDate
Gets or sets search for duty status violations that were recorded at this date or before.
public DateTime? ToDate { get; set; }
Property Value
Type
Gets or sets the DutyStatusViolationType of the duty status violation.
public DutyStatusViolationType? Type { get; set; }
Property Value
UserSearch
Gets or sets search for duty status violations with this UserSearch. Available UserSearch options are:.
public UserSearch? UserSearch { get; set; }