1<?php
2/**
3 * This file is part of the Tmdb PHP API created by Michael Roterman.
4 *
5 * For the full copyright and license information, please view the LICENSE
6 * file that was distributed with this source code.
7 *
8 * @package Tmdb
9 * @author Michael Roterman <michael@wtfz.net>
10 * @copyright (c) 2013, Michael Roterman
11 * @version 0.0.1
12 */
13namespace Tmdb\Model\Movie;
14
15use Tmdb\Model\AbstractModel;
16use Tmdb\Model\Image\PosterImage;
17
18/**
19 * Class ListItem
20 * @package Tmdb\Model\Movie
21 */
22class ListItem extends AbstractModel
23{
24    /**
25     * @var string
26     */
27    private $description;
28
29    /**
30     * @var int
31     */
32    private $favoriteCount;
33
34    /**
35     * @var string
36     */
37    private $id;
38
39    /**
40     * @var int
41     */
42    private $itemCount;
43
44    /**
45     * @var string
46     */
47    private $iso6391;
48
49    /**
50     * @var string
51     */
52    private $name;
53
54    /**
55     * @var string
56     */
57    private $posterPath;
58
59    /**
60     * @var PosterImage
61     */
62    private $posterImage;
63
64    public static $properties = [
65        'description',
66        'favorite_count',
67        'id',
68        'item_count',
69        'iso_639_1',
70        'name',
71        'poster_path'
72    ];
73
74    /**
75     * @param  string $description
76     * @return $this
77     */
78    public function setDescription($description)
79    {
80        $this->description = $description;
81
82        return $this;
83    }
84
85    /**
86     * @return string
87     */
88    public function getDescription()
89    {
90        return $this->description;
91    }
92
93    /**
94     * @param  int   $favoriteCount
95     * @return $this
96     */
97    public function setFavoriteCount($favoriteCount)
98    {
99        $this->favoriteCount = $favoriteCount;
100
101        return $this;
102    }
103
104    /**
105     * @return int
106     */
107    public function getFavoriteCount()
108    {
109        return $this->favoriteCount;
110    }
111
112    /**
113     * @param  string $id
114     * @return $this
115     */
116    public function setId($id)
117    {
118        $this->id = $id;
119
120        return $this;
121    }
122
123    /**
124     * @return string
125     */
126    public function getId()
127    {
128        return $this->id;
129    }
130
131    /**
132     * @param  string $iso6391
133     * @return $this
134     */
135    public function setIso6391($iso6391)
136    {
137        $this->iso6391 = $iso6391;
138
139        return $this;
140    }
141
142    /**
143     * @return string
144     */
145    public function getIso6391()
146    {
147        return $this->iso6391;
148    }
149
150    /**
151     * @param  int   $itemCount
152     * @return $this
153     */
154    public function setItemCount($itemCount)
155    {
156        $this->itemCount = $itemCount;
157
158        return $this;
159    }
160
161    /**
162     * @return int
163     */
164    public function getItemCount()
165    {
166        return $this->itemCount;
167    }
168
169    /**
170     * @param  string $name
171     * @return $this
172     */
173    public function setName($name)
174    {
175        $this->name = $name;
176
177        return $this;
178    }
179
180    /**
181     * @return string
182     */
183    public function getName()
184    {
185        return $this->name;
186    }
187
188    /**
189     * @param  \Tmdb\Model\Image\PosterImage $posterImage
190     * @return $this
191     */
192    public function setPosterImage($posterImage)
193    {
194        $this->posterImage = $posterImage;
195
196        return $this;
197    }
198
199    /**
200     * @return \Tmdb\Model\Image\PosterImage
201     */
202    public function getPosterImage()
203    {
204        return $this->posterImage;
205    }
206
207    /**
208     * @param  string $posterPath
209     * @return $this
210     */
211    public function setPosterPath($posterPath)
212    {
213        $this->posterPath = $posterPath;
214
215        return $this;
216    }
217
218    /**
219     * @return string
220     */
221    public function getPosterPath()
222    {
223        return $this->posterPath;
224    }
225}
226