PokeKotlin API Reference
Toggle table of contents
3.0.0-pre3
common
Platform filter
common
Switch theme
Search in API
PokeKotlin API Reference
PokeKotlin API Reference
/
co.pokeapi.pokekotlin.model
/
PokemonHabitat
Pokemon
Habitat
@
Serializable
data
class
PokemonHabitat
(
val
id
:
Int
,
val
name
:
String
,
val
names
:
List
<
Name
>
,
val
pokemonSpecies
:
List
<
NamedApiResource
>
)
(
source
)
Members
Constructors
Pokemon
Habitat
Link copied to clipboard
constructor
(
id
:
Int
,
name
:
String
,
names
:
List
<
Name
>
,
pokemonSpecies
:
List
<
NamedApiResource
>
)
Properties
id
Link copied to clipboard
val
id
:
Int
name
Link copied to clipboard
val
name
:
String
names
Link copied to clipboard
val
names
:
List
<
Name
>
pokemon
Species
Link copied to clipboard
val
pokemonSpecies
:
List
<
NamedApiResource
>