|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jakewharton.apibuilder.ApiService
com.jakewharton.trakt.TraktApiService
com.jakewharton.trakt.services.RateService
public class RateService
Nested Class Summary | |
---|---|
static class |
RateService.EpisodeBuilder
|
static class |
RateService.MovieBuilder
|
static class |
RateService.ShowBuilder
|
Field Summary |
---|
Fields inherited from class com.jakewharton.apibuilder.ApiService |
---|
CONTENT_ENCODING |
Constructor Summary | |
---|---|
RateService()
|
Method Summary | |
---|---|
RateService.EpisodeBuilder |
episode(int tvdbId)
Rate an episode on Trakt. |
RateService.EpisodeBuilder |
episode(String title,
int year)
Rate an episode on Trakt. |
RateService.MovieBuilder |
movie(String imdbId)
Rate a movie on Trakt. |
RateService.MovieBuilder |
movie(String title,
int year)
Rate a movie on Trakt. |
RateService.ShowBuilder |
show(int tvdbId)
Rate a show on Trakt. |
RateService.ShowBuilder |
show(String title,
int year)
Rate a show on Trakt. |
Methods inherited from class com.jakewharton.trakt.TraktApiService |
---|
get, post, setApiKey, setAuthentication, setMediaCenterDate, setMediaCenterVersion, setPluginVersion, setUseSsl, unmarshall, unmarshall, unmarshall |
Methods inherited from class com.jakewharton.apibuilder.ApiService |
---|
acceptGzip, addRequestHeader, closeConnection, closeStream, convertStreamToString, executeDelete, executeDelete, executeGet, executeGet, executeMethod, executePost, executePost, getConnectTimeout, getParametersString, getReadTimeout, getRequestHeader, getRequestHeaderNames, getWrappedInputStream, removeRequestHeader, setConnectTimeout, setReadTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RateService()
Method Detail |
---|
public RateService.EpisodeBuilder episode(int tvdbId)
tvdbId
- TVDB ID for the show.
public RateService.EpisodeBuilder episode(String title, int year)
title
- Show title.year
- Show year.
public RateService.MovieBuilder movie(String imdbId)
imdbId
- IMDB ID for the movie.
public RateService.MovieBuilder movie(String title, int year)
title
- Movie title.year
- Movie year.
public RateService.ShowBuilder show(int tvdbId)
tvdbId
- TVDB ID for the show.
public RateService.ShowBuilder show(String title, int year)
title
- Show title.year
- Show year.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |