Table of Contents

Class UserDeviceLink

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

false

public class UserDeviceLink : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IEntityLink
Inheritance
UserDeviceLink
Implements
Inherited Members

Constructors

Initializes a new instance of the UserDeviceLink class.

public UserDeviceLink()

Initializes a new instance of the UserDeviceLink class.

public UserDeviceLink(Id? id, User? user, Device? device, DateTime? fromDate, DateTime? toDate, EntityLinkType? entityLinkType = null, long? version = null)

Parameters

id Id

The unique Id of the UserDeviceLink.

user User

The User

device Device

The Device

fromDate DateTime?

The fromDate.DateTime

toDate DateTime?

The toDate.DateTime

entityLinkType EntityLinkType?

The EntityLinkType

version long?

The version of the entity.

Properties

Gets or sets the Device associated with this user device link.

public Device? Device { get; set; }

Property Value

Device

Device

Gets or sets the User who created the user device linkage.

public User? Driver { get; set; }

Property Value

User

User

Gets or sets the link type

public EntityLinkType EntityLinkType { get; set; }

Property Value

EntityLinkType

EntityLinkType

Gets or sets the date when the link was added.

public DateTime? FromDate { get; set; }

Property Value

DateTime?

DateTime

Gets or sets the date when the link was removed.

public DateTime? ToDate { get; set; }

Property Value

DateTime?

DateTime

Methods

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.