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 theImageSummary
interface
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 class
ImageSummaryDTO.Builder
Builder used to create a new immutableImageSummaryDTO
implementation
-
Constructor Summary
Constructors Constructor Description ImageSummaryDTO()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Long
getFanartCount()
Get the value of the {data.fanart
} JSON propertyabstract Long
getPosterCount()
Get the value of the {data.poster
} JSON propertyabstract Long
getSeasonCount()
Get the value of the {data.season
} JSON propertyabstract Long
getSeasonwideCount()
Get the value of the {data.seasonwide
} JSON propertyabstract Long
getSeriesCount()
Get the value of the {data.series
} JSON propertyString
toString()
-
-
-
Method Detail
-
getFanartCount
@Nullable public abstract Long getFanartCount()
Description copied from interface:ImageSummary
Get the value of the {data.fanart
} JSON property- Specified by:
getFanartCount
in interfaceImageSummary
- Returns:
- The
fanart
property from the received JSON
-
getPosterCount
@Nullable public abstract Long getPosterCount()
Description copied from interface:ImageSummary
Get the value of the {data.poster
} JSON property- Specified by:
getPosterCount
in interfaceImageSummary
- Returns:
- The
poster
property from the received JSON
-
getSeasonCount
@Nullable public abstract Long getSeasonCount()
Description copied from interface:ImageSummary
Get the value of the {data.season
} JSON property- Specified by:
getSeasonCount
in interfaceImageSummary
- Returns:
- The
season
property from the received JSON
-
getSeasonwideCount
@Nullable public abstract Long getSeasonwideCount()
Description copied from interface:ImageSummary
Get the value of the {data.seasonwide
} JSON property- Specified by:
getSeasonwideCount
in interfaceImageSummary
- Returns:
- The
seasonwide
property from the received JSON
-
getSeriesCount
@Nullable public abstract Long getSeriesCount()
Description copied from interface:ImageSummary
Get the value of the {data.series
} JSON property- Specified by:
getSeriesCount
in interfaceImageSummary
- Returns:
- The
series
property from the received JSON
-
-