Class EnumName
- Namespace
- Geotab.Checkmate.ObjectModel.Engine
- Assembly
- Geotab.Checkmate.ObjectModel.dll
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
intInteger value of the enum.
name
stringVariable name friendly description of the enum.
description
stringOptional string field for complex names.
Properties
Description
Gets or sets optional string field for complex names.
public string? Description { get; set; }
Property Value
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
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; }