mapFromTypeData

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

typeData

The type response from the API.