MqttJsonPayload

@Serializable
data class MqttJsonPayload(val type: String, val from: Long, val to: Long? = null, val channel: Int? = null, val payload: String? = null, val hopLimit: Int? = null, val id: Long? = null, val time: Long? = null, val sender: String? = null)(source)

Constructors

Link copied to clipboard
constructor(type: String, from: Long, to: Long? = null, channel: Int? = null, payload: String? = null, hopLimit: Int? = null, id: Long? = null, time: Long? = null, sender: String? = null)

Properties

Link copied to clipboard
val channel: Int?
Link copied to clipboard
val from: Long
Link copied to clipboard
@SerialName(value = "hop_limit")
val hopLimit: Int?
Link copied to clipboard
val id: Long?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val time: Long?
Link copied to clipboard
val to: Long?
Link copied to clipboard