struct KontaktIO::RoomOccupancy

Included Modules

Extended Modules

Defined in:

kontakt_io/kio_cloud_models.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(room : Room, occupied : Bool, last_update : Time) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def building_id : Int64 | Nil #

[View source]
def building_name : String | Nil #

[View source]
def campus_id : Int64 | Nil #

[View source]
def campus_name : String | Nil #

[View source]
def floor_id : Int64 | Nil #

[View source]
def floor_name : String | Nil #

[View source]
def last_update : Time #

[View source]
def occupancy : Int32 #

[View source]
def pir? : Bool #

[View source]
def room_id : Int64 #

[View source]
def room_name : String | Nil #

[View source]