2018-08-08 10:12:45 -04:00
|
|
|
<?php declare(strict_types=1);
|
|
|
|
/**
|
|
|
|
* Hummingbird Anime List Client
|
|
|
|
*
|
2018-08-22 13:48:27 -04:00
|
|
|
* An API client for Kitsu to manage anime and manga watch lists
|
2018-08-08 10:12:45 -04:00
|
|
|
*
|
2020-03-11 15:15:05 -04:00
|
|
|
* PHP version 7.3
|
2018-08-08 10:12:45 -04:00
|
|
|
*
|
|
|
|
* @package HummingbirdAnimeClient
|
|
|
|
* @author Timothy J. Warren <tim@timshomepage.net>
|
2020-01-08 15:39:49 -05:00
|
|
|
* @copyright 2015 - 2020 Timothy J. Warren
|
2018-08-08 10:12:45 -04:00
|
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
2019-12-06 09:16:35 -05:00
|
|
|
* @version 4.2
|
2018-08-08 10:12:45 -04:00
|
|
|
* @link https://git.timshomepage.net/timw4mail/HummingBirdAnimeClient
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Aviat\AnimeClient\Types;
|
|
|
|
|
2019-12-09 13:13:31 -05:00
|
|
|
use Aviat\AnimeClient\API\Kitsu\Enum\AnimeAiringStatus;
|
|
|
|
|
2018-08-08 10:12:45 -04:00
|
|
|
/**
|
2018-11-08 11:36:42 -05:00
|
|
|
* Type representing an anime within a watch list
|
2018-08-08 10:12:45 -04:00
|
|
|
*/
|
2018-11-08 11:36:42 -05:00
|
|
|
class Anime extends AbstractType {
|
2019-12-09 13:13:31 -05:00
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $age_rating;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $age_rating_guide;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $cover_image;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
2019-12-09 16:17:25 -05:00
|
|
|
* @var string|int
|
2019-12-09 13:13:31 -05:00
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $episode_count;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
2019-12-09 16:17:25 -05:00
|
|
|
* @var string|int
|
2019-12-09 13:13:31 -05:00
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $episode_length;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $genres;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $id;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $included;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $show_type;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $slug;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var AnimeAiringStatus::NOT_YET_AIRED | AnimeAiringStatus::AIRING | AnimeAiringStatus::FINISHED_AIRING
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $status;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $streaming_links;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $synopsis;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $title;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var array
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $titles;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $trailer_id;
|
2019-12-09 13:13:31 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
2018-08-08 10:12:45 -04:00
|
|
|
public $url;
|
|
|
|
}
|