Discovery Classification Mapper
class DiscoveryClassificationMapper(discoveryClassificationItemMapper: DiscoveryClassificationItemMapper)
Maps classification responses to DiscoveryClassification objects for the Discovery API.
This class transforms DiscoveryClassificationResponse lists into DiscoveryClassification lists.
Parameters
discovery Classification Item Mapper
Maps segment, genre, and type data to classification items.
Functions
Link copied to clipboard
fun mapFromDiscoveryClassificationDataList(discoveryClassificationDataList: List<DiscoveryClassificationResponse>?): List<DiscoveryClassification>?
Maps a list of classification responses to a list of DiscoveryClassification objects.