PKMGeneration

public class PKMGeneration: Mappable

A generation is a grouping of the Pokémon games that separates them based on the Pokémon they include. In each generation, a new set of Pokémon, Moves, Abilities and Types that did not exist in the previous generation are released.

  • id

    The identifier for this generation resource

    Declaration

    Swift

    public var id: Int?
  • The name for this generation resource

    Declaration

    Swift

    public var name: String?
  • The name of this generation listed in different languages

    Declaration

    Swift

    public var names: [PKMName]?
  • A list of abilities that were introduced in this generation

    Declaration

    Swift

    public var abilities: [PKMNamedAPIResource]?
  • The main region travelled in this generation

    Declaration

    Swift

    public var mainRegion: PKMNamedAPIResource?
  • A list of moves that were introduced in this generation

    Declaration

    Swift

    public var moves: [PKMNamedAPIResource]?
  • A list of Pokémon species that were introduced in this generation

    Declaration

    Swift

    public var pokemonSpecies: [PKMNamedAPIResource]?
  • A list of types that were introduced in this generation

    Declaration

    Swift

    public var types: [PKMNamedAPIResource]?
  • A list of version groups that were introduced in this generation

    Declaration

    Swift

    public var versionGroups: [PKMNamedAPIResource]?
  • Undocumented

    Declaration

    Swift

    public class PKMGeneration: Mappable
  • Undocumented

    Declaration

    Swift

    public class PKMGeneration: Mappable