MqttRootsEntry

@Serializable
data class MqttRootsEntry(val root: String, val name: String, val subdivisions: List<String> = emptyList(), val center: List<Double>? = null, val radiusKm: Double? = null)(source)

A community root whose name says nothing about where it is, with the area it serves as ISO 3166-2 subdivisions, a center and radiusKm, or both.

Constructors

Link copied to clipboard
constructor(root: String, name: String, subdivisions: List<String> = emptyList(), center: List<Double>? = null, radiusKm: Double? = null)

Properties

Link copied to clipboard
@SerialName(value = "center")
val center: List<Double>?

[lat, lon].

Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
@SerialName(value = "radiusKm")
val radiusKm: Double?
Link copied to clipboard
@SerialName(value = "root")
val root: String
Link copied to clipboard
@SerialName(value = "subdivisions")
val subdivisions: List<String>