com.jakewharton.trakt.services
Class RecommendationsService.ShowsBuilder

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiBuilder
      extended by com.jakewharton.trakt.TraktApiBuilder<List<TvShow>>
          extended by com.jakewharton.trakt.services.RecommendationsService.ShowsBuilder
Enclosing class:
RecommendationsService

public static final class RecommendationsService.ShowsBuilder
extends TraktApiBuilder<List<TvShow>>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jakewharton.trakt.TraktApiBuilder
TraktApiBuilder.HttpMethod
 
Field Summary
 
Fields inherited from class com.jakewharton.trakt.TraktApiBuilder
FIELD_API_KEY, FIELD_DATE, FIELD_DAYS, FIELD_EPISODE, FIELD_EXTENDED, FIELD_QUERY, FIELD_SEASON, FIELD_TITLE, FIELD_USERNAME
 
Fields inherited from class com.jakewharton.apibuilder.ApiBuilder
API_URL_DELIMITER_END, API_URL_DELIMITER_START
 
Method Summary
 RecommendationsService.ShowsBuilder endYear(int year)
          4 digit year to filter shows premiering in this year or earlier.
 RecommendationsService.ShowsBuilder genre(Genre genre)
          Genre slug to filter by.
 RecommendationsService.ShowsBuilder startYear(int year)
          4 digit year to filter shows premiering in this year or later.
 
Methods inherited from class com.jakewharton.trakt.TraktApiBuilder
dateToUnixTimestamp, execute, field, field, fire, hasPostParameter, includeDebugStrings, parameter, parameter, parameter, performValidation, postFireCallback, postParameter, postParameter, postParameter, postParameter, preFireCallback, print
 
Methods inherited from class com.jakewharton.apibuilder.ApiBuilder
buildUrl, buildUrl, encodeUrl, field, field, field, field, field, hasField, hasParameter, parameter, parameter, parameter, parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startYear

public RecommendationsService.ShowsBuilder startYear(int year)
4 digit year to filter shows premiering in this year or later.

Parameters:
year - Value.
Returns:
Builder instance.

endYear

public RecommendationsService.ShowsBuilder endYear(int year)
4 digit year to filter shows premiering in this year or earlier.

Parameters:
year - Value.
Returns:
Builder instance.

genre

public RecommendationsService.ShowsBuilder genre(Genre genre)
Genre slug to filter by. See GenreService.shows() for a list of valid genres.

Parameters:
genre -
Returns:


Copyright © 2011 Jake Wharton. All Rights Reserved.