Created
June 28, 2020 04:16
-
-
Save utsmannn/e76923a5e49c5259ce81503f93204541 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class Places ( | |
val items: List<Item> | |
) | |
data class Item ( | |
val title: String, | |
val id: String, | |
val resultType: String, | |
val address: Address, | |
val position: Position, | |
val access: List<Position>, | |
val distance: Long, | |
val categories: List<Category> | |
) | |
data class Position ( | |
val lat: Double, | |
val lng: Double | |
) | |
data class Address ( | |
val label: String, | |
val countryCode: String, | |
val countryName: String, | |
val state: String, | |
val county: String, | |
val city: String, | |
val district: String, | |
val subdistrict: String, | |
val street: String, | |
val postalCode: String | |
) | |
data class Category ( | |
val id: String, | |
val primary: Boolean | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment