Table of Contents

Class ConsentStatusAudit

Namespace
Geotab.Checkmate.ObjectModel.Consent
Assembly
Geotab.Checkmate.ObjectModel.dll

The audit records for consentstatus records.

public sealed class ConsentStatusAudit : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion
Inheritance
ConsentStatusAudit
Implements
Inherited Members

Constructors

Initializes a new instance of the ConsentStatusAudit class.

public ConsentStatusAudit()

Initializes a new instance of the ConsentStatusAudit class.

public ConsentStatusAudit(Id? id, long? version, ConsentStatus? consentStatus, bool? isGranted, User? user, User? consentBy, DateTime? start, DateTime? timestamp)

Parameters

id Id

The Id of this entity.

version long?

The feed version.

consentStatus ConsentStatus

The ConsentStatus that associates with this ConsentStatus.

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.

start DateTime?

The timestamp in which the original consent status was provided.

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 consent status ID.

public ConsentStatus? ConsentStatus { get; set; }

Property Value

ConsentStatus

The consent status ID.

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 timestamp of the consent.

public DateTime? Start { get; set; }

Property Value

DateTime?

The timestamp in which the original consent status was provided.

Gets or sets the timestamp of the consent last update.

public DateTime? Timestamp { get; set; }

Property Value

DateTime?

The timestamp in which the original consent status changed.

Gets or sets the user.

public User? User { get; set; }

Property Value

User

The user to whom the consent is for.

Methods

Builds a ConsentStatusAudit objects out of a ConsentStatus properties.

public static ConsentStatusAudit BuildConsentStatusAudit(ConsentStatus consentStatus)

Parameters

consentStatus ConsentStatus

The ConsentStatus the audit will be built out of.

Returns

ConsentStatusAudit

A ConsentStatusAudit.

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.