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
/
Location
Location
@
Serializable
data
class
Location
(
val
id
:
Int
,
val
name
:
String
,
val
region
:
NamedApiResource
?
,
val
names
:
List
<
Name
>
,
val
gameIndices
:
List
<
GenerationGameIndex
>
,
val
areas
:
List
<
NamedApiResource
>
)
(
source
)
Members
Constructors
Location
Link copied to clipboard
constructor
(
id
:
Int
,
name
:
String
,
region
:
NamedApiResource
?
,
names
:
List
<
Name
>
,
gameIndices
:
List
<
GenerationGameIndex
>
,
areas
:
List
<
NamedApiResource
>
)
Properties
areas
Link copied to clipboard
val
areas
:
List
<
NamedApiResource
>
game
Indices
Link copied to clipboard
val
gameIndices
:
List
<
GenerationGameIndex
>
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
>
region
Link copied to clipboard
val
region
:
NamedApiResource
?