Created
January 24, 2020 12:45
-
-
Save iambaljeet/ee65f1f21c56848e7eeb4e9d9258c8cb 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 SearchResultModel( | |
val `data`: Data?, | |
val status: String? | |
) { | |
data class Data( | |
val count_in_response: Int?, | |
val items: List<Item?>?, | |
val q: String?, | |
val spelling_alternatives: SpellingAlternatives?, | |
val start: Int?, | |
val total_count: Int? | |
) { | |
data class Item( | |
val checksum: Checksum?, | |
val dataset_citation: String?, | |
val dataset_id: String?, | |
val dataset_name: String?, | |
val dataset_persistent_id: String?, | |
val file_content_type: String?, | |
val file_id: String?, | |
val file_type: String?, | |
val md5: String?, | |
val name: String?, | |
val published_at: String?, | |
val size_in_bytes: Int?, | |
val type: String?, | |
val url: String? | |
) { | |
data class Checksum( | |
val type: String?, | |
val value: String? | |
) | |
} | |
class SpellingAlternatives( | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment