aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/org/polyfrost/chatting/chat/ChatTabsJson.kt
blob: c5939c37f094510af86561c82e1d6a8e2257bc59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.polyfrost.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
    }
}