> ## Documentation Index
> Fetch the complete documentation index at: https://cantonfoundation-update-ref-tables.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DamlEnum

> Base interface of all decoded-to-codegen Daml enums. Its encoded counterpart is DamlEnum, which can be produced with toValue().

## DamlEnum

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/javaapi/data/codegen/DamlEnum.html)

**Signature**

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
public interface DamlEnum<T> extends DefinedDataType<T>
```

**Members**

| Docs                                                                                                                         | Member      | Introduced | Deprecated | Removed |
| ---------------------------------------------------------------------------------------------------------------------------- | ----------- | ---------- | ---------- | ------- |
| [Open](https://javadoc.io/doc/com.daml/bindings-java/3.5.6/com/daml/ledger/javaapi/data/codegen/DamlEnum.html#toValue%28%29) | `toValue()` | `3.4.8`    | -          | -       |
