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 newApiBase
instance. -
Method Summary
Modifier and TypeMethodDescription@NonNull DiscogsConnection
The connection that wraps the underlying HTTP client.
-
Constructor Details
-
ApiBase
Creates a newApiBase
instance.- Parameters:
connection
- The connection that wraps the underlying HTTP client.
-
-
Method Details
-
getConnection
The connection that wraps the underlying HTTP client.
-