mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 15:17:05 +05:30
model: add more user detail fields
(cherry picked from commit 083755534867200f06d76934231e8f4cbb1a3f48)
This commit is contained in:
parent
7353378b3b
commit
5b6e3dc3b9
1 changed files with 4 additions and 0 deletions
|
@ -6,5 +6,9 @@ import kotlinx.serialization.Serializable
|
|||
@Serializable
|
||||
class User(
|
||||
val username: String,
|
||||
val about: String,
|
||||
val karma: Long,
|
||||
@SerialName("invited_by_user") val invitedBy: String,
|
||||
@SerialName("avatar_url") val avatarUrl: String,
|
||||
@SerialName("created_at") val createdAt: String,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue