Class: UntitledApi::ApiV1ConstInsightMetricsResponse1

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb

Overview

ApiV1ConstInsightMetricsResponse1 Model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#to_hash, #to_json

Constructor Details

#initialize(num_clients = SKIP, bytes = SKIP, rx_bytes = SKIP, tx_bytes = SKIP, rx_mcast = SKIP, rx_bcast = SKIP, rx_pkts = SKIP, tx_mcast = SKIP, tx_bcast = SKIP, tx_pkts = SKIP, bps = SKIP, tx_bps = SKIP, rx_bps = SKIP, tx_retries = SKIP, rx_retries = SKIP, client_rf_metrics = SKIP, num_aps = SKIP, tx_rates = SKIP, rx_rates = SKIP, port_rx_errors = SKIP, port_tx_errors = SKIP, cpu = SKIP, memory = SKIP, spu = SKIP, spu_memory = SKIP, num_sessions = SKIP, num_ips = SKIP, power_draw = SKIP, client_auth_latency = SKIP, client_dhcp_latency = SKIP, dns_latency = SKIP, top_port_by_bytes = SKIP, top_wlan_by_bytes = SKIP, top_wlan_by_num_client = SKIP, top_ap_by_bytes = SKIP, top_ap_by_num_client = SKIP, top_client = SKIP, top_network_by_bytes = SKIP, top_ip = SKIP, top_client_or_ip_by_bytes = SKIP, top_app_by_num_client = SKIP, top_app_by_bytes = SKIP, top_categories_by_bytes = SKIP, top_client_by_threats = SKIP, top_client_by_num_ssids = SKIP, rssi = SKIP, noise = SKIP, sensor = SKIP, band24_util = SKIP, band5_util = SKIP, band6_util = SKIP, channel_util = SKIP, uptime_bar = SKIP, time_to_connect = SKIP, successful_connect = SKIP, client_roam_band5 = SKIP, client_roam_band24 = SKIP, ap_availability = SKIP, client_coverage_band5 = SKIP, client_coverage_band24 = SKIP, client_capacity_band5 = SKIP, client_capacity_band24 = SKIP, ctype_zones = SKIP, ctype_visit = SKIP, ctype_dwell = SKIP, ctype_loyalty = SKIP, worst_sites_by_sle = SKIP, worst_sites_by_sle_filtered = SKIP, sites_sle = SKIP, sites_sle_filtered = SKIP, worst_orgs_by_sle = SKIP, worst_orgs_by_sle_filtered = SKIP, orgs_sle = SKIP, orgs_sle_filtered = SKIP, edge_uptime_bar = SKIP, worst_sites_by_wired_assurance_metrics = SKIP, sites_wa_metrics = SKIP, worst_sites_by_switch_metrics = SKIP, sites_sw_metrics = SKIP, top_switch_by_bytes = SKIP, top_gateway_by_bytes = SKIP, num_clients_by_sites = SKIP, num_mxtunnels = SKIP, activity = SKIP, ap_count = SKIP, network_connection = SKIP, vpn_peer_metrics = SKIP, vpn_peer = SKIP, wan_link_health = SKIP, switch_metrics = SKIP, gateway_metrics = SKIP, lte_rssi = SKIP, call_user_qos = SKIP, call_user_cpu = SKIP, call_user_feedback = SKIP, call_metrics = SKIP, app_bytes = SKIP, top_wan_apps = SKIP) ⇒ ApiV1ConstInsightMetricsResponse1

Returns a new instance of ApiV1ConstInsightMetricsResponse1.



619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 619

