> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/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 - stable

Upstream docs: [Open](https://javadoc.io/doc/com.daml/bindings-java/3.4.11/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.4.11/com/daml/ledger/javaapi/data/codegen/DamlEnum.html#toValue%28%29) | `toValue()` | `3.4.8`    | -          | -       |
