Slide 17
Slide 17 text
Agora mais bonito ✨
{
"bred_for": "Small rodent hunting,
lapdog",
"breed_group": "Toy",
"height": {...},
"id": 1,
"life_span": "10 - 12 years",
"name": "Affenpinscher",
"origin": "Germany, France",
"temperament": "Stubborn, Curious,
Playful, Adventurous, Active,
Fun-loving",
"weight": {...}
},
...
data class Dog(
@Json(name = "bred_for")
val bredFor: String,
@Json(name = "breed_group")
val breedGroup: String,
val height: Height,
val id: Int,
@Json(name = "life_span")
val lifeSpan: String,
val name: String,
val origin: String,
val temperament: String,
val weight: Weight
)