Skip to content

Commit

Permalink
loads
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnBuhanan committed May 5, 2024
1 parent 981a9a5 commit a4c1640
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data class Person(
val banner: String? = null,
val deleted: Boolean,
val matrix_user_id: String? = null,
val admin: Boolean,
val admin: Boolean? = null,
val bot_account: Boolean,
val ban_expires: String? = null,
val instance_id: InstanceId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class PostAggregates(
val id: Int,
val id: Int? = null,
val post_id: PostId,
@Json(name = "comments")
val numComments: Int,
val score: Int,
val upvotes: Int,
val downvotes: Int,
val published: String,
val newest_comment_time_necro: String,
val newest_comment_time_necro: String? = null,
val newest_comment_time: String,
val featured_community: Boolean,
val featured_local: Boolean,
val featured_community: Boolean? = null,
val featured_local: Boolean? = null,
)

0 comments on commit a4c1640

Please sign in to comment.