Class GetMovieByIdRequest
java.lang.Object
com.amilesend.omdb.client.model.GetByIdRequestBase
com.amilesend.omdb.client.model.movie.GetMovieByIdRequest
- All Implemented Interfaces:
GetMovieBasedRequest, QueryParameterBasedRequest
The request to fetch movie information by its associates IMDB identifier.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetMovieByIdRequest.GetMovieByIdRequestBuilder<C extends GetMovieByIdRequest, B extends GetMovieByIdRequest.GetMovieByIdRequestBuilder<C,B>> Nested classes/interfaces inherited from class GetByIdRequestBase
GetByIdRequestBase.GetByIdRequestBaseBuilder<C,B> -
Field Summary
Fields inherited from interface QueryParameterBasedRequest
JSON_RESPONSE_TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic GetMovieByIdRequest.GetMovieByIdRequestBuilder<?, ?> builder()booleaninthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()Methods inherited from class GetByIdRequestBase
getImdbId, getPlot
-
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 classGetByIdRequestBase- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
builder
-
equals
- Overrides:
equalsin classGetByIdRequestBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classGetByIdRequestBase
-
toString
- Overrides:
toStringin classGetByIdRequestBase
-