def initialize(num_clients = SKIP,
               bytes = SKIP,
               rx_bytes = SKIP,
               tx_bytes = SKIP,
               rx_mcast = SKIP,
               rx_bcast = SKIP,
               rx_pkts = SKIP,
               tx_mcast = SKIP,
               tx_bcast = SKIP,
               tx_pkts = SKIP,
               bps = SKIP,
               tx_bps = SKIP,
               rx_bps = SKIP,
               tx_retries = SKIP,
               rx_retries = SKIP,
               client_rf_metrics = SKIP,
               num_aps = SKIP,
               tx_rates = SKIP,
               rx_rates = SKIP,
               port_rx_errors = SKIP,
               port_tx_errors = SKIP,
               cpu = SKIP,
               memory = SKIP,
               spu = SKIP,
               spu_memory = SKIP,
               num_sessions = SKIP,
               num_ips = SKIP,
               power_draw = SKIP,
               client_auth_latency = SKIP,
               client_dhcp_latency = SKIP,
               dns_latency = SKIP,
               top_port_by_bytes = SKIP,
               top_wlan_by_bytes = SKIP,
               top_wlan_by_num_client = SKIP,
               top_ap_by_bytes = SKIP,
               top_ap_by_num_client = SKIP,
               top_client = SKIP,
               top_network_by_bytes = SKIP,
               top_ip = SKIP,
               top_client_or_ip_by_bytes = SKIP,
               top_app_by_num_client = SKIP,
               top_app_by_bytes = SKIP,
               top_categories_by_bytes = SKIP,
               top_client_by_threats = SKIP,
               top_client_by_num_ssids = SKIP,
               rssi = SKIP,
               noise = SKIP,
               sensor = SKIP,
               band24_util = SKIP,
               band5_util = SKIP,
               band6_util = SKIP,
               channel_util = SKIP,
               uptime_bar = SKIP,
               time_to_connect = SKIP,
               successful_connect = SKIP,
               client_roam_band5 = SKIP,
               client_roam_band24 = SKIP,
               ap_availability = SKIP,
               client_coverage_band5 = SKIP,
               client_coverage_band24 = SKIP,
               client_capacity_band5 = SKIP,
               client_capacity_band24 = SKIP,
               ctype_zones = SKIP,
               ctype_visit = SKIP,
               ctype_dwell = SKIP,
               ctype_loyalty = SKIP,
               worst_sites_by_sle = SKIP,
               worst_sites_by_sle_filtered = SKIP,
               sites_sle = SKIP,
               sites_sle_filtered = SKIP,
               worst_orgs_by_sle = SKIP,
               worst_orgs_by_sle_filtered = SKIP,
               orgs_sle = SKIP,
               orgs_sle_filtered = SKIP,
               edge_uptime_bar = SKIP,
               worst_sites_by_wired_assurance_metrics = SKIP,
               sites_wa_metrics = SKIP,
               worst_sites_by_switch_metrics = SKIP,
               sites_sw_metrics = SKIP,
               top_switch_by_bytes = SKIP,
               top_gateway_by_bytes = SKIP,
               num_clients_by_sites = SKIP,
               num_mxtunnels = SKIP,
               activity = SKIP,
               ap_count = SKIP,
               network_connection = SKIP,
               vpn_peer_metrics = SKIP,
               vpn_peer = SKIP,
               wan_link_health = SKIP,
               switch_metrics = SKIP,
               gateway_metrics = SKIP,
               lte_rssi = SKIP,
               call_user_qos = SKIP,
               call_user_cpu = SKIP,
               call_user_feedback = SKIP,
               call_metrics = SKIP,
               app_bytes = SKIP,
               top_wan_apps = SKIP)
  @num_clients = num_clients unless num_clients == SKIP
  @bytes = bytes unless bytes == SKIP
  @rx_bytes = rx_bytes unless rx_bytes == SKIP
  @tx_bytes = tx_bytes unless tx_bytes == SKIP
  @rx_mcast = rx_mcast unless rx_mcast == SKIP
  @rx_bcast = rx_bcast unless rx_bcast == SKIP
  @rx_pkts = rx_pkts unless rx_pkts == SKIP
  @tx_mcast = tx_mcast unless tx_mcast == SKIP
  @tx_bcast = tx_bcast unless tx_bcast == SKIP
  @tx_pkts = tx_pkts unless tx_pkts == SKIP
  @bps = bps unless bps == SKIP
  @tx_bps = tx_bps unless tx_bps == SKIP
  @rx_bps = rx_bps unless rx_bps == SKIP
  @tx_retries = tx_retries unless tx_retries == SKIP
  @rx_retries = rx_retries unless rx_retries == SKIP
  @client_rf_metrics = client_rf_metrics unless client_rf_metrics == SKIP
  @num_aps = num_aps unless num_aps == SKIP
  @tx_rates = tx_rates unless tx_rates == SKIP
  @rx_rates = rx_rates unless rx_rates == SKIP
  @port_rx_errors = port_rx_errors unless port_rx_errors == SKIP
  @port_tx_errors = port_tx_errors unless port_tx_errors == SKIP
  @cpu = cpu unless cpu == SKIP
  @memory = memory unless memory == SKIP
  @spu = spu unless spu == SKIP
  @spu_memory = spu_memory unless spu_memory == SKIP
  @num_sessions = num_sessions unless num_sessions == SKIP
  @num_ips = num_ips unless num_ips == SKIP
  @power_draw = power_draw unless power_draw == SKIP
  @client_auth_latency = client_auth_latency unless client_auth_latency == SKIP
  @client_dhcp_latency = client_dhcp_latency unless client_dhcp_latency == SKIP
  @dns_latency = dns_latency unless dns_latency == SKIP
  @top_port_by_bytes = top_port_by_bytes unless top_port_by_bytes == SKIP
  @top_wlan_by_bytes = top_wlan_by_bytes unless top_wlan_by_bytes == SKIP
  @top_wlan_by_num_client = top_wlan_by_num_client unless top_wlan_by_num_client == SKIP
  @top_ap_by_bytes = top_ap_by_bytes unless top_ap_by_bytes == SKIP
  @top_ap_by_num_client = top_ap_by_num_client unless top_ap_by_num_client == SKIP
  @top_client = top_client unless top_client == SKIP
  @top_network_by_bytes = top_network_by_bytes unless top_network_by_bytes == SKIP
  @top_ip = top_ip unless top_ip == SKIP
  unless top_client_or_ip_by_bytes == SKIP
    @top_client_or_ip_by_bytes =
      top_client_or_ip_by_bytes
  end
  @top_app_by_num_client = top_app_by_num_client unless top_app_by_num_client == SKIP
  @top_app_by_bytes = top_app_by_bytes unless top_app_by_bytes == SKIP
  @top_categories_by_bytes = top_categories_by_bytes unless top_categories_by_bytes == SKIP
  @top_client_by_threats = top_client_by_threats unless top_client_by_threats == SKIP
  @top_client_by_num_ssids = top_client_by_num_ssids unless top_client_by_num_ssids == SKIP
  @rssi = rssi unless rssi == SKIP
  @noise = noise unless noise == SKIP
  @sensor = sensor unless sensor == SKIP
  @band24_util = band24_util unless band24_util == SKIP
  @band5_util = band5_util unless band5_util == SKIP
  @band6_util = band6_util unless band6_util == SKIP
  @channel_util = channel_util unless channel_util == SKIP
  @uptime_bar = uptime_bar unless uptime_bar == SKIP
  @time_to_connect = time_to_connect unless time_to_connect == SKIP
  @successful_connect = successful_connect unless successful_connect == SKIP
  @client_roam_band5 = client_roam_band5 unless client_roam_band5 == SKIP
  @client_roam_band24 = client_roam_band24 unless client_roam_band24 == SKIP
  @ap_availability = ap_availability unless ap_availability == SKIP
  @client_coverage_band5 = client_coverage_band5 unless client_coverage_band5 == SKIP
  @client_coverage_band24 = client_coverage_band24 unless client_coverage_band24 == SKIP
  @client_capacity_band5 = client_capacity_band5 unless client_capacity_band5 == SKIP
  @client_capacity_band24 = client_capacity_band24 unless client_capacity_band24 == SKIP
  @ctype_zones = ctype_zones unless ctype_zones == SKIP
  @ctype_visit = ctype_visit unless ctype_visit == SKIP
  @ctype_dwell = ctype_dwell unless ctype_dwell == SKIP
  @ctype_loyalty = ctype_loyalty unless ctype_loyalty == SKIP
  @worst_sites_by_sle = worst_sites_by_sle unless worst_sites_by_sle == SKIP
  unless worst_sites_by_sle_filtered == SKIP
    @worst_sites_by_sle_filtered =
      worst_sites_by_sle_filtered
  end
  @sites_sle = sites_sle unless sites_sle == SKIP
  @sites_sle_filtered = sites_sle_filtered unless sites_sle_filtered == SKIP
  @worst_orgs_by_sle = worst_orgs_by_sle unless worst_orgs_by_sle == SKIP
  unless worst_orgs_by_sle_filtered == SKIP
    @worst_orgs_by_sle_filtered =
      worst_orgs_by_sle_filtered
  end
  @orgs_sle = orgs_sle unless orgs_sle == SKIP
  @orgs_sle_filtered = orgs_sle_filtered unless orgs_sle_filtered == SKIP
  @edge_uptime_bar = edge_uptime_bar unless edge_uptime_bar == SKIP
  unless worst_sites_by_wired_assurance_metrics == SKIP
    @worst_sites_by_wired_assurance_metrics =
      worst_sites_by_wired_assurance_metrics
  end
  @sites_wa_metrics = sites_wa_metrics unless sites_wa_metrics == SKIP
  unless worst_sites_by_switch_metrics == SKIP
    @worst_sites_by_switch_metrics =
      worst_sites_by_switch_metrics
  end
  @sites_sw_metrics = sites_sw_metrics unless sites_sw_metrics == SKIP
  @top_switch_by_bytes = top_switch_by_bytes unless top_switch_by_bytes == SKIP
  @top_gateway_by_bytes = top_gateway_by_bytes unless top_gateway_by_bytes == SKIP
  @num_clients_by_sites = num_clients_by_sites unless num_clients_by_sites == SKIP
  @num_mxtunnels = num_mxtunnels unless num_mxtunnels == SKIP
  @activity = activity unless activity == SKIP
  @ap_count = ap_count unless ap_count == SKIP
  @network_connection = network_connection unless network_connection == SKIP
  @vpn_peer_metrics = vpn_peer_metrics unless vpn_peer_metrics == SKIP
  @vpn_peer = vpn_peer unless vpn_peer == SKIP
  @wan_link_health = wan_link_health unless wan_link_health == SKIP
  @switch_metrics = switch_metrics unless switch_metrics == SKIP
  @gateway_metrics = gateway_metrics unless gateway_metrics == SKIP
  @lte_rssi = lte_rssi unless lte_rssi == SKIP
  @call_user_qos = call_user_qos unless call_user_qos == SKIP
  @call_user_cpu = call_user_cpu unless call_user_cpu == SKIP
  @call_user_feedback = call_user_feedback unless call_user_feedback == SKIP
  @call_metrics = call_metrics unless call_metrics == SKIP
  @app_bytes = app_bytes unless app_bytes == SKIP
  @top_wan_apps = top_wan_apps unless top_wan_apps == SKIP
