Class UserDeviceLink
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class UserDeviceLink : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IEntityLink
- Inheritance
-
UserDeviceLink
- Implements
- Inherited Members
Constructors
UserDeviceLink()
Initializes a new instance of the UserDeviceLink class.
public UserDeviceLink()
UserDeviceLink(Id?, User?, Device?, DateTime?, DateTime?, EntityLinkType?, long?)
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
idIdThe unique Id of the UserDeviceLink.
userUserThe User
deviceDeviceThe Device
fromDateDateTime?The fromDate.DateTime
toDateDateTime?The toDate.DateTime
entityLinkTypeEntityLinkType?The EntityLinkType
versionlong?The version of the entity.
Properties
Device
Gets or sets the Device associated with this user device link.
public Device? Device { get; set; }
Property Value
Driver
Gets or sets the User who created the user device linkage.
public User? Driver { get; set; }
Property Value
EntityLinkType
Gets or sets the link type
public EntityLinkType EntityLinkType { get; set; }
Property Value
FromDate
Gets or sets the date when the link was added.
public DateTime? FromDate { get; set; }
Property Value
ToDate
Gets or sets the date when the link was removed.
public DateTime? ToDate { get; set; }
Property Value
Methods
Clone()
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.