mapFromGenreData

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

genreData

The genre response from the API.