Class IntegrationMapper

java.lang.Object
com.nicholasalfonso.lato.mapper.IntegrationMapper

@Component public class IntegrationMapper extends Object
Converts Integration entities into integration response DTOs.
  • Constructor Details

    • IntegrationMapper

      public IntegrationMapper()
  • Method Details

    • toResponse

      public IntegrationResponse toResponse(Integration integration)
      Maps an integration entity to its API response representation.
      Parameters:
      integration - the integration entity to map
      Returns:
      integration response for API clients