UserResponse.kt 799 B

123456789101112131415161718192021222324252627
  1. package com.vpn.fastestvpnservice.beans
  2. import com.google.gson.annotations.SerializedName
  3. import java.util.*
  4. data class UserResponse(
  5. @SerializedName("error") var error: Int? = null,
  6. @SerializedName("id") val id: Int? = null,
  7. @SerializedName("token") val token: String? = null,
  8. @SerializedName("userinfo") val userinfo: User? = null,
  9. @SerializedName("servers") val servers: ArrayList<ServerData>? = null,
  10. @SerializedName("product") val product: Product? = null,
  11. @SerializedName("subscription") val subscription: Boolean = false,
  12. @SerializedName("wg") val wireguard: WireGuard? = null,
  13. @SerializedName("enabled_protocols") var enabled_protocols: ArrayList<String>,
  14. @SerializedName("available_protocols") var available_protocols: ArrayList<String>
  15. )