Skip to content

Instantly share code, notes, and snippets.

@iambaljeet
Created January 24, 2020 12:45
Show Gist options
  • Save iambaljeet/ee65f1f21c56848e7eeb4e9d9258c8cb to your computer and use it in GitHub Desktop.
Save iambaljeet/ee65f1f21c56848e7eeb4e9d9258c8cb to your computer and use it in GitHub Desktop.
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