CentroAyuda.kt 487 Bytes
Newer Older
1
package com.example.ayudapy.model
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26


data class CentroAyuda (
    val count: Long,
    val next: Any? = null,
    val previous: Any? = null,
    val results: List<Result>
)

data class Result (
    val id: Long,
    val name: String,
    val phone: String,
    val location: Location,
    val address: String,
    val city: String,
    val cityCode: String,
    val active: Boolean,
    val added: String
)

data class Location (
    val type: String,
    val coordinates: List<Double>
)