Class ApiBase

java.lang.Object
com.amilesend.tmdb.client.api.ApiBase
Direct Known Subclasses:
AccountApi, AuthenticationApi, CertificationsApi, ChangesApi, CollectionsApi, CompaniesApi, ConfigurationApi, CreditsApi, DiscoverApi, FindApi, GenresApi, GuestSessionsApi, KeywordsApi, ListsApi, MovieListsApi, MoviesApi, NetworksApi, PeopleApi, PeopleListsApi, ReviewsApi, SearchApi, TrendingApi, TvEpisodeGroupsApi, TvEpisodesApi, TvSeasonsApi, TvSeriesApi, TvSeriesListsApi, WatchProvidersApi

public abstract class ApiBase extends Object
The API Base class used to simplify the construction of API URLs for the Connection.
See Also:
  • Connection
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApiBase(@NonNull com.amilesend.client.connection.Connection<GsonFactory> connection)
    Creates a new ApiBase instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull com.amilesend.client.connection.Connection<GsonFactory>
    The connection that wraps the underlying HTTP client.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApiBase

      public ApiBase(@NonNull com.amilesend.client.connection.Connection<GsonFactory> connection)
      Creates a new ApiBase instance.
      Parameters:
      connection - The connection that wraps the underlying HTTP client.
  • Method Details

    • getConnection

      @NonNull public @NonNull com.amilesend.client.connection.Connection<GsonFactory> getConnection()
      The connection that wraps the underlying HTTP client.