Class AddFavoriteRequest.AddFavoriteRequestBuilder
java.lang.Object
com.amilesend.tmdb.client.model.acount.AddFavoriteRequest.AddFavoriteRequestBuilder
- Enclosing class:
AddFavoriteRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountId(int accountId) The account identifier (required).build()favorite(boolean favorite) Whentrue, the media is added as a favorite; elsefalse, removes the media as a favorite (required).mediaId(int mediaId) The unique media identifier (required).The media type (i.e., "movie" or "tv", required)The session identifier (optional).toString()
-
Method Details
-
accountId
The account identifier (required).- Returns:
this.
-
sessionId
The session identifier (optional).- Returns:
this.
-
mediaType
The media type (i.e., "movie" or "tv", required)- Returns:
this.
-
mediaId
The unique media identifier (required).- Returns:
this.
-
favorite
Whentrue, the media is added as a favorite; elsefalse, removes the media as a favorite (required).- Returns:
this.
-
build
-
toString
-