UserLocationProfile

@JsonClass(generateAdapter = true)
data class UserLocationProfile(val frequentPlaces: List<FrequentPlace>)

Represents a user location profile with a list of frequent places.

Example JSON:

{
"frequentPlaces": [
{
"placeId": "ChIJd8BlQ2BZwokRAFUEcm_qrcA",
"placeLocation": "40.712776°, -74.005974°",
"label": "WORK"
},
{
"placeId": "ChIJd8BlQ2BZwokRAFUEcm_qrcB",
"placeLocation": "40.713776°, -74.006974°",
"label": "HOME"
}
]
}

Constructors

Link copied to clipboard
constructor(frequentPlaces: List<FrequentPlace>)

Properties

Link copied to clipboard