mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
model: Long -> Int
This commit is contained in:
parent
4622162d09
commit
11272cf29c
4 changed files with 10 additions and 10 deletions
|
@ -11,10 +11,10 @@ class Comment(
|
|||
@SerialName("updated_at") val updatedAt: String,
|
||||
@SerialName("is_deleted") val isDeleted: Boolean,
|
||||
@SerialName("is_moderated") val isModerated: Boolean,
|
||||
val score: Long,
|
||||
val flags: Long,
|
||||
val score: Int,
|
||||
val flags: Int,
|
||||
val comment: String,
|
||||
val url: String,
|
||||
@SerialName("indent_level") val indentLevel: Long,
|
||||
@SerialName("indent_level") val indentLevel: Int,
|
||||
@SerialName("commenting_user") val user: User,
|
||||
)
|
||||
|
|
|
@ -10,9 +10,9 @@ class LobstersPost(
|
|||
@SerialName("created_at") val createdAt: String,
|
||||
val title: String,
|
||||
val url: String,
|
||||
val score: Long,
|
||||
val flags: Long,
|
||||
@SerialName("comment_count") val commentCount: Long,
|
||||
val score: Int,
|
||||
val flags: Int,
|
||||
@SerialName("comment_count") val commentCount: Int,
|
||||
val description: String,
|
||||
@SerialName("comments_url") val commentsUrl: String,
|
||||
@SerialName("submitter_user") val submitter: User,
|
||||
|
|
|
@ -10,9 +10,9 @@ class LobstersPostDetails(
|
|||
@SerialName("created_at") val createdAt: String,
|
||||
val title: String,
|
||||
val url: String,
|
||||
val score: Long,
|
||||
val flags: Long,
|
||||
@SerialName("comment_count") val commentCount: Long,
|
||||
val score: Int,
|
||||
val flags: Int,
|
||||
@SerialName("comment_count") val commentCount: Int,
|
||||
val description: String,
|
||||
@SerialName("comments_url") val commentsUrl: String,
|
||||
@SerialName("submitter_user") val submitter: User,
|
||||
|
|
|
@ -10,7 +10,7 @@ class User(
|
|||
@SerialName("is_admin") val isAdmin: Boolean,
|
||||
val about: String,
|
||||
@SerialName("is_moderator") val isModerator: Boolean,
|
||||
val karma: Long = 0,
|
||||
val karma: Int = 0,
|
||||
@SerialName("avatar_url") val avatarUrl: String,
|
||||
@SerialName("invited_by_user") val invitedByUser: String,
|
||||
@SerialName("github_username") val githubUsername: String? = null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue