Table of Contents

Class EnumName

Namespace
Geotab.Checkmate.ObjectModel.Engine
Assembly
Geotab.Checkmate.ObjectModel.dll

false Represents a diagnostic enum that provides information about diagnostic value

public sealed class EnumName
Inheritance
EnumName
Inherited Members

Constructors

EnumName(int, string, string?)

Initializes a new instance of the EnumName class.

public EnumName(int value, string name, string? description = null)

Parameters

value int

Integer value of the enum.

name string

Variable name friendly description of the enum.

description string

Optional string field for complex names.

Properties

Description

Gets or sets optional string field for complex names.

public string? Description { get; set; }

Property Value

string

string The description.

Name

Gets or sets a user-friendly name for the enum variable. The description should be in UPPER_CASE format.

public string Name { get; set; }

Property Value

string

string The name.

Translations

Gets or sets the translated names Dictionary.

[JsonIgnore]
public Dictionary<string, string>? Translations { get; set; }

Property Value

Dictionary<string, string>

Dictionary<TKey, TValue> The translated names.

Value

Gets or sets the integer value for the enum.

public int Value { get; set; }

Property Value

int

int The value.