CoinMarkets

@Serializable
data class CoinMarkets(val id: String, val symbol: String, val name: String, val image: String? = null, val currentPrice: Double = 0.0, val marketCap: Double = 0.0, val marketCapRank: Long = 0, val totalVolume: Double = 0.0, val high24h: Double = 0.0, val low24h: Double = 0.0, val priceChange24h: Double = 0.0, val priceChangePercentage24h: Double = 0.0, val marketCapChange24h: Double = 0.0, val marketCapChangePercentage24h: Double = 0.0, val circulatingSupply: Double = 0.0, val totalSupply: Double? = null, val ath: Double = 0.0, val atl: Double = 0.0, val atlChangePercentage: Double = 0.0, val athChangePercentage: Double = 0.0, val atlDate: String? = null, val athDate: String? = null, val roi: Roi? = null, val lastUpdated: String? = null, val sparklineIn7d: SparklineIn7d? = null, val priceChangePercentage1hInCurrency: Double = 0.0, val fullyDilutedValuation: Double?, val maxSupply: Double = 0.0)

Constructors

Link copied to clipboard
constructor(id: String, symbol: String, name: String, image: String? = null, currentPrice: Double = 0.0, marketCap: Double = 0.0, marketCapRank: Long = 0, totalVolume: Double = 0.0, high24h: Double = 0.0, low24h: Double = 0.0, priceChange24h: Double = 0.0, priceChangePercentage24h: Double = 0.0, marketCapChange24h: Double = 0.0, marketCapChangePercentage24h: Double = 0.0, circulatingSupply: Double = 0.0, totalSupply: Double? = null, ath: Double = 0.0, atl: Double = 0.0, atlChangePercentage: Double = 0.0, athChangePercentage: Double = 0.0, atlDate: String? = null, athDate: String? = null, roi: Roi? = null, lastUpdated: String? = null, sparklineIn7d: SparklineIn7d? = null, priceChangePercentage1hInCurrency: Double = 0.0, fullyDilutedValuation: Double?, maxSupply: Double = 0.0)

Properties

Link copied to clipboard
val ath: Double = 0.0
Link copied to clipboard
@SerialName(value = "ath_change_percentage")
val athChangePercentage: Double = 0.0
Link copied to clipboard
@SerialName(value = "ath_date")
val athDate: String? = null
Link copied to clipboard
val atl: Double = 0.0
Link copied to clipboard
@SerialName(value = "atl_change_percentage")
val atlChangePercentage: Double = 0.0
Link copied to clipboard
@SerialName(value = "atl_date")
val atlDate: String? = null
Link copied to clipboard
@SerialName(value = "circulating_supply")
val circulatingSupply: Double = 0.0
Link copied to clipboard
@SerialName(value = "current_price")
val currentPrice: Double = 0.0
Link copied to clipboard
@SerialName(value = "fully_diluted_valuation")
val fullyDilutedValuation: Double?
Link copied to clipboard
@SerialName(value = "high_24h")
val high24h: Double = 0.0
Link copied to clipboard
val id: String
Link copied to clipboard
val image: String? = null
Link copied to clipboard
@SerialName(value = "last_updated")
val lastUpdated: String? = null
Link copied to clipboard
@SerialName(value = "low_24h")
val low24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "market_cap")
val marketCap: Double = 0.0
Link copied to clipboard
@SerialName(value = "market_cap_change_24h")
val marketCapChange24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "market_cap_change_percentage_24h")
val marketCapChangePercentage24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "market_cap_rank")
val marketCapRank: Long = 0
Link copied to clipboard
@SerialName(value = "max_supply")
val maxSupply: Double = 0.0
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "price_change_24h")
val priceChange24h: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_1h_in_currency")
val priceChangePercentage1hInCurrency: Double = 0.0
Link copied to clipboard
@SerialName(value = "price_change_percentage_24h")
val priceChangePercentage24h: Double = 0.0
Link copied to clipboard
val roi: Roi? = null
Link copied to clipboard
@SerialName(value = "sparkline_in_7d")
val sparklineIn7d: SparklineIn7d? = null
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "total_supply")
val totalSupply: Double? = null
Link copied to clipboard
@SerialName(value = "total_volume")
val totalVolume: Double = 0.0