Creating a comment model

Create a comment data class named Comment.kt, and here is the sample code:

data class Comment (
@SerializedName("id") var comment: Long?,
@SerializedName("text") var text: String?,
@SerializedName("postedBy") var profile: Profile?,
@SerializedName("accCreatedTime") var accCreatedTime: String?
)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.163.175