Package dev.reuss.tmdb.value.id
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
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
-
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
-