Table of Contents

Class ChargeEventSearch

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

The object used to specify the arguments when searching for a ChargeEvent.

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

Constructors

ChargeEventSearch()

Initializes a new instance of the ChargeEventSearch class. Constructor.

public ChargeEventSearch()

ChargeEventSearch(Id)

Initializes a new instance of the ChargeEventSearch class. Constructor.

public ChargeEventSearch(Id id)

Parameters

id Id

The id.

Properties

DeviceSearch

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

public DeviceSearch? DeviceSearch { get; set; }

Property Value

DeviceSearch

DeviceSearch

FromDate

Gets or sets the from date, which is used to search for ChargeEvent(s) recorded on or after this date.

public DateTime? FromDate { get; set; }

Property Value

DateTime?

DateTime

MaxVersion

Gets or sets the maximum row version of the ChargeEvent search criteria.

public long? MaxVersion { get; set; }

Property Value

long?

long

ToDate

Gets or sets the to date, which is used to search for ChargeEvent(s) recorded on or before this date.

public DateTime? ToDate { get; set; }

Property Value

DateTime?

DateTime

Version

Gets or sets the row version of the ChargeEvent search criteria.

public override long? Version { get; set; }

Property Value

long?

long