from
Creates a copy of the SearchEntity
Return
a new instance of SearchEntity with the same properties, or null if the input is null
Parameters
s
the SearchEntity to copy
open fun from(nameKey: String, mapDataType: MapDataType, entity: Cms.Entity, imageBaseUrl: String): SearchEntity
Creates a SearchEntity with the provided parameters
Return
a new instance of SearchEntity with these properties, or null if entity is null
Parameters
nameKey
the name key for the entity
mapDataType
the type of map data associated with the entity
entity
the Cms.Entity object containing entity details
imageBaseUrl
the base URL for images associated with the entity