Card

data class Card(val json: JsonObject, val client: ApiClient) : PenicillinModel

Constructors

Link copied to clipboard
fun Card(json: JsonObject, client: ApiClient)

Types

Link copied to clipboard
data class BindingValues(val json: JsonObject, val client: ApiClient) : PenicillinModel
Link copied to clipboard
data class CardPlatform(val json: JsonObject, val client: ApiClient) : PenicillinModel

Properties

Link copied to clipboard
val bindingValues: CardState.Card.BindingValues
Link copied to clipboard
val cardPlatform: CardState.Card.CardPlatform
Link copied to clipboard
val cardTypeUrl: String
Link copied to clipboard
open override val client: ApiClient

The ApiClient instance.

Link copied to clipboard
open override val json: JsonObject

The underlying JsonObject.

Link copied to clipboard
open val keyCase: JsonKeyCase
Link copied to clipboard
open val keyConverter: JsonKeyConverter
Link copied to clipboard
val name: String
Link copied to clipboard
val url: String

Extensions

Link copied to clipboard
val CardState.Card.choices: LinkedHashMap<String, Int>

A map of choices. Map size N must be 2 <= N <= 4.

Link copied to clipboard
val CardState.Card.endAt: String?

Card end at date.

Link copied to clipboard
val CardState.Card.isFinalResult: Boolean

If true, this card is final result.

Link copied to clipboard
val CardState.Card.lastUpdateAt: String?

Card last update at date.

Link copied to clipboard
val CardState.Card.minutes: Int?

Card duration in minutes.