ClanCapitalRaidSeasonDistrict

data class ClanCapitalRaidSeasonDistrict(val stars: Int, val name: String, val id: Int, val destructionPercent: Int, val attackCount: Int, val totalLooted: Int, val attacks: List<ClanCapitalRaidSeasonAttack>, val districtHallLevel: Int)

Represents the ClanCapitalRaidSeasonDistrict model of the Clash of Clans API. The ClanCapitalRaidSeasonDistrict data class stores information about a district in the Clan Capital Raid season.

Constructors

Link copied to clipboard
constructor(stars: Int, name: String, id: Int, destructionPercent: Int, attackCount: Int, totalLooted: Int, attacks: List<ClanCapitalRaidSeasonAttack>, districtHallLevel: Int)

Properties

Link copied to clipboard

The total number of attacks made in the district.

Link copied to clipboard

A list of ClanCapitalRaidSeasonAttack objects representing the attacks made in the district.

Link copied to clipboard

The percentage of destruction achieved in the district.

Link copied to clipboard

The level of the district's hall.

Link copied to clipboard
val id: Int

The unique identifier of the district.

Link copied to clipboard

The name of the district.

Link copied to clipboard
val stars: Int

The total number of stars earned in the district.

Link copied to clipboard

The total amount of resources looted in the district.