Visit

@JsonClass(generateAdapter = true)
data class Visit(val hierarchyLevel: Int, val probability: Double, val topCandidate: TopCandidate)

Represents a visit with hierarchy level, probability, and top candidate.

Example JSON:

{
"hierarchyLevel": 1,
"probability": 0.85,
"topCandidate": {
"placeId": "ChIJd8BlQ2BZwokRAFUEcm_qrcA",
"semanticType": "INFERRED_WORK",
"probability": 0.95,
"placeLocation": {
"latLng": "40.712776°, -74.005974°"
}
}
}

Constructors

Link copied to clipboard
constructor(hierarchyLevel: Int, probability: Double, topCandidate: TopCandidate)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard