/
devices.go
2522 lines (2150 loc) · 129 KB
/
devices.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 dnac
import (
"fmt"
"strings"
"github.com/go-resty/resty/v2"
"github.com/google/go-querystring/query"
)
// DevicesService is the service to communicate with the Devices API endpoint
type DevicesService service
// AddDeviceRequest is the addDeviceRequest definition
type AddDeviceRequest struct {
CliTransport string `json:"cliTransport,omitempty"` //
ComputeDevice bool `json:"computeDevice,omitempty"` //
EnablePassword string `json:"enablePassword,omitempty"` //
ExtendedDiscoveryInfo string `json:"extendedDiscoveryInfo,omitempty"` //
HTTPPassword string `json:"httpPassword,omitempty"` //
HTTPPort string `json:"httpPort,omitempty"` //
HTTPSecure bool `json:"httpSecure,omitempty"` //
HTTPUserName string `json:"httpUserName,omitempty"` //
IPAddress []string `json:"ipAddress,omitempty"` //
MerakiOrgID []string `json:"merakiOrgId,omitempty"` //
NetconfPort string `json:"netconfPort,omitempty"` //
Password string `json:"password,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
SNMPAuthPassphrase string `json:"snmpAuthPassphrase,omitempty"` //
SNMPAuthProtocol string `json:"snmpAuthProtocol,omitempty"` //
SNMPMode string `json:"snmpMode,omitempty"` //
SNMPPrivPassphrase string `json:"snmpPrivPassphrase,omitempty"` //
SNMPPrivProtocol string `json:"snmpPrivProtocol,omitempty"` //
SNMPROCommunity string `json:"snmpROCommunity,omitempty"` //
SNMPRWCommunity string `json:"snmpRWCommunity,omitempty"` //
SNMPRetry int `json:"snmpRetry,omitempty"` //
SNMPTimeout int `json:"snmpTimeout,omitempty"` //
SNMPUserName string `json:"snmpUserName,omitempty"` //
SNMPVersion string `json:"snmpVersion,omitempty"` //
Type string `json:"type,omitempty"` //
UpdateMgmtIPaddressList []AddDeviceRequestUpdateMgmtIPaddressList `json:"updateMgmtIPaddressList,omitempty"` //
UserName string `json:"userName,omitempty"` //
}
// AddDeviceRequestIPAddress is the addDeviceRequestIPAddress definition
type AddDeviceRequestIPAddress []string
// AddDeviceRequestMerakiOrgID is the addDeviceRequestMerakiOrgID definition
type AddDeviceRequestMerakiOrgID []string
// AddDeviceRequestUpdateMgmtIPaddressList is the addDeviceRequestUpdateMgmtIPaddressList definition
type AddDeviceRequestUpdateMgmtIPaddressList struct {
ExistMgmtIPAddress string `json:"existMgmtIpAddress,omitempty"` //
NewMgmtIPAddress string `json:"newMgmtIpAddress,omitempty"` //
}
// ExportDeviceListRequest is the exportDeviceListRequest definition
type ExportDeviceListRequest struct {
DeviceUUIDs []string `json:"deviceUuids,omitempty"` //
ID string `json:"id,omitempty"` //
OperationEnum string `json:"operationEnum,omitempty"` //
Parameters []string `json:"parameters,omitempty"` //
Password string `json:"password,omitempty"` //
}
// ExportDeviceListRequestDeviceUUIDs is the exportDeviceListRequestDeviceUUIDs definition
type ExportDeviceListRequestDeviceUUIDs []string
// ExportDeviceListRequestParameters is the exportDeviceListRequestParameters definition
type ExportDeviceListRequestParameters []string
// SyncDevicesRequest is the syncDevicesRequest definition
type SyncDevicesRequest struct {
CliTransport string `json:"cliTransport,omitempty"` //
ComputeDevice bool `json:"computeDevice,omitempty"` //
EnablePassword string `json:"enablePassword,omitempty"` //
ExtendedDiscoveryInfo string `json:"extendedDiscoveryInfo,omitempty"` //
HTTPPassword string `json:"httpPassword,omitempty"` //
HTTPPort string `json:"httpPort,omitempty"` //
HTTPSecure bool `json:"httpSecure,omitempty"` //
HTTPUserName string `json:"httpUserName,omitempty"` //
IPAddress []string `json:"ipAddress,omitempty"` //
MerakiOrgID []string `json:"merakiOrgId,omitempty"` //
NetconfPort string `json:"netconfPort,omitempty"` //
Password string `json:"password,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
SNMPAuthPassphrase string `json:"snmpAuthPassphrase,omitempty"` //
SNMPAuthProtocol string `json:"snmpAuthProtocol,omitempty"` //
SNMPMode string `json:"snmpMode,omitempty"` //
SNMPPrivPassphrase string `json:"snmpPrivPassphrase,omitempty"` //
SNMPPrivProtocol string `json:"snmpPrivProtocol,omitempty"` //
SNMPROCommunity string `json:"snmpROCommunity,omitempty"` //
SNMPRWCommunity string `json:"snmpRWCommunity,omitempty"` //
SNMPRetry int `json:"snmpRetry,omitempty"` //
SNMPTimeout int `json:"snmpTimeout,omitempty"` //
SNMPUserName string `json:"snmpUserName,omitempty"` //
SNMPVersion string `json:"snmpVersion,omitempty"` //
Type string `json:"type,omitempty"` //
UpdateMgmtIPaddressList []SyncDevicesRequestUpdateMgmtIPaddressList `json:"updateMgmtIPaddressList,omitempty"` //
UserName string `json:"userName,omitempty"` //
}
// SyncDevicesRequestIPAddress is the syncDevicesRequestIPAddress definition
type SyncDevicesRequestIPAddress []string
// SyncDevicesRequestMerakiOrgID is the syncDevicesRequestMerakiOrgID definition
type SyncDevicesRequestMerakiOrgID []string
// SyncDevicesRequestUpdateMgmtIPaddressList is the syncDevicesRequestUpdateMgmtIPaddressList definition
type SyncDevicesRequestUpdateMgmtIPaddressList struct {
ExistMgmtIPAddress string `json:"existMgmtIpAddress,omitempty"` //
NewMgmtIPAddress string `json:"newMgmtIpAddress,omitempty"` //
}
// SyncNetworkDevicesRequest is the syncNetworkDevicesRequest definition
type SyncNetworkDevicesRequest []string
// UpdateDeviceRoleRequest is the updateDeviceRoleRequest definition
type UpdateDeviceRoleRequest struct {
ID string `json:"id,omitempty"` //
Role string `json:"role,omitempty"` //
RoleSource string `json:"roleSource,omitempty"` //
}
// AddDeviceResponse is the addDeviceResponse definition
type AddDeviceResponse struct {
Response AddDeviceResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// AddDeviceResponseResponse is the addDeviceResponseResponse definition
type AddDeviceResponseResponse struct {
TaskID string `json:"taskId,omitempty"` //
URL string `json:"url,omitempty"` //
}
// DeleteDeviceByIDResponseResponse is the deleteDeviceByIDResponseResponse definition
type DeleteDeviceByIDResponseResponse struct {
TaskID string `json:"taskId,omitempty"` //
URL string `json:"url,omitempty"` //
}
// DeleteDeviceByIDResponse is the deleteDeviceByIdResponse definition
type DeleteDeviceByIDResponse struct {
Response DeleteDeviceByIDResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// DevicesResponse is the devicesResponse definition
type DevicesResponse struct {
Response []DevicesResponseResponse `json:"response,omitempty"` //
TotalCount int `json:"totalCount,omitempty"` //
Version string `json:"version,omitempty"` //
}
// DevicesResponseResponse is the devicesResponseResponse definition
type DevicesResponseResponse struct {
AirQualityHealth DevicesResponseResponseAirQualityHealth `json:"airQualityHealth,omitempty"` //
ClientCount DevicesResponseResponseClientCount `json:"clientCount,omitempty"` //
CPUHealth int `json:"cpuHealth,omitempty"` //
CPUUlitilization int `json:"cpuUlitilization,omitempty"` //
DeviceFamily string `json:"deviceFamily,omitempty"` //
DeviceType string `json:"deviceType,omitempty"` //
InterDeviceLinkAvailHealth int `json:"interDeviceLinkAvailHealth,omitempty"` //
InterfaceLinkErrHealth int `json:"interfaceLinkErrHealth,omitempty"` //
InterferenceHealth DevicesResponseResponseInterferenceHealth `json:"interferenceHealth,omitempty"` //
IPAddress string `json:"ipAddress,omitempty"` //
IssueCount float64 `json:"issueCount,omitempty"` //
Location string `json:"location,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MemoryUtilization int `json:"memoryUtilization,omitempty"` //
MemoryUtilizationHealth int `json:"memoryUtilizationHealth,omitempty"` //
Model string `json:"model,omitempty"` //
Name string `json:"name,omitempty"` //
NoiseHealth DevicesResponseResponseNoiseHealth `json:"noiseHealth,omitempty"` //
OsVersion string `json:"osVersion,omitempty"` //
OverallHealth int `json:"overallHealth,omitempty"` //
ReachabilityHealth string `json:"reachabilityHealth,omitempty"` //
UtilizationHealth DevicesResponseResponseUtilizationHealth `json:"utilizationHealth,omitempty"` //
}
// DevicesResponseResponseAirQualityHealth is the devicesResponseResponseAirQualityHealth definition
type DevicesResponseResponseAirQualityHealth struct {
Ghz24 int `json:"Ghz24,omitempty"` //
Ghz50 int `json:"Ghz50,omitempty"` //
Radio0 int `json:"radio0,omitempty"` //
Radio1 int `json:"radio1,omitempty"` //
}
// DevicesResponseResponseClientCount is the devicesResponseResponseClientCount definition
type DevicesResponseResponseClientCount struct {
Ghz24 float64 `json:"Ghz24,omitempty"` //
Ghz50 int `json:"Ghz50,omitempty"` //
Radio0 float64 `json:"radio0,omitempty"` //
Radio1 int `json:"radio1,omitempty"` //
}
// DevicesResponseResponseInterferenceHealth is the devicesResponseResponseInterferenceHealth definition
type DevicesResponseResponseInterferenceHealth struct {
Ghz24 int `json:"Ghz24,omitempty"` //
Ghz50 int `json:"Ghz50,omitempty"` //
Radio0 int `json:"radio0,omitempty"` //
Radio1 int `json:"radio1,omitempty"` //
}
// DevicesResponseResponseNoiseHealth is the devicesResponseResponseNoiseHealth definition
type DevicesResponseResponseNoiseHealth struct {
Ghz50 int `json:"Ghz50,omitempty"` //
Radio1 int `json:"radio1,omitempty"` //
}
// DevicesResponseResponseUtilizationHealth is the devicesResponseResponseUtilizationHealth definition
type DevicesResponseResponseUtilizationHealth struct {
Ghz24 int `json:"Ghz24,omitempty"` //
Ghz50 int `json:"Ghz50,omitempty"` //
Radio0 int `json:"radio0,omitempty"` //
Radio1 int `json:"radio1,omitempty"` //
}
// ExportDeviceListResponse is the exportDeviceListResponse definition
type ExportDeviceListResponse struct {
Response ExportDeviceListResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// ExportDeviceListResponseResponse is the exportDeviceListResponseResponse definition
type ExportDeviceListResponseResponse struct {
TaskID string `json:"taskId,omitempty"` //
URL string `json:"url,omitempty"` //
}
// GetAllInterfacesResponse is the getAllInterfacesResponse definition
type GetAllInterfacesResponse struct {
Response []GetAllInterfacesResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetAllInterfacesResponseResponse is the getAllInterfacesResponseResponse definition
type GetAllInterfacesResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// DevicesGetDeviceByIDResponse is the getDeviceByIDResponse definition
type DevicesGetDeviceByIDResponse struct {
Response DevicesGetDeviceByIDResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// DevicesGetDeviceByIDResponseResponse is the getDeviceByIDResponseResponse definition
type DevicesGetDeviceByIDResponseResponse struct {
ApManagerInterfaceIP string `json:"apManagerInterfaceIp,omitempty"` //
AssociatedWlcIP string `json:"associatedWlcIp,omitempty"` //
BootDateTime string `json:"bootDateTime,omitempty"` //
CollectionInterval string `json:"collectionInterval,omitempty"` //
CollectionStatus string `json:"collectionStatus,omitempty"` //
ErrorCode string `json:"errorCode,omitempty"` //
ErrorDescription string `json:"errorDescription,omitempty"` //
Family string `json:"family,omitempty"` //
Hostname string `json:"hostname,omitempty"` //
ID string `json:"id,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceCount string `json:"interfaceCount,omitempty"` //
InventoryStatusDetail string `json:"inventoryStatusDetail,omitempty"` //
LastUpdateTime int `json:"lastUpdateTime,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
LineCardCount string `json:"lineCardCount,omitempty"` //
LineCardID string `json:"lineCardId,omitempty"` //
Location string `json:"location,omitempty"` //
LocationName string `json:"locationName,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
ManagementIPAddress string `json:"managementIpAddress,omitempty"` //
MemorySize string `json:"memorySize,omitempty"` //
PlatformID string `json:"platformId,omitempty"` //
ReachabilityFailureReason string `json:"reachabilityFailureReason,omitempty"` //
ReachabilityStatus string `json:"reachabilityStatus,omitempty"` //
Role string `json:"role,omitempty"` //
RoleSource string `json:"roleSource,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
Series string `json:"series,omitempty"` //
SNMPContact string `json:"snmpContact,omitempty"` //
SNMPLocation string `json:"snmpLocation,omitempty"` //
SoftwareType string `json:"softwareType,omitempty"` //
SoftwareVersion string `json:"softwareVersion,omitempty"` //
TagCount string `json:"tagCount,omitempty"` //
TunnelUDPPort string `json:"tunnelUdpPort,omitempty"` //
Type string `json:"type,omitempty"` //
UpTime string `json:"upTime,omitempty"` //
WaasDeviceMode string `json:"waasDeviceMode,omitempty"` //
}
// GetDeviceBySerialNumberResponse is the getDeviceBySerialNumberResponse definition
type GetDeviceBySerialNumberResponse struct {
Response GetDeviceBySerialNumberResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceBySerialNumberResponseResponse is the getDeviceBySerialNumberResponseResponse definition
type GetDeviceBySerialNumberResponseResponse struct {
ApManagerInterfaceIP string `json:"apManagerInterfaceIp,omitempty"` //
AssociatedWlcIP string `json:"associatedWlcIp,omitempty"` //
BootDateTime string `json:"bootDateTime,omitempty"` //
CollectionInterval string `json:"collectionInterval,omitempty"` //
CollectionStatus string `json:"collectionStatus,omitempty"` //
ErrorCode string `json:"errorCode,omitempty"` //
ErrorDescription string `json:"errorDescription,omitempty"` //
Family string `json:"family,omitempty"` //
Hostname string `json:"hostname,omitempty"` //
ID string `json:"id,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceCount string `json:"interfaceCount,omitempty"` //
InventoryStatusDetail string `json:"inventoryStatusDetail,omitempty"` //
LastUpdateTime int `json:"lastUpdateTime,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
LineCardCount string `json:"lineCardCount,omitempty"` //
LineCardID string `json:"lineCardId,omitempty"` //
Location string `json:"location,omitempty"` //
LocationName string `json:"locationName,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
ManagementIPAddress string `json:"managementIpAddress,omitempty"` //
MemorySize string `json:"memorySize,omitempty"` //
PlatformID string `json:"platformId,omitempty"` //
ReachabilityFailureReason string `json:"reachabilityFailureReason,omitempty"` //
ReachabilityStatus string `json:"reachabilityStatus,omitempty"` //
Role string `json:"role,omitempty"` //
RoleSource string `json:"roleSource,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
Series string `json:"series,omitempty"` //
SNMPContact string `json:"snmpContact,omitempty"` //
SNMPLocation string `json:"snmpLocation,omitempty"` //
SoftwareType string `json:"softwareType,omitempty"` //
SoftwareVersion string `json:"softwareVersion,omitempty"` //
TagCount string `json:"tagCount,omitempty"` //
TunnelUDPPort string `json:"tunnelUdpPort,omitempty"` //
Type string `json:"type,omitempty"` //
UpTime string `json:"upTime,omitempty"` //
WaasDeviceMode string `json:"waasDeviceMode,omitempty"` //
}
// GetDeviceConfigByIDResponse is the getDeviceConfigByIdResponse definition
type GetDeviceConfigByIDResponse struct {
Response string `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceConfigCountResponse is the getDeviceConfigCountResponse definition
type GetDeviceConfigCountResponse struct {
Response int `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceConfigForAllDevicesResponse is the getDeviceConfigForAllDevicesResponse definition
type GetDeviceConfigForAllDevicesResponse struct {
Response []GetDeviceConfigForAllDevicesResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceConfigForAllDevicesResponseResponse is the getDeviceConfigForAllDevicesResponseResponse definition
type GetDeviceConfigForAllDevicesResponseResponse struct {
AttributeInfo string `json:"attributeInfo,omitempty"` //
CdpNeighbors string `json:"cdpNeighbors,omitempty"` //
HealthMonitor string `json:"healthMonitor,omitempty"` //
ID string `json:"id,omitempty"` //
IntfDescription string `json:"intfDescription,omitempty"` //
Inventory string `json:"inventory,omitempty"` //
IPIntfBrief string `json:"ipIntfBrief,omitempty"` //
MacAddressTable string `json:"macAddressTable,omitempty"` //
RunningConfig string `json:"runningConfig,omitempty"` //
SNMP string `json:"snmp,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceCountResponse is the getDeviceCountResponse definition
type GetDeviceCountResponse struct {
Response int `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceDetailResponse is the getDeviceDetailResponse definition
type GetDeviceDetailResponse struct {
Response GetDeviceDetailResponseResponse `json:"response,omitempty"` //
}
// GetDeviceDetailResponseResponse is the getDeviceDetailResponseResponse definition
type GetDeviceDetailResponseResponse struct {
HALastResetReason string `json:"HALastResetReason,omitempty"` //
HAPrimaryPowerStatus string `json:"HAPrimaryPowerStatus,omitempty"` //
HASecondaryPowerStatus string `json:"HASecondaryPowerStatus,omitempty"` //
AirQuality string `json:"airQuality,omitempty"` //
AirQualityScore int `json:"airQualityScore,omitempty"` //
ClientCount string `json:"clientCount,omitempty"` //
CollectionStatus string `json:"collectionStatus,omitempty"` //
CommunicationState string `json:"communicationState,omitempty"` //
CPU string `json:"cpu,omitempty"` //
CPUScore int `json:"cpuScore,omitempty"` //
DeviceSeries string `json:"deviceSeries,omitempty"` //
FreeMbuf string `json:"freeMbuf,omitempty"` //
FreeMbufScore int `json:"freeMbufScore,omitempty"` //
FreeTimer string `json:"freeTimer,omitempty"` //
FreeTimerScore int `json:"freeTimerScore,omitempty"` //
Interference string `json:"interference,omitempty"` //
InterferenceScore int `json:"interferenceScore,omitempty"` //
Location string `json:"location,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
ManagementIPAddr string `json:"managementIpAddr,omitempty"` //
Memory string `json:"memory,omitempty"` //
MemoryScore int `json:"memoryScore,omitempty"` //
Noise string `json:"noise,omitempty"` //
NoiseScore int `json:"noiseScore,omitempty"` //
NwDeviceFamily string `json:"nwDeviceFamily,omitempty"` //
NwDeviceID string `json:"nwDeviceId,omitempty"` //
NwDeviceName string `json:"nwDeviceName,omitempty"` //
NwDeviceRole string `json:"nwDeviceRole,omitempty"` //
NwDeviceType string `json:"nwDeviceType,omitempty"` //
OsType string `json:"osType,omitempty"` //
OverallHealth int `json:"overallHealth,omitempty"` //
PacketPool string `json:"packetPool,omitempty"` //
PacketPoolScore int `json:"packetPoolScore,omitempty"` //
PlatformID string `json:"platformId,omitempty"` //
RedundancyMode string `json:"redundancyMode,omitempty"` //
RedundancyPeerState string `json:"redundancyPeerState,omitempty"` //
RedundancyState string `json:"redundancyState,omitempty"` //
RedundancyUnit string `json:"redundancyUnit,omitempty"` //
SoftwareVersion string `json:"softwareVersion,omitempty"` //
Timestamp string `json:"timestamp,omitempty"` //
Utilization string `json:"utilization,omitempty"` //
UtilizationScore int `json:"utilizationScore,omitempty"` //
Wqe string `json:"wqe,omitempty"` //
WqeScore int `json:"wqeScore,omitempty"` //
}
// GetDeviceEnrichmentDetailsResponse is the getDeviceEnrichmentDetailsResponse definition
type GetDeviceEnrichmentDetailsResponse struct {
DeviceDetails GetDeviceEnrichmentDetailsResponseDeviceDetails `json:"deviceDetails,omitempty"` //
}
// GetDeviceEnrichmentDetailsResponseDeviceDetails is the getDeviceEnrichmentDetailsResponseDeviceDetails definition
type GetDeviceEnrichmentDetailsResponseDeviceDetails struct {
ApManagerInterfaceIP string `json:"apManagerInterfaceIp,omitempty"` //
AssociatedWlcIP string `json:"associatedWlcIp,omitempty"` //
BootDateTime string `json:"bootDateTime,omitempty"` //
CollectionInterval string `json:"collectionInterval,omitempty"` //
CollectionStatus string `json:"collectionStatus,omitempty"` //
ErrorCode string `json:"errorCode,omitempty"` //
ErrorDescription string `json:"errorDescription,omitempty"` //
Family string `json:"family,omitempty"` //
Hostname string `json:"hostname,omitempty"` //
ID string `json:"id,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceCount string `json:"interfaceCount,omitempty"` //
InventoryStatusDetail string `json:"inventoryStatusDetail,omitempty"` //
LastUpdateTime int `json:"lastUpdateTime,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
LineCardCount string `json:"lineCardCount,omitempty"` //
LineCardID string `json:"lineCardId,omitempty"` //
Location string `json:"location,omitempty"` //
LocationName string `json:"locationName,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
ManagementIPAddress string `json:"managementIpAddress,omitempty"` //
MemorySize string `json:"memorySize,omitempty"` //
NeighborTopology []GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopology `json:"neighborTopology,omitempty"` //
PlatformID string `json:"platformId,omitempty"` //
ReachabilityFailureReason string `json:"reachabilityFailureReason,omitempty"` //
ReachabilityStatus string `json:"reachabilityStatus,omitempty"` //
Role string `json:"role,omitempty"` //
RoleSource string `json:"roleSource,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
Series string `json:"series,omitempty"` //
SNMPContact string `json:"snmpContact,omitempty"` //
SNMPLocation string `json:"snmpLocation,omitempty"` //
SoftwareVersion string `json:"softwareVersion,omitempty"` //
TagCount string `json:"tagCount,omitempty"` //
TunnelUDPPort string `json:"tunnelUdpPort,omitempty"` //
Type string `json:"type,omitempty"` //
UpTime string `json:"upTime,omitempty"` //
WaasDeviceMode string `json:"waasDeviceMode,omitempty"` //
}
// GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopology is the getDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopology definition
type GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopology struct {
Links []GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinks `json:"links,omitempty"` //
Nodes []GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyNodes `json:"nodes,omitempty"` //
}
// GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinks is the getDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinks definition
type GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinks struct {
ID string `json:"id,omitempty"` //
Label []string `json:"label,omitempty"` //
LinkStatus string `json:"linkStatus,omitempty"` //
PortUtilization string `json:"portUtilization,omitempty"` //
Source string `json:"source,omitempty"` //
Target string `json:"target,omitempty"` //
}
// GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinksLabel is the getDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinksLabel definition
type GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyLinksLabel []string
// GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyNodes is the getDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyNodes definition
type GetDeviceEnrichmentDetailsResponseDeviceDetailsNeighborTopologyNodes struct {
Clients string `json:"clients,omitempty"` //
ConnectedDevice string `json:"connectedDevice,omitempty"` //
Count string `json:"count,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceType string `json:"deviceType,omitempty"` //
FabricGroup string `json:"fabricGroup,omitempty"` //
Family string `json:"family,omitempty"` //
HealthScore int `json:"healthScore,omitempty"` //
ID string `json:"id,omitempty"` //
IP string `json:"ip,omitempty"` //
Level float64 `json:"level,omitempty"` //
Name string `json:"name,omitempty"` //
NodeType string `json:"nodeType,omitempty"` //
PlatformID string `json:"platformId,omitempty"` //
RadioFrequency string `json:"radioFrequency,omitempty"` //
Role string `json:"role,omitempty"` //
SoftwareVersion string `json:"softwareVersion,omitempty"` //
UserID string `json:"userId,omitempty"` //
}
// GetDeviceInterfaceCountByDeviceIDResponse is the getDeviceInterfaceCountByDeviceIdResponse definition
type GetDeviceInterfaceCountByDeviceIDResponse struct {
Response int `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceInterfaceCountResponse is the getDeviceInterfaceCountResponse definition
type GetDeviceInterfaceCountResponse struct {
Response int `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceInterfaceVLANsResponse is the getDeviceInterfaceVLANsResponse definition
type GetDeviceInterfaceVLANsResponse struct {
Response []GetDeviceInterfaceVLANsResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceInterfaceVLANsResponseResponse is the getDeviceInterfaceVLANsResponseResponse definition
type GetDeviceInterfaceVLANsResponseResponse struct {
InterfaceName string `json:"interfaceName,omitempty"` //
IPAddress string `json:"ipAddress,omitempty"` //
Mask int `json:"mask,omitempty"` //
NetworkAddress string `json:"networkAddress,omitempty"` //
NumberOfIPs int `json:"numberOfIPs,omitempty"` //
Prefix string `json:"prefix,omitempty"` //
VLANNumber int `json:"vlanNumber,omitempty"` //
VLANType string `json:"vlanType,omitempty"` //
}
// GetDeviceInterfacesBySpecifiedRangeResponse is the getDeviceInterfacesBySpecifiedRangeResponse definition
type GetDeviceInterfacesBySpecifiedRangeResponse struct {
Response []GetDeviceInterfacesBySpecifiedRangeResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceInterfacesBySpecifiedRangeResponseResponse is the getDeviceInterfacesBySpecifiedRangeResponseResponse definition
type GetDeviceInterfacesBySpecifiedRangeResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// GetDeviceListResponse is the getDeviceListResponse definition
type GetDeviceListResponse struct {
Response []GetDeviceListResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceListResponseResponse is the getDeviceListResponseResponse definition
type GetDeviceListResponseResponse struct {
ApManagerInterfaceIP string `json:"apManagerInterfaceIp,omitempty"` //
AssociatedWlcIP string `json:"associatedWlcIp,omitempty"` //
BootDateTime string `json:"bootDateTime,omitempty"` //
CollectionInterval string `json:"collectionInterval,omitempty"` //
CollectionStatus string `json:"collectionStatus,omitempty"` //
ErrorCode string `json:"errorCode,omitempty"` //
ErrorDescription string `json:"errorDescription,omitempty"` //
Family string `json:"family,omitempty"` //
Hostname string `json:"hostname,omitempty"` //
ID string `json:"id,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceCount string `json:"interfaceCount,omitempty"` //
InventoryStatusDetail string `json:"inventoryStatusDetail,omitempty"` //
LastUpdateTime int `json:"lastUpdateTime,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
LineCardCount string `json:"lineCardCount,omitempty"` //
LineCardID string `json:"lineCardId,omitempty"` //
Location string `json:"location,omitempty"` //
LocationName string `json:"locationName,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
ManagementIPAddress string `json:"managementIpAddress,omitempty"` //
MemorySize string `json:"memorySize,omitempty"` //
PlatformID string `json:"platformId,omitempty"` //
ReachabilityFailureReason string `json:"reachabilityFailureReason,omitempty"` //
ReachabilityStatus string `json:"reachabilityStatus,omitempty"` //
Role string `json:"role,omitempty"` //
RoleSource string `json:"roleSource,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
Series string `json:"series,omitempty"` //
SNMPContact string `json:"snmpContact,omitempty"` //
SNMPLocation string `json:"snmpLocation,omitempty"` //
SoftwareType string `json:"softwareType,omitempty"` //
SoftwareVersion string `json:"softwareVersion,omitempty"` //
TagCount string `json:"tagCount,omitempty"` //
TunnelUDPPort string `json:"tunnelUdpPort,omitempty"` //
Type string `json:"type,omitempty"` //
UpTime string `json:"upTime,omitempty"` //
WaasDeviceMode string `json:"waasDeviceMode,omitempty"` //
}
// GetDeviceSummaryResponse is the getDeviceSummaryResponse definition
type GetDeviceSummaryResponse struct {
Response GetDeviceSummaryResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetDeviceSummaryResponseResponse is the getDeviceSummaryResponseResponse definition
type GetDeviceSummaryResponseResponse struct {
ID string `json:"id,omitempty"` //
Role string `json:"role,omitempty"` //
RoleSource string `json:"roleSource,omitempty"` //
}
// GetFunctionalCapabilityByIDResponseResponse is the getFunctionalCapabilityByIDResponseResponse definition
type GetFunctionalCapabilityByIDResponseResponse struct {
AttributeInfo string `json:"attributeInfo,omitempty"` //
FunctionDetails []GetFunctionalCapabilityByIDResponseResponseFunctionDetails `json:"functionDetails,omitempty"` //
FunctionName string `json:"functionName,omitempty"` //
FunctionOpState string `json:"functionOpState,omitempty"` //
ID string `json:"id,omitempty"` //
}
// GetFunctionalCapabilityByIDResponseResponseFunctionDetails is the getFunctionalCapabilityByIDResponseResponseFunctionDetails definition
type GetFunctionalCapabilityByIDResponseResponseFunctionDetails struct {
AttributeInfo string `json:"attributeInfo,omitempty"` //
ID string `json:"id,omitempty"` //
PropertyName string `json:"propertyName,omitempty"` //
StringValue string `json:"stringValue,omitempty"` //
}
// GetFunctionalCapabilityByIDResponse is the getFunctionalCapabilityByIdResponse definition
type GetFunctionalCapabilityByIDResponse struct {
Response GetFunctionalCapabilityByIDResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetFunctionalCapabilityForDevicesResponse is the getFunctionalCapabilityForDevicesResponse definition
type GetFunctionalCapabilityForDevicesResponse struct {
Response []GetFunctionalCapabilityForDevicesResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetFunctionalCapabilityForDevicesResponseResponse is the getFunctionalCapabilityForDevicesResponseResponse definition
type GetFunctionalCapabilityForDevicesResponseResponse struct {
AttributeInfo string `json:"attributeInfo,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
FunctionalCapability []GetFunctionalCapabilityForDevicesResponseResponseFunctionalCapability `json:"functionalCapability,omitempty"` //
ID string `json:"id,omitempty"` //
}
// GetFunctionalCapabilityForDevicesResponseResponseFunctionalCapability is the getFunctionalCapabilityForDevicesResponseResponseFunctionalCapability definition
type GetFunctionalCapabilityForDevicesResponseResponseFunctionalCapability struct {
AttributeInfo string `json:"attributeInfo,omitempty"` //
FunctionDetails []GetFunctionalCapabilityForDevicesResponseResponseFunctionalCapabilityFunctionDetails `json:"functionDetails,omitempty"` //
FunctionName string `json:"functionName,omitempty"` //
FunctionOpState string `json:"functionOpState,omitempty"` //
ID string `json:"id,omitempty"` //
}
// GetFunctionalCapabilityForDevicesResponseResponseFunctionalCapabilityFunctionDetails is the getFunctionalCapabilityForDevicesResponseResponseFunctionalCapabilityFunctionDetails definition
type GetFunctionalCapabilityForDevicesResponseResponseFunctionalCapabilityFunctionDetails struct {
AttributeInfo string `json:"attributeInfo,omitempty"` //
ID string `json:"id,omitempty"` //
PropertyName string `json:"propertyName,omitempty"` //
StringValue string `json:"stringValue,omitempty"` //
}
// GetISISInterfacesResponse is the getISISInterfacesResponse definition
type GetISISInterfacesResponse struct {
Response []GetISISInterfacesResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetISISInterfacesResponseResponse is the getISISInterfacesResponseResponse definition
type GetISISInterfacesResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// GetInterfaceByIDResponseResponse is the getInterfaceByIDResponseResponse definition
type GetInterfaceByIDResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// GetInterfaceByIPResponse is the getInterfaceByIPResponse definition
type GetInterfaceByIPResponse struct {
Response []GetInterfaceByIPResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetInterfaceByIPResponseResponse is the getInterfaceByIPResponseResponse definition
type GetInterfaceByIPResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// GetInterfaceByIDResponse is the getInterfaceByIdResponse definition
type GetInterfaceByIDResponse struct {
Response GetInterfaceByIDResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetInterfaceDetailsByDeviceIDAndInterfaceNameResponseResponse is the getInterfaceDetailsByDeviceIDAndInterfaceNameResponseResponse definition
type GetInterfaceDetailsByDeviceIDAndInterfaceNameResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// GetInterfaceDetailsByDeviceIDAndInterfaceNameResponse is the getInterfaceDetailsByDeviceIdAndInterfaceNameResponse definition
type GetInterfaceDetailsByDeviceIDAndInterfaceNameResponse struct {
Response GetInterfaceDetailsByDeviceIDAndInterfaceNameResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetInterfaceInfoByIDResponseResponse is the getInterfaceInfoByIDResponseResponse definition
type GetInterfaceInfoByIDResponseResponse struct {
AdminStatus string `json:"adminStatus,omitempty"` //
ClassName string `json:"className,omitempty"` //
Description string `json:"description,omitempty"` //
DeviceID string `json:"deviceId,omitempty"` //
Duplex string `json:"duplex,omitempty"` //
ID string `json:"id,omitempty"` //
IfIndex string `json:"ifIndex,omitempty"` //
InstanceTenantID string `json:"instanceTenantId,omitempty"` //
InstanceUUID string `json:"instanceUuid,omitempty"` //
InterfaceType string `json:"interfaceType,omitempty"` //
IPv4Address string `json:"ipv4Address,omitempty"` //
IPv4Mask string `json:"ipv4Mask,omitempty"` //
IsisSupport string `json:"isisSupport,omitempty"` //
LastUpdated string `json:"lastUpdated,omitempty"` //
MacAddress string `json:"macAddress,omitempty"` //
MappedPhysicalInterfaceID string `json:"mappedPhysicalInterfaceId,omitempty"` //
MappedPhysicalInterfaceName string `json:"mappedPhysicalInterfaceName,omitempty"` //
MediaType string `json:"mediaType,omitempty"` //
NativeVLANID string `json:"nativeVlanId,omitempty"` //
OspfSupport string `json:"ospfSupport,omitempty"` //
Pid string `json:"pid,omitempty"` //
PortMode string `json:"portMode,omitempty"` //
PortName string `json:"portName,omitempty"` //
PortType string `json:"portType,omitempty"` //
SerialNo string `json:"serialNo,omitempty"` //
Series string `json:"series,omitempty"` //
Speed string `json:"speed,omitempty"` //
Status string `json:"status,omitempty"` //
VLANID string `json:"vlanId,omitempty"` //
VoiceVLAN string `json:"voiceVlan,omitempty"` //
}
// GetInterfaceInfoByIDResponse is the getInterfaceInfoByIdResponse definition
type GetInterfaceInfoByIDResponse struct {
Response []GetInterfaceInfoByIDResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetModuleCountResponse is the getModuleCountResponse definition
type GetModuleCountResponse struct {
Response int `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetModuleInfoByIDResponseResponse is the getModuleInfoByIDResponseResponse definition
type GetModuleInfoByIDResponseResponse struct {
AssemblyNumber string `json:"assemblyNumber,omitempty"` //
AssemblyRevision string `json:"assemblyRevision,omitempty"` //
AttributeInfo string `json:"attributeInfo,omitempty"` //
ContainmentEntity string `json:"containmentEntity,omitempty"` //
Description string `json:"description,omitempty"` //
EntityPhysicalIndex string `json:"entityPhysicalIndex,omitempty"` //
ID string `json:"id,omitempty"` //
IsFieldReplaceable string `json:"isFieldReplaceable,omitempty"` //
IsReportingAlarmsAllowed string `json:"isReportingAlarmsAllowed,omitempty"` //
Manufacturer string `json:"manufacturer,omitempty"` //
ModuleIndex int `json:"moduleIndex,omitempty"` //
Name string `json:"name,omitempty"` //
OperationalStateCode string `json:"operationalStateCode,omitempty"` //
PartNumber string `json:"partNumber,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
VendorEquipmentType string `json:"vendorEquipmentType,omitempty"` //
}
// GetModuleInfoByIDResponse is the getModuleInfoByIdResponse definition
type GetModuleInfoByIDResponse struct {
Response GetModuleInfoByIDResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetModulesResponse is the getModulesResponse definition
type GetModulesResponse struct {
Response []GetModulesResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetModulesResponseResponse is the getModulesResponseResponse definition
type GetModulesResponseResponse struct {
AssemblyNumber string `json:"assemblyNumber,omitempty"` //
AssemblyRevision string `json:"assemblyRevision,omitempty"` //
AttributeInfo string `json:"attributeInfo,omitempty"` //
ContainmentEntity string `json:"containmentEntity,omitempty"` //
Description string `json:"description,omitempty"` //
EntityPhysicalIndex string `json:"entityPhysicalIndex,omitempty"` //
ID string `json:"id,omitempty"` //
IsFieldReplaceable string `json:"isFieldReplaceable,omitempty"` //
IsReportingAlarmsAllowed string `json:"isReportingAlarmsAllowed,omitempty"` //
Manufacturer string `json:"manufacturer,omitempty"` //
ModuleIndex int `json:"moduleIndex,omitempty"` //
Name string `json:"name,omitempty"` //
OperationalStateCode string `json:"operationalStateCode,omitempty"` //
PartNumber string `json:"partNumber,omitempty"` //
SerialNumber string `json:"serialNumber,omitempty"` //
VendorEquipmentType string `json:"vendorEquipmentType,omitempty"` //
}
// GetNetworkDeviceByIPResponse is the getNetworkDeviceByIPResponse definition
type GetNetworkDeviceByIPResponse struct {
Response GetNetworkDeviceByIPResponseResponse `json:"response,omitempty"` //
Version string `json:"version,omitempty"` //
}
// GetNetworkDeviceByIPResponseResponse is the getNetworkDeviceByIPResponseResponse definition