ClanWarLogEntry

data class ClanWarLogEntry(val clan: WarClan, val teamSize: Int, val attacksPerMember: Int, val opponent: WarClan, val endTime: String, val result: WarResult)

Represents the ClanWarLogEntry model of the Clash of Clans API. The ClanWarLogEntry data class stores information about a single clan war log entry.

Constructors

Link copied to clipboard
constructor(clan: WarClan, teamSize: Int, attacksPerMember: Int, opponent: WarClan, endTime: String, result: WarResult)

Properties

Link copied to clipboard

The number of attacks allowed per member in the war.

Link copied to clipboard

The information about the clan participating in the war.

Link copied to clipboard

The end time of the war in ISO 8601 date-time format.

Link copied to clipboard

The information about the opponent clan in the war.

Link copied to clipboard

The result of the clan war (win, lose, tie).

Link copied to clipboard

The size of the team participating in the war.