@@ -215,6 +215,13 @@ class Tv extends AbstractModel
215
215
*/
216
216
protected $ productionCompanies ;
217
217
218
+ /**
219
+ * Alternative titles
220
+ *
221
+ * @var GenericCollection
222
+ */
223
+ protected $ alternativeTitles ;
224
+
218
225
/**
219
226
* Properties that are available in the API
220
227
*
@@ -250,19 +257,20 @@ class Tv extends AbstractModel
250
257
*/
251
258
public function __construct ()
252
259
{
253
- $ this ->genres = new Genres ();
254
- $ this ->networks = new GenericCollection ();
255
- $ this ->originCountry = new GenericCollection ();
256
- $ this ->seasons = new GenericCollection ();
257
- $ this ->credits = new CreditsCollection ();
258
- $ this ->externalIds = new ExternalIds ();
259
- $ this ->images = new Images ();
260
- $ this ->translations = new GenericCollection ();
261
- $ this ->videos = new Videos ();
262
- $ this ->changes = new GenericCollection ();
263
- $ this ->keywords = new GenericCollection ();
264
- $ this ->similar = new GenericCollection ();
265
- $ this ->contentRatings = new GenericCollection ();
260
+ $ this ->genres = new Genres ();
261
+ $ this ->networks = new GenericCollection ();
262
+ $ this ->originCountry = new GenericCollection ();
263
+ $ this ->seasons = new GenericCollection ();
264
+ $ this ->credits = new CreditsCollection ();
265
+ $ this ->externalIds = new ExternalIds ();
266
+ $ this ->images = new Images ();
267
+ $ this ->translations = new GenericCollection ();
268
+ $ this ->videos = new Videos ();
269
+ $ this ->changes = new GenericCollection ();
270
+ $ this ->keywords = new GenericCollection ();
271
+ $ this ->similar = new GenericCollection ();
272
+ $ this ->contentRatings = new GenericCollection ();
273
+ $ this ->alternativeTitles = new GenericCollection ();
266
274
}
267
275
268
276
/**
@@ -956,4 +964,23 @@ public function setProductionCompanies($productionCompanies)
956
964
957
965
return $ this ;
958
966
}
967
+
968
+ /**
969
+ * @param \Tmdb\Model\Common\GenericCollection $alternativeTitles
970
+ * @return $this
971
+ */
972
+ public function setAlternativeTitles ($ alternativeTitles )
973
+ {
974
+ $ this ->alternativeTitles = $ alternativeTitles ;
975
+
976
+ return $ this ;
977
+ }
978
+
979
+ /**
980
+ * @return \Tmdb\Model\Common\GenericCollection
981
+ */
982
+ public function getAlternativeTitles ()
983
+ {
984
+ return $ this ->alternativeTitles ;
985
+ }
959
986
}
0 commit comments