end

Instance Attribute Details

#activityObject

TODO: Write general description for this method

Returns:

  • (Object)


346
347
348
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 346

def activity
  @activity
end

#ap_availabilityObject

TODO: Write general description for this method

Returns:

  • (Object)


242
243
244
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 242

def ap_availability
  @ap_availability
end

#ap_countObject

TODO: Write general description for this method

Returns:

  • (Object)


350
351
352
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 350

def ap_count
  @ap_count
end

#app_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


398
399
400
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 398

def app_bytes
  @app_bytes
end

#band24_utilObject

TODO: Write general description for this method

Returns:

  • (Object)


206
207
208
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 206

def band24_util
  @band24_util
end

#band5_utilObject

TODO: Write general description for this method

Returns:

  • (Object)


210
211
212
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 210

def band5_util
  @band5_util
end

#band6_utilObject

TODO: Write general description for this method

Returns:

  • (Object)


214
215
216
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 214

def band6_util
  @band6_util
end

#bpsObject

TODO: Write general description for this method

Returns:

  • (Object)


54
55
56
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 54

def bps
  @bps
end

#bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


18
19
20
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 18

def bytes
  @bytes
end

#call_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


394
395
396
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 394

def call_metrics
  @call_metrics
end

#call_user_cpuObject

TODO: Write general description for this method

Returns:

  • (Object)


386
387
388
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 386

def call_user_cpu
  @call_user_cpu
end

#call_user_feedbackObject

TODO: Write general description for this method

Returns:

  • (Object)


390
391
392
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 390

def call_user_feedback
  @call_user_feedback
end

#call_user_qosObject

TODO: Write general description for this method

Returns:

  • (Object)


382
383
384
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 382

def call_user_qos
  @call_user_qos
end

#channel_utilObject

TODO: Write general description for this method

Returns:

  • (Object)


218
219
220
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 218

def channel_util
  @channel_util
end

#client_auth_latencyObject

TODO: Write general description for this method

Returns:

  • (Object)


126
127
128
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 126

def client_auth_latency
  @client_auth_latency
end

#client_capacity_band24Object

TODO: Write general description for this method

Returns:

  • (Object)


258
259
260
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 258

def client_capacity_band24
  @client_capacity_band24
end

#client_capacity_band5Object

TODO: Write general description for this method

Returns:

  • (Object)


254
255
256
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 254

def client_capacity_band5
  @client_capacity_band5
end

#client_coverage_band24Object

TODO: Write general description for this method

Returns:

  • (Object)


250
251
252
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 250

def client_coverage_band24
  @client_coverage_band24
end

#client_coverage_band5Object

TODO: Write general description for this method

Returns:

  • (Object)


246
247
248
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 246

def client_coverage_band5
  @client_coverage_band5
end

#client_dhcp_latencyObject

TODO: Write general description for this method

Returns:

  • (Object)


130
131
132
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 130

def client_dhcp_latency
  @client_dhcp_latency
end

#client_rf_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


74
75
76
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 74

def client_rf_metrics
  @client_rf_metrics
end

#client_roam_band24Object

TODO: Write general description for this method

Returns:

  • (Object)


238
239
240
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 238

def client_roam_band24
  @client_roam_band24
end

#client_roam_band5Object

TODO: Write general description for this method

Returns:

  • (Object)


234
235
236
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 234

def client_roam_band5
  @client_roam_band5
end

#cpuObject

TODO: Write general description for this method

Returns:

  • (Object)


98
99
100
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 98

def cpu
  @cpu
end

#ctype_dwellObject

TODO: Write general description for this method

Returns:

  • (Object)


270
271
272
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 270

def ctype_dwell
  @ctype_dwell
end

#ctype_loyaltyObject

TODO: Write general description for this method

Returns:

  • (Object)


274
275
276
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 274

def ctype_loyalty
  @ctype_loyalty
end

#ctype_visitObject

TODO: Write general description for this method

Returns:

  • (Object)


266
267
268
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 266

def ctype_visit
  @ctype_visit
end

#ctype_zonesObject

TODO: Write general description for this method

Returns:

  • (Object)


262
263
264
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 262

def ctype_zones
  @ctype_zones
end

#dns_latencyObject

TODO: Write general description for this method

Returns:

  • (Object)


134
135
136
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 134

def dns_latency
  @dns_latency
end

#edge_uptime_barObject

TODO: Write general description for this method

Returns:

  • (Object)


310
311
312
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 310

def edge_uptime_bar
  @edge_uptime_bar
end

#gateway_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


374
375
376
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 374

def gateway_metrics
  @gateway_metrics
end

#lte_rssiObject

TODO: Write general description for this method

Returns:

  • (Object)


