StoredUser
data class StoredUser(val login: Owner, val id: Int = login.hashCode().absoluteValue, val name: String, val company: String?, val emails: List<Email>, val type: AccountType, val createdAt: Instant, val updatedAt: Instant, val gistsUrl: Uri = Uri.of("https://api.github.com/users/$login/gists{/gist_id}"), val reposUrl: Uri = Uri.of("https://api.github.com/users/$login/repos"), val starredUrl: Uri = Uri.of("https://api.github.com/users/$login/starred{/owner}{/repo}"), val avatarUrl: Uri = Uri.of("https://avatars.githubusercontent.com/u/$id?v=4"), val eventsUrl: Uri = Uri.of("https://api.github.com/users/$login/events{/privacy}"), val receivedEventsUrl: Uri = Uri.of("https://api.github.com/users/$login/received_events"), val publicRepos: Int = 0, val publicGists: Int = 0, val followers: Int = 0, val following: Int = 0)(source)
Constructors
Link copied to clipboard
constructor(login: Owner, id: Int = login.hashCode().absoluteValue, name: String, company: String?, emails: List<Email>, type: AccountType, createdAt: Instant, updatedAt: Instant, gistsUrl: Uri = Uri.of("https://api.github.com/users/$login/gists{/gist_id}"), reposUrl: Uri = Uri.of("https://api.github.com/users/$login/repos"), starredUrl: Uri = Uri.of("https://api.github.com/users/$login/starred{/owner}{/repo}"), avatarUrl: Uri = Uri.of("https://avatars.githubusercontent.com/u/$id?v=4"), eventsUrl: Uri = Uri.of("https://api.github.com/users/$login/events{/privacy}"), receivedEventsUrl: Uri = Uri.of("https://api.github.com/users/$login/received_events"), publicRepos: Int = 0, publicGists: Int = 0, followers: Int = 0, following: Int = 0)