Class AddWatchlistRequest.AddWatchlistRequestBuilder
java.lang.Object
com.amilesend.tmdb.client.model.acount.AddWatchlistRequest.AddWatchlistRequestBuilder
- Enclosing class:
AddWatchlistRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountId(int accountId) The account identifier (required).build()mediaId(int mediaId) The unique media identifier (required).The media type (e.g., "movie", or "tv"; required).The session identifier (optional).toString()watchlist(boolean watchlist) Whentrue, add the media to a watchlist; else,falseto remove the media from a watchlist (required).
-
Method Details
-
accountId
The account identifier (required).- Returns:
this.
-
sessionId
The session identifier (optional).- Returns:
this.
-
mediaType
The media type (e.g., "movie", or "tv"; required).- Returns:
this.
-
mediaId
The unique media identifier (required).- Returns:
this.
-
watchlist
Whentrue, add the media to a watchlist; else,falseto remove the media from a watchlist (required).- Returns:
this.
-
build
-
toString
-