Created
January 12, 2022 08:38
-
-
Save NaturalizerINA/9d6b3e7bd39655c0beaec3e833c87c8e 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
package com.mukminullah.testinterview | |
import com.google.gson.annotations.SerializedName | |
data class DataUser( | |
@SerializedName("total_count") | |
val totalCount: Int? = null, | |
@SerializedName("incomplete_results") | |
val incompleteResults: Boolean? = null, | |
@SerializedName("items") | |
val items: List<Item?>? = null | |
) { | |
data class Item( | |
@SerializedName("login") | |
val login: String? = null, | |
@SerializedName("id") | |
val id: Int? = null, | |
@SerializedName("node_id") | |
val nodeId: String? = null, | |
@SerializedName("avatar_url") | |
val avatarUrl: String? = null, | |
@SerializedName("gravatar_id") | |
val gravatarId: String? = null, | |
@SerializedName("url") | |
val url: String? = null, | |
@SerializedName("html_url") | |
val htmlUrl: String? = null, | |
@SerializedName("followers_url") | |
val followersUrl: String? = null, | |
@SerializedName("following_url") | |
val followingUrl: String? = null, | |
@SerializedName("gists_url") | |
val gistsUrl: String? = null, | |
@SerializedName("starred_url") | |
val starredUrl: String? = null, | |
@SerializedName("subscriptions_url") | |
val subscriptionsUrl: String? = null, | |
@SerializedName("organizations_url") | |
val organizationsUrl: String? = null, | |
@SerializedName("repos_url") | |
val reposUrl: String? = null, | |
@SerializedName("events_url") | |
val eventsUrl: String? = null, | |
@SerializedName("received_events_url") | |
val receivedEventsUrl: String? = null, | |
@SerializedName("type") | |
val type: String? = null, | |
@SerializedName("site_admin") | |
val siteAdmin: Boolean? = null, | |
@SerializedName("score") | |
val score: Double? = null | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment