Skip to content

Latest commit

 

History

History
115 lines (61 loc) · 2.84 KB

DeviceLink.md

File metadata and controls

115 lines (61 loc) · 2.84 KB

@fairfleet/geotab / DeviceLink

Interface: DeviceLink

A DeviceLink is a relationship between two Devices over a period of time.

Hierarchy

Table of contents

Properties

Properties

dateTime

dateTime: Date

Gets the date the Devices were linked. This is only present so that we can implement IDateTimeProvider.

Defined in

src/types/Checkmate/ObjectModel/DeviceLink.ts:11


destinationDevice

destinationDevice: Device

Gets or sets the linked Device (destination).

Defined in

src/types/Checkmate/ObjectModel/DeviceLink.ts:13


fromDate

fromDate: Date

Gets or sets the date and time the Devices were linked. Default [UtcNow].

Defined in

src/types/Checkmate/ObjectModel/DeviceLink.ts:15


id

id: string

Gets or sets the unique identifier for the specific Entity object in the Geotab system. See Id.

Inherited from

EntityWithVersion.id

Defined in

src/types/Checkmate/ObjectModel/Entity.ts:14


sourceDevice

sourceDevice: Device

Gets or sets the Device (source) which another Device is linked to.

Defined in

src/types/Checkmate/ObjectModel/DeviceLink.ts:17


toDate

toDate: Date

Gets or sets the date and time the Devices were delinked. Default [MaxDate].

Defined in

src/types/Checkmate/ObjectModel/DeviceLink.ts:19


version

version: number

Gets or sets the version of the entity.

Inherited from

EntityWithVersion.version

Defined in

src/types/Checkmate/ObjectModel/EntityWithVersion.ts:10