Class: UntitledApi::ApiV1SitesStatsClientsResponse3
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- UntitledApi::ApiV1SitesStatsClientsResponse3
- Defined in:
- lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb
Overview
ApiV1SitesStatsClientsResponse3 Model.
Instance Attribute Summary collapse
-
#annotation ⇒ String
TODO: Write general description for this method.
-
#ap_id ⇒ String
TODO: Write general description for this method.
-
#ap_mac ⇒ String
TODO: Write general description for this method.
-
#assoc_time ⇒ Float
TODO: Write general description for this method.
-
#band ⇒ String
TODO: Write general description for this method.
-
#channel ⇒ Float
TODO: Write general description for this method.
-
#dual_band ⇒ Object
TODO: Write general description for this method.
-
#family ⇒ String
TODO: Write general description for this method.
-
#firmware ⇒ String
TODO: Write general description for this method.
-
#group ⇒ String
TODO: Write general description for this method.
-
#hardware ⇒ String
TODO: Write general description for this method.
-
#hostname ⇒ String
TODO: Write general description for this method.
-
#id ⇒ String
TODO: Write general description for this method.
-
#idle_time ⇒ Float
TODO: Write general description for this method.
-
#ip ⇒ String
TODO: Write general description for this method.
-
#is_guest ⇒ Object
TODO: Write general description for this method.
-
#key_mgmt ⇒ String
TODO: Write general description for this method.
-
#last_seen ⇒ Float
TODO: Write general description for this method.
-
#mac ⇒ String
TODO: Write general description for this method.
-
#manufacture ⇒ String
TODO: Write general description for this method.
-
#model ⇒ String
TODO: Write general description for this method.
-
#os ⇒ String
TODO: Write general description for this method.
-
#os_version ⇒ String
TODO: Write general description for this method.
-
#proto ⇒ String
TODO: Write general description for this method.
-
#psk_id ⇒ String
TODO: Write general description for this method.
-
#rssi ⇒ Float
TODO: Write general description for this method.
-
#rssizones ⇒ Object
TODO: Write general description for this method.
-
#rx_bps ⇒ Float
TODO: Write general description for this method.
-
#rx_bytes ⇒ Float
TODO: Write general description for this method.
-
#rx_pkts ⇒ Float
TODO: Write general description for this method.
-
#rx_rate ⇒ Float
TODO: Write general description for this method.
-
#rx_retries ⇒ Float
TODO: Write general description for this method.
-
#sdk_version ⇒ String
TODO: Write general description for this method.
-
#site_id ⇒ String
TODO: Write general description for this method.
-
#snr ⇒ Float
TODO: Write general description for this method.
-
#ssid ⇒ String
TODO: Write general description for this method.
-
#ttl ⇒ Float
TODO: Write general description for this method.
-
#tx_bps ⇒ Float
TODO: Write general description for this method.
-
#tx_bytes ⇒ Float
TODO: Write general description for this method.
-
#tx_pkts ⇒ Float
TODO: Write general description for this method.
-
#tx_rate ⇒ Float
TODO: Write general description for this method.
-
#tx_retries ⇒ Float
TODO: Write general description for this method.
-
#uptime ⇒ Float
TODO: Write general description for this method.
-
#vbeacons ⇒ Object
TODO: Write general description for this method.
-
#vlan_id ⇒ String
TODO: Write general description for this method.
-
#wlan_id ⇒ String
TODO: Write general description for this method.
-
#wxrule_id ⇒ String
TODO: Write general description for this method.
-
#wxrule_usage ⇒ Object
TODO: Write general description for this method.
-
#zones ⇒ Object
TODO: Write general description for this method.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
Methods inherited from BaseModel
Constructor Details
#initialize(mac = SKIP, site_id = SKIP, assoc_time = SKIP, family = SKIP, model = SKIP, os = SKIP, os_version = SKIP, manufacture = SKIP, hardware = SKIP, firmware = SKIP, sdk_version = SKIP, hostname = SKIP, ip = SKIP, ap_mac = SKIP, ap_id = SKIP, last_seen = SKIP, uptime = SKIP, ssid = SKIP, wlan_id = SKIP, dual_band = SKIP, is_guest = SKIP, key_mgmt = SKIP, group = SKIP, band = SKIP, channel = SKIP, vlan_id = SKIP, proto = SKIP, rssi = SKIP, snr = SKIP, idle_time = SKIP, tx_rate = SKIP, rx_rate = SKIP, tx_pkts = SKIP, rx_pkts = SKIP, tx_bytes = SKIP, rx_bytes = SKIP, tx_retries = SKIP, rx_retries = SKIP, tx_bps = SKIP, rx_bps = SKIP, psk_id = SKIP, ttl = SKIP, id = SKIP, zones = SKIP, vbeacons = SKIP, rssizones = SKIP, wxrule_id = SKIP, wxrule_usage = SKIP, annotation = SKIP) ⇒ ApiV1SitesStatsClientsResponse3
Returns a new instance of ApiV1SitesStatsClientsResponse3.
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 323 def initialize(mac = SKIP, site_id = SKIP, assoc_time = SKIP, family = SKIP, model = SKIP, os = SKIP, os_version = SKIP, manufacture = SKIP, hardware = SKIP, firmware = SKIP, sdk_version = SKIP, hostname = SKIP, ip = SKIP, ap_mac = SKIP, ap_id = SKIP, last_seen = SKIP, uptime = SKIP, ssid = SKIP, wlan_id = SKIP, dual_band = SKIP, is_guest = SKIP, key_mgmt = SKIP, group = SKIP, band = SKIP, channel = SKIP, vlan_id = SKIP, proto = SKIP, rssi = SKIP, snr = SKIP, idle_time = SKIP, tx_rate = SKIP, rx_rate = SKIP, tx_pkts = SKIP, rx_pkts = SKIP, tx_bytes = SKIP, rx_bytes = SKIP, tx_retries = SKIP, rx_retries = SKIP, tx_bps = SKIP, rx_bps = SKIP, psk_id = SKIP, ttl = SKIP, id = SKIP, zones = SKIP, vbeacons = SKIP, rssizones = SKIP, wxrule_id = SKIP, wxrule_usage = SKIP, annotation = SKIP) @mac = mac unless mac == SKIP @site_id = site_id unless site_id == SKIP @assoc_time = assoc_time unless assoc_time == SKIP @family = family unless family == SKIP @model = model unless model == SKIP @os = os unless os == SKIP @os_version = os_version unless os_version == SKIP @manufacture = manufacture unless manufacture == SKIP @hardware = hardware unless hardware == SKIP @firmware = firmware unless firmware == SKIP @sdk_version = sdk_version unless sdk_version == SKIP @hostname = hostname unless hostname == SKIP @ip = ip unless ip == SKIP @ap_mac = ap_mac unless ap_mac == SKIP @ap_id = ap_id unless ap_id == SKIP @last_seen = last_seen unless last_seen == SKIP @uptime = uptime unless uptime == SKIP @ssid = ssid unless ssid == SKIP @wlan_id = wlan_id unless wlan_id == SKIP @dual_band = dual_band unless dual_band == SKIP @is_guest = is_guest unless is_guest == SKIP @key_mgmt = key_mgmt unless key_mgmt == SKIP @group = group unless group == SKIP @band = band unless band == SKIP @channel = channel unless channel == SKIP @vlan_id = vlan_id unless vlan_id == SKIP @proto = proto unless proto == SKIP @rssi = rssi unless rssi == SKIP @snr = snr unless snr == SKIP @idle_time = idle_time unless idle_time == SKIP @tx_rate = tx_rate unless tx_rate == SKIP @rx_rate = rx_rate unless rx_rate == SKIP @tx_pkts = tx_pkts unless tx_pkts == SKIP @rx_pkts = rx_pkts unless rx_pkts == SKIP @tx_bytes = tx_bytes unless tx_bytes == SKIP @rx_bytes = rx_bytes unless rx_bytes == SKIP @tx_retries = tx_retries unless tx_retries == SKIP @rx_retries = rx_retries unless rx_retries == SKIP @tx_bps = tx_bps unless tx_bps == SKIP @rx_bps = rx_bps unless rx_bps == SKIP @psk_id = psk_id unless psk_id == SKIP @ttl = ttl unless ttl == SKIP @id = id unless id == SKIP @zones = zones unless zones == SKIP @vbeacons = vbeacons unless vbeacons == SKIP @rssizones = rssizones unless rssizones == SKIP @wxrule_id = wxrule_id unless wxrule_id == SKIP @wxrule_usage = wxrule_usage unless wxrule_usage == SKIP @annotation = annotation unless annotation == SKIP end |
Instance Attribute Details
#annotation ⇒ String
TODO: Write general description for this method
206 207 208 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 206 def annotation @annotation end |
#ap_id ⇒ String
TODO: Write general description for this method
70 71 72 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 70 def ap_id @ap_id end |
#ap_mac ⇒ String
TODO: Write general description for this method
66 67 68 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 66 def ap_mac @ap_mac end |
#assoc_time ⇒ Float
TODO: Write general description for this method
22 23 24 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 22 def assoc_time @assoc_time end |
#band ⇒ String
TODO: Write general description for this method
106 107 108 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 106 def band @band end |
#channel ⇒ Float
TODO: Write general description for this method
110 111 112 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 110 def channel @channel end |
#dual_band ⇒ Object
TODO: Write general description for this method
90 91 92 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 90 def dual_band @dual_band end |
#family ⇒ String
TODO: Write general description for this method
26 27 28 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 26 def family @family end |
#firmware ⇒ String
TODO: Write general description for this method
50 51 52 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 50 def firmware @firmware end |
#group ⇒ String
TODO: Write general description for this method
102 103 104 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 102 def group @group end |
#hardware ⇒ String
TODO: Write general description for this method
46 47 48 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 46 def hardware @hardware end |
#hostname ⇒ String
TODO: Write general description for this method
58 59 60 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 58 def hostname @hostname end |
#id ⇒ String
TODO: Write general description for this method
182 183 184 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 182 def id @id end |
#idle_time ⇒ Float
TODO: Write general description for this method
130 131 132 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 130 def idle_time @idle_time end |
#ip ⇒ String
TODO: Write general description for this method
62 63 64 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 62 def ip @ip end |
#is_guest ⇒ Object
TODO: Write general description for this method
94 95 96 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 94 def is_guest @is_guest end |
#key_mgmt ⇒ String
TODO: Write general description for this method
98 99 100 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 98 def key_mgmt @key_mgmt end |
#last_seen ⇒ Float
TODO: Write general description for this method
74 75 76 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 74 def last_seen @last_seen end |
#mac ⇒ String
TODO: Write general description for this method
14 15 16 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 14 def mac @mac end |
#manufacture ⇒ String
TODO: Write general description for this method
42 43 44 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 42 def manufacture @manufacture end |
#model ⇒ String
TODO: Write general description for this method
30 31 32 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 30 def model @model end |
#os ⇒ String
TODO: Write general description for this method
34 35 36 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 34 def os @os end |
#os_version ⇒ String
TODO: Write general description for this method
38 39 40 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 38 def os_version @os_version end |
#proto ⇒ String
TODO: Write general description for this method
118 119 120 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 118 def proto @proto end |
#psk_id ⇒ String
TODO: Write general description for this method
174 175 176 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 174 def psk_id @psk_id end |
#rssi ⇒ Float
TODO: Write general description for this method
122 123 124 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 122 def rssi @rssi end |
#rssizones ⇒ Object
TODO: Write general description for this method
194 195 196 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 194 def rssizones @rssizones end |
#rx_bps ⇒ Float
TODO: Write general description for this method
170 171 172 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 170 def rx_bps @rx_bps end |
#rx_bytes ⇒ Float
TODO: Write general description for this method
154 155 156 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 154 def rx_bytes @rx_bytes end |
#rx_pkts ⇒ Float
TODO: Write general description for this method
146 147 148 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 146 def rx_pkts @rx_pkts end |
#rx_rate ⇒ Float
TODO: Write general description for this method
138 139 140 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 138 def rx_rate @rx_rate end |
#rx_retries ⇒ Float
TODO: Write general description for this method
162 163 164 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 162 def rx_retries @rx_retries end |
#sdk_version ⇒ String
TODO: Write general description for this method
54 55 56 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 54 def sdk_version @sdk_version end |
#site_id ⇒ String
TODO: Write general description for this method
18 19 20 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 18 def site_id @site_id end |
#snr ⇒ Float
TODO: Write general description for this method
126 127 128 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 126 def snr @snr end |
#ssid ⇒ String
TODO: Write general description for this method
82 83 84 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 82 def ssid @ssid end |
#ttl ⇒ Float
TODO: Write general description for this method
178 179 180 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 178 def ttl @ttl end |
#tx_bps ⇒ Float
TODO: Write general description for this method
166 167 168 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 166 def tx_bps @tx_bps end |
#tx_bytes ⇒ Float
TODO: Write general description for this method
150 151 152 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 150 def tx_bytes @tx_bytes end |
#tx_pkts ⇒ Float
TODO: Write general description for this method
142 143 144 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 142 def tx_pkts @tx_pkts end |
#tx_rate ⇒ Float
TODO: Write general description for this method
134 135 136 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 134 def tx_rate @tx_rate end |
#tx_retries ⇒ Float
TODO: Write general description for this method
158 159 160 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 158 def tx_retries @tx_retries end |
#uptime ⇒ Float
TODO: Write general description for this method
78 79 80 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 78 def uptime @uptime end |
#vbeacons ⇒ Object
TODO: Write general description for this method
190 191 192 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 190 def vbeacons @vbeacons end |
#vlan_id ⇒ String
TODO: Write general description for this method
114 115 116 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 114 def vlan_id @vlan_id end |
#wlan_id ⇒ String
TODO: Write general description for this method
86 87 88 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 86 def wlan_id @wlan_id end |
#wxrule_id ⇒ String
TODO: Write general description for this method
198 199 200 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 198 def wxrule_id @wxrule_id end |
#wxrule_usage ⇒ Object
TODO: Write general description for this method
202 203 204 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 202 def wxrule_usage @wxrule_usage end |
#zones ⇒ Object
TODO: Write general description for this method
186 187 188 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 186 def zones @zones end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 424 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. mac = hash.key?('mac') ? hash['mac'] : SKIP site_id = hash.key?('site_id') ? hash['site_id'] : SKIP assoc_time = hash.key?('assoc_time') ? hash['assoc_time'] : SKIP family = hash.key?('family') ? hash['family'] : SKIP model = hash.key?('model') ? hash['model'] : SKIP os = hash.key?('os') ? hash['os'] : SKIP os_version = hash.key?('os_version') ? hash['os_version'] : SKIP manufacture = hash.key?('manufacture') ? hash['manufacture'] : SKIP hardware = hash.key?('hardware') ? hash['hardware'] : SKIP firmware = hash.key?('firmware') ? hash['firmware'] : SKIP sdk_version = hash.key?('sdk_version') ? hash['sdk_version'] : SKIP hostname = hash.key?('hostname') ? hash['hostname'] : SKIP ip = hash.key?('ip') ? hash['ip'] : SKIP ap_mac = hash.key?('ap_mac') ? hash['ap_mac'] : SKIP ap_id = hash.key?('ap_id') ? hash['ap_id'] : SKIP last_seen = hash.key?('last_seen') ? hash['last_seen'] : SKIP uptime = hash.key?('uptime') ? hash['uptime'] : SKIP ssid = hash.key?('ssid') ? hash['ssid'] : SKIP wlan_id = hash.key?('wlan_id') ? hash['wlan_id'] : SKIP dual_band = hash.key?('dual_band') ? hash['dual_band'] : SKIP is_guest = hash.key?('is_guest') ? hash['is_guest'] : SKIP key_mgmt = hash.key?('key_mgmt') ? hash['key_mgmt'] : SKIP group = hash.key?('group') ? hash['group'] : SKIP band = hash.key?('band') ? hash['band'] : SKIP channel = hash.key?('channel') ? hash['channel'] : SKIP vlan_id = hash.key?('vlan_id') ? hash['vlan_id'] : SKIP proto = hash.key?('proto') ? hash['proto'] : SKIP rssi = hash.key?('rssi') ? hash['rssi'] : SKIP snr = hash.key?('snr') ? hash['snr'] : SKIP idle_time = hash.key?('idle_time') ? hash['idle_time'] : SKIP tx_rate = hash.key?('tx_rate') ? hash['tx_rate'] : SKIP rx_rate = hash.key?('rx_rate') ? hash['rx_rate'] : SKIP tx_pkts = hash.key?('tx_pkts') ? hash['tx_pkts'] : SKIP rx_pkts = hash.key?('rx_pkts') ? hash['rx_pkts'] : SKIP tx_bytes = hash.key?('tx_bytes') ? hash['tx_bytes'] : SKIP rx_bytes = hash.key?('rx_bytes') ? hash['rx_bytes'] : SKIP tx_retries = hash.key?('tx_retries') ? hash['tx_retries'] : SKIP rx_retries = hash.key?('rx_retries') ? hash['rx_retries'] : SKIP tx_bps = hash.key?('tx_bps') ? hash['tx_bps'] : SKIP rx_bps = hash.key?('rx_bps') ? hash['rx_bps'] : SKIP psk_id = hash.key?('psk_id') ? hash['psk_id'] : SKIP ttl = hash.key?('_ttl') ? hash['_ttl'] : SKIP id = hash.key?('_id') ? hash['_id'] : SKIP zones = hash.key?('zones') ? hash['zones'] : SKIP vbeacons = hash.key?('vbeacons') ? hash['vbeacons'] : SKIP rssizones = hash.key?('rssizones') ? hash['rssizones'] : SKIP wxrule_id = hash.key?('wxrule_id') ? hash['wxrule_id'] : SKIP wxrule_usage = hash.key?('wxrule_usage') ? hash['wxrule_usage'] : SKIP annotation = hash.key?('annotation') ? hash['annotation'] : SKIP # Create object from extracted values. ApiV1SitesStatsClientsResponse3.new(mac, site_id, assoc_time, family, model, os, os_version, manufacture, hardware, firmware, sdk_version, hostname, ip, ap_mac, ap_id, last_seen, uptime, ssid, wlan_id, dual_band, is_guest, key_mgmt, group, band, channel, vlan_id, proto, rssi, snr, idle_time, tx_rate, rx_rate, tx_pkts, rx_pkts, tx_bytes, rx_bytes, tx_retries, rx_retries, tx_bps, rx_bps, psk_id, ttl, id, zones, vbeacons, rssizones, wxrule_id, wxrule_usage, annotation) end |
.names ⇒ Object
A mapping from model property names to API property names.
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 209 def self.names @_hash = {} if @_hash.nil? @_hash['mac'] = 'mac' @_hash['site_id'] = 'site_id' @_hash['assoc_time'] = 'assoc_time' @_hash['family'] = 'family' @_hash['model'] = 'model' @_hash['os'] = 'os' @_hash['os_version'] = 'os_version' @_hash['manufacture'] = 'manufacture' @_hash['hardware'] = 'hardware' @_hash['firmware'] = 'firmware' @_hash['sdk_version'] = 'sdk_version' @_hash['hostname'] = 'hostname' @_hash['ip'] = 'ip' @_hash['ap_mac'] = 'ap_mac' @_hash['ap_id'] = 'ap_id' @_hash['last_seen'] = 'last_seen' @_hash['uptime'] = 'uptime' @_hash['ssid'] = 'ssid' @_hash['wlan_id'] = 'wlan_id' @_hash['dual_band'] = 'dual_band' @_hash['is_guest'] = 'is_guest' @_hash['key_mgmt'] = 'key_mgmt' @_hash['group'] = 'group' @_hash['band'] = 'band' @_hash['channel'] = 'channel' @_hash['vlan_id'] = 'vlan_id' @_hash['proto'] = 'proto' @_hash['rssi'] = 'rssi' @_hash['snr'] = 'snr' @_hash['idle_time'] = 'idle_time' @_hash['tx_rate'] = 'tx_rate' @_hash['rx_rate'] = 'rx_rate' @_hash['tx_pkts'] = 'tx_pkts' @_hash['rx_pkts'] = 'rx_pkts' @_hash['tx_bytes'] = 'tx_bytes' @_hash['rx_bytes'] = 'rx_bytes' @_hash['tx_retries'] = 'tx_retries' @_hash['rx_retries'] = 'rx_retries' @_hash['tx_bps'] = 'tx_bps' @_hash['rx_bps'] = 'rx_bps' @_hash['psk_id'] = 'psk_id' @_hash['ttl'] = '_ttl' @_hash['id'] = '_id' @_hash['zones'] = 'zones' @_hash['vbeacons'] = 'vbeacons' @_hash['rssizones'] = 'rssizones' @_hash['wxrule_id'] = 'wxrule_id' @_hash['wxrule_usage'] = 'wxrule_usage' @_hash['annotation'] = 'annotation' @_hash end |
.nullables ⇒ Object
An array for nullable fields
319 320 321 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 319 def self.nullables [] end |
.optionals ⇒ Object
An array for optional fields
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 |
# File 'lib/untitled_api/models/api_v1_sites_stats_clients_response3.rb', line 264 def self.optionals %w[ mac site_id assoc_time family model os os_version manufacture hardware firmware sdk_version hostname ip ap_mac ap_id last_seen uptime ssid wlan_id dual_band is_guest key_mgmt group band channel vlan_id proto rssi snr idle_time tx_rate rx_rate tx_pkts rx_pkts tx_bytes rx_bytes tx_retries rx_retries tx_bps rx_bps psk_id ttl id zones vbeacons rssizones wxrule_id wxrule_usage annotation ] end |