mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 10:37:05 +05:30
fix(model): add Comment#shortId
This commit is contained in:
parent
91c3d0f9a6
commit
8433f38f6e
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2021-2022 Harsh Shandilya.
|
* Copyright © 2021-2023 Harsh Shandilya.
|
||||||
* Use of this source code is governed by an MIT-style
|
* Use of this source code is governed by an MIT-style
|
||||||
* license that can be found in the LICENSE file or at
|
* license that can be found in the LICENSE file or at
|
||||||
* https://opensource.org/licenses/MIT.
|
* https://opensource.org/licenses/MIT.
|
||||||
|
@ -15,6 +15,7 @@ import kotlinx.serialization.Serializable
|
||||||
|
|
||||||
@Serializable
|
@Serializable
|
||||||
class Comment(
|
class Comment(
|
||||||
|
@SerialName("short_id") val shortId: String,
|
||||||
val comment: String,
|
val comment: String,
|
||||||
val url: String,
|
val url: String,
|
||||||
val score: Int,
|
val score: Int,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue