-
Notifications
You must be signed in to change notification settings - Fork 0
/
sci_wirelessclientsreport.go
1341 lines (1167 loc) · 47.1 KB
/
sci_wirelessclientsreport.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
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
262
263
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
317
318
319
320
321
322
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
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
509
510
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
613
614
615
616
617
618
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
831
832
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
package bigdog
// API Version: 1.0.0
import (
"context"
"encoding/json"
"net/http"
"time"
)
type SCIWirelessClientsReportService struct {
apiClient *SCIClient
}
func NewSCIWirelessClientsReportService(c *SCIClient) *SCIWirelessClientsReportService {
s := new(SCIWirelessClientsReportService)
s.apiClient = c
return s
}
func (ss *SCIService) SCIWirelessClientsReportService() *SCIWirelessClientsReportService {
return NewSCIWirelessClientsReportService(ss.apiClient)
}
// SCIWirelessClientsReport12overviewData
//
// Definition: WirelessClientsReport_WirelessClientsReport_12_overview_Data
type SCIWirelessClientsReport12overviewData []*SCIWirelessClientsReport12overviewDataType
func MakeSCIWirelessClientsReport12overviewData() SCIWirelessClientsReport12overviewData {
m := make(SCIWirelessClientsReport12overviewData, 0)
return m
}
// SCIWirelessClientsReport12overviewDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_12_overview_DataType
type SCIWirelessClientsReport12overviewDataType struct {
TotalRxTraffic *float64 `json:"totalRxTraffic,omitempty"`
TotalTraffic *float64 `json:"totalTraffic,omitempty"`
TotalTxTraffic *float64 `json:"totalTxTraffic,omitempty"`
UniqueUsers *float64 `json:"uniqueUsers,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport12overviewDataType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport12overviewDataType SCIWirelessClientsReport12overviewDataType
tmpType := new(_SCIWirelessClientsReport12overviewDataType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "totalRxTraffic")
delete(tmpType.XAdditionalProperties, "totalTraffic")
delete(tmpType.XAdditionalProperties, "totalTxTraffic")
delete(tmpType.XAdditionalProperties, "uniqueUsers")
*t = SCIWirelessClientsReport12overviewDataType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport12overviewDataType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.TotalRxTraffic != nil {
tmp["totalRxTraffic"] = t.TotalRxTraffic
}
if t.TotalTraffic != nil {
tmp["totalTraffic"] = t.TotalTraffic
}
if t.TotalTxTraffic != nil {
tmp["totalTxTraffic"] = t.TotalTxTraffic
}
if t.UniqueUsers != nil {
tmp["uniqueUsers"] = t.UniqueUsers
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport12overviewDataType() *SCIWirelessClientsReport12overviewDataType {
m := new(SCIWirelessClientsReport12overviewDataType)
return m
}
// SCIWirelessClientsReport14topTableData
//
// Definition: WirelessClientsReport_WirelessClientsReport_14_topTable_Data
type SCIWirelessClientsReport14topTableData []*SCIWirelessClientsReport14topTableDataType
func MakeSCIWirelessClientsReport14topTableData() SCIWirelessClientsReport14topTableData {
m := make(SCIWirelessClientsReport14topTableData, 0)
return m
}
// SCIWirelessClientsReport14topTableDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_14_topTable_DataType
type SCIWirelessClientsReport14topTableDataType struct {
ClientIp *string `json:"clientIp,omitempty"`
ClientMac *string `json:"clientMac,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Index *float64 `json:"index,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
OsType *string `json:"osType,omitempty"`
RxBytes *float64 `json:"rxBytes,omitempty"`
SessionCount *float64 `json:"sessionCount,omitempty"`
Traffic *float64 `json:"traffic,omitempty"`
TxBytes *float64 `json:"txBytes,omitempty"`
Username *string `json:"username,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport14topTableDataType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport14topTableDataType SCIWirelessClientsReport14topTableDataType
tmpType := new(_SCIWirelessClientsReport14topTableDataType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "clientIp")
delete(tmpType.XAdditionalProperties, "clientMac")
delete(tmpType.XAdditionalProperties, "hostname")
delete(tmpType.XAdditionalProperties, "index")
delete(tmpType.XAdditionalProperties, "manufacturer")
delete(tmpType.XAdditionalProperties, "osType")
delete(tmpType.XAdditionalProperties, "rxBytes")
delete(tmpType.XAdditionalProperties, "sessionCount")
delete(tmpType.XAdditionalProperties, "traffic")
delete(tmpType.XAdditionalProperties, "txBytes")
delete(tmpType.XAdditionalProperties, "username")
*t = SCIWirelessClientsReport14topTableDataType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport14topTableDataType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.ClientIp != nil {
tmp["clientIp"] = t.ClientIp
}
if t.ClientMac != nil {
tmp["clientMac"] = t.ClientMac
}
if t.Hostname != nil {
tmp["hostname"] = t.Hostname
}
if t.Index != nil {
tmp["index"] = t.Index
}
if t.Manufacturer != nil {
tmp["manufacturer"] = t.Manufacturer
}
if t.OsType != nil {
tmp["osType"] = t.OsType
}
if t.RxBytes != nil {
tmp["rxBytes"] = t.RxBytes
}
if t.SessionCount != nil {
tmp["sessionCount"] = t.SessionCount
}
if t.Traffic != nil {
tmp["traffic"] = t.Traffic
}
if t.TxBytes != nil {
tmp["txBytes"] = t.TxBytes
}
if t.Username != nil {
tmp["username"] = t.Username
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport14topTableDataType() *SCIWirelessClientsReport14topTableDataType {
m := new(SCIWirelessClientsReport14topTableDataType)
return m
}
// SCIWirelessClientsReport14topTableMetaData
//
// Definition: WirelessClientsReport_WirelessClientsReport_14_topTable_MetaData
type SCIWirelessClientsReport14topTableMetaData struct {
MaxValues *SCIWirelessClientsReport14topTableMetaDataMaxValuesType `json:"maxValues,omitempty"`
Name *string `json:"name,omitempty"`
Percentage *float64 `json:"percentage,omitempty"`
TotalTraffic *float64 `json:"totalTraffic,omitempty"`
Traffic *float64 `json:"traffic,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport14topTableMetaData) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport14topTableMetaData SCIWirelessClientsReport14topTableMetaData
tmpType := new(_SCIWirelessClientsReport14topTableMetaData)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "maxValues")
delete(tmpType.XAdditionalProperties, "name")
delete(tmpType.XAdditionalProperties, "percentage")
delete(tmpType.XAdditionalProperties, "totalTraffic")
delete(tmpType.XAdditionalProperties, "traffic")
*t = SCIWirelessClientsReport14topTableMetaData(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport14topTableMetaData) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.MaxValues != nil {
tmp["maxValues"] = t.MaxValues
}
if t.Name != nil {
tmp["name"] = t.Name
}
if t.Percentage != nil {
tmp["percentage"] = t.Percentage
}
if t.TotalTraffic != nil {
tmp["totalTraffic"] = t.TotalTraffic
}
if t.Traffic != nil {
tmp["traffic"] = t.Traffic
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport14topTableMetaData() *SCIWirelessClientsReport14topTableMetaData {
m := new(SCIWirelessClientsReport14topTableMetaData)
return m
}
// SCIWirelessClientsReport14topTableMetaDataMaxValuesType
//
// Definition: WirelessClientsReport_WirelessClientsReport_14_topTable_MetaDataMaxValuesType
type SCIWirelessClientsReport14topTableMetaDataMaxValuesType struct {
RxBytes *float64 `json:"rxBytes,omitempty"`
Traffic *float64 `json:"traffic,omitempty"`
TxBytes *float64 `json:"txBytes,omitempty"`
}
func NewSCIWirelessClientsReport14topTableMetaDataMaxValuesType() *SCIWirelessClientsReport14topTableMetaDataMaxValuesType {
m := new(SCIWirelessClientsReport14topTableMetaDataMaxValuesType)
return m
}
// SCIWirelessClientsReport15trendChartData
//
// Definition: WirelessClientsReport_WirelessClientsReport_15_trendChart_Data
type SCIWirelessClientsReport15trendChartData [][]*SCIWirelessClientsReport15trendChartDataTypeType
func MakeSCIWirelessClientsReport15trendChartData() SCIWirelessClientsReport15trendChartData {
m := make(SCIWirelessClientsReport15trendChartData, 0)
return m
}
// SCIWirelessClientsReport15trendChartDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_15_trendChart_DataType
type SCIWirelessClientsReport15trendChartDataType []*SCIWirelessClientsReport15trendChartDataTypeType
func MakeSCIWirelessClientsReport15trendChartDataType() SCIWirelessClientsReport15trendChartDataType {
m := make(SCIWirelessClientsReport15trendChartDataType, 0)
return m
}
// SCIWirelessClientsReport15trendChartDataTypeType
//
// Definition: WirelessClientsReport_WirelessClientsReport_15_trendChart_DataTypeType
type SCIWirelessClientsReport15trendChartDataTypeType struct {
End *string `json:"end,omitempty"`
RxBytes *float64 `json:"rxBytes,omitempty"`
Start *string `json:"start,omitempty"`
Traffic *float64 `json:"traffic,omitempty"`
TxBytes *float64 `json:"txBytes,omitempty"`
Uniqueusers *float64 `json:"unique_users,omitempty"`
Uniqueusers24 *float64 `json:"unique_users_2-4,omitempty"`
Uniqueusers5 *float64 `json:"unique_users_5,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport15trendChartDataTypeType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport15trendChartDataTypeType SCIWirelessClientsReport15trendChartDataTypeType
tmpType := new(_SCIWirelessClientsReport15trendChartDataTypeType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "end")
delete(tmpType.XAdditionalProperties, "rxBytes")
delete(tmpType.XAdditionalProperties, "start")
delete(tmpType.XAdditionalProperties, "traffic")
delete(tmpType.XAdditionalProperties, "txBytes")
delete(tmpType.XAdditionalProperties, "unique_users")
delete(tmpType.XAdditionalProperties, "unique_users_2-4")
delete(tmpType.XAdditionalProperties, "unique_users_5")
*t = SCIWirelessClientsReport15trendChartDataTypeType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport15trendChartDataTypeType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.End != nil {
tmp["end"] = t.End
}
if t.RxBytes != nil {
tmp["rxBytes"] = t.RxBytes
}
if t.Start != nil {
tmp["start"] = t.Start
}
if t.Traffic != nil {
tmp["traffic"] = t.Traffic
}
if t.TxBytes != nil {
tmp["txBytes"] = t.TxBytes
}
if t.Uniqueusers != nil {
tmp["unique_users"] = t.Uniqueusers
}
if t.Uniqueusers24 != nil {
tmp["unique_users_2-4"] = t.Uniqueusers24
}
if t.Uniqueusers5 != nil {
tmp["unique_users_5"] = t.Uniqueusers5
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport15trendChartDataTypeType() *SCIWirelessClientsReport15trendChartDataTypeType {
m := new(SCIWirelessClientsReport15trendChartDataTypeType)
return m
}
// SCIWirelessClientsReport16trendTableData
//
// Definition: WirelessClientsReport_WirelessClientsReport_16_trendTable_Data
type SCIWirelessClientsReport16trendTableData []*SCIWirelessClientsReport16trendTableDataType
func MakeSCIWirelessClientsReport16trendTableData() SCIWirelessClientsReport16trendTableData {
m := make(SCIWirelessClientsReport16trendTableData, 0)
return m
}
// SCIWirelessClientsReport16trendTableDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_16_trendTable_DataType
type SCIWirelessClientsReport16trendTableDataType struct {
End *string `json:"end,omitempty"`
RxBytes *float64 `json:"rxBytes,omitempty"`
Start *string `json:"start,omitempty"`
Traffic *float64 `json:"traffic,omitempty"`
TxBytes *float64 `json:"txBytes,omitempty"`
Uniqueusers *float64 `json:"unique_users,omitempty"`
Uniqueusers24 *float64 `json:"unique_users_2-4,omitempty"`
Uniqueusers5 *float64 `json:"unique_users_5,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport16trendTableDataType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport16trendTableDataType SCIWirelessClientsReport16trendTableDataType
tmpType := new(_SCIWirelessClientsReport16trendTableDataType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "end")
delete(tmpType.XAdditionalProperties, "rxBytes")
delete(tmpType.XAdditionalProperties, "start")
delete(tmpType.XAdditionalProperties, "traffic")
delete(tmpType.XAdditionalProperties, "txBytes")
delete(tmpType.XAdditionalProperties, "unique_users")
delete(tmpType.XAdditionalProperties, "unique_users_2-4")
delete(tmpType.XAdditionalProperties, "unique_users_5")
*t = SCIWirelessClientsReport16trendTableDataType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport16trendTableDataType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.End != nil {
tmp["end"] = t.End
}
if t.RxBytes != nil {
tmp["rxBytes"] = t.RxBytes
}
if t.Start != nil {
tmp["start"] = t.Start
}
if t.Traffic != nil {
tmp["traffic"] = t.Traffic
}
if t.TxBytes != nil {
tmp["txBytes"] = t.TxBytes
}
if t.Uniqueusers != nil {
tmp["unique_users"] = t.Uniqueusers
}
if t.Uniqueusers24 != nil {
tmp["unique_users_2-4"] = t.Uniqueusers24
}
if t.Uniqueusers5 != nil {
tmp["unique_users_5"] = t.Uniqueusers5
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport16trendTableDataType() *SCIWirelessClientsReport16trendTableDataType {
m := new(SCIWirelessClientsReport16trendTableDataType)
return m
}
// SCIWirelessClientsReport16trendTableMetaData
//
// Definition: WirelessClientsReport_WirelessClientsReport_16_trendTable_MetaData
type SCIWirelessClientsReport16trendTableMetaData struct {
MaxValues *SCIWirelessClientsReport16trendTableMetaDataMaxValuesType `json:"maxValues,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport16trendTableMetaData) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport16trendTableMetaData SCIWirelessClientsReport16trendTableMetaData
tmpType := new(_SCIWirelessClientsReport16trendTableMetaData)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "maxValues")
*t = SCIWirelessClientsReport16trendTableMetaData(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport16trendTableMetaData) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.MaxValues != nil {
tmp["maxValues"] = t.MaxValues
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport16trendTableMetaData() *SCIWirelessClientsReport16trendTableMetaData {
m := new(SCIWirelessClientsReport16trendTableMetaData)
return m
}
// SCIWirelessClientsReport16trendTableMetaDataMaxValuesType
//
// Definition: WirelessClientsReport_WirelessClientsReport_16_trendTable_MetaDataMaxValuesType
type SCIWirelessClientsReport16trendTableMetaDataMaxValuesType struct {
RxBytes *float64 `json:"rxBytes,omitempty"`
Traffic *float64 `json:"traffic,omitempty"`
TxBytes *float64 `json:"txBytes,omitempty"`
Uniqueusers *float64 `json:"unique_users,omitempty"`
Uniqueusers24 *float64 `json:"unique_users_2-4,omitempty"`
Uniqueusers5 *float64 `json:"unique_users_5,omitempty"`
}
func NewSCIWirelessClientsReport16trendTableMetaDataMaxValuesType() *SCIWirelessClientsReport16trendTableMetaDataMaxValuesType {
m := new(SCIWirelessClientsReport16trendTableMetaDataMaxValuesType)
return m
}
// SCIWirelessClientsReport17topPercentileData
//
// Definition: WirelessClientsReport_WirelessClientsReport_17_topPercentile_Data
type SCIWirelessClientsReport17topPercentileData [][]*SCIWirelessClientsReport17topPercentileDataTypeType
func MakeSCIWirelessClientsReport17topPercentileData() SCIWirelessClientsReport17topPercentileData {
m := make(SCIWirelessClientsReport17topPercentileData, 0)
return m
}
// SCIWirelessClientsReport17topPercentileDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_17_topPercentile_DataType
type SCIWirelessClientsReport17topPercentileDataType []*SCIWirelessClientsReport17topPercentileDataTypeType
func MakeSCIWirelessClientsReport17topPercentileDataType() SCIWirelessClientsReport17topPercentileDataType {
m := make(SCIWirelessClientsReport17topPercentileDataType, 0)
return m
}
// SCIWirelessClientsReport17topPercentileDataTypeType
//
// Definition: WirelessClientsReport_WirelessClientsReport_17_topPercentile_DataTypeType
type SCIWirelessClientsReport17topPercentileDataTypeType struct {
ClientCount *float64 `json:"clientCount,omitempty"`
MaxTraffic *float64 `json:"maxTraffic,omitempty"`
Percent *string `json:"percent,omitempty"`
PercentRank *float64 `json:"percentRank,omitempty"`
TotalTraffic *float64 `json:"totalTraffic,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport17topPercentileDataTypeType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport17topPercentileDataTypeType SCIWirelessClientsReport17topPercentileDataTypeType
tmpType := new(_SCIWirelessClientsReport17topPercentileDataTypeType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "clientCount")
delete(tmpType.XAdditionalProperties, "maxTraffic")
delete(tmpType.XAdditionalProperties, "percent")
delete(tmpType.XAdditionalProperties, "percentRank")
delete(tmpType.XAdditionalProperties, "totalTraffic")
*t = SCIWirelessClientsReport17topPercentileDataTypeType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport17topPercentileDataTypeType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.ClientCount != nil {
tmp["clientCount"] = t.ClientCount
}
if t.MaxTraffic != nil {
tmp["maxTraffic"] = t.MaxTraffic
}
if t.Percent != nil {
tmp["percent"] = t.Percent
}
if t.PercentRank != nil {
tmp["percentRank"] = t.PercentRank
}
if t.TotalTraffic != nil {
tmp["totalTraffic"] = t.TotalTraffic
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport17topPercentileDataTypeType() *SCIWirelessClientsReport17topPercentileDataTypeType {
m := new(SCIWirelessClientsReport17topPercentileDataTypeType)
return m
}
// SCIWirelessClientsReport18topNOSByClientCountData
//
// Definition: WirelessClientsReport_WirelessClientsReport_18_topNOSByClientCount_Data
type SCIWirelessClientsReport18topNOSByClientCountData [][]*SCIWirelessClientsReport18topNOSByClientCountDataTypeType
func MakeSCIWirelessClientsReport18topNOSByClientCountData() SCIWirelessClientsReport18topNOSByClientCountData {
m := make(SCIWirelessClientsReport18topNOSByClientCountData, 0)
return m
}
// SCIWirelessClientsReport18topNOSByClientCountDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_18_topNOSByClientCount_DataType
type SCIWirelessClientsReport18topNOSByClientCountDataType []*SCIWirelessClientsReport18topNOSByClientCountDataTypeType
func MakeSCIWirelessClientsReport18topNOSByClientCountDataType() SCIWirelessClientsReport18topNOSByClientCountDataType {
m := make(SCIWirelessClientsReport18topNOSByClientCountDataType, 0)
return m
}
// SCIWirelessClientsReport18topNOSByClientCountDataTypeType
//
// Definition: WirelessClientsReport_WirelessClientsReport_18_topNOSByClientCount_DataTypeType
type SCIWirelessClientsReport18topNOSByClientCountDataTypeType struct {
ClientCount *float64 `json:"clientCount,omitempty"`
End *string `json:"end,omitempty"`
OsType *string `json:"osType,omitempty"`
Start *string `json:"start,omitempty"`
Unknown *float64 `json:"Unknown,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport18topNOSByClientCountDataTypeType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport18topNOSByClientCountDataTypeType SCIWirelessClientsReport18topNOSByClientCountDataTypeType
tmpType := new(_SCIWirelessClientsReport18topNOSByClientCountDataTypeType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "clientCount")
delete(tmpType.XAdditionalProperties, "end")
delete(tmpType.XAdditionalProperties, "osType")
delete(tmpType.XAdditionalProperties, "start")
delete(tmpType.XAdditionalProperties, "Unknown")
*t = SCIWirelessClientsReport18topNOSByClientCountDataTypeType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport18topNOSByClientCountDataTypeType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.ClientCount != nil {
tmp["clientCount"] = t.ClientCount
}
if t.End != nil {
tmp["end"] = t.End
}
if t.OsType != nil {
tmp["osType"] = t.OsType
}
if t.Start != nil {
tmp["start"] = t.Start
}
if t.Unknown != nil {
tmp["Unknown"] = t.Unknown
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport18topNOSByClientCountDataTypeType() *SCIWirelessClientsReport18topNOSByClientCountDataTypeType {
m := new(SCIWirelessClientsReport18topNOSByClientCountDataTypeType)
return m
}
// SCIWirelessClientsReport18topNOSByClientCountMetaData
//
// Definition: WirelessClientsReport_WirelessClientsReport_18_topNOSByClientCount_MetaData
type SCIWirelessClientsReport18topNOSByClientCountMetaData struct {
ColorKeys []string `json:"colorKeys,omitempty"`
TotalClients *float64 `json:"totalClients,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport18topNOSByClientCountMetaData) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport18topNOSByClientCountMetaData SCIWirelessClientsReport18topNOSByClientCountMetaData
tmpType := new(_SCIWirelessClientsReport18topNOSByClientCountMetaData)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "colorKeys")
delete(tmpType.XAdditionalProperties, "totalClients")
*t = SCIWirelessClientsReport18topNOSByClientCountMetaData(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport18topNOSByClientCountMetaData) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.ColorKeys != nil {
tmp["colorKeys"] = t.ColorKeys
}
if t.TotalClients != nil {
tmp["totalClients"] = t.TotalClients
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport18topNOSByClientCountMetaData() *SCIWirelessClientsReport18topNOSByClientCountMetaData {
m := new(SCIWirelessClientsReport18topNOSByClientCountMetaData)
return m
}
// SCIWirelessClientsReport19top10ManufacturersByClientCountData
//
// Definition: WirelessClientsReport_WirelessClientsReport_19_top10ManufacturersByClientCount_Data
type SCIWirelessClientsReport19top10ManufacturersByClientCountData [][]*SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType
func MakeSCIWirelessClientsReport19top10ManufacturersByClientCountData() SCIWirelessClientsReport19top10ManufacturersByClientCountData {
m := make(SCIWirelessClientsReport19top10ManufacturersByClientCountData, 0)
return m
}
// SCIWirelessClientsReport19top10ManufacturersByClientCountDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_19_top10ManufacturersByClientCount_DataType
type SCIWirelessClientsReport19top10ManufacturersByClientCountDataType []*SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType
func MakeSCIWirelessClientsReport19top10ManufacturersByClientCountDataType() SCIWirelessClientsReport19top10ManufacturersByClientCountDataType {
m := make(SCIWirelessClientsReport19top10ManufacturersByClientCountDataType, 0)
return m
}
// SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType
//
// Definition: WirelessClientsReport_WirelessClientsReport_19_top10ManufacturersByClientCount_DataTypeType
type SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType struct {
ClientCount *float64 `json:"clientCount,omitempty"`
End *string `json:"end,omitempty"`
Manufacturer *string `json:"manufacturer,omitempty"`
Start *string `json:"start,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType
tmpType := new(_SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "clientCount")
delete(tmpType.XAdditionalProperties, "end")
delete(tmpType.XAdditionalProperties, "manufacturer")
delete(tmpType.XAdditionalProperties, "start")
*t = SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.ClientCount != nil {
tmp["clientCount"] = t.ClientCount
}
if t.End != nil {
tmp["end"] = t.End
}
if t.Manufacturer != nil {
tmp["manufacturer"] = t.Manufacturer
}
if t.Start != nil {
tmp["start"] = t.Start
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType() *SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType {
m := new(SCIWirelessClientsReport19top10ManufacturersByClientCountDataTypeType)
return m
}
// SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData
//
// Definition: WirelessClientsReport_WirelessClientsReport_19_top10ManufacturersByClientCount_MetaData
type SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData struct {
ColorKeys []string `json:"colorKeys,omitempty"`
TotalClients *float64 `json:"totalClients,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData
tmpType := new(_SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "colorKeys")
delete(tmpType.XAdditionalProperties, "totalClients")
*t = SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.ColorKeys != nil {
tmp["colorKeys"] = t.ColorKeys
}
if t.TotalClients != nil {
tmp["totalClients"] = t.TotalClients
}
return json.Marshal(tmp)
}
func NewSCIWirelessClientsReport19top10ManufacturersByClientCountMetaData() *SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData {
m := new(SCIWirelessClientsReport19top10ManufacturersByClientCountMetaData)
return m
}
// SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountData
//
// Definition: WirelessClientsReport_WirelessClientsReport_112_top10AuthenticationMechanismByClientCount_Data
type SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountData [][]*SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType
func MakeSCIWirelessClientsReport112top10AuthenticationMechanismByClientCountData() SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountData {
m := make(SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountData, 0)
return m
}
// SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataType
//
// Definition: WirelessClientsReport_WirelessClientsReport_112_top10AuthenticationMechanismByClientCount_DataType
type SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataType []*SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType
func MakeSCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataType() SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataType {
m := make(SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataType, 0)
return m
}
// SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType
//
// Definition: WirelessClientsReport_WirelessClientsReport_112_top10AuthenticationMechanismByClientCount_DataTypeType
type SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType struct {
AuthMethod *string `json:"authMethod,omitempty"`
ClientCount *float64 `json:"clientCount,omitempty"`
End *string `json:"end,omitempty"`
Open *float64 `json:"Open,omitempty"`
Start *string `json:"start,omitempty"`
XAdditionalProperties map[string]interface{} `json:"-"`
}
func (t *SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType) UnmarshalJSON(b []byte) error {
type _SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType
tmpType := new(_SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType)
if err := json.Unmarshal(b, tmpType); err != nil {
return err
}
tmpType.XAdditionalProperties = make(map[string]interface{})
if err := json.Unmarshal(b, &tmpType.XAdditionalProperties); err != nil {
return err
}
delete(tmpType.XAdditionalProperties, "authMethod")
delete(tmpType.XAdditionalProperties, "clientCount")
delete(tmpType.XAdditionalProperties, "end")
delete(tmpType.XAdditionalProperties, "Open")
delete(tmpType.XAdditionalProperties, "start")
*t = SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType(*tmpType)
return nil
}
func (t *SCIWirelessClientsReport112top10AuthenticationMechanismByClientCountDataTypeType) MarshalJSON() ([]byte, error) {
if t == nil {
return nil, nil
}
var tmp map[string]interface{}
if t.XAdditionalProperties == nil {
tmp = make(map[string]interface{})
} else {
tmp = t.XAdditionalProperties
}
if t.AuthMethod != nil {
tmp["authMethod"] = t.AuthMethod