Package com.nicholasalfonso.lato.mapper
Class IntegrationMapper
java.lang.Object
com.nicholasalfonso.lato.mapper.IntegrationMapper
Converts
Integration entities into integration response DTOs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoResponse(Integration integration) Maps an integration entity to its API response representation.
-
Constructor Details
-
IntegrationMapper
public IntegrationMapper()
-
-
Method Details
-
toResponse
Maps an integration entity to its API response representation.- Parameters:
integration- the integration entity to map- Returns:
- integration response for API clients
-