Table of Contents

Class AddInDeviceLink

Namespace
Geotab.Checkmate.ObjectModel.AddIns
Assembly
Geotab.Checkmate.ObjectModel.dll

Link between an AddIn and a Device.

public class AddInDeviceLink : Entity, IEntity, IComparable, IIdentifiable, IDateTimeProvider
Inheritance
AddInDeviceLink
Implements
Inherited Members

Constructors

Initializes a new instance of the AddInDeviceLink class.

public AddInDeviceLink(Id? id, AddIn addIn, Device? device, DateTime? dateTime)

Parameters

id Id

The identifier.

addIn AddIn

The AddIn.

device Device

The Device.

dateTime DateTime?

The timestamp when add-in device link is changed.

Properties

Gets or sets the AddIn.

public AddIn AddIn { get; set; }

Property Value

AddIn

AddIn

Gets or sets the timestamp when Add-in Device Link changed.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

DateTime

Gets or sets the Device.

public Device? Device { get; set; }

Property Value

Device

Device

Methods

Clones the AddinDeviceLink.

public override IEntity Clone()

Returns

IEntity

A device.

Validates if the required properties are set.

public void Validate()

Exceptions

ArgumentNullException

Exception returned when a property is missing its value.