All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.lambda.event.IoTButtonEvent.scala Maven / Gradle / Ivy

The newest version!
package zio.lambda.event

import zio.json._

final case class IoTButtonEvent(
  serialNumber: String,
  clickType: String,
  batteryVoltage: String
)
object IoTButtonEvent {
  implicit val decoder: JsonDecoder[IoTButtonEvent] = DeriveJsonDecoder.gen[IoTButtonEvent]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy