class Cisco::Meraki::DeviceLocation
- Cisco::Meraki::DeviceLocation
- Reference
- Object
Included Modules
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
cisco/meraki/scanning_api.crConstructors
- .calculate_location(floor : FloorPlan, device : NetworkDevice, time : Time) : DeviceLocation
- .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)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#client : Client | Nil
NOTE : this is not part of the location response, it is here to speed up processing
-
#client=(client : Client | Nil)
NOTE : this is not part of the location response, it is here to speed up processing
- #floor_plan : FloorPlanLocation | Nil
- #floor_plan=(floor_plan : FloorPlanLocation | Nil)
- #floor_plan_id
- #floor_plan_name
- #get_x : Float64 | Nil
- #get_y : Float64 | Nil
- #lat : Float64 | Nil
- #lat=(lat : Float64 | Nil)
- #lng : Float64 | Nil
- #lng=(lng : Float64 | Nil)
-
#mac : String | Nil
NOTE : This is not part of the location response, it is here to simplify processing
-
#mac=(mac : String | Nil)
NOTE : This is not part of the location response, it is here to simplify processing
- #nearest_ap_tags : Array(String)
- #nearest_ap_tags=(nearest_ap_tags : Array(String))
- #rssi_records : Array(RSSI)
- #rssi_records=(rssi_records : Array(RSSI))
- #time : Time
- #time=(time : Time)
- #variance : Float64
- #variance=(variance : Float64)
- #wifi_floor_plan_id : String | Nil
- #wifi_floor_plan_id=(wifi_floor_plan_id : String | Nil)
- #wifi_floor_plan_name : String | Nil
- #wifi_floor_plan_name=(wifi_floor_plan_name : String | Nil)
-
#x : Float64 | String | Nil
Multiple types as the location when parsed might include javascript
"NaN"
- #x!
-
#x=(x : Float64 | String | Nil)
Multiple types as the location when parsed might include javascript
"NaN"
- #y : Float64 | String | Nil
- #y!
- #y=(y : Float64 | String | Nil)
Constructor Detail
Instance Method Detail
NOTE : this is not part of the location response, it is here to speed up processing
NOTE : this is not part of the location response, it is here to speed up processing
NOTE : This is not part of the location response, it is here to simplify processing
NOTE : This is not part of the location response, it is here to simplify processing
Multiple types as the location when parsed might include javascript "NaN"
Multiple types as the location when parsed might include javascript "NaN"