Last active
July 9, 2022 15:48
-
-
Save aleksandarzekovic/a60c24762ab30e10db59c1aac3fc4e9e to your computer and use it in GitHub Desktop.
This file contains 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
@JsonClass(generateAdapter = true) | |
data class Vehicle( | |
@Json(name = "type") val type: VehicleType, | |
@Json(name = "waterCannon") val waterCannon: Boolean?, | |
@Json(name = "wingsSpanInMetres") val wingsSpanInMetres: Int? | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment