Table of Contents

Class JvmEnumValue

Namespace
TypedRest.CodeGeneration.Jvm.Model
Assembly
TypedRest.CodeGeneration.Jvm.dll

A value of a generated enum.

public sealed class JvmEnumValue
Inheritance
object
JvmEnumValue

Constructors

JvmEnumValue(string, string)

A value of a generated enum.

public JvmEnumValue(string name, string wireName)

Parameters

name string

The name of the value in generated code.

wireName string

The name of the value on the wire.

Properties

Name

The name of the value in generated code.

public string Name { get; }

Property Value

string

Summary

A description of the value for a JavaDoc/KDoc comment.

public string? Summary { get; set; }

Property Value

string

WireName

The name of the value on the wire, which the serializer annotation carries when it differs from Name.

public string WireName { get; }

Property Value

string