Hunter.Collection (hunter v0.7.0)

Copy Markdown View Source

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

Summary

Types

t()

@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
}