Class DeleteRatingRequest
java.lang.Object
com.amilesend.tmdb.client.model.movie.type.MovieRequestBase
com.amilesend.tmdb.client.model.movie.DeleteRatingRequest
- All Implemented Interfaces:
GuestSessionBasedRequest, QueryParameterBasedRequest, SessionBasedRequest
public class DeleteRatingRequest
extends MovieRequestBase
implements SessionBasedRequest, GuestSessionBasedRequest
The request to deleting a rating for a movie.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeleteRatingRequest.DeleteRatingRequestBuilder<C extends DeleteRatingRequest, B extends DeleteRatingRequest.DeleteRatingRequestBuilder<C,B>> Nested classes/interfaces inherited from class MovieRequestBase
MovieRequestBase.MovieRequestBaseBuilder<C,B> -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteRatingRequest.DeleteRatingRequestBuilder<?, ?> builder()booleanThe guest session identifier (optional).The session identifier (optional).inthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()Methods inherited from class MovieRequestBase
getMovieIdMethods inherited from interface GuestSessionBasedRequest
populateGuestSessionIdQueryParameterIfDefinedMethods inherited from interface SessionBasedRequest
populateSessionIdQueryParameterIfDefined
-
Method Details
-
populateQueryParameters
public okhttp3.HttpUrl.Builder populateQueryParameters( okhttp3.HttpUrl.Builder urlBuilder) Description copied from interface:QueryParameterBasedRequestHelper method to populate query parameters of aHttpUrl.Builder.- Specified by:
populateQueryParametersin interfaceQueryParameterBasedRequest- Overrides:
populateQueryParametersin classMovieRequestBase- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
getSessionId
The session identifier (optional).- Specified by:
getSessionIdin interfaceSessionBasedRequest- Returns:
- the session identifier
-
getGuestSessionId
The guest session identifier (optional).- Specified by:
getGuestSessionIdin interfaceGuestSessionBasedRequest- Returns:
- the guest session identifier
-
equals
- Overrides:
equalsin classMovieRequestBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classMovieRequestBase
-
toString
- Overrides:
toStringin classMovieRequestBase
-