diff --git a/app/src/main/java/ru/vendetti/bitcoin_summarizer/GlobalResponse.kt b/app/src/main/java/ru/vendetti/bitcoin_summarizer/GlobalResponse.kt index 80d1f49..56878d1 100644 --- a/app/src/main/java/ru/vendetti/bitcoin_summarizer/GlobalResponse.kt +++ b/app/src/main/java/ru/vendetti/bitcoin_summarizer/GlobalResponse.kt @@ -4,8 +4,8 @@ import com.google.gson.annotations.SerializedName // Данные data class GlobalResponse( - @SerializedName("active_currencies") val activeCryptocurrencies: String, - @SerializedName("total_market_cap_usd") val totalMarketCapUsd: String, - @SerializedName("total_24h_volume_usd") val total24hVolumeUsd: String, - @SerializedName("bitcoin_percentage_of_market_cap") val bitcoinPercentageOfMarketCap: String + @SerializedName("active_currencies") val activeCryptocurrencies: String = "", + @SerializedName("total_market_cap_usd") val totalMarketCapUsd: String = "", + @SerializedName("total_24h_volume_usd") val total24hVolumeUsd: String = "", + @SerializedName("bitcoin_percentage_of_market_cap") val bitcoinPercentageOfMarketCap: String = "" ) \ No newline at end of file