378
379
380
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 378

def lte_rssi
  @lte_rssi
end

#memoryObject

TODO: Write general description for this method

Returns:

  • (Object)


102
103
104
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 102

def memory
  @memory
end

#network_connectionObject

TODO: Write general description for this method

Returns:

  • (Object)


354
355
356
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 354

def network_connection
  @network_connection
end

#noiseObject

TODO: Write general description for this method

Returns:

  • (Object)


198
199
200
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 198

def noise
  @noise
end

#num_apsObject

TODO: Write general description for this method

Returns:

  • (Object)


78
79
80
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 78

def num_aps
  @num_aps
end

#num_clientsObject

TODO: Write general description for this method

Returns:

  • (Object)


14
15
16
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 14

def num_clients
  @num_clients
end

#num_clients_by_sitesObject

TODO: Write general description for this method

Returns:

  • (Object)


338
339
340
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 338

def num_clients_by_sites
  @num_clients_by_sites
end

#num_ipsObject

TODO: Write general description for this method

Returns:

  • (Object)


118
119
120
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 118

def num_ips
  @num_ips
end

#num_mxtunnelsObject

TODO: Write general description for this method

Returns:

  • (Object)


342
343
344
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 342

def num_mxtunnels
  @num_mxtunnels
end

#num_sessionsObject

TODO: Write general description for this method

Returns:

  • (Object)


114
115
116
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 114

def num_sessions
  @num_sessions
end

#orgs_sleObject

TODO: Write general description for this method

Returns:

  • (Object)


302
303
304
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 302

def orgs_sle
  @orgs_sle
end

#orgs_sle_filteredObject

TODO: Write general description for this method

Returns:

  • (Object)


306
307
308
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 306

def orgs_sle_filtered
  @orgs_sle_filtered
end

#port_rx_errorsObject

TODO: Write general description for this method

Returns:

  • (Object)


90
91
92
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 90

def port_rx_errors
  @port_rx_errors
end

#port_tx_errorsObject

TODO: Write general description for this method

Returns:

  • (Object)


94
95
96
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 94

def port_tx_errors
  @port_tx_errors
end

#power_drawObject

TODO: Write general description for this method

Returns:

  • (Object)


122
123
124
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 122

def power_draw
  @power_draw
end

#rssiObject

TODO: Write general description for this method

Returns:

  • (Object)


194
195
196
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 194

def rssi
  @rssi
end

#rx_bcastObject

TODO: Write general description for this method

Returns:

  • (Object)


34
35
36
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 34

def rx_bcast
  @rx_bcast
end

#rx_bpsObject

TODO: Write general description for this method

Returns:

  • (Object)


62
63
64
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 62

def rx_bps
  @rx_bps
end

#rx_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


22
23
24
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 22

def rx_bytes
  @rx_bytes
end

#rx_mcastObject

TODO: Write general description for this method

Returns:

  • (Object)


30
31
32
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 30

def rx_mcast
  @rx_mcast
end

#rx_pktsObject

TODO: Write general description for this method

Returns:

  • (Object)


38
39
40
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 38

def rx_pkts
  @rx_pkts
end

#rx_ratesObject

TODO: Write general description for this method

Returns:

  • (Object)


86
87
88
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 86

def rx_rates
  @rx_rates
end

#rx_retriesObject

TODO: Write general description for this method

Returns:

  • (Object)


70
71
72
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 70

def rx_retries
  @rx_retries
end

#sensorObject

TODO: Write general description for this method

Returns:

  • (Object)


202
203
204
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 202

def sensor
  @sensor
end

#sites_sleObject

TODO: Write general description for this method

Returns:

  • (Object)


286
287
288
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 286

def sites_sle
  @sites_sle
end

#sites_sle_filteredObject

TODO: Write general description for this method

Returns:

  • (Object)


290
291
292
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 290

def sites_sle_filtered
  @sites_sle_filtered
end

#sites_sw_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


326
327
328
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 326

def sites_sw_metrics
  @sites_sw_metrics
end

#sites_wa_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


318
319
320
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 318

def sites_wa_metrics
  @sites_wa_metrics
end

#spuObject

TODO: Write general description for this method

Returns:

  • (Object)


106
107
108
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 106

def spu
  @spu
end

#spu_memoryObject

TODO: Write general description for this method

Returns:

  • (Object)


110
111
112
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 110

def spu_memory
  @spu_memory
end

#successful_connectObject

TODO: Write general description for this method

Returns:

  • (Object)


230
231
232
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 230

def successful_connect
  @successful_connect
end

#switch_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


370
371
372
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 370

def switch_metrics
  @switch_metrics
end

#time_to_connectObject

TODO: Write general description for this method

Returns:

  • (Object)


226
227
228
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 226

def time_to_connect
  @time_to_connect
end

#top_ap_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


150
151
152
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 150

def top_ap_by_bytes
  @top_ap_by_bytes
end

#top_ap_by_num_clientObject

TODO: Write general description for this method

Returns:

  • (Object)


154
155
156
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 154

def top_ap_by_num_client
  @top_ap_by_num_client
end

#top_app_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


178
179
180
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 178

def top_app_by_bytes
  @top_app_by_bytes
end

#top_app_by_num_clientObject

TODO: Write general description for this method

Returns:

  • (Object)


174
175
176
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 174

def top_app_by_num_client
  @top_app_by_num_client
end

#top_categories_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


182
183
184
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 182

def top_categories_by_bytes
  @top_categories_by_bytes
end

#top_clientObject

TODO: Write general description for this method

Returns:

  • (Object)


158
159
160
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 158

def top_client
  @top_client
end

#top_client_by_num_ssidsObject

TODO: Write general description for this method

Returns:

  • (Object)


190
191
192
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 190

def top_client_by_num_ssids
  @top_client_by_num_ssids
end

#top_client_by_threatsObject

TODO: Write general description for this method

Returns:

  • (Object)


186
187
188
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 186

def top_client_by_threats
  @top_client_by_threats
end

#top_client_or_ip_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


170
171
172
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 170

def top_client_or_ip_by_bytes
  @top_client_or_ip_by_bytes
end

#top_gateway_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


334
335
336
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 334

def top_gateway_by_bytes
  @top_gateway_by_bytes
end

#top_ipObject

TODO: Write general description for this method

Returns:

  • (Object)


166
167
168
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 166

def top_ip
  @top_ip
end

#top_network_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


162
163
164
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 162

def top_network_by_bytes
  @top_network_by_bytes
end

#top_port_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


138
139
140
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 138

def top_port_by_bytes
  @top_port_by_bytes
