Class JvmEnumValue
- Namespace
- TypedRest.CodeGeneration.Jvm.Model
- Assembly
- TypedRest.CodeGeneration.Jvm.dll
A value of a generated enum.
public sealed class JvmEnumValue
- Inheritance
-
objectJvmEnumValue
Constructors
JvmEnumValue(string, string)
A value of a generated enum.
public JvmEnumValue(string name, string wireName)
Parameters
namestringThe name of the value in generated code.
wireNamestringThe name of the value on the wire.
Properties
Name
The name of the value in generated code.
public string Name { get; }
Property Value
Summary
A description of the value for a JavaDoc/KDoc comment.
public string? Summary { get; set; }
Property Value
WireName
The name of the value on the wire, which the serializer annotation carries when it differs from Name.
public string WireName { get; }