Key

data class Key(val id: String, val name: String, val cidrRanges: List<String>, val key: String)

Represents a Clash of Clans developer API key.

Encapsulates the information related to a key, including its id], name, a list of IP (cidrRanges), and the actual key value.

Constructors

Link copied to clipboard
constructor(id: String, name: String, cidrRanges: List<String>, key: String)

Properties

Link copied to clipboard

A list of IP addresses associated with the key.

Link copied to clipboard
val id: String

The unique identifier of the key.

Link copied to clipboard
val key: String

The actual value of the key.

Link copied to clipboard

The name of the key.