Table of Contents

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

Initializes a new instance of the ConsentStatus class.

public ConsentStatus()

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 Id

The Id of this entity.

version long?

The feed version.

option Option

The Option that associates with this Consent.

isGranted bool?

The grant or denial of a consent/authorization.

user User

The user to whom the consent is for.

consentBy User

The user to whom provided the consent on behalf ot the user.

timestamp DateTime?

The timestamp in which the consent value has been provided.

Properties

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.

Gets or sets the Is Granted.

public bool? IsGranted { get; set; }

Property Value

bool?

The grant or denial of a consent/authorization.

Gets or sets the option ID.

public Option? Option { get; set; }

Property Value

Option

The option ID.

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.

Gets or sets the user.

public User? User { get; set; }

Property Value

User

The user to whom the consent is for.

Methods

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.