Package-level declarations

Types

Link copied to clipboard
@Serializable
data class RoomApiDto(val id: String, val type: RoomApiDtoType)

Presenter class to serialize entity.room.Room information. The necessary information are id and type.

Link copied to clipboard
@Serializable
enum RoomApiDtoType : Enum<RoomApiDtoType>

Presenter enum class to represent the room type.

Link copied to clipboard
@Serializable
data class RoomEnvironmentalDataApiDto(val temperature: ValueWithUnit<Double>? = null, val humidity: Double? = null, val luminosity: ValueWithUnit<Double>? = null, val presence: Boolean? = null)

Wraps all the environmental data associated to a Room. So it describes: