sdk-search / com.tomtom.online.sdk.search.data.common / RelatedPoi

RelatedPoi

open class RelatedPoi : Serializable

An RelatedPoi represents Point Of Interest related with another one, which means being physically part of it.

Constructors

<init>

RelatedPoi(id: String!, relationType: PoiRelationType!)

Default constructor for the RelatedPoi.

RelatedPoi()

Empty constructor for the RelatedPoi.

Properties

id

var id: String!

Id of the related Point Of Interest. Pass this as entityId to the Place by ID service to fetch additional data for the Point Of Interest.

relationType

var relationType: PoiRelationType!

The type of relation.