ClanCapital

data class ClanCapital(val capitalHallLevel: Int, val districts: List<District>?)

Represents the ClanCapital model of the Clash of Clans API. The ClanCapital data class stores information about a clan's capital and its districts.

Constructors

Link copied to clipboard
constructor(capitalHallLevel: Int, districts: List<District>?)

Properties

Link copied to clipboard

The hall level of the clan's capital.

Link copied to clipboard

A list of District objects containing information about the capital's districts.