Package com.amilesend.omdb.client.model
Class GetByTitleRequestBase
java.lang.Object
com.amilesend.omdb.client.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 class
GetByTitleRequestBase.GetByTitleRequestBaseBuilder<C extends GetByTitleRequestBase,
B extends GetByTitleRequestBase.GetByTitleRequestBaseBuilder<C, B>> -
Field Summary
Fields inherited from interface com.amilesend.omdb.client.model.QueryParameterBasedRequest
JSON_RESPONSE_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getPlot()
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.int
hashCode()
okhttp3.HttpUrl.Builder
populateQueryParameters
(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:QueryParameterBasedRequest
Helper method to populate query parameters of aHttpUrl.Builder
.- Specified by:
populateQueryParameters
in 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
-