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