* @copyright (c) 2013, Michael Roterman * @version 0.0.1 */ namespace Tmdb\Model\Account; use Tmdb\Model\AbstractModel; use Tmdb\Model\Image\PosterImage; /** * Class ListItem * @package Tmdb\Model\Account */ class ListItem extends AbstractModel { /** * @var string */ private $id; /** * @var string */ private $description; /** * @var int */ private $favoriteCount; /** * @var int */ private $itemCount; /** * @var string */ private $iso6391; /** * @var string */ private $listType; /** * @var string */ private $name; /** * @var string */ private $posterPath; /** * @var PosterImage */ private $posterImage; /** * @var array */ public static $properties = array( 'description', 'favorite_count', 'id', 'item_count', 'iso_639_1', 'list_type', 'name', 'poster_path' ); /** * @param string $description * @return $this */ public function setDescription($description) { $this->description = $description; return $this; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param int $favoriteCount * @return $this */ public function setFavoriteCount($favoriteCount) { $this->favoriteCount = $favoriteCount; return $this; } /** * @return int */ public function getFavoriteCount() { return $this->favoriteCount; } /** * @param string $id * @return $this */ public function setId($id) { $this->id = $id; return $this; } /** * @return string */ public function getId() { return $this->id; } /** * @param string $iso6391 * @return $this */ public function setIso6391($iso6391) { $this->iso6391 = $iso6391; return $this; } /** * @return string */ public function getIso6391() { return $this->iso6391; } /** * @param int $itemCount * @return $this */ public function setItemCount($itemCount) { $this->itemCount = $itemCount; return $this; } /** * @return int */ public function getItemCount() { return $this->itemCount; } /** * @param string $listType * @return $this */ public function setListType($listType) { $this->listType = $listType; return $this; } /** * @return string */ public function getListType() { return $this->listType; } /** * @param string $name * @return $this */ public function setName($name) { $this->name = $name; return $this; } /** * @return string */ public function getName() { return $this->name; } /** * @param \Tmdb\Model\Image\PosterImage $posterImage * @return $this */ public function setPosterImage($posterImage) { $this->posterImage = $posterImage; return $this; } /** * @return \Tmdb\Model\Image\PosterImage */ public function getPosterImage() { return $this->posterImage; } /** * @param string $posterPath * @return $this */ public function setPosterPath($posterPath) { $this->posterPath = $posterPath; return $this; } /** * @return string */ public function getPosterPath() { return $this->posterPath; } }