mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
Add support for comment count in API responses and DB table (#295)
This commit is contained in:
parent
12dec1ff46
commit
88d57f63dd
6 changed files with 7 additions and 0 deletions
|
@ -10,6 +10,7 @@ class LobstersPost(
|
|||
val title: String,
|
||||
val url: String,
|
||||
val description: String,
|
||||
@SerialName("comment_count") val commentCount: Int,
|
||||
@SerialName("comments_url") val commentsUrl: String,
|
||||
@SerialName("submitter_user") val submitter: User,
|
||||
val tags: List<String>,
|
||||
|
|
|
@ -10,6 +10,7 @@ class LobstersPostDetails(
|
|||
val title: String,
|
||||
val url: String,
|
||||
val description: String,
|
||||
@SerialName("comment_count") val commentCount: Int,
|
||||
@SerialName("comments_url") val commentsUrl: String,
|
||||
@SerialName("submitter_user") val submitter: User,
|
||||
val tags: List<String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue