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
idIdThe Id of this entity.
versionlong?The feed version.
optionOptionThe Option that associates with this Consent.
isGrantedbool?The grant or denial of a consent/authorization.
userUserThe user to whom the consent is for.
consentByUserThe user to whom provided the consent on behalf ot the user.
timestampDateTime?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.