Mayor

@Serializable
data class Mayor(val key: String? = null, val name: String? = null, val perks: List<Perk>? = null, val minister: Minister? = null, val election: Election? = null)

Information about the current Mayor.

Constructors

Link copied to clipboard
constructor(key: String? = null, name: String? = null, perks: List<Perk>? = null, minister: Minister? = null, election: Election? = null)

Properties

Link copied to clipboard
val election: Election? = null

Information about the past election.

Link copied to clipboard
val key: String? = null

Type of mayor (eg; economist {Diaz}, farming {Finnegan}).

Link copied to clipboard
val minister: Minister? = null

Information about the current Minister.

Link copied to clipboard
val name: String? = null

Name of the mayor.

Link copied to clipboard
val perks: List<Perk>? = null

A list of the current mayors perks.