CountryCode

enum CountryCode : Enum<CountryCode>

2 character country code (lower case)

Values: CA,US,UK,IE,ES,NL

Entries

NL
Link copied to clipboard
@SerializedName(value = nl)
NL("nl")
ES
Link copied to clipboard
@SerializedName(value = es)
ES("es")
IE
Link copied to clipboard
@SerializedName(value = ie)
IE("ie")
UK
Link copied to clipboard
@SerializedName(value = uk)
UK("uk")
US
Link copied to clipboard
@SerializedName(value = us)
US("us")
CA
Link copied to clipboard
@SerializedName(value = ca)
CA("ca")

Types

Companion
Link copied to clipboard
object Companion

Functions

toString
Link copied to clipboard
open override fun toString(): String
Override toString() to avoid using the enum variable name as the value, and instead use the actual value defined in the API spec file.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
val value: String