Class ShareableLink
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class ShareableLink : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
ShareableLink
- Implements
- Inherited Members
Constructors
ShareableLink(Id?, Device, User, in DateTime, in DateTime, string, ShareableLinkState?, Coordinate?, Zone?, string?)
Initializes a new instance of the ShareableLink class.
public ShareableLink(Id? id, Device device, User user, in DateTime startDateTime, in DateTime expiryDateTime, string link, ShareableLinkState? state, Coordinate? coordinate, Zone? zone, string? comments)
Parameters
idIdThe identifier.
deviceDeviceThe device to connect with shareable link.
userUserThe User.
startDateTimeDateTimeThe start date time.
expiryDateTimeDateTimeThe expiry date time.
linkstringThe link string.
stateShareableLinkStateThe link status.
coordinateCoordinateThe coordinate.
zoneZoneThe zone
commentsstringThe comments.
ShareableLink(ShareableLink)
Initializes a new instance of the ShareableLink class.
public ShareableLink(ShareableLink shareableLink)
Parameters
shareableLinkShareableLinkThe shareable Link.
Properties
Comments
Gets or sets the comments.
public string? Comments { get; set; }
Property Value
- string
The comments of the shareable link.
Coordinate
Gets or sets the location.
public Coordinate? Coordinate { get; set; }
Property Value
- Coordinate
The location.
Device
Gets or sets the device.
public Device Device { get; set; }
Property Value
- Device
The value.
ExpiryDateTime
Gets or sets the expiry date time.
public DateTime ExpiryDateTime { get; set; }
Property Value
- DateTime
The expiry date time.
Link
Gets or sets the link to share.
public string Link { get; set; }
Property Value
- string
The link string.
StartDateTime
Gets or sets the start date time of the shareable link.
public DateTime StartDateTime { get; set; }
Property Value
- DateTime
The start date time.
State
Gets or sets the status of the link.
public ShareableLinkState? State { get; set; }
Property Value
- ShareableLinkState
The link string.
User
Gets or sets the user.
public User User { get; set; }
Property Value
- User
The user.
Zone
Gets or sets the zone.
public Zone? Zone { get; set; }
Property Value
- Zone
The zone.
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.