aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabsJson.kt
blob: c63256117affcecc8d739ca863685c2dda49ed01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package cc.woverflow.chatting.chat

import com.google.gson.JsonArray
import com.google.gson.annotations.SerializedName

data class ChatTabsJson(@SerializedName("tabs") val tabs: JsonArray, var version: Int) {

    override fun toString(): String {
        return "{\"tabs\": $tabs, \"version\": $version}"
    }

    companion object {
        const val VERSION = 6
    }
}