Class ImageSummaryDTO
- java.lang.Object
-
- com.github.m0nk3y2k4.thetvdb.internal.api.impl.model.data.ImageSummaryDTO
-
- All Implemented Interfaces:
ImageSummary
@Immutable @WithHiddenImplementation public abstract class ImageSummaryDTO extends Object implements ImageSummary
DTO implementation of theImageSummaryinterface
Objects of this class reflect the data received by the remote service and are immutable so that their content can not be changed once an instance has been created. New objects of this class may be created by using the correspondingImageSummaryDTO.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageSummaryDTO.BuilderBuilder used to create a new immutableImageSummaryDTOimplementation
-
Constructor Summary
Constructors Constructor Description ImageSummaryDTO()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract LonggetFanartCount()Get the value of the {data.fanart} JSON propertyabstract LonggetPosterCount()Get the value of the {data.poster} JSON propertyabstract LonggetSeasonCount()Get the value of the {data.season} JSON propertyabstract LonggetSeasonwideCount()Get the value of the {data.seasonwide} JSON propertyabstract LonggetSeriesCount()Get the value of the {data.series} JSON propertyStringtoString()
-
-
-
Method Detail
-
getFanartCount
@Nullable public abstract Long getFanartCount()
Description copied from interface:ImageSummaryGet the value of the {data.fanart} JSON property- Specified by:
getFanartCountin interfaceImageSummary- Returns:
- The
fanartproperty from the received JSON
-
getPosterCount
@Nullable public abstract Long getPosterCount()
Description copied from interface:ImageSummaryGet the value of the {data.poster} JSON property- Specified by:
getPosterCountin interfaceImageSummary- Returns:
- The
posterproperty from the received JSON
-
getSeasonCount
@Nullable public abstract Long getSeasonCount()
Description copied from interface:ImageSummaryGet the value of the {data.season} JSON property- Specified by:
getSeasonCountin interfaceImageSummary- Returns:
- The
seasonproperty from the received JSON
-
getSeasonwideCount
@Nullable public abstract Long getSeasonwideCount()
Description copied from interface:ImageSummaryGet the value of the {data.seasonwide} JSON property- Specified by:
getSeasonwideCountin interfaceImageSummary- Returns:
- The
seasonwideproperty from the received JSON
-
getSeriesCount
@Nullable public abstract Long getSeriesCount()
Description copied from interface:ImageSummaryGet the value of the {data.series} JSON property- Specified by:
getSeriesCountin interfaceImageSummary- Returns:
- The
seriesproperty from the received JSON
-
-