Class ConsentStatus
- Namespace
- Geotab.Checkmate.ObjectModel.Consent
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The most updated value regarding authorizations and consents.
public sealed class ConsentStatus : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion
- Inheritance
-
ConsentStatus
- Implements
- Inherited Members
Constructors
ConsentStatus()
Initializes a new instance of the ConsentStatus class.
public ConsentStatus()
ConsentStatus(Id?, long?, Option?, bool?, User?, User?, DateTime?)
Initializes a new instance of the ConsentStatus class.
public ConsentStatus(Id? id, long? version, Option? option, bool? isGranted, User? user, User? consentBy, DateTime? timestamp)
Parameters
id
IdThe Id of this entity.
version
long?The feed version.
option
OptionThe Option that associates with this Consent.
isGranted
bool?The grant or denial of a consent/authorization.
user
UserThe user to whom the consent is for.
consentBy
UserThe user to whom provided the consent on behalf ot the user.
timestamp
DateTime?The timestamp in which the consent value has been provided.
Properties
ConsentBy
Gets or sets the user.
public User? ConsentBy { get; set; }
Property Value
- User
The user to whom provided the consent on behalf of the user.
IsGranted
Gets or sets the Is Granted.
public bool? IsGranted { get; set; }
Property Value
- bool?
The grant or denial of a consent/authorization.
Option
Gets or sets the option ID.
public Option? Option { get; set; }
Property Value
- Option
The option ID.
Timestamp
Gets or sets the timestamp of the consent.
public DateTime? Timestamp { get; set; }
Property Value
- DateTime?
The timestamp in which the consent value has been provided.
User
Gets or sets the user.
public User? User { get; set; }
Property Value
- User
The user to whom the consent is for.
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.