app / de.uniks.codliners.stock_simulator.network / CoinGeckoSymbol

CoinGeckoSymbol

@JsonClass(true) data class CoinGeckoSymbol

Symbol information of a CoinGecko cryptocurrency.

Constructors

<init>

Symbol information of a CoinGecko cryptocurrency.

CoinGeckoSymbol(id: String, symbol: String, name: String)

Properties

id

The CoinGecko ID of the cryptocurrency.

val id: String

name

The name of the cryptocurrency.

val name: String

symbol

The symbol of the cryptocurrency.

val symbol: String

Extension Functions

asDomainSymbol

Transforms a CoinGeckoSymbol to an equivalent Symbol.

fun CoinGeckoSymbol.asDomainSymbol(): Symbol