HummingBirdAnimeClient/src/Types/Anime.php

109 lines
1.5 KiB
PHP
Raw Normal View History

<?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
*
2019-12-03 15:17:25 -05:00
* PHP version 7.2
*
* @package HummingbirdAnimeClient
* @author Timothy J. Warren <tim@timshomepage.net>
2019-12-06 09:16:35 -05:00
* @copyright 2015 - 2019 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License
2019-12-06 09:16:35 -05:00
* @version 4.2
* @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;
/**
* Type representing an anime within a watch list
*/
class Anime extends AbstractType {
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $age_rating;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $age_rating_guide;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $cover_image;
2019-12-09 13:13:31 -05:00
/**
* @var string|number
*/
public $episode_count;
2019-12-09 13:13:31 -05:00
/**
* @var string|number
*/
public $episode_length;
2019-12-09 13:13:31 -05:00
/**
* @var array
*/
public $genres;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $id;
2019-12-09 13:13:31 -05:00
/**
* @var array
*/
public $included;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $show_type;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $slug;
2019-12-09 13:13:31 -05:00
/**
* @var AnimeAiringStatus::NOT_YET_AIRED | AnimeAiringStatus::AIRING | AnimeAiringStatus::FINISHED_AIRING
*/
public $status;
2019-12-09 13:13:31 -05:00
/**
* @var array
*/
public $streaming_links;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $synopsis;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $title;
2019-12-09 13:13:31 -05:00
/**
* @var array
*/
public $titles;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $trailer_id;
2019-12-09 13:13:31 -05:00
/**
* @var string
*/
public $url;
}