> ## 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.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# DamlRecord

> Base class of all decoded-to-codegen Daml records with no type parameters. This category includes all Template payloads, all interface views, and [by convention albeit not by rule] all choice arguments. Its encoded counterpart is DamlRecord, which can be produced with toValue().

[Back to package](./index)

com.daml.ledger.javaapi.data.codegen

# DamlRecord

Base class of all decoded-to-codegen Daml records with no type parameters. This category includes all Template payloads, all interface views, and \[by convention albeit not by rule] all choice arguments. Its encoded counterpart is DamlRecord, which can be produced with toValue().

Java

Package
com.daml.ledger.javaapi.data.codegen

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

## Signature

```java theme={"theme":{"light":"github-light","dark":"github-dark"}}
public abstract class DamlRecord<T> extends Object implements DefinedDataType<T>
```

## Members

| Member | Lifecycle | Upstream docs |
| - | - | - |
| `DamlRecord()` | - | [Open](https://javadoc.io/doc/com.daml/bindings-java/3.7.5/com/daml/ledger/javaapi/data/codegen/DamlRecord.html#%3Cinit%3E%28%29) |
| `toValue()` | - | [Open](https://javadoc.io/doc/com.daml/bindings-java/3.7.5/com/daml/ledger/javaapi/data/codegen/DamlRecord.html#toValue%28%29) |
