* @copyright 2015 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 5 * @link https://git.timshomepage.net/timw4mail/HummingBirdAnimeClient */ namespace Aviat\AnimeClient\Types; use DateTimeImmutable; class HistoryItem extends AbstractType { /** * @var string Title of the anime/manga */ public string $title = ''; /** * @var string The url of the cover image */ public string $coverImg = ''; /** * @var string The type of action done */ public string $action = ''; /** * @var bool Is this item a combination of items? */ public bool $isAggregate = FALSE; /** * @var string The kind of history event */ public string $kind = ''; /** * @var DateTimeImmutable When the item was last updated */ public ?DateTimeImmutable $updated = NULL; /** * @var array Range of updated times for the aggregated item */ public array $dateRange = []; /** * @var string Url to details page */ public string $url = ''; /** * @var array The item before transformation */ public array $original = []; }