end

#top_switch_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


330
331
332
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 330

def top_switch_by_bytes
  @top_switch_by_bytes
end

#top_wan_appsObject

TODO: Write general description for this method

Returns:

  • (Object)


402
403
404
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 402

def top_wan_apps
  @top_wan_apps
end

#top_wlan_by_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


142
143
144
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 142

def top_wlan_by_bytes
  @top_wlan_by_bytes
end

#top_wlan_by_num_clientObject

TODO: Write general description for this method

Returns:

  • (Object)


146
147
148
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 146

def top_wlan_by_num_client
  @top_wlan_by_num_client
end

#tx_bcastObject

TODO: Write general description for this method

Returns:

  • (Object)


46
47
48
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 46

def tx_bcast
  @tx_bcast
end

#tx_bpsObject

TODO: Write general description for this method

Returns:

  • (Object)


58
59
60
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 58

def tx_bps
  @tx_bps
end

#tx_bytesObject

TODO: Write general description for this method

Returns:

  • (Object)


26
27
28
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 26

def tx_bytes
  @tx_bytes
end

#tx_mcastObject

TODO: Write general description for this method

Returns:

  • (Object)


42
43
44
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 42

def tx_mcast
  @tx_mcast
end

#tx_pktsObject

TODO: Write general description for this method

Returns:

  • (Object)


50
51
52
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 50

def tx_pkts
  @tx_pkts
end

#tx_ratesObject

TODO: Write general description for this method

Returns:

  • (Object)


82
83
84
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 82

def tx_rates
  @tx_rates
end

#tx_retriesObject

TODO: Write general description for this method

Returns:

  • (Object)


66
67
68
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 66

def tx_retries
  @tx_retries
end

#uptime_barObject

TODO: Write general description for this method

Returns:

  • (Object)


222
223
224
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 222

def uptime_bar
  @uptime_bar
end

#vpn_peerObject

TODO: Write general description for this method

Returns:

  • (Object)


362
363
364
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 362

def vpn_peer
  @vpn_peer
end

#vpn_peer_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


358
359
360
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 358

def vpn_peer_metrics
  @vpn_peer_metrics
end

TODO: Write general description for this method

Returns:

  • (Object)


366
367
368
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 366

def wan_link_health
  @wan_link_health
end

#worst_orgs_by_sleObject

TODO: Write general description for this method

Returns:

  • (Object)


294
295
296
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 294

def worst_orgs_by_sle
  @worst_orgs_by_sle
end

#worst_orgs_by_sle_filteredObject

TODO: Write general description for this method

Returns:

  • (Object)


298
299
300
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 298

def worst_orgs_by_sle_filtered
  @worst_orgs_by_sle_filtered
end

#worst_sites_by_sleObject

TODO: Write general description for this method

Returns:

  • (Object)


278
279
280
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 278

def worst_sites_by_sle
  @worst_sites_by_sle
end

#worst_sites_by_sle_filteredObject

TODO: Write general description for this method

Returns:

  • (Object)


282
283
284
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 282

def worst_sites_by_sle_filtered
  @worst_sites_by_sle_filtered
end

#worst_sites_by_switch_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


322
323
324
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 322

def worst_sites_by_switch_metrics
  @worst_sites_by_switch_metrics
end

#worst_sites_by_wired_assurance_metricsObject

TODO: Write general description for this method

Returns:

  • (Object)


314
315
316
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 314

