class KontaktIO::Room

Included Modules

Extended Modules

Defined in:

kontakt_io/kio_cloud_models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def floor : Floor #

[View source]
def id : Int64 #

[View source]
def name : String #

[View source]
def room_number : Int64 | Nil #

[View source]
def room_sensor_ids : Array(String) #

[View source]
def room_sensors : Array(RoomSensor) #

[View source]
def room_type : String #

[View source]
def to_room_occupancy(occupied : Bool, last_update : Time) #

[View source]