map From Genre Data
Maps a genre response to a DiscoveryClassificationItem.
Converts a GenreResponse to a DiscoveryClassificationItem with its ID and name.
Return
A DiscoveryClassificationItem with the mapped data.
Parameters
genre Data
The genre response from the API.