Interface SeriesSearchResult
-
- All Known Subinterfaces:
Series
- All Known Implementing Classes:
SeriesDTO,SeriesSearchResultDTO
public interface SeriesSearchResultInterface representing a Series search result data transfer object.
The methods of this class provide easy access to all series search result related data which was returned by the remote service in JSON format. Please note that, as the remote service declares all of the properties to be optional, most of the methods are marked asNullable. Methods returning collection-based values however will return an empty collection in case no corresponding data was received.
The sole purpose of these DTO objects is to encapsulate the exact raw JSON data as received from the remote service in order to facilitate API integration by working with simple Java POJO's instead of nested JSON nodes. Although there will be no intense post-processing of the actual JSON values a type-casting may be applied to some of them to improve the usability and relieve the API user of this task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getAliases()Get all values of the {data.aliases} JSON property in a listStringgetBanner()Get the value of the {data.banner} JSON propertyStringgetFirstAired()Get the value of the {data.firstAired} JSON propertyLonggetId()Get the value of the {data.id} JSON propertyStringgetImage()Get the value of the {data.image} JSON property.StringgetNetwork()Get the value of the {data.network} JSON propertyStringgetOverview()Get the value of the {data.overview} JSON propertyStringgetPoster()Get the value of the {data.poster} JSON property.StringgetSeriesName()Get the value of the {data.seriesName} JSON propertyStringgetSlug()Get the value of the {data.slug} JSON propertyStringgetStatus()Get the value of the {data.status} JSON property
-
-
-
Method Detail
-
getAliases
List<String> getAliases()
Get all values of the {data.aliases} JSON property in a list- Returns:
- The
aliasesproperty from the received JSON as list
-
getBanner
@Nullable String getBanner()
Get the value of the {data.banner} JSON property- Returns:
- The
bannerproperty from the received JSON
-
getFirstAired
@Nullable String getFirstAired()
Get the value of the {data.firstAired} JSON property- Returns:
- The
firstAiredproperty from the received JSON
-
getId
@Nullable Long getId()
Get the value of the {data.id} JSON property- Returns:
- The
idproperty from the received JSON
-
getImage
@Nullable String getImage()
Get the value of the {data.image} JSON property. Only available for route [GET] /search/series.- Returns:
- The
imageproperty from the received JSON
-
getNetwork
@Nullable String getNetwork()
Get the value of the {data.network} JSON property- Returns:
- The
networkproperty from the received JSON
-
getOverview
@Nullable String getOverview()
Get the value of the {data.overview} JSON property- Returns:
- The
overviewproperty from the received JSON
-
getPoster
@Nullable String getPoster()
Get the value of the {data.poster} JSON property. Only available for route [GET] /search/series.- Returns:
- The
posterproperty from the received JSON
-
getSeriesName
@Nullable String getSeriesName()
Get the value of the {data.seriesName} JSON property- Returns:
- The
seriesNameproperty from the received JSON
-
getSlug
@Nullable String getSlug()
Get the value of the {data.slug} JSON property- Returns:
- The
slugproperty from the received JSON
-
-