def worst_sites_by_wired_assurance_metrics
  @worst_sites_by_wired_assurance_metrics
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 833

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
  num_clients = hash.key?('num_clients') ? hash['num_clients'] : SKIP
  bytes = hash.key?('bytes') ? hash['bytes'] : SKIP
  rx_bytes = hash.key?('rx_bytes') ? hash['rx_bytes'] : SKIP
  tx_bytes = hash.key?('tx_bytes') ? hash['tx_bytes'] : SKIP
  rx_mcast = hash.key?('rx_mcast') ? hash['rx_mcast'] : SKIP
  rx_bcast = hash.key?('rx_bcast') ? hash['rx_bcast'] : SKIP
  rx_pkts = hash.key?('rx_pkts') ? hash['rx_pkts'] : SKIP
  tx_mcast = hash.key?('tx_mcast') ? hash['tx_mcast'] : SKIP
  tx_bcast = hash.key?('tx_bcast') ? hash['tx_bcast'] : SKIP
  tx_pkts = hash.key?('tx_pkts') ? hash['tx_pkts'] : SKIP
  bps = hash.key?('bps') ? hash['bps'] : SKIP
  tx_bps = hash.key?('tx_bps') ? hash['tx_bps'] : SKIP
  rx_bps = hash.key?('rx_bps') ? hash['rx_bps'] : SKIP
  tx_retries = hash.key?('tx_retries') ? hash['tx_retries'] : SKIP
  rx_retries = hash.key?('rx_retries') ? hash['rx_retries'] : SKIP
  client_rf_metrics =
    hash.key?('client-rf-metrics') ? hash['client-rf-metrics'] : SKIP
  num_aps = hash.key?('num_aps') ? hash['num_aps'] : SKIP
  tx_rates = hash.key?('tx_rates') ? hash['tx_rates'] : SKIP
  rx_rates = hash.key?('rx_rates') ? hash['rx_rates'] : SKIP
  port_rx_errors =
    hash.key?('port_rx_errors') ? hash['port_rx_errors'] : SKIP
  port_tx_errors =
    hash.key?('port_tx_errors') ? hash['port_tx_errors'] : SKIP
  cpu = hash.key?('cpu') ? hash['cpu'] : SKIP
  memory = hash.key?('memory') ? hash['memory'] : SKIP
  spu = hash.key?('spu') ? hash['spu'] : SKIP
  spu_memory = hash.key?('spu_memory') ? hash['spu_memory'] : SKIP
  num_sessions = hash.key?('num_sessions') ? hash['num_sessions'] : SKIP
  num_ips = hash.key?('num_ips') ? hash['num_ips'] : SKIP
  power_draw = hash.key?('power_draw') ? hash['power_draw'] : SKIP
  client_auth_latency =
    hash.key?('client-auth-latency') ? hash['client-auth-latency'] : SKIP
  client_dhcp_latency =
    hash.key?('client-dhcp-latency') ? hash['client-dhcp-latency'] : SKIP
  dns_latency = hash.key?('dns-latency') ? hash['dns-latency'] : SKIP
  top_port_by_bytes =
    hash.key?('top-port-by-bytes') ? hash['top-port-by-bytes'] : SKIP
  top_wlan_by_bytes =
    hash.key?('top-wlan-by-bytes') ? hash['top-wlan-by-bytes'] : SKIP
  top_wlan_by_num_client =
    hash.key?('top-wlan-by-num_client') ? hash['top-wlan-by-num_client'] : SKIP
  top_ap_by_bytes =
    hash.key?('top-ap-by-bytes') ? hash['top-ap-by-bytes'] : SKIP
  top_ap_by_num_client =
    hash.key?('top-ap-by-num_client') ? hash['top-ap-by-num_client'] : SKIP
  top_client = hash.key?('top-client') ? hash['top-client'] : SKIP
  top_network_by_bytes =
    hash.key?('top-network-by-bytes') ? hash['top-network-by-bytes'] : SKIP
  top_ip = hash.key?('top-ip') ? hash['top-ip'] : SKIP
  top_client_or_ip_by_bytes =
    hash.key?('top-client_or_ip-by-bytes') ? hash['top-client_or_ip-by-bytes'] : SKIP
  top_app_by_num_client =
    hash.key?('top-app-by-num_client') ? hash['top-app-by-num_client'] : SKIP
  top_app_by_bytes =
    hash.key?('top-app-by-bytes') ? hash['top-app-by-bytes'] : SKIP
  top_categories_by_bytes =
    hash.key?('top-categories-by-bytes') ? hash['top-categories-by-bytes'] : SKIP
  top_client_by_threats =
    hash.key?('top-client-by-threats') ? hash['top-client-by-threats'] : SKIP
  top_client_by_num_ssids =
    hash.key?('top-client-by-num_ssids') ? hash['top-client-by-num_ssids'] : SKIP
  rssi = hash.key?('rssi') ? hash['rssi'] : SKIP
  noise = hash.key?('noise') ? hash['noise'] : SKIP
  sensor = hash.key?('sensor') ? hash['sensor'] : SKIP
  band24_util = hash.key?('band24-util') ? hash['band24-util'] : SKIP
  band5_util = hash.key?('band5-util') ? hash['band5-util'] : SKIP
  band6_util = hash.key?('band6-util') ? hash['band6-util'] : SKIP
  channel_util = hash.key?('channel-util') ? hash['channel-util'] : SKIP
  uptime_bar = hash.key?('uptime-bar') ? hash['uptime-bar'] : SKIP
  time_to_connect =
    hash.key?('time-to-connect') ? hash['time-to-connect'] : SKIP
  successful_connect =
    hash.key?('successful-connect') ? hash['successful-connect'] : SKIP
  client_roam_band5 =
    hash.key?('client-roam-band5') ? hash['client-roam-band5'] : SKIP
  client_roam_band24 =
    hash.key?('client-roam-band24') ? hash['client-roam-band24'] : SKIP
  ap_availability =
    hash.key?('ap-availability') ? hash['ap-availability'] : SKIP
  client_coverage_band5 =
    hash.key?('client-coverage-band5') ? hash['client-coverage-band5'] : SKIP
  client_coverage_band24 =
    hash.key?('client-coverage-band24') ? hash['client-coverage-band24'] : SKIP
  client_capacity_band5 =
    hash.key?('client-capacity-band5') ? hash['client-capacity-band5'] : SKIP
  client_capacity_band24 =
    hash.key?('client-capacity-band24') ? hash['client-capacity-band24'] : SKIP
  ctype_zones = hash.key?('{ctype}-zones') ? hash['{ctype}-zones'] : SKIP
  ctype_visit = hash.key?('{ctype}-visit') ? hash['{ctype}-visit'] : SKIP
  ctype_dwell = hash.key?('{ctype}-dwell') ? hash['{ctype}-dwell'] : SKIP
  ctype_loyalty =
    hash.key?('{ctype}-loyalty') ? hash['{ctype}-loyalty'] : SKIP
  worst_sites_by_sle =
    hash.key?('worst-sites-by-sle') ? hash['worst-sites-by-sle'] : SKIP
  worst_sites_by_sle_filtered =
    hash.key?('worst-sites-by-sle-filtered') ? hash['worst-sites-by-sle-filtered'] : SKIP
  sites_sle = hash.key?('sites-sle') ? hash['sites-sle'] : SKIP
  sites_sle_filtered =
    hash.key?('sites-sle-filtered') ? hash['sites-sle-filtered'] : SKIP
  worst_orgs_by_sle =
    hash.key?('worst-orgs-by-sle') ? hash['worst-orgs-by-sle'] : SKIP
  worst_orgs_by_sle_filtered =
    hash.key?('worst-orgs-by-sle-filtered') ? hash['worst-orgs-by-sle-filtered'] : SKIP
  orgs_sle = hash.key?('orgs-sle') ? hash['orgs-sle'] : SKIP
  orgs_sle_filtered =
    hash.key?('orgs-sle-filtered') ? hash['orgs-sle-filtered'] : SKIP
  edge_uptime_bar =
    hash.key?('edge-uptime-bar') ? hash['edge-uptime-bar'] : SKIP
  worst_sites_by_wired_assurance_metrics =
    hash.key?('worst-sites-by-wired-assurance-metrics') ? hash['worst-sites-by-wired-assurance-metrics'] : SKIP
  sites_wa_metrics =
    hash.key?('sites-wa-metrics') ? hash['sites-wa-metrics'] : SKIP
  worst_sites_by_switch_metrics =
    hash.key?('worst-sites-by-switch-metrics') ? hash['worst-sites-by-switch-metrics'] : SKIP
  sites_sw_metrics =
    hash.key?('sites-sw-metrics') ? hash['sites-sw-metrics'] : SKIP
  top_switch_by_bytes =
    hash.key?('top-switch-by-bytes') ? hash['top-switch-by-bytes'] : SKIP
  top_gateway_by_bytes =
    hash.key?('top-gateway-by-bytes') ? hash['top-gateway-by-bytes'] : SKIP
  num_clients_by_sites =
    hash.key?('num_clients-by-sites') ? hash['num_clients-by-sites'] : SKIP
  num_mxtunnels = hash.key?('num_mxtunnels') ? hash['num_mxtunnels'] : SKIP
  activity = hash.key?('activity') ? hash['activity'] : SKIP
  ap_count = hash.key?('ap-count') ? hash['ap-count'] : SKIP
  network_connection =
    hash.key?('network_connection') ? hash['network_connection'] : SKIP
  vpn_peer_metrics =
    hash.key?('vpn_peer-metrics') ? hash['vpn_peer-metrics'] : SKIP
  vpn_peer = hash.key?('vpn_peer') ? hash['vpn_peer'] : SKIP
  wan_link_health =
    hash.key?('wan_link_health') ? hash['wan_link_health'] : SKIP
  switch_metrics =
    hash.key?('switch-metrics') ? hash['switch-metrics'] : SKIP
  gateway_metrics =
    hash.key?('gateway-metrics') ? hash['gateway-metrics'] : SKIP
  lte_rssi = hash.key?('lte_rssi') ? hash['lte_rssi'] : SKIP
  call_user_qos = hash.key?('call-user_qos') ? hash['call-user_qos'] : SKIP
  call_user_cpu = hash.key?('call-user_cpu') ? hash['call-user_cpu'] : SKIP
  call_user_feedback =
    hash.key?('call-user_feedback') ? hash['call-user_feedback'] : SKIP
  call_metrics = hash.key?('call-metrics') ? hash['call-metrics'] : SKIP
  app_bytes = hash.key?('app-bytes') ? hash['app-bytes'] : SKIP
  top_wan_apps = hash.key?('top-wan-apps') ? hash['top-wan-apps'] : SKIP

  # Create object from extracted values.
  ApiV1ConstInsightMetricsResponse1.new(num_clients,
                                        bytes,
                                        rx_bytes,
                                        tx_bytes,
                                        rx_mcast,
                                        rx_bcast,
                                        rx_pkts,
                                        tx_mcast,
                                        tx_bcast,
                                        tx_pkts,
                                        bps,
                                        tx_bps,
                                        rx_bps,
                                        tx_retries,
                                        rx_retries,
                                        client_rf_metrics,
                                        num_aps,
                                        tx_rates,
                                        rx_rates,
                                        port_rx_errors,
                                        port_tx_errors,
                                        cpu,
                                        memory,
                                        spu,
                                        spu_memory,
                                        num_sessions,
                                        num_ips,
                                        power_draw,
                                        client_auth_latency,
                                        client_dhcp_latency,
                                        dns_latency,
                                        top_port_by_bytes,
                                        top_wlan_by_bytes,
                                        top_wlan_by_num_client,
                                        top_ap_by_bytes,
                                        top_ap_by_num_client,
                                        top_client,
                                        top_network_by_bytes,
                                        top_ip,
                                        top_client_or_ip_by_bytes,
                                        top_app_by_num_client,
                                        top_app_by_bytes,
                                        top_categories_by_bytes,
                                        top_client_by_threats,
                                        top_client_by_num_ssids,
                                        rssi,
                                        noise,
                                        sensor,
                                        band24_util,
                                        band5_util,
                                        band6_util,
                                        channel_util,
                                        uptime_bar,
                                        time_to_connect,
                                        successful_connect,
                                        client_roam_band5,
                                        client_roam_band24,
                                        ap_availability,
                                        client_coverage_band5,
                                        client_coverage_band24,
                                        client_capacity_band5,
                                        client_capacity_band24,
                                        ctype_zones,
                                        ctype_visit,
                                        ctype_dwell,
                                        ctype_loyalty,
                                        worst_sites_by_sle,
                                        worst_sites_by_sle_filtered,
                                        sites_sle,
                                        sites_sle_filtered,
                                        worst_orgs_by_sle,
                                        worst_orgs_by_sle_filtered,
                                        orgs_sle,
                                        orgs_sle_filtered,
                                        edge_uptime_bar,
                                        worst_sites_by_wired_assurance_metrics,
                                        sites_wa_metrics,
                                        worst_sites_by_switch_metrics,
                                        sites_sw_metrics,
                                        top_switch_by_bytes,
                                        top_gateway_by_bytes,
                                        num_clients_by_sites,
                                        num_mxtunnels,
                                        activity,
                                        ap_count,
                                        network_connection,
                                        vpn_peer_metrics,
                                        vpn_peer,
                                        wan_link_health,
                                        switch_metrics,
                                        gateway_metrics,
                                        lte_rssi,
                                        call_user_qos,
                                        call_user_cpu,
                                        call_user_feedback,
                                        call_metrics,
                                        app_bytes,
                                        top_wan_apps)
