-
-
Save mehmetbalbay/8cc92b0b2c4482f33125f66546a6d48c 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 Test( | |
| @SerializedName("photos") | |
| val photos: List<Photo?>? | |
| ) { | |
| data class Photo( | |
| @SerializedName("camera") | |
| val camera: Camera?, | |
| @SerializedName("earth_date") | |
| val earthDate: String?, | |
| @SerializedName("id") | |
| val id: Int?, | |
| @SerializedName("img_src") | |
| val imgSrc: String?, | |
| @SerializedName("rover") | |
| val rover: Rover?, | |
| @SerializedName("sol") | |
| val sol: Int? | |
| ) { | |
| data class Camera( | |
| @SerializedName("full_name") | |
| val fullName: String?, | |
| @SerializedName("id") | |
| val id: Int?, | |
| @SerializedName("name") | |
| val name: String?, | |
| @SerializedName("rover_id") | |
| val roverİd: Int? | |
| ) | |
| data class Rover( | |
| @SerializedName("id") | |
| val id: Int?, | |
| @SerializedName("landing_date") | |
| val landingDate: String?, | |
| @SerializedName("launch_date") | |
| val launchDate: String?, | |
| @SerializedName("name") | |
| val name: String?, | |
| @SerializedName("status") | |
| val status: String? | |
| ) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment