com.jakewharton.trakt.services
Class ShowService.UnwatchlistBuilder

java.lang.Object
  extended by com.jakewharton.apibuilder.ApiBuilder
      extended by com.jakewharton.trakt.TraktApiBuilder<Void>
          extended by com.jakewharton.trakt.services.ShowService.UnwatchlistBuilder
Enclosing class:
ShowService

public static final class ShowService.UnwatchlistBuilder
extends TraktApiBuilder<Void>


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
 ShowService.UnwatchlistBuilder imdbId(String imdbId)
          Add a show to be removed.
protected  void preFireCallback()
          Perform any required actions before validating the request.
 ShowService.UnwatchlistBuilder title(String title, int year)
          Add a show to be removed.
 ShowService.UnwatchlistBuilder tvdbId(int tvdbId)
          Add a show to be removed.
 
Methods inherited from class com.jakewharton.trakt.TraktApiBuilder
dateToUnixTimestamp, execute, field, field, fire, hasPostParameter, includeDebugStrings, parameter, parameter, parameter, performValidation, postFireCallback, postParameter, postParameter, postParameter, postParameter, 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

imdbId

public ShowService.UnwatchlistBuilder imdbId(String imdbId)
Add a show to be removed.

Parameters:
imdbId - IMDB ID for the show.
Returns:
Builder instance.

tvdbId

public ShowService.UnwatchlistBuilder tvdbId(int tvdbId)
Add a show to be removed.

Parameters:
tvdbId - TVDB ID for the show.
Returns:
Builder instance.

title

public ShowService.UnwatchlistBuilder title(String title,
                                            int year)
Add a show to be removed.

Parameters:
title - Title for the show.
year - Year of the show.
Returns:
Builder instance.

preFireCallback

protected void preFireCallback()
Description copied from class: TraktApiBuilder
Perform any required actions before validating the request.

Overrides:
preFireCallback in class TraktApiBuilder<Void>


Copyright © 2011 Jake Wharton. All Rights Reserved.