aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabsJson.kt
blob: b239bbda613866e3aa8fcf405988da122bdfdbc2 (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 = 5
    }
}