MVP
This commit is contained in:
@ -2,14 +2,10 @@ package ru.vendetti.bitcoin_summarizer
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
// Обёртка для данных
|
||||
// Данные
|
||||
data class GlobalResponse(
|
||||
val data: GlobalData
|
||||
)
|
||||
|
||||
// Сами данные
|
||||
data class GlobalData(
|
||||
@SerializedName("active_cryptocurrencies") val activeCryptocurrencies: String,
|
||||
@SerializedName("active_currencies") val activeCryptocurrencies: String,
|
||||
@SerializedName("total_market_cap_usd") val totalMarketCapUsd: String,
|
||||
@SerializedName("total_24h_volume_usd") val total24hVolumeUsd: String
|
||||
@SerializedName("total_24h_volume_usd") val total24hVolumeUsd: String,
|
||||
@SerializedName("bitcoin_percentage_of_market_cap") val bitcoinPercentageOfMarketCap: String
|
||||
)
|
Reference in New Issue
Block a user