Skip to content

Berry Firmnesses

BerryFirmness

Represent a berry firmness resource returned by PokéAPI.

Berry firmnesses classify berries according to how soft or hard they are.

This model corresponds to the https://pokeapi.co/api/v2/berry-firmness/{id or name}/ endpoint.

Attributes:

Name Type Description
id int

The unique identifier of the berry firmness.

name str

The name of the berry firmness.

berries list[NamedAPIResource]

The berries that have this firmness.

names list[Name]

The names of this berry firmness in different languages.