Package com.amilesend.omdb.model
Class GetByTitleRequestBase
java.lang.Object
com.amilesend.omdb.model.GetByTitleRequestBase
- All Implemented Interfaces:
QueryParameterBasedRequest
- Direct Known Subclasses:
GetEpisodeByTitleRequest,GetMovieByTitleRequest,GetSeasonByTitleRequest,GetSeriesByTitleRequest
Request to fetch media information based on the title.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetByTitleRequestBase.GetByTitleRequestBaseBuilder<C extends GetByTitleRequestBase,B extends GetByTitleRequestBase.GetByTitleRequestBaseBuilder<C, B>> -
Field Summary
Fields inherited from interface com.amilesend.omdb.model.QueryParameterBasedRequest
JSON_RESPONSE_TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPlot()The plot format (i.e., short or full; default is short).getTitle()The title of the content to search for.getYear()The year of the movie release.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
-
getTitle
The title of the content to search for. -
getYear
The year of the movie release. -
getPlot
The plot format (i.e., short or full; default is short).- See Also:
-
equals
-
hashCode
public int hashCode() -
toString
-