Interface NumericTmdbResourceId

All Superinterfaces:
Serializable, TmdbResourceId
All Known Implementing Classes:
CollectionId, CompanyId, KeywordId, MovieId, NetworkId, PersonId, TvEpisodeId, TvSeasonId, TvShowId

public interface NumericTmdbResourceId extends TmdbResourceId
Marker interface for numeric TMDB resource identifiers.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the raw TMDB resource id as it should appear in request paths.
    int
    Returns the raw numeric TMDB resource id value.
  • Method Details

    • value

      int value()
      Returns the raw numeric TMDB resource id value.
      Returns:
      the raw integer id value
    • asString

      default String asString()
      Description copied from interface: TmdbResourceId
      Returns the raw TMDB resource id as it should appear in request paths.
      Specified by:
      asString in interface TmdbResourceId
      Returns:
      the id value as a string