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 classGetByTitleRequestBase.GetByTitleRequestBaseBuilder<C extends GetByTitleRequestBase, B extends GetByTitleRequestBase.GetByTitleRequestBaseBuilder<C,B>> -
Field Summary
Fields inherited from interface 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
-
equals
-
hashCode
-
toString
-