Interface TmdbResourceId

All Superinterfaces:
Serializable
All Known Subinterfaces:
NumericTmdbResourceId
All Known Implementing Classes:
CollectionId, CompanyId, CreditId, ExternalId, KeywordId, MovieId, NetworkId, PersonId, ReviewId, TvEpisodeGroupId, TvEpisodeId, TvSeasonId, TvShowId

public interface TmdbResourceId extends Serializable
Marker interface for strongly typed TMDB resource identifiers.

TMDB uses both numeric ids and opaque string ids depending on the endpoint. This interface only defines the shared behavior needed by the SDK: rendering the id as a request path segment.

  • Method Summary

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

    • asString

      String asString()
      Returns the raw TMDB resource id as it should appear in request paths.
      Returns:
      the id value as a string