Properties

data class Properties(val description: String? = null, val id: String? = null, val placeType: List<String> = listOf(), val context: List<SessionFrame.Geocoded.Features.Properties.Context> = listOf(), val maki: String? = null, val poiCategoryIds: List<String> = listOf(), val metadata: SessionFrame.Geocoded.Features.Properties.Metadata? = null, val routablePoints: List<SessionFrame.Geocoded.Features.Properties.RoutablePoints> = listOf(), val featureName: String? = null, val matchingName: String? = null)

Represents detailed information about each feature queried.

This class stores the properties of a specific feature, including metadata, context, place type, and various other attributes related to the feature.

Parameters

description

A description of the feature.

id

The ID of the feature.

placeType

A list of place types associated with the feature.

context

A list of contexts for the feature.

maki

A maki icon associated with the feature.

poiCategoryIds

A list of Point of Interest (POI) category IDs the feature belongs to.

metadata

Additional metadata related to the feature.

routablePoints

A list of routable points associated with the feature.

featureName

The name of the feature.

matchingName

The name matched for the feature.

Constructors

Link copied to clipboard
constructor(description: String? = null, id: String? = null, placeType: List<String> = listOf(), context: List<SessionFrame.Geocoded.Features.Properties.Context> = listOf(), maki: String? = null, poiCategoryIds: List<String> = listOf(), metadata: SessionFrame.Geocoded.Features.Properties.Metadata? = null, routablePoints: List<SessionFrame.Geocoded.Features.Properties.RoutablePoints> = listOf(), featureName: String? = null, matchingName: String? = null)

Types

Link copied to clipboard
data class Context(val layer: String? = null, val localizedLayer: String? = null, val name: String? = null)

Represents the context associated with a feature.

Link copied to clipboard
data class Metadata(val primaryPhotos: List<SessionFrame.Geocoded.Features.Properties.Metadata.PrimaryPhotos> = emptyList(), val iso31661: String? = null, val iso31662: String? = null, val website: String? = null, val reviewCount: Int? = null, val phone: String? = null, val averageRating: Double? = null, val openHours: SessionFrame.Geocoded.Features.Properties.Metadata.OpenHours? = null, val parking: SessionFrame.Geocoded.Features.Properties.Metadata.Parking? = null, val rawPlugShare: SessionFrame.Geocoded.Features.Properties.Metadata.RawPlugshare? = null, val description: String? = null, val mapGptCustom: JsonObject? = null)

Represents metadata related to the feature, such as photos, website, reviews, and more.

Link copied to clipboard
data class RoutablePoints(val name: String? = null, val coordinates: List<Double> = listOf())

Represents a routable point for a feature, including name and coordinates.

Properties

Link copied to clipboard
val description: String? = null
Link copied to clipboard
val featureName: String? = null
Link copied to clipboard
val id: String? = null
Link copied to clipboard
val maki: String? = null
Link copied to clipboard
val matchingName: String? = null
Link copied to clipboard
Link copied to clipboard