# `MingaAgent.ModelSelection.Stored`
[🔗](https://github.com/jsmestad/minga/blob/main/lib/minga_agent/model_selection/stored.ex#L1)

Decoded persisted selection data that cannot be executed directly.

# `t`

```elixir
@type t() :: %MingaAgent.ModelSelection.Stored{
  backend_id: String.t(),
  credential: MingaAgent.ModelSelection.credential_ref(),
  evidence: MingaAgent.ModelSelection.Evidence.t(),
  policy: MingaAgent.ModelSelection.Policy.t(),
  route: MingaAgent.ModelSelection.Route.t()
}
```

# `new`

```elixir
@spec new(
  String.t(),
  MingaAgent.ModelSelection.Route.t(),
  MingaAgent.ModelSelection.credential_ref(),
  MingaAgent.ModelSelection.Policy.t(),
  MingaAgent.ModelSelection.Evidence.t()
) :: t()
```

Retains validated selection data without an executable request model.

---

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