end

.namesObject

A mapping from model property names to API property names.



405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
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
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 405

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['num_clients'] = 'num_clients'
  @_hash['bytes'] = 'bytes'
  @_hash['rx_bytes'] = 'rx_bytes'
  @_hash['tx_bytes'] = 'tx_bytes'
  @_hash['rx_mcast'] = 'rx_mcast'
  @_hash['rx_bcast'] = 'rx_bcast'
  @_hash['rx_pkts'] = 'rx_pkts'
  @_hash['tx_mcast'] = 'tx_mcast'
  @_hash['tx_bcast'] = 'tx_bcast'
  @_hash['tx_pkts'] = 'tx_pkts'
  @_hash['bps'] = 'bps'
  @_hash['tx_bps'] = 'tx_bps'
  @_hash['rx_bps'] = 'rx_bps'
  @_hash['tx_retries'] = 'tx_retries'
  @_hash['rx_retries'] = 'rx_retries'
  @_hash['client_rf_metrics'] = 'client-rf-metrics'
  @_hash['num_aps'] = 'num_aps'
  @_hash['tx_rates'] = 'tx_rates'
  @_hash['rx_rates'] = 'rx_rates'
  @_hash['port_rx_errors'] = 'port_rx_errors'
  @_hash['port_tx_errors'] = 'port_tx_errors'
  @_hash['cpu'] = 'cpu'
  @_hash['memory'] = 'memory'
  @_hash['spu'] = 'spu'
  @_hash['spu_memory'] = 'spu_memory'
  @_hash['num_sessions'] = 'num_sessions'
  @_hash['num_ips'] = 'num_ips'
  @_hash['power_draw'] = 'power_draw'
  @_hash['client_auth_latency'] = 'client-auth-latency'
  @_hash['client_dhcp_latency'] = 'client-dhcp-latency'
  @_hash['dns_latency'] = 'dns-latency'
  @_hash['top_port_by_bytes'] = 'top-port-by-bytes'
  @_hash['top_wlan_by_bytes'] = 'top-wlan-by-bytes'
  @_hash['top_wlan_by_num_client'] = 'top-wlan-by-num_client'
  @_hash['top_ap_by_bytes'] = 'top-ap-by-bytes'
  @_hash['top_ap_by_num_client'] = 'top-ap-by-num_client'
  @_hash['top_client'] = 'top-client'
  @_hash['top_network_by_bytes'] = 'top-network-by-bytes'
  @_hash['top_ip'] = 'top-ip'
  @_hash['top_client_or_ip_by_bytes'] = 'top-client_or_ip-by-bytes'
  @_hash['top_app_by_num_client'] = 'top-app-by-num_client'
  @_hash['top_app_by_bytes'] = 'top-app-by-bytes'
  @_hash['top_categories_by_bytes'] = 'top-categories-by-bytes'
  @_hash['top_client_by_threats'] = 'top-client-by-threats'
  @_hash['top_client_by_num_ssids'] = 'top-client-by-num_ssids'
  @_hash['rssi'] = 'rssi'
  @_hash['noise'] = 'noise'
  @_hash['sensor'] = 'sensor'
  @_hash['band24_util'] = 'band24-util'
  @_hash['band5_util'] = 'band5-util'
  @_hash['band6_util'] = 'band6-util'
  @_hash['channel_util'] = 'channel-util'
  @_hash['uptime_bar'] = 'uptime-bar'
  @_hash['time_to_connect'] = 'time-to-connect'
  @_hash['successful_connect'] = 'successful-connect'
  @_hash['client_roam_band5'] = 'client-roam-band5'
  @_hash['client_roam_band24'] = 'client-roam-band24'
  @_hash['ap_availability'] = 'ap-availability'
  @_hash['client_coverage_band5'] = 'client-coverage-band5'
  @_hash['client_coverage_band24'] = 'client-coverage-band24'
  @_hash['client_capacity_band5'] = 'client-capacity-band5'
  @_hash['client_capacity_band24'] = 'client-capacity-band24'
  @_hash['ctype_zones'] = '{ctype}-zones'
  @_hash['ctype_visit'] = '{ctype}-visit'
  @_hash['ctype_dwell'] = '{ctype}-dwell'
  @_hash['ctype_loyalty'] = '{ctype}-loyalty'
  @_hash['worst_sites_by_sle'] = 'worst-sites-by-sle'
  @_hash['worst_sites_by_sle_filtered'] = 'worst-sites-by-sle-filtered'
  @_hash['sites_sle'] = 'sites-sle'
  @_hash['sites_sle_filtered'] = 'sites-sle-filtered'
  @_hash['worst_orgs_by_sle'] = 'worst-orgs-by-sle'
  @_hash['worst_orgs_by_sle_filtered'] = 'worst-orgs-by-sle-filtered'
  @_hash['orgs_sle'] = 'orgs-sle'
  @_hash['orgs_sle_filtered'] = 'orgs-sle-filtered'
  @_hash['edge_uptime_bar'] = 'edge-uptime-bar'
  @_hash['worst_sites_by_wired_assurance_metrics'] =
    'worst-sites-by-wired-assurance-metrics'
  @_hash['sites_wa_metrics'] = 'sites-wa-metrics'
  @_hash['worst_sites_by_switch_metrics'] =
    'worst-sites-by-switch-metrics'
  @_hash['sites_sw_metrics'] = 'sites-sw-metrics'
  @_hash['top_switch_by_bytes'] = 'top-switch-by-bytes'
  @_hash['top_gateway_by_bytes'] = 'top-gateway-by-bytes'
  @_hash['num_clients_by_sites'] = 'num_clients-by-sites'
  @_hash['num_mxtunnels'] = 'num_mxtunnels'
  @_hash['activity'] = 'activity'
  @_hash['ap_count'] = 'ap-count'
  @_hash['network_connection'] = 'network_connection'
  @_hash['vpn_peer_metrics'] = 'vpn_peer-metrics'
  @_hash['vpn_peer'] = 'vpn_peer'
  @_hash['wan_link_health'] = 'wan_link_health'
  @_hash['switch_metrics'] = 'switch-metrics'
  @_hash['gateway_metrics'] = 'gateway-metrics'
  @_hash['lte_rssi'] = 'lte_rssi'
  @_hash['call_user_qos'] = 'call-user_qos'
  @_hash['call_user_cpu'] = 'call-user_cpu'
  @_hash['call_user_feedback'] = 'call-user_feedback'
  @_hash['call_metrics'] = 'call-metrics'
  @_hash['app_bytes'] = 'app-bytes'
  @_hash['top_wan_apps'] = 'top-wan-apps'
  @_hash
