Add forgotten annotation for json

This commit is contained in:
ganfra 2018-11-05 22:11:30 +01:00
parent 5cc617168e
commit 56bbcf209f
1 changed files with 2 additions and 0 deletions

View File

@ -1,10 +1,12 @@
package im.vector.matrix.android.internal.session.group.model
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* This class represents the community rooms in a group summary response.
*/
@JsonClass(generateAdapter = true)
data class GroupSummaryRoomsSection(
@Json(name = "total_room_count_estimate") val totalRoomCountEstimate: Int? = null,