Class SessionInfo
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The session info class.
public class SessionInfo : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
SessionInfo
- Implements
- Inherited Members
Constructors
SessionInfo(Id?)
Initializes a new instance of the SessionInfo class.
public SessionInfo(Id? id)
Parameters
id
IdThe identifier.
SessionInfo(Id?, User?, string?, DateTime?, DateTime?, DateTime?)
Initializes a new instance of the SessionInfo class.
public SessionInfo(Id? id, User? user, string? sessionId, DateTime? expiryDateTime, DateTime? ultimateExpiryDateTime, DateTime? createDateTime)
Parameters
id
IdThe identifier.
user
UserThe owner of the SessionInfo.
sessionId
stringThe session id.
expiryDateTime
DateTime?The expiry date time of the session.
ultimateExpiryDateTime
DateTime?The ultimate expiry date time of the session.
createDateTime
DateTime?The creation date time of the session.
SessionInfo(SessionInfo)
Initializes a new instance of the SessionInfo class.
public SessionInfo(SessionInfo sessionInfo)
Parameters
sessionInfo
SessionInfoThe session info.
Properties
CreateDateTime
Gets or sets the session's creation date time.
public DateTime? CreateDateTime { get; set; }
Property Value
- DateTime?
The create date time of a session.
ExpiryDateTime
Gets or sets the expiry date time.
public DateTime? ExpiryDateTime { get; set; }
Property Value
- DateTime?
The expiry date time.
SessionId
Gets or sets the session id.
public string? SessionId { get; set; }
Property Value
- string
The session id.
UltimateExpiryDateTime
Gets or sets the ultimate expiry date time.
public DateTime? UltimateExpiryDateTime { get; set; }
Property Value
- DateTime?
The ultimate expiry date time.
User
Gets or sets the user.
public User? User { get; set; }
Property Value
- User
The user.
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.