# `AshVersioned.Resource.Archive`

Represents the `archive` entity declared inside the `versioning` DSL section of
`AshVersioned.Resource`.

A resource is archivable when the `archive` entity is declared.

# `t`

```elixir
@type t() :: %AshVersioned.Resource.Archive{
  __spark_metadata__: term(),
  action: atom() | false,
  attribute: atom(),
  define_attribute?: boolean(),
  exclude_read_actions: [atom()],
  read_action: atom() | false,
  source: atom() | nil,
  unarchive: atom() | false
}
```

---

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