Class GetByIdRequestBase
java.lang.Object
com.amilesend.omdb.client.model.GetByIdRequestBase
- All Implemented Interfaces:
QueryParameterBasedRequest
- Direct Known Subclasses:
GetEpisodeByIdRequest, GetMovieByIdRequest, GetSeasonByIdRequest, GetSeriesByIdRequest
The request to fetch media information based on its associated IMDB identifier.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetByIdRequestBase.GetByIdRequestBaseBuilder<C extends GetByIdRequestBase, B extends GetByIdRequestBase.GetByIdRequestBaseBuilder<C,B>> -
Field Summary
Fields inherited from interface QueryParameterBasedRequest
JSON_RESPONSE_TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe IMDB identifier to search for.getPlot()The plot format (i.e., short or full; default is short).inthashCode()okhttp3.HttpUrl.BuilderpopulateQueryParameters(okhttp3.HttpUrl.Builder urlBuilder) Helper method to populate query parameters of aHttpUrl.Builder.toString()
-
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- Parameters:
urlBuilder- the HttpUrl.Builder instance- Returns:
- the HttpUrl.Builder instance
-
getImdbId
The IMDB identifier to search for. -
getPlot
-
equals
-
hashCode
-
toString
-