Class ImageSummaryDTO

  • All Implemented Interfaces:
    ImageSummary

    @Immutable
    @WithHiddenImplementation
    public abstract class ImageSummaryDTO
    extends Object
    implements ImageSummary
    DTO implementation of the ImageSummary 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 corresponding ImageSummaryDTO.Builder.

    • Constructor Detail

      • ImageSummaryDTO

        public ImageSummaryDTO()
    • 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 interface ImageSummary
        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 interface ImageSummary
        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 interface ImageSummary
        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 interface ImageSummary
        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 interface ImageSummary
        Returns:
        The series property from the received JSON