Class GetSeasonByIdRequest
java.lang.Object
com.amilesend.omdb.client.model.GetByIdRequestBase
com.amilesend.omdb.client.model.tv.GetSeasonByIdRequest
- All Implemented Interfaces:
QueryParameterBasedRequest, GetSeasonBasedRequest
The request to fetch TV season information by its associates IMDB identifier.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGetSeasonByIdRequest.GetSeasonByIdRequestBuilder<C extends GetSeasonByIdRequest, B extends GetSeasonByIdRequest.GetSeasonByIdRequestBuilder<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 GetSeasonByIdRequest.GetSeasonByIdRequestBuilder<?, ?> builder()booleanintThe season number.inthashCode()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
-
getSeason
public int getSeason()The season number. -
equals
- Overrides:
equalsin classGetByIdRequestBase
-
hashCode
public int hashCode()- Overrides:
hashCodein classGetByIdRequestBase
-
toString
- Overrides:
toStringin classGetByIdRequestBase
-