JakeWharton/trakt-java — Issue #19: Issue with TvShowEpisode entitity
Author: florianmski
Created: 2011-10-17 18:51:44+00:00
State: open

The following field in TvShowEpisode class
```private Integer number;```
can have different names depending on which request we send to Trakt.
For instance
http://trakt.tv/api-docs/show-episode-summary field is named "number"
http://trakt.tv/api-docs/show-season field is named "episode"

Currently it's not really an issue for me because I only use show/season, so I've just added @SerializedName("episode") but for someone using both it's definitely a problem.
Too bad that Trakt isn't really consistent accross the different formats...

And is there a reason that some of entities class are declared as "final" like TvShow ? Because I can't extends them.

Hope that my english isn't too bad ;)