com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / NewReleaseCategoryFetcher
class NewReleaseCategoryFetcher
List categories of new release category and get metadata of specific new release category.
| <init> | NewReleaseCategoryFetcher(httpClient: HttpClient, territory: String = "TW")Creates a new release category fetcher. |
| categoryId | lateinit var categoryId: String |
| fetchAlbums | fun fetchAlbums(limit: Int? = null, offset: Int? = null): ResponseFuture<JsonObject>Fetch albums of new release category by given ID |
| fetchAllNewReleaseCategories | fun fetchAllNewReleaseCategories(limit: Int? = null, offset: Int? = null): ResponseFuture<JsonObject>Fetch all new release categories. |
| fetchMetadata | fun fetchMetadata(): ResponseFuture<JsonObject>Fetch new release category by given ID. |
| setCategoryId | fun setCategoryId(categoryId: String): NewReleaseCategoryFetcherSet the category ID |