end

.nullablesObject

An array for nullable fields



615
616
617
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 615

def self.nullables
  []
end

.optionalsObject

An array for optional fields



511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
# File 'lib/untitled_api/models/api_v1_const_insight_metrics_response1.rb', line 511

def self.optionals
  %w[
    num_clients
    bytes
    rx_bytes
    tx_bytes
    rx_mcast
    rx_bcast
    rx_pkts
    tx_mcast
    tx_bcast
    tx_pkts
    bps
    tx_bps
    rx_bps
    tx_retries
    rx_retries
    client_rf_metrics
    num_aps
    tx_rates
    rx_rates
    port_rx_errors
    port_tx_errors
    cpu
    memory
    spu
    spu_memory
    num_sessions
    num_ips
    power_draw
    client_auth_latency
    client_dhcp_latency
    dns_latency
    top_port_by_bytes
    top_wlan_by_bytes
    top_wlan_by_num_client
    top_ap_by_bytes
    top_ap_by_num_client
    top_client
    top_network_by_bytes
    top_ip
    top_client_or_ip_by_bytes
    top_app_by_num_client
    top_app_by_bytes
    top_categories_by_bytes
    top_client_by_threats
    top_client_by_num_ssids
    rssi
    noise
    sensor
    band24_util
    band5_util
    band6_util
    channel_util
    uptime_bar
    time_to_connect
    successful_connect
    client_roam_band5
    client_roam_band24
    ap_availability
    client_coverage_band5
    client_coverage_band24
    client_capacity_band5
    client_capacity_band24
    ctype_zones
    ctype_visit
    ctype_dwell
    ctype_loyalty
    worst_sites_by_sle
    worst_sites_by_sle_filtered
    sites_sle
    sites_sle_filtered
    worst_orgs_by_sle
    worst_orgs_by_sle_filtered
    orgs_sle
    orgs_sle_filtered
    edge_uptime_bar
    worst_sites_by_wired_assurance_metrics
    sites_wa_metrics
    worst_sites_by_switch_metrics
    sites_sw_metrics
    top_switch_by_bytes
    top_gateway_by_bytes
    num_clients_by_sites
    num_mxtunnels
    activity
    ap_count
    network_connection
    vpn_peer_metrics
    vpn_peer
    wan_link_health
    switch_metrics
    gateway_metrics
    lte_rssi
    call_user_qos
    call_user_cpu
    call_user_feedback
    call_metrics
    app_bytes
    top_wan_apps
  ]
end