class Cisco::Meraki::DeviceLocation

Included Modules

Extended Modules

Defined in:

cisco/meraki/scanning_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.calculate_location(floor : FloorPlan, device : NetworkDevice, time : Time) : DeviceLocation #

[View source]
def self.new(x : Float64 | String | Nil, y : Float64 | String | Nil, lng : Float64 | Nil, lat : Float64 | Nil, variance : Float64, floor_plan_id : Nil | String, floor_plan_name : Nil | String, time : Time) #

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

[View source]

Instance Method Detail

def client : Client | Nil #

NOTE : this is not part of the location response, it is here to speed up processing


[View source]
def client=(client : Client | Nil) #

NOTE : this is not part of the location response, it is here to speed up processing


[View source]
def floor_plan : FloorPlanLocation | Nil #

[View source]
def floor_plan=(floor_plan : FloorPlanLocation | Nil) #

[View source]
def floor_plan_id #

[View source]
def floor_plan_name #

[View source]
def get_x : Float64 | Nil #

[View source]
def get_y : Float64 | Nil #

[View source]
def lat : Float64 | Nil #

[View source]
def lat=(lat : Float64 | Nil) #

[View source]
def lng : Float64 | Nil #

[View source]
def lng=(lng : Float64 | Nil) #

[View source]
def mac : String | Nil #

NOTE : This is not part of the location response, it is here to simplify processing


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

NOTE : This is not part of the location response, it is here to simplify processing


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

[View source]
def nearest_ap_tags=(nearest_ap_tags : Array(String)) #

[View source]
def rssi_records : Array(RSSI) #

[View source]
def rssi_records=(rssi_records : Array(RSSI)) #

[View source]
def time : Time #

[View source]
def time=(time : Time) #

[View source]
def variance : Float64 #

[View source]
def variance=(variance : Float64) #

[View source]
def wifi_floor_plan_id : String | Nil #

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

[View source]
def wifi_floor_plan_name : String | Nil #

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

[View source]
def x : Float64 | String | Nil #

Multiple types as the location when parsed might include javascript "NaN"


[View source]
def x! #

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

Multiple types as the location when parsed might include javascript "NaN"


[View source]
def y : Float64 | String | Nil #

[View source]
def y! #

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

[View source]