DiscoveryClassificationMapper

class DiscoveryClassificationMapper(discoveryClassificationItemMapper: DiscoveryClassificationItemMapper)

Maps classification responses to DiscoveryClassification objects for the Discovery API.

This class transforms DiscoveryClassificationResponse lists into DiscoveryClassification lists.

Parameters

discoveryClassificationItemMapper

Maps segment, genre, and type data to classification items.

Constructors

Link copied to clipboard
constructor(discoveryClassificationItemMapper: DiscoveryClassificationItemMapper)

Functions

Link copied to clipboard

Maps a list of classification responses to a list of DiscoveryClassification objects.