Class ApiBase
java.lang.Object
com.amilesend.discogs.api.ApiBase
- Direct Known Subclasses:
DatabaseApi, InventoryExportApi, InventoryUploadApi, MarketplaceApi, UserCollectionApi, UserIdentityApi, UserListsApi, UserWantListApi
Wraps a
OkHttpClient that manages parsing responses to corresponding POJO types.-
Constructor Summary
ConstructorsConstructorDescriptionApiBase(@NonNull DiscogsConnection connection) Creates a newApiBaseinstance. -
Method Summary
Modifier and TypeMethodDescription@NonNull DiscogsConnectionThe connection that wraps the underlying HTTP client.
-
Constructor Details
-
ApiBase
Creates a newApiBaseinstance.- Parameters:
connection- The connection that wraps the underlying HTTP client.
-
-
Method Details
-
getConnection
The connection that wraps the underlying HTTP client.
-