CoinMarketDTO

@Serializable
data class CoinMarketDTO(val id: String, val symbol: String, val name: String, val imageUrl: String, val currentPrice: Double, val marketCap: Long, val marketCapRank: Int, val fullyDilutedValuation: Long?, val totalVolume: Double, val high24h: Double?, val low24h: Double?, val priceChange24h: Double?, val priceChangePercentage24h: Double?, val marketCapChange24h: Double?, val marketCapChangePercentage24h: Double?, val circulatingSupply: Double, val totalSupply: Double?, val maxSupply: Double?, val ath: Double, val athChangePercentage: Double, val athDate: Instant, val atl: Double, val atlChangePercentage: Double, val atlDate: Instant, val roi: RoiDTO? = null, val lastUpdated: Instant?)

Constructors

Link copied to clipboard
constructor(id: String, symbol: String, name: String, imageUrl: String, currentPrice: Double, marketCap: Long, marketCapRank: Int, fullyDilutedValuation: Long?, totalVolume: Double, high24h: Double?, low24h: Double?, priceChange24h: Double?, priceChangePercentage24h: Double?, marketCapChange24h: Double?, marketCapChangePercentage24h: Double?, circulatingSupply: Double, totalSupply: Double?, maxSupply: Double?, ath: Double, athChangePercentage: Double, athDate: Instant, atl: Double, atlChangePercentage: Double, atlDate: Instant, roi: RoiDTO? = null, lastUpdated: Instant?)

Properties

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