# `AshOnetime.Resource.Response`
[🔗](https://github.com/baselabs/ash_onetime/blob/v1.5.0/lib/ash_onetime/resource.ex#L1)

The normalized response contract for a protected action: the codec, the projected field
allowlist, the result classifier, and codec options.

Returned as the `:response` field of an `AshOnetime.Resource.Protection`. Built by the DSL
from the `response` entity on a `protect` block; read with `AshOnetime.Resource.Info`.
Response-size limits are declared on the `protect` block's `limits` option (the single,
unified vocabulary), not on the `response` entity.

# `t`

```elixir
@type t() :: %AshOnetime.Resource.Response{
  __spark_metadata__: Spark.Dsl.Entity.spark_meta(),
  classify: module() | nil,
  codec: module(),
  codec_opts: Keyword.t(),
  fields: [atom()]
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
