class Vergesense::Space

Included Modules

Extended Modules

Defined in:

vergesense/models.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def building_ref_id : String | Nil #

[View source]
def building_ref_id=(building_ref_id : String | Nil) #

[View source]
def capacity : UInt32 | Nil #

[View source]
def capacity=(capacity : UInt32 | Nil) #

[View source]
def environment : Environment | Nil #

[View source]
def environment=(environment : Environment | Nil) #

[View source]
def floor_key #

[View source]
def floor_ref_id : String | Nil #

[View source]
def floor_ref_id=(floor_ref_id : String | Nil) #

[View source]
def last_reports : Array(Report) | Nil #

[View source]
def last_reports=(last_reports : Array(Report) | Nil) #

[View source]
def max_capacity : UInt32 | Nil #

[View source]
def max_capacity=(max_capacity : UInt32 | Nil) #

[View source]
def motion_detected : Bool | Nil #

[View source]
def motion_detected=(motion_detected : Bool | Nil) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def people : People | Nil #

property geometry : Geometry?


[View source]
def people=(people : People | Nil) #

property geometry : Geometry?


[View source]
def ref_id #

[View source]
def signs_of_life : Bool | Nil #

NOTE : not returned by the API, we fill this in


[View source]
def signs_of_life=(signs_of_life : Bool | Nil) #

NOTE : not returned by the API, we fill this in


[View source]
def signs_of_life? : Bool | Nil #

[View source]
def space_ref_id : String | Nil #

[View source]
def space_ref_id=(space_ref_id : String | Nil) #

[View source]
def space_type : String | Nil #

[View source]
def space_type=(space_type : String | Nil) #

[View source]
def timestamp : Time | Nil #

[View source]
def timestamp=(timestamp : Time | Nil) #

[View source]