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
Option()
Initializes a new instance of the Option class.
public Option()
Option(Id?, long?, Product?, string?, string?, Option?, string?)
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
IdThe Id of this entity.
version
long?The feed version.
product
ProductThe Product that associates with this Option.
program
stringThe program associated with this Option.
description
stringThe description associated with this Option.
authOption
OptionThe authorization option
optionId
stringThe id recorded for this option on the app the option is originated from.
Properties
AuthOption
Gets or sets the authorization associated with the option.
public Option? AuthOption { get; set; }
Property Value
- Option
The authorization associated with the option.
Description
Gets or sets the description of the option.
public string? Description { get; set; }
Property Value
- string
The description of the option.
OptionId
Gets or sets the option id.
public string? OptionId { get; set; }
Property Value
- string
The option id of the option.
Remarks
The id recorded for this option on the app the option is originated from.
Product
Gets or sets the product associated with the option.
public Product? Product { get; set; }
Property Value
- Product
the product associated with the option.
Program
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
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.