Table of Contents

Class Option

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

The option for a consent or authorization of a product in the database.

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

Constructors

Initializes a new instance of the Option class.

public Option()

Initializes a new instance of the Option class.

public Option(Id? id, long? version, Product? product, string? program, string? description, Option? authOption, string? optionId)

Parameters

id Id

The Id of this entity.

version long?

The feed version.

product Product

The Product that associates with this Option.

program string

The program associated with this Option.

description string

The description associated with this Option.

authOption Option

The authorization option

optionId string

The id recorded for this option on the app the option is originated from.

Properties

Gets or sets the authorization associated with the option.

public Option? AuthOption { get; set; }

Property Value

Option

The authorization associated with the option.

Gets or sets the description of the option.

public string? Description { get; set; }

Property Value

string

The description of the option.

Gets or sets the option id.

public string? OptionId { get; set; }

Property Value

string

The option id of the option.

The id recorded for this option on the app the option is originated from.

Gets or sets the product associated with the option.

public Product? Product { get; set; }

Property Value

Product

the product associated with the option.

Gets or sets the program to which the option belong to.

public string? Program { get; set; }

Property Value

string

The program to which the option belong to.

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.