# `Hunter.Collection`
[🔗](https://github.com/milmazz/hunter/blob/v0.8.0/lib/hunter/collection.ex#L1)

Collection entity

A curated collection of accounts

## Fields

  * `id` - the ID of the collection
  * `account_id` - the ID of the account that created the collection
  * `uri` - the ActivityPub URI of the collection
  * `url` - a web URL for the collection, if any
  * `name` - the name of the collection
  * `description` - HTML description of the collection
  * `language` - the language of the collection, if set
  * `local` - whether the collection originates from this instance
  * `sensitive` - whether the collection is marked as sensitive
  * `discoverable` - whether the collection has opted into discovery
    features
  * `tag` - the tag associated with the collection, if any
  * `created_at` - when the collection was created
  * `updated_at` - when the collection was last updated
  * `item_count` - number of items in the collection
  * `items` - list of `Hunter.Collection.Item`

# `t`

```elixir
@type t() :: %Hunter.Collection{
  account_id: String.t(),
  created_at: String.t(),
  description: String.t(),
  discoverable: boolean(),
  id: String.t(),
  item_count: non_neg_integer(),
  items: [Hunter.Collection.Item.t()],
  language: String.t() | nil,
  local: boolean(),
  name: String.t(),
  sensitive: boolean(),
  tag: map() | nil,
  updated_at: String.t(),
  uri: String.t(),
  url: String.t() | nil
}
```

---

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