-
Notifications
You must be signed in to change notification settings - Fork 13
/
zz_result.go
1594 lines (1170 loc) · 52.5 KB
/
zz_result.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
// Copyright 2016-2020 The Libsacloud Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// generated by 'github.com/sacloud/libsacloud/internal/tools/gen-api-result'; DO NOT EDIT
package sacloud
// ArchiveFindResult represents the Result of API
type ArchiveFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Archives []*Archive `json:",omitempty" mapconv:"[]Archives,omitempty,recursive"`
}
// archiveCreateResult represents the Result of API
type archiveCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
}
// archiveCreateBlankResult represents the Result of API
type archiveCreateBlankResult struct {
IsOk bool `json:",omitempty"` // is_ok
Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
}
// archiveReadResult represents the Result of API
type archiveReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
}
// archiveUpdateResult represents the Result of API
type archiveUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
}
// archiveOpenFTPResult represents the Result of API
type archiveOpenFTPResult struct {
IsOk bool `json:",omitempty"` // is_ok
FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
}
// archiveShareResult represents the Result of API
type archiveShareResult struct {
IsOk bool `json:",omitempty"` // is_ok
ArchiveShareInfo *ArchiveShareInfo `json:",omitempty" mapconv:"ArchiveShareInfo,omitempty,recursive"`
}
// archiveCreateFromSharedResult represents the Result of API
type archiveCreateFromSharedResult struct {
IsOk bool `json:",omitempty"` // is_ok
Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
}
// archiveTransferResult represents the Result of API
type archiveTransferResult struct {
IsOk bool `json:",omitempty"` // is_ok
Archive *Archive `json:",omitempty" mapconv:"Archive,omitempty,recursive"`
}
// authStatusReadResult represents the Result of API
type authStatusReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
AuthStatus *AuthStatus `json:",omitempty" mapconv:"AuthStatus,omitempty,recursive"`
}
// AutoBackupFindResult represents the Result of API
type AutoBackupFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
AutoBackups []*AutoBackup `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
}
// autoBackupCreateResult represents the Result of API
type autoBackupCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// autoBackupReadResult represents the Result of API
type autoBackupReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// autoBackupUpdateResult represents the Result of API
type autoBackupUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// autoBackupUpdateSettingsResult represents the Result of API
type autoBackupUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
AutoBackup *AutoBackup `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// BillByContractResult represents the Result of API
type BillByContractResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
}
// BillByContractYearResult represents the Result of API
type BillByContractYearResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
}
// BillByContractYearMonthResult represents the Result of API
type BillByContractYearMonthResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
}
// BillReadResult represents the Result of API
type BillReadResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"`
}
// BillDetailsResult represents the Result of API
type BillDetailsResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
BillDetails []*BillDetail `json:",omitempty" mapconv:"[]BillDetails,omitempty,recursive"`
}
// billDetailsCSVResult represents the Result of API
type billDetailsCSVResult struct {
IsOk bool `json:",omitempty"` // is_ok
BillDetailCSV *BillDetailCSV `json:",omitempty" mapconv:"CSV,omitempty,recursive"`
}
// BridgeFindResult represents the Result of API
type BridgeFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Bridges []*Bridge `json:",omitempty" mapconv:"[]Bridges,omitempty,recursive"`
}
// bridgeCreateResult represents the Result of API
type bridgeCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Bridge *Bridge `json:",omitempty" mapconv:"Bridge,omitempty,recursive"`
}
// bridgeReadResult represents the Result of API
type bridgeReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Bridge *Bridge `json:",omitempty" mapconv:"Bridge,omitempty,recursive"`
}
// bridgeUpdateResult represents the Result of API
type bridgeUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Bridge *Bridge `json:",omitempty" mapconv:"Bridge,omitempty,recursive"`
}
// CDROMFindResult represents the Result of API
type CDROMFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
CDROMs []*CDROM `json:",omitempty" mapconv:"[]CDROMs,omitempty,recursive"`
}
// cDROMCreateResult represents the Result of API
type cDROMCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
CDROM *CDROM `json:",omitempty" mapconv:"CDROM,omitempty,recursive"`
FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
}
// cDROMReadResult represents the Result of API
type cDROMReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
CDROM *CDROM `json:",omitempty" mapconv:"CDROM,omitempty,recursive"`
}
// cDROMUpdateResult represents the Result of API
type cDROMUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
CDROM *CDROM `json:",omitempty" mapconv:"CDROM,omitempty,recursive"`
}
// cDROMOpenFTPResult represents the Result of API
type cDROMOpenFTPResult struct {
IsOk bool `json:",omitempty"` // is_ok
FTPServer *FTPServer `json:",omitempty" mapconv:"FTPServer,omitempty,recursive"`
}
// ContainerRegistryFindResult represents the Result of API
type ContainerRegistryFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
ContainerRegistries []*ContainerRegistry `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
}
// containerRegistryCreateResult represents the Result of API
type containerRegistryCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// containerRegistryReadResult represents the Result of API
type containerRegistryReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// containerRegistryUpdateResult represents the Result of API
type containerRegistryUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// containerRegistryUpdateSettingsResult represents the Result of API
type containerRegistryUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
ContainerRegistry *ContainerRegistry `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// containerRegistryListUsersResult represents the Result of API
type containerRegistryListUsersResult struct {
IsOk bool `json:",omitempty"` // is_ok
ContainerRegistryUsers *ContainerRegistryUsers `json:",omitempty" mapconv:"ContainerRegistry,omitempty,recursive"`
}
// CouponFindResult represents the Result of API
type CouponFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Coupons []*Coupon `json:",omitempty" mapconv:"[]Coupon,omitempty,recursive"`
}
// DatabaseFindResult represents the Result of API
type DatabaseFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Databases []*Database `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
}
// databaseCreateResult represents the Result of API
type databaseCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// databaseReadResult represents the Result of API
type databaseReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// databaseUpdateResult represents the Result of API
type databaseUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// databaseUpdateSettingsResult represents the Result of API
type databaseUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
Database *Database `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// databaseMonitorCPUResult represents the Result of API
type databaseMonitorCPUResult struct {
IsOk bool `json:",omitempty"` // is_ok
CPUTimeActivity *CPUTimeActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// databaseMonitorDiskResult represents the Result of API
type databaseMonitorDiskResult struct {
IsOk bool `json:",omitempty"` // is_ok
DiskActivity *DiskActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// databaseMonitorInterfaceResult represents the Result of API
type databaseMonitorInterfaceResult struct {
IsOk bool `json:",omitempty"` // is_ok
InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// databaseMonitorDatabaseResult represents the Result of API
type databaseMonitorDatabaseResult struct {
IsOk bool `json:",omitempty"` // is_ok
DatabaseActivity *DatabaseActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// databaseStatusResult represents the Result of API
type databaseStatusResult struct {
IsOk bool `json:",omitempty"` // is_ok
DatabaseStatus *DatabaseStatus `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// DiskFindResult represents the Result of API
type DiskFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Disks []*Disk `json:",omitempty" mapconv:"[]Disks,omitempty,recursive"`
}
// diskCreateResult represents the Result of API
type diskCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
}
// diskCreateWithConfigResult represents the Result of API
type diskCreateWithConfigResult struct {
IsOk bool `json:",omitempty"` // is_ok
Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
}
// diskInstallResult represents the Result of API
type diskInstallResult struct {
IsOk bool `json:",omitempty"` // is_ok
Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
}
// diskReadResult represents the Result of API
type diskReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
}
// diskUpdateResult represents the Result of API
type diskUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Disk *Disk `json:",omitempty" mapconv:"Disk,omitempty,recursive"`
}
// diskMonitorResult represents the Result of API
type diskMonitorResult struct {
IsOk bool `json:",omitempty"` // is_ok
DiskActivity *DiskActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// DiskPlanFindResult represents the Result of API
type DiskPlanFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
DiskPlans []*DiskPlan `json:",omitempty" mapconv:"[]DiskPlans,omitempty,recursive"`
}
// diskPlanReadResult represents the Result of API
type diskPlanReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
DiskPlan *DiskPlan `json:",omitempty" mapconv:"DiskPlan,omitempty,recursive"`
}
// DNSFindResult represents the Result of API
type DNSFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
DNS []*DNS `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
}
// dNSCreateResult represents the Result of API
type dNSCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// dNSReadResult represents the Result of API
type dNSReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// dNSUpdateResult represents the Result of API
type dNSUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// dNSUpdateSettingsResult represents the Result of API
type dNSUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
DNS *DNS `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// GSLBFindResult represents the Result of API
type GSLBFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
GSLBs []*GSLB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
}
// gSLBCreateResult represents the Result of API
type gSLBCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// gSLBReadResult represents the Result of API
type gSLBReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// gSLBUpdateResult represents the Result of API
type gSLBUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// gSLBUpdateSettingsResult represents the Result of API
type gSLBUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
GSLB *GSLB `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// IconFindResult represents the Result of API
type IconFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Icons []*Icon `json:",omitempty" mapconv:"[]Icons,omitempty,recursive"`
}
// iconCreateResult represents the Result of API
type iconCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Icon *Icon `json:",omitempty" mapconv:"Icon,omitempty,recursive"`
}
// iconReadResult represents the Result of API
type iconReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Icon *Icon `json:",omitempty" mapconv:"Icon,omitempty,recursive"`
}
// iconUpdateResult represents the Result of API
type iconUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Icon *Icon `json:",omitempty" mapconv:"Icon,omitempty,recursive"`
}
// InterfaceFindResult represents the Result of API
type InterfaceFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Interfaces []*Interface `json:",omitempty" mapconv:"[]Interfaces,omitempty,recursive"`
}
// interfaceCreateResult represents the Result of API
type interfaceCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Interface *Interface `json:",omitempty" mapconv:"Interface,omitempty,recursive"`
}
// interfaceReadResult represents the Result of API
type interfaceReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Interface *Interface `json:",omitempty" mapconv:"Interface,omitempty,recursive"`
}
// interfaceUpdateResult represents the Result of API
type interfaceUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Interface *Interface `json:",omitempty" mapconv:"Interface,omitempty,recursive"`
}
// interfaceMonitorResult represents the Result of API
type interfaceMonitorResult struct {
IsOk bool `json:",omitempty"` // is_ok
InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// InternetFindResult represents the Result of API
type InternetFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Internet []*Internet `json:",omitempty" mapconv:"[]Internet,omitempty,recursive"`
}
// internetCreateResult represents the Result of API
type internetCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
}
// internetReadResult represents the Result of API
type internetReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
}
// internetUpdateResult represents the Result of API
type internetUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
}
// internetUpdateBandWidthResult represents the Result of API
type internetUpdateBandWidthResult struct {
IsOk bool `json:",omitempty"` // is_ok
Internet *Internet `json:",omitempty" mapconv:"Internet,omitempty,recursive"`
}
// internetAddSubnetResult represents the Result of API
type internetAddSubnetResult struct {
IsOk bool `json:",omitempty"` // is_ok
Subnet *InternetSubnetOperationResult `json:",omitempty" mapconv:"Subnet,omitempty,recursive"`
}
// internetUpdateSubnetResult represents the Result of API
type internetUpdateSubnetResult struct {
IsOk bool `json:",omitempty"` // is_ok
Subnet *InternetSubnetOperationResult `json:",omitempty" mapconv:"Subnet,omitempty,recursive"`
}
// internetMonitorResult represents the Result of API
type internetMonitorResult struct {
IsOk bool `json:",omitempty"` // is_ok
RouterActivity *RouterActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// internetEnableIPv6Result represents the Result of API
type internetEnableIPv6Result struct {
IsOk bool `json:",omitempty"` // is_ok
IPv6Net *IPv6NetInfo `json:",omitempty" mapconv:"IPv6Net,omitempty,recursive"`
}
// InternetPlanFindResult represents the Result of API
type InternetPlanFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
InternetPlans []*InternetPlan `json:",omitempty" mapconv:"[]InternetPlans,omitempty,recursive"`
}
// internetPlanReadResult represents the Result of API
type internetPlanReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
InternetPlan *InternetPlan `json:",omitempty" mapconv:"InternetPlan,omitempty,recursive"`
}
// IPAddressListResult represents the Result of API
type IPAddressListResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
IPAddress []*IPAddress `json:",omitempty" mapconv:"[]IPAddress,omitempty,recursive"`
}
// iPAddressReadResult represents the Result of API
type iPAddressReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
IPAddress *IPAddress `json:",omitempty" mapconv:"IPAddress,omitempty,recursive"`
}
// iPAddressUpdateHostNameResult represents the Result of API
type iPAddressUpdateHostNameResult struct {
IsOk bool `json:",omitempty"` // is_ok
IPAddress *IPAddress `json:",omitempty" mapconv:"IPAddress,omitempty,recursive"`
}
// IPv6NetListResult represents the Result of API
type IPv6NetListResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
IPv6Nets []*IPv6Net `json:",omitempty" mapconv:"[]IPv6Nets,omitempty,recursive"`
}
// iPv6NetReadResult represents the Result of API
type iPv6NetReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
IPv6Net *IPv6Net `json:",omitempty" mapconv:"IPv6Net,omitempty,recursive"`
}
// IPv6AddrFindResult represents the Result of API
type IPv6AddrFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
IPv6Addrs []*IPv6Addr `json:",omitempty" mapconv:"[]IPv6Addrs,omitempty,recursive"`
}
// iPv6AddrCreateResult represents the Result of API
type iPv6AddrCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
IPv6Addr *IPv6Addr `json:",omitempty" mapconv:"IPv6Addr,omitempty,recursive"`
}
// iPv6AddrReadResult represents the Result of API
type iPv6AddrReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
IPv6Addr *IPv6Addr `json:",omitempty" mapconv:"IPv6Addr,omitempty,recursive"`
}
// iPv6AddrUpdateResult represents the Result of API
type iPv6AddrUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
IPv6Addr *IPv6Addr `json:",omitempty" mapconv:"IPv6Addr,omitempty,recursive"`
}
// LicenseFindResult represents the Result of API
type LicenseFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Licenses []*License `json:",omitempty" mapconv:"[]Licenses,omitempty,recursive"`
}
// licenseCreateResult represents the Result of API
type licenseCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
License *License `json:",omitempty" mapconv:"License,omitempty,recursive"`
}
// licenseReadResult represents the Result of API
type licenseReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
License *License `json:",omitempty" mapconv:"License,omitempty,recursive"`
}
// licenseUpdateResult represents the Result of API
type licenseUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
License *License `json:",omitempty" mapconv:"License,omitempty,recursive"`
}
// LicenseInfoFindResult represents the Result of API
type LicenseInfoFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
LicenseInfo []*LicenseInfo `json:",omitempty" mapconv:"[]LicenseInfo,omitempty,recursive"`
}
// licenseInfoReadResult represents the Result of API
type licenseInfoReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
LicenseInfo *LicenseInfo `json:",omitempty" mapconv:"LicenseInfo,omitempty,recursive"`
}
// LoadBalancerFindResult represents the Result of API
type LoadBalancerFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
LoadBalancers []*LoadBalancer `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
}
// loadBalancerCreateResult represents the Result of API
type loadBalancerCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// loadBalancerReadResult represents the Result of API
type loadBalancerReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// loadBalancerUpdateResult represents the Result of API
type loadBalancerUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// loadBalancerUpdateSettingsResult represents the Result of API
type loadBalancerUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
LoadBalancer *LoadBalancer `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// loadBalancerMonitorInterfaceResult represents the Result of API
type loadBalancerMonitorInterfaceResult struct {
IsOk bool `json:",omitempty"` // is_ok
InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// LoadBalancerStatusResult represents the Result of API
type LoadBalancerStatusResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
Status []*LoadBalancerStatus `json:",omitempty" mapconv:"[]LoadBalancer,omitempty,recursive"`
}
// LocalRouterFindResult represents the Result of API
type LocalRouterFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
LocalRouters []*LocalRouter `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"`
}
// localRouterCreateResult represents the Result of API
type localRouterCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// localRouterReadResult represents the Result of API
type localRouterReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// localRouterUpdateResult represents the Result of API
type localRouterUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// localRouterUpdateSettingsResult represents the Result of API
type localRouterUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
LocalRouter *LocalRouter `json:",omitempty" mapconv:"CommonServiceItem,omitempty,recursive"`
}
// localRouterHealthStatusResult represents the Result of API
type localRouterHealthStatusResult struct {
IsOk bool `json:",omitempty"` // is_ok
LocalRouterHealth *LocalRouterHealth `json:",omitempty" mapconv:"LocalRouter,omitempty,recursive"`
}
// localRouterMonitorLocalRouterResult represents the Result of API
type localRouterMonitorLocalRouterResult struct {
IsOk bool `json:",omitempty"` // is_ok
LocalRouterActivity *LocalRouterActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// MobileGatewayFindResult represents the Result of API
type MobileGatewayFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
MobileGateways []*MobileGateway `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
}
// mobileGatewayCreateResult represents the Result of API
type mobileGatewayCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// mobileGatewayReadResult represents the Result of API
type mobileGatewayReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// mobileGatewayUpdateResult represents the Result of API
type mobileGatewayUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// mobileGatewayUpdateSettingsResult represents the Result of API
type mobileGatewayUpdateSettingsResult struct {
IsOk bool `json:",omitempty"` // is_ok
MobileGateway *MobileGateway `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// mobileGatewayGetDNSResult represents the Result of API
type mobileGatewayGetDNSResult struct {
IsOk bool `json:",omitempty"` // is_ok
SIMGroup *MobileGatewayDNSSetting `json:",omitempty" mapconv:"SIMGroup,omitempty,recursive"`
}
// mobileGatewayGetSIMRoutesResult represents the Result of API
type mobileGatewayGetSIMRoutesResult struct {
IsOk bool `json:",omitempty"` // is_ok
SIMRoutes []*MobileGatewaySIMRoute `json:",omitempty" mapconv:"[]SIMRoutes,omitempty,recursive"`
}
// mobileGatewayListSIMResult represents the Result of API
type mobileGatewayListSIMResult struct {
IsOk bool `json:",omitempty"` // is_ok
SIM []*MobileGatewaySIMInfo `json:",omitempty" mapconv:"[]SIM,omitempty,recursive"`
}
// mobileGatewayLogsResult represents the Result of API
type mobileGatewayLogsResult struct {
IsOk bool `json:",omitempty"` // is_ok
Logs []*MobileGatewaySIMLogs `json:",omitempty" mapconv:"[]Logs,omitempty,recursive"`
}
// mobileGatewayGetTrafficConfigResult represents the Result of API
type mobileGatewayGetTrafficConfigResult struct {
IsOk bool `json:",omitempty"` // is_ok
TrafficMonitoring *MobileGatewayTrafficControl `json:",omitempty" mapconv:"TrafficMonitoring,omitempty,recursive"`
}
// mobileGatewayTrafficStatusResult represents the Result of API
type mobileGatewayTrafficStatusResult struct {
IsOk bool `json:",omitempty"` // is_ok
TrafficStatus *MobileGatewayTrafficStatus `json:",omitempty" mapconv:"TrafficStatus,omitempty,recursive"`
}
// mobileGatewayMonitorInterfaceResult represents the Result of API
type mobileGatewayMonitorInterfaceResult struct {
IsOk bool `json:",omitempty"` // is_ok
InterfaceActivity *InterfaceActivity `json:",omitempty" mapconv:"Data,omitempty,recursive"`
}
// NFSFindResult represents the Result of API
type NFSFindResult struct {
Total int `json:",omitempty"` // Total count of target resources
From int `json:",omitempty"` // Current page number
Count int `json:",omitempty"` // Count of current page
NFS []*NFS `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"`
}
// nFSCreateResult represents the Result of API
type nFSCreateResult struct {
IsOk bool `json:",omitempty"` // is_ok
NFS *NFS `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// nFSReadResult represents the Result of API
type nFSReadResult struct {
IsOk bool `json:",omitempty"` // is_ok
NFS *NFS `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// nFSUpdateResult represents the Result of API
type nFSUpdateResult struct {
IsOk bool `json:",omitempty"` // is_ok
NFS *NFS `json:",omitempty" mapconv:"Appliance,omitempty,recursive"`
}
// nFSMonitorFreeDiskSizeResult represents the Result of API
type nFSMonitorFreeDiskSizeResult struct {
IsOk bool `json:",omitempty"` // is_ok