Skip to content

Instantly share code, notes, and snippets.

@segunfamisa
Last active May 21, 2017 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save segunfamisa/7f06eaa55e4eda68dffd522d5570f1a2 to your computer and use it in GitHub Desktop.
Save segunfamisa/7f06eaa55e4eda68dffd522d5570f1a2 to your computer and use it in GitHub Desktop.
Response class for Github Search API response
data class User(
val login: String,
val id: Long,
val url: String,
val html_url: String,
val followers_url: String,
val following_url: String,
val starred_url: String,
val gists_url: String,
val type: String,
val score: Int
)
data class Result (
val total_count: Int,
val incomplete_results: Boolean,
val items: List<User>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment