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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
#![cfg_attr(any(), rustfmt::skip)]
///////////////////////////////////////////////
//                                           //
//                     !                     //
//   This file is automatically generated!   //
//           Do not directly edit!           //
//                                           //
///////////////////////////////////////////////

// http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 3c0bd6b3aee83b97e90e7c93c5ef563b7ddfbb11

#![allow(missing_docs)]

//! Data transfer structs.
//!
//! Separated into separate modules for each endpoint.
//! Several modules contain structs with the same name, so be sure to use the right ones.
//!
//! Note: these modules are automatically generated.

/// Data structs used by [`AccountV1`](crate::endpoints::AccountV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod account_v1 {
    /// Account data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Account {
        #[serde(rename = "puuid")]
        pub puuid: String,
        /// This field may be excluded from the response if the account doesn't have a gameName.
        #[serde(rename = "gameName")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_name: Option<String>,
        /// This field may be excluded from the response if the account doesn't have a tagLine.
        #[serde(rename = "tagLine")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tag_line: Option<String>,
    }
    /// ActiveShard data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ActiveShard {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "game")]
        pub game: String,
        #[serde(rename = "activeShard")]
        pub active_shard: String,
    }
}

/// Data structs used by [`ChampionMasteryV4`](crate::endpoints::ChampionMasteryV4).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod champion_mastery_v4 {
    /// ChampionMastery data object.
    /// # Description
    /// This object contains single Champion Mastery information for player and champion combination.
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ChampionMastery {
        /// Player Universal Unique Identifier. Exact length of 78 characters. (Encrypted)
        #[serde(rename = "puuid")]
        pub puuid: String,
        /// Number of points needed to achieve next level. Zero if player reached maximum champion level for this champion.
        #[serde(rename = "championPointsUntilNextLevel")]
        pub champion_points_until_next_level: i64,
        /// Is chest granted for this champion or not in current season.
        #[serde(rename = "chestGranted")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub chest_granted: Option<bool>,
        /// Champion ID for this entry.
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// Last time this champion was played by this player - in Unix milliseconds time format.
        #[serde(rename = "lastPlayTime")]
        pub last_play_time: i64,
        /// Champion level for specified player and champion combination.
        #[serde(rename = "championLevel")]
        pub champion_level: i32,
        /// Total number of champion points for this player and champion combination - they are used to determine championLevel.
        #[serde(rename = "championPoints")]
        pub champion_points: i32,
        /// Number of points earned since current level has been achieved.
        #[serde(rename = "championPointsSinceLastLevel")]
        pub champion_points_since_last_level: i64,
        /// The token earned for this champion at the current championLevel. When the championLevel is advanced the tokensEarned resets to 0.
        #[serde(rename = "tokensEarned")]
        pub tokens_earned: i32,
        #[serde(rename = "markRequiredForNextLevel")]
        pub mark_required_for_next_level: i32,
        #[serde(rename = "championSeasonMilestone")]
        pub champion_season_milestone: i32,
        #[serde(rename = "milestoneGrades")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub milestone_grades: Option<std::vec::Vec<String>>,
        #[serde(rename = "nextSeasonMilestone")]
        pub next_season_milestone: NextSeasonMilestone,
    }
    /// NextSeasonMilestone data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct NextSeasonMilestone {
        #[serde(rename = "requireGradeCounts")]
        pub require_grade_counts: std::collections::HashMap<String, i32>,
        #[serde(rename = "rewardMarks")]
        pub reward_marks: i32,
        #[serde(rename = "bonus")]
        pub bonus: bool,
        #[serde(rename = "rewardConfig")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub reward_config: Option<RewardConfig>,
    }
    /// RewardConfig data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct RewardConfig {
        #[serde(rename = "rewardValue")]
        pub reward_value: String,
        #[serde(rename = "rewardType")]
        pub reward_type: String,
        #[serde(rename = "maximumReward")]
        pub maximum_reward: i32,
    }
}

/// Data structs used by [`ChampionV3`](crate::endpoints::ChampionV3).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod champion_v3 {
    /// ChampionInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ChampionInfo {
        #[serde(rename = "maxNewPlayerLevel")]
        pub max_new_player_level: i32,
        #[serde(rename = "freeChampionIdsForNewPlayers")]
        pub free_champion_ids_for_new_players: std::vec::Vec<crate::consts::Champion>,
        #[serde(rename = "freeChampionIds")]
        pub free_champion_ids: std::vec::Vec<crate::consts::Champion>,
    }
}

/// Data structs used by [`ClashV1`](crate::endpoints::ClashV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod clash_v1 {
    /// Player data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Player {
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        #[serde(rename = "teamId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub team_id: Option<String>,
        /// (Legal values:  UNSELECTED,  FILL,  TOP,  JUNGLE,  MIDDLE,  BOTTOM,  UTILITY)
        #[serde(rename = "position")]
        pub position: String,
        /// (Legal values:  CAPTAIN,  MEMBER)
        #[serde(rename = "role")]
        pub role: String,
    }
    /// Team data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Team {
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "tournamentId")]
        pub tournament_id: i32,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "iconId")]
        pub icon_id: i32,
        #[serde(rename = "tier")]
        pub tier: i32,
        /// Summoner ID of the team captain.
        #[serde(rename = "captain")]
        pub captain: String,
        #[serde(rename = "abbreviation")]
        pub abbreviation: String,
        /// Team members.
        #[serde(rename = "players")]
        pub players: std::vec::Vec<Player>,
    }
    /// Tournament data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Tournament {
        #[serde(rename = "id")]
        pub id: i32,
        #[serde(rename = "themeId")]
        pub theme_id: i32,
        #[serde(rename = "nameKey")]
        pub name_key: String,
        #[serde(rename = "nameKeySecondary")]
        pub name_key_secondary: String,
        /// Tournament phase.
        #[serde(rename = "schedule")]
        pub schedule: std::vec::Vec<TournamentPhase>,
    }
    /// TournamentPhase data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentPhase {
        #[serde(rename = "id")]
        pub id: i32,
        #[serde(rename = "registrationTime")]
        pub registration_time: i64,
        #[serde(rename = "startTime")]
        pub start_time: i64,
        #[serde(rename = "cancelled")]
        pub cancelled: bool,
    }
}

/// Data structs used by [`LeagueExpV4`](crate::endpoints::LeagueExpV4).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod league_exp_v4 {
    /// LeagueEntry data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueEntry {
        #[serde(rename = "leagueId")]
        pub league_id: String,
        /// Player's summonerId (Encrypted)
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        #[serde(rename = "queueType")]
        pub queue_type: crate::consts::QueueType,
        #[serde(rename = "tier")]
        pub tier: crate::consts::Tier,
        /// The player's division within a tier.
        #[serde(rename = "rank")]
        pub rank: crate::consts::Division,
        #[serde(rename = "leaguePoints")]
        pub league_points: i32,
        /// Winning team on Summoners Rift. First placement in Teamfight Tactics.
        #[serde(rename = "wins")]
        pub wins: i32,
        /// Losing team on Summoners Rift. Second through eighth placement in Teamfight Tactics.
        #[serde(rename = "losses")]
        pub losses: i32,
        #[serde(rename = "hotStreak")]
        pub hot_streak: bool,
        #[serde(rename = "veteran")]
        pub veteran: bool,
        #[serde(rename = "freshBlood")]
        pub fresh_blood: bool,
        #[serde(rename = "inactive")]
        pub inactive: bool,
        #[serde(rename = "miniSeries")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mini_series: Option<MiniSeries>,
    }
    /// MiniSeries data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MiniSeries {
        #[serde(rename = "losses")]
        pub losses: i32,
        #[serde(rename = "progress")]
        pub progress: String,
        #[serde(rename = "target")]
        pub target: i32,
        #[serde(rename = "wins")]
        pub wins: i32,
    }
}

/// Data structs used by [`LeagueV4`](crate::endpoints::LeagueV4).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod league_v4 {
    /// LeagueList data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueList {
        #[serde(rename = "leagueId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub league_id: Option<String>,
        #[serde(rename = "entries")]
        pub entries: std::vec::Vec<LeagueItem>,
        #[serde(rename = "tier")]
        pub tier: crate::consts::Tier,
        #[serde(rename = "name")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub name: Option<String>,
        #[serde(rename = "queue")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub queue: Option<crate::consts::QueueType>,
    }
    /// LeagueItem data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueItem {
        #[serde(rename = "freshBlood")]
        pub fresh_blood: bool,
        /// Winning team on Summoners Rift.
        #[serde(rename = "wins")]
        pub wins: i32,
        #[serde(rename = "miniSeries")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mini_series: Option<MiniSeries>,
        #[serde(rename = "inactive")]
        pub inactive: bool,
        #[serde(rename = "veteran")]
        pub veteran: bool,
        #[serde(rename = "hotStreak")]
        pub hot_streak: bool,
        #[serde(rename = "rank")]
        pub rank: crate::consts::Division,
        #[serde(rename = "leaguePoints")]
        pub league_points: i32,
        /// Losing team on Summoners Rift.
        #[serde(rename = "losses")]
        pub losses: i32,
        /// Player's encrypted summonerId.
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
    }
    /// MiniSeries data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MiniSeries {
        #[serde(rename = "losses")]
        pub losses: i32,
        #[serde(rename = "progress")]
        pub progress: String,
        #[serde(rename = "target")]
        pub target: i32,
        #[serde(rename = "wins")]
        pub wins: i32,
    }
    /// LeagueEntry data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueEntry {
        #[serde(rename = "leagueId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub league_id: Option<String>,
        /// Player's encrypted summonerId.
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        #[serde(rename = "queueType")]
        pub queue_type: crate::consts::QueueType,
        #[serde(rename = "tier")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tier: Option<crate::consts::Tier>,
        /// The player's division within a tier.
        #[serde(rename = "rank")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub rank: Option<crate::consts::Division>,
        #[serde(rename = "leaguePoints")]
        pub league_points: i32,
        /// Winning team on Summoners Rift.
        #[serde(rename = "wins")]
        pub wins: i32,
        /// Losing team on Summoners Rift.
        #[serde(rename = "losses")]
        pub losses: i32,
        #[serde(rename = "hotStreak")]
        pub hot_streak: bool,
        #[serde(rename = "veteran")]
        pub veteran: bool,
        #[serde(rename = "freshBlood")]
        pub fresh_blood: bool,
        #[serde(rename = "inactive")]
        pub inactive: bool,
        #[serde(rename = "miniSeries")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mini_series: Option<MiniSeries>,
    }
}

/// Data structs used by [`LolChallengesV1`](crate::endpoints::LolChallengesV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lol_challenges_v1 {
    /// ChallengeConfigInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ChallengeConfigInfo {
        #[serde(rename = "id")]
        pub id: i64,
        #[serde(rename = "localizedNames")]
        pub localized_names: std::collections::HashMap<String, std::collections::HashMap<String, String>>,
        /// DISABLED - not visible and not calculated, HIDDEN - not visible, but calculated, ENABLED - visible and calculated, ARCHIVED - visible, but not calculated
        #[serde(rename = "state")]
        pub state: String,
        /// LIFETIME - stats are incremented without reset, SEASON - stats are accumulated by season and reset at the beginning of new season
        #[serde(rename = "tracking")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tracking: Option<String>,
        #[serde(rename = "startTimestamp")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub start_timestamp: Option<i64>,
        #[serde(rename = "endTimestamp")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub end_timestamp: Option<i64>,
        #[serde(rename = "leaderboard")]
        pub leaderboard: bool,
        #[serde(rename = "thresholds")]
        pub thresholds: std::collections::HashMap<String, f64>,
    }
    /// State data object.
    /// # Description
    /// DISABLED - not visible and not calculated,<br>
    /// HIDDEN - not visible, but calculated,<br>
    /// ENABLED - visible and calculated,<br>
    /// ARCHIVED - visible, but not calculated
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct State {
    }
    /// Tracking data object.
    /// # Description
    /// LIFETIME - stats are incremented without reset,<br>
    /// SEASON - stats are accumulated by season and reset at the beginning of new season
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Tracking {
    }
    /// ApexPlayerInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ApexPlayerInfo {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "value")]
        pub value: f64,
        #[serde(rename = "position")]
        pub position: i32,
    }
    /// Level data object.
    /// # Description
    /// 0 NONE,<br>
    /// 1 IRON,<br>
    /// 2 BRONZE,<br>
    /// 3 SILVER,<br>
    /// 4 GOLD,<br>
    /// 5 PLATINUM,<br>
    /// 6 DIAMOND,<br>
    /// 7 MASTER,<br>
    /// 8 GRANDMASTER,<br>
    /// 9 CHALLENGER
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Level {
    }
    /// PlayerInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlayerInfo {
        #[serde(rename = "challenges")]
        pub challenges: std::vec::Vec<ChallengeInfo>,
        #[serde(rename = "preferences")]
        pub preferences: PlayerClientPreferences,
        #[serde(rename = "totalPoints")]
        pub total_points: ChallengePoints,
        #[serde(rename = "categoryPoints")]
        pub category_points: std::collections::HashMap<String, ChallengePoints>,
    }
    /// ChallengeInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ChallengeInfo {
        #[serde(rename = "challengeId")]
        pub challenge_id: i64,
        #[serde(rename = "percentile")]
        pub percentile: f64,
        #[serde(rename = "level")]
        pub level: crate::consts::Tier,
        #[serde(rename = "value")]
        pub value: f64,
        #[serde(rename = "achievedTime")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub achieved_time: Option<i64>,
        #[serde(rename = "position")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub position: Option<i64>,
        #[serde(rename = "playersInLevel")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub players_in_level: Option<i64>,
    }
    /// PlayerClientPreferences data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlayerClientPreferences {
        #[serde(rename = "bannerAccent")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub banner_accent: Option<String>,
        #[serde(rename = "title")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub title: Option<String>,
        #[serde(rename = "challengeIds")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub challenge_ids: Option<std::vec::Vec<i64>>,
        #[serde(rename = "crestBorder")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub crest_border: Option<String>,
        #[serde(rename = "prestigeCrestBorderLevel")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub prestige_crest_border_level: Option<i32>,
    }
    /// ChallengePoints data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ChallengePoints {
        #[serde(rename = "level")]
        pub level: crate::consts::Tier,
        #[serde(rename = "current")]
        pub current: i64,
        #[serde(rename = "max")]
        pub max: i64,
        #[serde(rename = "percentile")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub percentile: Option<f64>,
    }
}

/// Data structs used by [`LolStatusV4`](crate::endpoints::LolStatusV4).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lol_status_v4 {
    /// PlatformData data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlatformData {
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "locales")]
        pub locales: std::vec::Vec<String>,
        #[serde(rename = "maintenances")]
        pub maintenances: std::vec::Vec<Status>,
        #[serde(rename = "incidents")]
        pub incidents: std::vec::Vec<Status>,
    }
    /// Status data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Status {
        #[serde(rename = "id")]
        pub id: i32,
        /// (Legal values:  scheduled,  in_progress,  complete)
        #[serde(rename = "maintenance_status")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub maintenance_status: Option<String>,
        /// (Legal values:  info,  warning,  critical)
        #[serde(rename = "incident_severity")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub incident_severity: Option<String>,
        #[serde(rename = "titles")]
        pub titles: std::vec::Vec<Content>,
        #[serde(rename = "updates")]
        pub updates: std::vec::Vec<Update>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "archive_at")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub archive_at: Option<String>,
        #[serde(rename = "updated_at")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub updated_at: Option<String>,
        /// (Legal values: windows, macos, android, ios, ps4, xbone, switch)
        #[serde(rename = "platforms")]
        pub platforms: std::vec::Vec<String>,
    }
    /// Content data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Content {
        #[serde(rename = "locale")]
        pub locale: String,
        #[serde(rename = "content")]
        pub content: String,
    }
    /// Update data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Update {
        #[serde(rename = "id")]
        pub id: i32,
        #[serde(rename = "author")]
        pub author: String,
        #[serde(rename = "publish")]
        pub publish: bool,
        /// (Legal values: riotclient, riotstatus, game)
        #[serde(rename = "publish_locations")]
        pub publish_locations: std::vec::Vec<String>,
        #[serde(rename = "translations")]
        pub translations: std::vec::Vec<Content>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
    }
}

/// Data structs used by [`LorDeckV1`](crate::endpoints::LorDeckV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lor_deck_v1 {
    /// Deck data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Deck {
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "code")]
        pub code: String,
    }
    /// NewDeck data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct NewDeck {
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "code")]
        pub code: String,
    }
}

/// Data structs used by [`LorInventoryV1`](crate::endpoints::LorInventoryV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lor_inventory_v1 {
    /// Card data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Card {
        #[serde(rename = "code")]
        pub code: String,
        #[serde(rename = "count")]
        pub count: String,
    }
}

/// Data structs used by [`LorMatchV1`](crate::endpoints::LorMatchV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lor_match_v1 {
    /// Match data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Match {
        /// Match metadata.
        #[serde(rename = "metadata")]
        pub metadata: Metadata,
        /// Match info.
        #[serde(rename = "info")]
        pub info: Info,
    }
    /// Metadata data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Metadata {
        /// Match data version.
        #[serde(rename = "data_version")]
        pub data_version: String,
        /// Match id.
        #[serde(rename = "match_id")]
        pub match_id: String,
        /// A list of participant PUUIDs.
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<String>,
    }
    /// Info data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Info {
        /// (Legal values:  Constructed,  Expeditions,  Tutorial)
        #[serde(rename = "game_mode")]
        pub game_mode: String,
        /// (Legal values:  Ranked,  Normal,  AI,  Tutorial,  VanillaTrial,  Singleton,  StandardGauntlet)
        #[serde(rename = "game_type")]
        pub game_type: String,
        #[serde(rename = "game_start_time_utc")]
        pub game_start_time_utc: String,
        #[serde(rename = "game_version")]
        pub game_version: String,
        /// (Legal values:  standard,  eternal)
        #[serde(rename = "game_format")]
        pub game_format: String,
        #[serde(rename = "players")]
        pub players: std::vec::Vec<Player>,
        /// Total turns taken by both players.
        #[serde(rename = "total_turn_count")]
        pub total_turn_count: i32,
    }
    /// Player data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Player {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "deck_id")]
        pub deck_id: String,
        /// Code for the deck played. Refer to LOR documentation for details on deck codes.
        #[serde(rename = "deck_code")]
        pub deck_code: String,
        #[serde(rename = "factions")]
        pub factions: std::vec::Vec<String>,
        #[serde(rename = "game_outcome")]
        pub game_outcome: String,
        /// The order in which the players took turns.
        #[serde(rename = "order_of_play")]
        pub order_of_play: i32,
    }
}

/// Data structs used by [`LorRankedV1`](crate::endpoints::LorRankedV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lor_ranked_v1 {
    /// Leaderboard data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Leaderboard {
        /// A list of players in Master tier.
        #[serde(rename = "players")]
        pub players: std::vec::Vec<Player>,
    }
    /// Player data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Player {
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "rank")]
        pub rank: i32,
        /// League points.
        #[serde(rename = "lp")]
        pub lp: i32,
    }
}

/// Data structs used by [`LorStatusV1`](crate::endpoints::LorStatusV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod lor_status_v1 {
    /// PlatformData data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlatformData {
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "locales")]
        pub locales: std::vec::Vec<String>,
        #[serde(rename = "maintenances")]
        pub maintenances: std::vec::Vec<Status>,
        #[serde(rename = "incidents")]
        pub incidents: std::vec::Vec<Status>,
    }
    /// Status data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Status {
        #[serde(rename = "id")]
        pub id: i32,
        /// (Legal values:  scheduled,  in_progress,  complete)
        #[serde(rename = "maintenance_status")]
        pub maintenance_status: String,
        /// (Legal values:  info,  warning,  critical)
        #[serde(rename = "incident_severity")]
        pub incident_severity: String,
        #[serde(rename = "titles")]
        pub titles: std::vec::Vec<Content>,
        #[serde(rename = "updates")]
        pub updates: std::vec::Vec<Update>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "archive_at")]
        pub archive_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
        /// (Legal values: windows, macos, android, ios, ps4, xbone, switch)
        #[serde(rename = "platforms")]
        pub platforms: std::vec::Vec<String>,
    }
    /// Content data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Content {
        #[serde(rename = "locale")]
        pub locale: String,
        #[serde(rename = "content")]
        pub content: String,
    }
    /// Update data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Update {
        #[serde(rename = "id")]
        pub id: i32,
        #[serde(rename = "author")]
        pub author: String,
        #[serde(rename = "publish")]
        pub publish: bool,
        /// (Legal values: riotclient, riotstatus, game)
        #[serde(rename = "publish_locations")]
        pub publish_locations: std::vec::Vec<String>,
        #[serde(rename = "translations")]
        pub translations: std::vec::Vec<Content>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
    }
}

/// Data structs used by [`MatchV5`](crate::endpoints::MatchV5).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod match_v5 {
    /// Match data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Match {
        /// Match metadata.
        #[serde(rename = "metadata")]
        pub metadata: Metadata,
        /// Match info.
        #[serde(rename = "info")]
        pub info: Info,
    }
    /// Metadata data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Metadata {
        /// Match data version.
        #[serde(rename = "dataVersion")]
        pub data_version: String,
        /// Match id.
        #[serde(rename = "matchId")]
        pub match_id: String,
        /// A list of participant PUUIDs.
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<String>,
    }
    /// Info data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Info {
        /// Refer to indicate if the game ended in termination.
        #[serde(rename = "endOfGameResult")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub end_of_game_result: Option<String>,
        /// Unix timestamp for when the game is created on the game server (i.e., the loading screen).
        #[serde(rename = "gameCreation")]
        pub game_creation: i64,
        /// Prior to patch 11.20, this field returns the game length in milliseconds calculated from gameEndTimestamp - gameStartTimestamp. Post patch 11.20, this field returns the max timePlayed of any participant in the game in seconds, which makes the behavior of this field consistent with that of match-v4. The best way to handling the change in this field is to treat the value as milliseconds if the gameEndTimestamp field isn't in the response and to treat the value as seconds if gameEndTimestamp is in the response.
        #[serde(rename = "gameDuration")]
        pub game_duration: i64,
        /// Unix timestamp for when match ends on the game server. This timestamp can occasionally be significantly longer than when the match "ends". The most reliable way of determining the timestamp for the end of the match would be to add the max time played of any participant to the gameStartTimestamp. This field was added to match-v5 in patch 11.20 on Oct 5th, 2021.
        #[serde(rename = "gameEndTimestamp")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_end_timestamp: Option<i64>,
        #[serde(rename = "gameId")]
        pub game_id: i64,
        /// Refer to the Game Constants documentation.
        #[serde(rename = "gameMode")]
        pub game_mode: crate::consts::GameMode,
        #[serde(rename = "gameName")]
        pub game_name: String,
        /// Unix timestamp for when match starts on the game server.
        #[serde(rename = "gameStartTimestamp")]
        pub game_start_timestamp: i64,
        #[serde(rename = "gameType")]
        ///
        /// Will be `None` if empty string is returned: https://github.com/RiotGames/developer-relations/issues/898
        #[serde(serialize_with = "crate::consts::serialize_empty_string_none")]
        #[serde(deserialize_with = "crate::consts::deserialize_empty_string_none")]
        pub game_type: Option<crate::consts::GameType>,
        /// The first two parts can be used to determine the patch a game was played on.
        #[serde(rename = "gameVersion")]
        pub game_version: String,
        /// Refer to the Game Constants documentation.
        #[serde(rename = "mapId")]
        pub map_id: crate::consts::Map,
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<Participant>,
        /// Platform where the match was played.
        #[serde(rename = "platformId")]
        pub platform_id: String,
        /// Refer to the Game Constants documentation.
        #[serde(rename = "queueId")]
        pub queue_id: crate::consts::Queue,
        #[serde(rename = "teams")]
        pub teams: std::vec::Vec<Team>,
        /// Tournament code used to generate the match. This field was added to match-v5 in patch 11.13 on June 23rd, 2021.
        #[serde(rename = "tournamentCode")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tournament_code: Option<String>,
    }
    /// Participant data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Participant {
        #[serde(rename = "allInPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub all_in_pings: Option<i32>,
        #[serde(rename = "assistMePings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub assist_me_pings: Option<i32>,
        #[serde(rename = "assists")]
        pub assists: i32,
        #[serde(rename = "baronKills")]
        pub baron_kills: i32,
        #[serde(rename = "bountyLevel")]
        pub bounty_level: i32,
        #[serde(rename = "champExperience")]
        pub champ_experience: i32,
        #[serde(rename = "champLevel")]
        pub champ_level: i32,
        /// Prior to patch 11.4, on Feb 18th, 2021, this field returned invalid championIds. We recommend determining the champion based on the championName field for matches played prior to patch 11.4.
        #[serde(rename = "championId")]
        ///
        /// Instead use [`Self::champion()`] which checks this field then parses [`Self::champion_name`].
        #[deprecated(since = "2.5.0", note = "Use `Participant.champion()` instead. Riot sometimes returns corrupted data for this field: https://github.com/RiotGames/developer-relations/issues/553")]
        #[serde(serialize_with = "crate::consts::Champion::serialize_result")]
        #[serde(deserialize_with = "crate::consts::Champion::deserialize_result")]
        pub champion_id: Result<crate::consts::Champion, std::num::TryFromIntError>,
        #[serde(rename = "championName")]
        pub champion_name: String,
        #[serde(rename = "commandPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub command_pings: Option<i32>,
        /// This field is currently only utilized for Kayn's transformations. (Legal values: 0 - None, 1 - Slayer, 2 - Assassin)
        #[serde(rename = "championTransform")]
        pub champion_transform: i32,
        #[serde(rename = "consumablesPurchased")]
        pub consumables_purchased: i32,
        #[serde(rename = "challenges")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub challenges: Option<Challenges>,
        #[serde(rename = "damageDealtToBuildings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_dealt_to_buildings: Option<i32>,
        #[serde(rename = "damageDealtToObjectives")]
        pub damage_dealt_to_objectives: i32,
        #[serde(rename = "damageDealtToTurrets")]
        pub damage_dealt_to_turrets: i32,
        #[serde(rename = "dangerPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub danger_pings: Option<i32>,
        #[serde(rename = "damageSelfMitigated")]
        pub damage_self_mitigated: i32,
        #[serde(rename = "deaths")]
        pub deaths: i32,
        #[serde(rename = "detectorWardsPlaced")]
        pub detector_wards_placed: i32,
        #[serde(rename = "doubleKills")]
        pub double_kills: i32,
        #[serde(rename = "dragonKills")]
        pub dragon_kills: i32,
        #[serde(rename = "eligibleForProgression")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub eligible_for_progression: Option<bool>,
        #[serde(rename = "enemyMissingPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub enemy_missing_pings: Option<i32>,
        #[serde(rename = "enemyVisionPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub enemy_vision_pings: Option<i32>,
        #[serde(rename = "firstBloodAssist")]
        pub first_blood_assist: bool,
        #[serde(rename = "firstBloodKill")]
        pub first_blood_kill: bool,
        #[serde(rename = "firstTowerAssist")]
        pub first_tower_assist: bool,
        #[serde(rename = "firstTowerKill")]
        pub first_tower_kill: bool,
        #[serde(rename = "gameEndedInEarlySurrender")]
        pub game_ended_in_early_surrender: bool,
        #[serde(rename = "gameEndedInSurrender")]
        pub game_ended_in_surrender: bool,
        #[serde(rename = "holdPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub hold_pings: Option<i32>,
        #[serde(rename = "getBackPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub get_back_pings: Option<i32>,
        #[serde(rename = "goldEarned")]
        pub gold_earned: i32,
        #[serde(rename = "goldSpent")]
        pub gold_spent: i32,
        /// Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field.
        #[serde(rename = "individualPosition")]
        pub individual_position: String,
        #[serde(rename = "inhibitorKills")]
        pub inhibitor_kills: i32,
        #[serde(rename = "inhibitorTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub inhibitor_takedowns: Option<i32>,
        #[serde(rename = "inhibitorsLost")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub inhibitors_lost: Option<i32>,
        #[serde(rename = "item0")]
        pub item0: i32,
        #[serde(rename = "item1")]
        pub item1: i32,
        #[serde(rename = "item2")]
        pub item2: i32,
        #[serde(rename = "item3")]
        pub item3: i32,
        #[serde(rename = "item4")]
        pub item4: i32,
        #[serde(rename = "item5")]
        pub item5: i32,
        #[serde(rename = "item6")]
        pub item6: i32,
        #[serde(rename = "itemsPurchased")]
        pub items_purchased: i32,
        #[serde(rename = "killingSprees")]
        pub killing_sprees: i32,
        #[serde(rename = "kills")]
        pub kills: i32,
        #[serde(rename = "lane")]
        pub lane: String,
        #[serde(rename = "largestCriticalStrike")]
        pub largest_critical_strike: i32,
        #[serde(rename = "largestKillingSpree")]
        pub largest_killing_spree: i32,
        #[serde(rename = "largestMultiKill")]
        pub largest_multi_kill: i32,
        #[serde(rename = "longestTimeSpentLiving")]
        pub longest_time_spent_living: i32,
        #[serde(rename = "magicDamageDealt")]
        pub magic_damage_dealt: i32,
        #[serde(rename = "magicDamageDealtToChampions")]
        pub magic_damage_dealt_to_champions: i32,
        #[serde(rename = "magicDamageTaken")]
        pub magic_damage_taken: i32,
        #[serde(rename = "missions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub missions: Option<Missions>,
        #[serde(rename = "neutralMinionsKilled")]
        pub neutral_minions_killed: i32,
        #[serde(rename = "needVisionPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub need_vision_pings: Option<i32>,
        #[serde(rename = "nexusKills")]
        pub nexus_kills: i32,
        #[serde(rename = "nexusTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub nexus_takedowns: Option<i32>,
        #[serde(rename = "nexusLost")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub nexus_lost: Option<i32>,
        #[serde(rename = "objectivesStolen")]
        pub objectives_stolen: i32,
        #[serde(rename = "objectivesStolenAssists")]
        pub objectives_stolen_assists: i32,
        #[serde(rename = "onMyWayPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub on_my_way_pings: Option<i32>,
        #[serde(rename = "participantId")]
        pub participant_id: i32,
        #[serde(rename = "pentaKills")]
        pub penta_kills: i32,
        #[serde(rename = "perks")]
        pub perks: Perks,
        #[serde(rename = "physicalDamageDealt")]
        pub physical_damage_dealt: i32,
        #[serde(rename = "physicalDamageDealtToChampions")]
        pub physical_damage_dealt_to_champions: i32,
        #[serde(rename = "physicalDamageTaken")]
        pub physical_damage_taken: i32,
        #[serde(rename = "placement")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub placement: Option<i32>,
        #[serde(rename = "playerAugment1")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_augment1: Option<i32>,
        #[serde(rename = "playerAugment2")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_augment2: Option<i32>,
        #[serde(rename = "playerAugment3")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_augment3: Option<i32>,
        #[serde(rename = "playerAugment4")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_augment4: Option<i32>,
        #[serde(rename = "playerSubteamId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_subteam_id: Option<i32>,
        #[serde(rename = "pushPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub push_pings: Option<i32>,
        #[serde(rename = "profileIcon")]
        pub profile_icon: i32,
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "quadraKills")]
        pub quadra_kills: i32,
        #[serde(rename = "riotIdGameName")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub riot_id_game_name: Option<String>,
        #[serde(rename = "riotIdName")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub riot_id_name: Option<String>,
        #[serde(rename = "riotIdTagline")]
        pub riot_id_tagline: String,
        #[serde(rename = "role")]
        pub role: String,
        #[serde(rename = "sightWardsBoughtInGame")]
        pub sight_wards_bought_in_game: i32,
        #[serde(rename = "spell1Casts")]
        pub spell1_casts: i32,
        #[serde(rename = "spell2Casts")]
        pub spell2_casts: i32,
        #[serde(rename = "spell3Casts")]
        pub spell3_casts: i32,
        #[serde(rename = "spell4Casts")]
        pub spell4_casts: i32,
        #[serde(rename = "subteamPlacement")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub subteam_placement: Option<i32>,
        #[serde(rename = "summoner1Casts")]
        pub summoner1_casts: i32,
        #[serde(rename = "summoner1Id")]
        pub summoner1_id: i32,
        #[serde(rename = "summoner2Casts")]
        pub summoner2_casts: i32,
        #[serde(rename = "summoner2Id")]
        pub summoner2_id: i32,
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        #[serde(rename = "summonerLevel")]
        pub summoner_level: i32,
        #[serde(rename = "summonerName")]
        pub summoner_name: String,
        #[serde(rename = "teamEarlySurrendered")]
        pub team_early_surrendered: bool,
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
        /// Both individualPosition and teamPosition are computed by the game server and are different versions of the most likely position played by a player. The individualPosition is the best guess for which position the player actually played in isolation of anything else. The teamPosition is the best guess for which position the player actually played if we add the constraint that each team must have one top player, one jungle, one middle, etc. Generally the recommendation is to use the teamPosition field over the individualPosition field.
        #[serde(rename = "teamPosition")]
        pub team_position: String,
        #[serde(rename = "timeCCingOthers")]
        pub time_c_cing_others: i32,
        #[serde(rename = "timePlayed")]
        pub time_played: i32,
        #[serde(rename = "totalAllyJungleMinionsKilled")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub total_ally_jungle_minions_killed: Option<i32>,
        #[serde(rename = "totalDamageDealt")]
        pub total_damage_dealt: i32,
        #[serde(rename = "totalDamageDealtToChampions")]
        pub total_damage_dealt_to_champions: i32,
        #[serde(rename = "totalDamageShieldedOnTeammates")]
        pub total_damage_shielded_on_teammates: i32,
        #[serde(rename = "totalDamageTaken")]
        pub total_damage_taken: i32,
        #[serde(rename = "totalEnemyJungleMinionsKilled")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub total_enemy_jungle_minions_killed: Option<i32>,
        #[serde(rename = "totalHeal")]
        pub total_heal: i32,
        #[serde(rename = "totalHealsOnTeammates")]
        pub total_heals_on_teammates: i32,
        #[serde(rename = "totalMinionsKilled")]
        pub total_minions_killed: i32,
        #[serde(rename = "totalTimeCCDealt")]
        pub total_time_cc_dealt: i32,
        #[serde(rename = "totalTimeSpentDead")]
        pub total_time_spent_dead: i32,
        #[serde(rename = "totalUnitsHealed")]
        pub total_units_healed: i32,
        #[serde(rename = "tripleKills")]
        pub triple_kills: i32,
        #[serde(rename = "trueDamageDealt")]
        pub true_damage_dealt: i32,
        #[serde(rename = "trueDamageDealtToChampions")]
        pub true_damage_dealt_to_champions: i32,
        #[serde(rename = "trueDamageTaken")]
        pub true_damage_taken: i32,
        #[serde(rename = "turretKills")]
        pub turret_kills: i32,
        #[serde(rename = "turretTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub turret_takedowns: Option<i32>,
        #[serde(rename = "turretsLost")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub turrets_lost: Option<i32>,
        #[serde(rename = "unrealKills")]
        pub unreal_kills: i32,
        #[serde(rename = "visionScore")]
        pub vision_score: i32,
        #[serde(rename = "visionClearedPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub vision_cleared_pings: Option<i32>,
        #[serde(rename = "visionWardsBoughtInGame")]
        pub vision_wards_bought_in_game: i32,
        #[serde(rename = "wardsKilled")]
        pub wards_killed: i32,
        #[serde(rename = "wardsPlaced")]
        pub wards_placed: i32,
        #[serde(rename = "win")]
        pub win: bool,
        #[serde(rename = "baitPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub bait_pings: Option<i32>,
        #[serde(rename = "basicPings")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub basic_pings: Option<i32>,
        #[serde(rename = "playerScore0")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score0: Option<i32>,
        #[serde(rename = "playerScore1")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score1: Option<i32>,
        #[serde(rename = "playerScore10")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score10: Option<i32>,
        #[serde(rename = "playerScore11")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score11: Option<i32>,
        #[serde(rename = "playerScore2")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score2: Option<i32>,
        #[serde(rename = "playerScore3")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score3: Option<i32>,
        #[serde(rename = "playerScore4")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score4: Option<i32>,
        #[serde(rename = "playerScore5")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score5: Option<i32>,
        #[serde(rename = "playerScore6")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score6: Option<i32>,
        #[serde(rename = "playerScore7")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score7: Option<i32>,
        #[serde(rename = "playerScore8")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score8: Option<i32>,
        #[serde(rename = "playerScore9")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score9: Option<i32>,
        #[serde(rename = "playerAugment5")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_augment5: Option<i32>,
        #[serde(rename = "playerAugment6")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_augment6: Option<i32>,
    }
    /// Challenges data object.
    /// # Description
    /// Challenges DTO
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Challenges {
        #[serde(rename = "12AssistStreakCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub x12_assist_streak_count: Option<i32>,
        #[serde(rename = "abilityUses")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ability_uses: Option<i32>,
        #[serde(rename = "acesBefore15Minutes")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub aces_before15_minutes: Option<i32>,
        #[serde(rename = "alliedJungleMonsterKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub allied_jungle_monster_kills: Option<f64>,
        #[serde(rename = "baronTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub baron_takedowns: Option<i32>,
        #[serde(rename = "blastConeOppositeOpponentCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub blast_cone_opposite_opponent_count: Option<i32>,
        #[serde(rename = "bountyGold")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub bounty_gold: Option<i32>,
        #[serde(rename = "buffsStolen")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub buffs_stolen: Option<i32>,
        #[serde(rename = "completeSupportQuestInTime")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub complete_support_quest_in_time: Option<i32>,
        #[serde(rename = "controlWardsPlaced")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub control_wards_placed: Option<i32>,
        #[serde(rename = "damagePerMinute")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_per_minute: Option<f64>,
        #[serde(rename = "damageTakenOnTeamPercentage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_taken_on_team_percentage: Option<f64>,
        #[serde(rename = "dancedWithRiftHerald")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub danced_with_rift_herald: Option<i32>,
        #[serde(rename = "deathsByEnemyChamps")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub deaths_by_enemy_champs: Option<i32>,
        #[serde(rename = "dodgeSkillShotsSmallWindow")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub dodge_skill_shots_small_window: Option<i32>,
        #[serde(rename = "doubleAces")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub double_aces: Option<i32>,
        #[serde(rename = "dragonTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub dragon_takedowns: Option<i32>,
        #[serde(rename = "legendaryItemUsed")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub legendary_item_used: Option<std::vec::Vec<i32>>,
        #[serde(rename = "effectiveHealAndShielding")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub effective_heal_and_shielding: Option<f32>,
        #[serde(rename = "elderDragonKillsWithOpposingSoul")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub elder_dragon_kills_with_opposing_soul: Option<i32>,
        #[serde(rename = "elderDragonMultikills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub elder_dragon_multikills: Option<i32>,
        #[serde(rename = "enemyChampionImmobilizations")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub enemy_champion_immobilizations: Option<i32>,
        #[serde(rename = "enemyJungleMonsterKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub enemy_jungle_monster_kills: Option<f64>,
        #[serde(rename = "epicMonsterKillsNearEnemyJungler")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub epic_monster_kills_near_enemy_jungler: Option<i32>,
        #[serde(rename = "epicMonsterKillsWithin30SecondsOfSpawn")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub epic_monster_kills_within30_seconds_of_spawn: Option<i32>,
        #[serde(rename = "epicMonsterSteals")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub epic_monster_steals: Option<i32>,
        #[serde(rename = "epicMonsterStolenWithoutSmite")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub epic_monster_stolen_without_smite: Option<i32>,
        #[serde(rename = "firstTurretKilled")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub first_turret_killed: Option<f64>,
        #[serde(rename = "firstTurretKilledTime")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub first_turret_killed_time: Option<f32>,
        #[serde(rename = "flawlessAces")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub flawless_aces: Option<i32>,
        #[serde(rename = "fullTeamTakedown")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub full_team_takedown: Option<i32>,
        #[serde(rename = "gameLength")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_length: Option<f64>,
        #[serde(rename = "getTakedownsInAllLanesEarlyJungleAsLaner")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub get_takedowns_in_all_lanes_early_jungle_as_laner: Option<i32>,
        #[serde(rename = "goldPerMinute")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub gold_per_minute: Option<f64>,
        #[serde(rename = "hadOpenNexus")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub had_open_nexus: Option<i32>,
        #[serde(rename = "immobilizeAndKillWithAlly")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub immobilize_and_kill_with_ally: Option<i32>,
        #[serde(rename = "initialBuffCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub initial_buff_count: Option<i32>,
        #[serde(rename = "initialCrabCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub initial_crab_count: Option<i32>,
        #[serde(rename = "jungleCsBefore10Minutes")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub jungle_cs_before10_minutes: Option<f64>,
        #[serde(rename = "junglerTakedownsNearDamagedEpicMonster")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub jungler_takedowns_near_damaged_epic_monster: Option<i32>,
        #[serde(rename = "kda")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kda: Option<f64>,
        #[serde(rename = "killAfterHiddenWithAlly")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kill_after_hidden_with_ally: Option<i32>,
        #[serde(rename = "killedChampTookFullTeamDamageSurvived")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub killed_champ_took_full_team_damage_survived: Option<i32>,
        #[serde(rename = "killingSprees")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub killing_sprees: Option<i32>,
        #[serde(rename = "killParticipation")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kill_participation: Option<f64>,
        #[serde(rename = "killsNearEnemyTurret")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills_near_enemy_turret: Option<i32>,
        #[serde(rename = "killsOnOtherLanesEarlyJungleAsLaner")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills_on_other_lanes_early_jungle_as_laner: Option<i32>,
        #[serde(rename = "killsOnRecentlyHealedByAramPack")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills_on_recently_healed_by_aram_pack: Option<i32>,
        #[serde(rename = "killsUnderOwnTurret")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills_under_own_turret: Option<i32>,
        #[serde(rename = "killsWithHelpFromEpicMonster")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills_with_help_from_epic_monster: Option<i32>,
        #[serde(rename = "knockEnemyIntoTeamAndKill")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub knock_enemy_into_team_and_kill: Option<i32>,
        #[serde(rename = "kTurretsDestroyedBeforePlatesFall")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub k_turrets_destroyed_before_plates_fall: Option<i32>,
        #[serde(rename = "landSkillShotsEarlyGame")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub land_skill_shots_early_game: Option<i32>,
        #[serde(rename = "laneMinionsFirst10Minutes")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub lane_minions_first10_minutes: Option<i32>,
        #[serde(rename = "lostAnInhibitor")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub lost_an_inhibitor: Option<i32>,
        #[serde(rename = "maxKillDeficit")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub max_kill_deficit: Option<i32>,
        #[serde(rename = "mejaisFullStackInTime")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mejais_full_stack_in_time: Option<i32>,
        #[serde(rename = "moreEnemyJungleThanOpponent")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub more_enemy_jungle_than_opponent: Option<f64>,
        #[serde(rename = "multiKillOneSpell")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub multi_kill_one_spell: Option<i32>,
        #[serde(rename = "multikills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub multikills: Option<i32>,
        #[serde(rename = "multikillsAfterAggressiveFlash")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub multikills_after_aggressive_flash: Option<i32>,
        #[serde(rename = "multiTurretRiftHeraldCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub multi_turret_rift_herald_count: Option<i32>,
        #[serde(rename = "outerTurretExecutesBefore10Minutes")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub outer_turret_executes_before10_minutes: Option<i32>,
        #[serde(rename = "outnumberedKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub outnumbered_kills: Option<i32>,
        #[serde(rename = "outnumberedNexusKill")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub outnumbered_nexus_kill: Option<i32>,
        #[serde(rename = "perfectDragonSoulsTaken")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub perfect_dragon_souls_taken: Option<i32>,
        #[serde(rename = "perfectGame")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub perfect_game: Option<i32>,
        #[serde(rename = "pickKillWithAlly")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub pick_kill_with_ally: Option<i32>,
        #[serde(rename = "poroExplosions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub poro_explosions: Option<i32>,
        #[serde(rename = "quickCleanse")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub quick_cleanse: Option<i32>,
        #[serde(rename = "quickFirstTurret")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub quick_first_turret: Option<i32>,
        #[serde(rename = "quickSoloKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub quick_solo_kills: Option<i32>,
        #[serde(rename = "riftHeraldTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub rift_herald_takedowns: Option<i32>,
        #[serde(rename = "saveAllyFromDeath")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub save_ally_from_death: Option<i32>,
        #[serde(rename = "scuttleCrabKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub scuttle_crab_kills: Option<i32>,
        #[serde(rename = "shortestTimeToAceFromFirstTakedown")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub shortest_time_to_ace_from_first_takedown: Option<f32>,
        #[serde(rename = "skillshotsDodged")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub skillshots_dodged: Option<i32>,
        #[serde(rename = "skillshotsHit")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub skillshots_hit: Option<i32>,
        #[serde(rename = "snowballsHit")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub snowballs_hit: Option<i32>,
        #[serde(rename = "soloBaronKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub solo_baron_kills: Option<i32>,
        #[serde(rename = "soloKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub solo_kills: Option<i32>,
        #[serde(rename = "stealthWardsPlaced")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub stealth_wards_placed: Option<i32>,
        #[serde(rename = "survivedSingleDigitHpCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub survived_single_digit_hp_count: Option<i32>,
        #[serde(rename = "survivedThreeImmobilizesInFight")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub survived_three_immobilizes_in_fight: Option<i32>,
        #[serde(rename = "takedownOnFirstTurret")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedown_on_first_turret: Option<i32>,
        #[serde(rename = "takedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns: Option<i32>,
        #[serde(rename = "takedownsAfterGainingLevelAdvantage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns_after_gaining_level_advantage: Option<i32>,
        #[serde(rename = "takedownsBeforeJungleMinionSpawn")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns_before_jungle_minion_spawn: Option<i32>,
        #[serde(rename = "takedownsFirstXMinutes")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns_first_x_minutes: Option<i32>,
        #[serde(rename = "takedownsInAlcove")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns_in_alcove: Option<i32>,
        #[serde(rename = "takedownsInEnemyFountain")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns_in_enemy_fountain: Option<i32>,
        #[serde(rename = "teamBaronKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub team_baron_kills: Option<i32>,
        #[serde(rename = "teamDamagePercentage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub team_damage_percentage: Option<f64>,
        #[serde(rename = "teamElderDragonKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub team_elder_dragon_kills: Option<i32>,
        #[serde(rename = "teamRiftHeraldKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub team_rift_herald_kills: Option<i32>,
        #[serde(rename = "tookLargeDamageSurvived")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub took_large_damage_survived: Option<i32>,
        #[serde(rename = "turretPlatesTaken")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub turret_plates_taken: Option<i32>,
        #[serde(rename = "turretsTakenWithRiftHerald")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub turrets_taken_with_rift_herald: Option<i32>,
        #[serde(rename = "turretTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub turret_takedowns: Option<i32>,
        #[serde(rename = "twentyMinionsIn3SecondsCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub twenty_minions_in3_seconds_count: Option<i32>,
        #[serde(rename = "twoWardsOneSweeperCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub two_wards_one_sweeper_count: Option<i32>,
        #[serde(rename = "unseenRecalls")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub unseen_recalls: Option<i32>,
        #[serde(rename = "visionScorePerMinute")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub vision_score_per_minute: Option<f64>,
        #[serde(rename = "wardsGuarded")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub wards_guarded: Option<i32>,
        #[serde(rename = "wardTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ward_takedowns: Option<i32>,
        #[serde(rename = "wardTakedownsBefore20M")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ward_takedowns_before20_m: Option<i32>,
        #[serde(rename = "baronBuffGoldAdvantageOverThreshold")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub baron_buff_gold_advantage_over_threshold: Option<f64>,
        #[serde(rename = "controlWardTimeCoverageInRiverOrEnemyHalf")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub control_ward_time_coverage_in_river_or_enemy_half: Option<f64>,
        #[serde(rename = "earliestBaron")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub earliest_baron: Option<f64>,
        #[serde(rename = "earliestDragonTakedown")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub earliest_dragon_takedown: Option<f64>,
        #[serde(rename = "earliestElderDragon")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub earliest_elder_dragon: Option<f64>,
        #[serde(rename = "earlyLaningPhaseGoldExpAdvantage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub early_laning_phase_gold_exp_advantage: Option<f64>,
        #[serde(rename = "fasterSupportQuestCompletion")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub faster_support_quest_completion: Option<f64>,
        #[serde(rename = "fastestLegendary")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub fastest_legendary: Option<f64>,
        #[serde(rename = "hadAfkTeammate")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub had_afk_teammate: Option<f64>,
        #[serde(rename = "highestChampionDamage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub highest_champion_damage: Option<f64>,
        #[serde(rename = "highestCrowdControlScore")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub highest_crowd_control_score: Option<f64>,
        #[serde(rename = "highestWardKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub highest_ward_kills: Option<f64>,
        #[serde(rename = "junglerKillsEarlyJungle")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub jungler_kills_early_jungle: Option<f64>,
        #[serde(rename = "killsOnLanersEarlyJungleAsJungler")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills_on_laners_early_jungle_as_jungler: Option<f64>,
        #[serde(rename = "laningPhaseGoldExpAdvantage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub laning_phase_gold_exp_advantage: Option<f64>,
        #[serde(rename = "legendaryCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub legendary_count: Option<f64>,
        #[serde(rename = "maxCsAdvantageOnLaneOpponent")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub max_cs_advantage_on_lane_opponent: Option<f64>,
        #[serde(rename = "maxLevelLeadLaneOpponent")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub max_level_lead_lane_opponent: Option<f64>,
        #[serde(rename = "mostWardsDestroyedOneSweeper")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub most_wards_destroyed_one_sweeper: Option<f64>,
        #[serde(rename = "mythicItemUsed")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mythic_item_used: Option<f64>,
        #[serde(rename = "playedChampSelectPosition")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub played_champ_select_position: Option<f64>,
        #[serde(rename = "soloTurretsLategame")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub solo_turrets_lategame: Option<f64>,
        #[serde(rename = "takedownsFirst25Minutes")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub takedowns_first25_minutes: Option<f64>,
        #[serde(rename = "teleportTakedowns")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub teleport_takedowns: Option<f64>,
        #[serde(rename = "thirdInhibitorDestroyedTime")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub third_inhibitor_destroyed_time: Option<f64>,
        #[serde(rename = "threeWardsOneSweeperCount")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub three_wards_one_sweeper_count: Option<f64>,
        #[serde(rename = "visionScoreAdvantageLaneOpponent")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub vision_score_advantage_lane_opponent: Option<f64>,
        #[serde(rename = "InfernalScalePickup")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub infernal_scale_pickup: Option<f64>,
        #[serde(rename = "fistBumpParticipation")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub fist_bump_participation: Option<i32>,
        #[serde(rename = "voidMonsterKill")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub void_monster_kill: Option<i32>,
    }
    /// Missions data object.
    /// # Description
    /// Missions DTO
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Missions {
        #[serde(rename = "playerScore0")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score0: Option<i32>,
        #[serde(rename = "playerScore1")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score1: Option<i32>,
        #[serde(rename = "playerScore2")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score2: Option<i32>,
        #[serde(rename = "playerScore3")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score3: Option<i32>,
        #[serde(rename = "playerScore4")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score4: Option<i32>,
        #[serde(rename = "playerScore5")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score5: Option<i32>,
        #[serde(rename = "playerScore6")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score6: Option<i32>,
        #[serde(rename = "playerScore7")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score7: Option<i32>,
        #[serde(rename = "playerScore8")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score8: Option<i32>,
        #[serde(rename = "playerScore9")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score9: Option<i32>,
        #[serde(rename = "playerScore10")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score10: Option<i32>,
        #[serde(rename = "playerScore11")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score11: Option<i32>,
    }
    /// Perks data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Perks {
        #[serde(rename = "statPerks")]
        pub stat_perks: PerkStats,
        #[serde(rename = "styles")]
        pub styles: std::vec::Vec<PerkStyle>,
    }
    /// PerkStats data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PerkStats {
        #[serde(rename = "defense")]
        pub defense: i32,
        #[serde(rename = "flex")]
        pub flex: i32,
        #[serde(rename = "offense")]
        pub offense: i32,
    }
    /// PerkStyle data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PerkStyle {
        #[serde(rename = "description")]
        pub description: String,
        #[serde(rename = "selections")]
        pub selections: std::vec::Vec<PerkStyleSelection>,
        #[serde(rename = "style")]
        pub style: i32,
    }
    /// PerkStyleSelection data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PerkStyleSelection {
        #[serde(rename = "perk")]
        pub perk: i32,
        #[serde(rename = "var1")]
        pub var1: i32,
        #[serde(rename = "var2")]
        pub var2: i32,
        #[serde(rename = "var3")]
        pub var3: i32,
    }
    /// Team data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Team {
        #[serde(rename = "bans")]
        pub bans: std::vec::Vec<Ban>,
        #[serde(rename = "objectives")]
        pub objectives: Objectives,
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
        #[serde(rename = "win")]
        pub win: bool,
    }
    /// Ban data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Ban {
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        #[serde(rename = "pickTurn")]
        pub pick_turn: i32,
    }
    /// Objectives data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Objectives {
        #[serde(rename = "baron")]
        pub baron: Objective,
        #[serde(rename = "champion")]
        pub champion: Objective,
        #[serde(rename = "dragon")]
        pub dragon: Objective,
        #[serde(rename = "horde")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub horde: Option<Objective>,
        #[serde(rename = "inhibitor")]
        pub inhibitor: Objective,
        #[serde(rename = "riftHerald")]
        pub rift_herald: Objective,
        #[serde(rename = "tower")]
        pub tower: Objective,
    }
    /// Objective data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Objective {
        #[serde(rename = "first")]
        pub first: bool,
        #[serde(rename = "kills")]
        pub kills: i32,
    }
    /// Timeline data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Timeline {
        /// Match metadata.
        #[serde(rename = "metadata")]
        pub metadata: MetadataTimeLine,
        /// Match info.
        #[serde(rename = "info")]
        pub info: InfoTimeLine,
    }
    /// MetadataTimeLine data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MetadataTimeLine {
        /// Match data version.
        #[serde(rename = "dataVersion")]
        pub data_version: String,
        /// Match id.
        #[serde(rename = "matchId")]
        pub match_id: String,
        /// A list of participant PUUIDs.
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<String>,
    }
    /// InfoTimeLine data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct InfoTimeLine {
        /// Refer to indicate if the game ended in termination.
        #[serde(rename = "endOfGameResult")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub end_of_game_result: Option<String>,
        #[serde(rename = "frameInterval")]
        pub frame_interval: i64,
        #[serde(rename = "gameId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_id: Option<i64>,
        #[serde(rename = "participants")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub participants: Option<std::vec::Vec<ParticipantTimeLine>>,
        #[serde(rename = "frames")]
        pub frames: std::vec::Vec<FramesTimeLine>,
    }
    /// ParticipantTimeLine data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ParticipantTimeLine {
        #[serde(rename = "participantId")]
        pub participant_id: i32,
        #[serde(rename = "puuid")]
        pub puuid: String,
    }
    /// FramesTimeLine data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct FramesTimeLine {
        #[serde(rename = "events")]
        pub events: std::vec::Vec<EventsTimeLine>,
        #[serde(rename = "participantFrames")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub participant_frames: Option<std::collections::HashMap<i32, ParticipantFrame>>,
        #[serde(rename = "timestamp")]
        pub timestamp: i32,
    }
    /// EventsTimeLine data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct EventsTimeLine {
        #[serde(rename = "timestamp")]
        pub timestamp: i64,
        #[serde(rename = "realTimestamp")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub real_timestamp: Option<i64>,
        #[serde(rename = "type")]
        pub r#type: String,
        #[serde(rename = "itemId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub item_id: Option<i32>,
        #[serde(rename = "participantId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub participant_id: Option<i32>,
        #[serde(rename = "levelUpType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub level_up_type: Option<String>,
        #[serde(rename = "skillSlot")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub skill_slot: Option<i32>,
        #[serde(rename = "creatorId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub creator_id: Option<i32>,
        #[serde(rename = "wardType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ward_type: Option<String>,
        #[serde(rename = "level")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub level: Option<i32>,
        #[serde(rename = "assistingParticipantIds")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub assisting_participant_ids: Option<std::vec::Vec<i32>>,
        #[serde(rename = "bounty")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub bounty: Option<i32>,
        #[serde(rename = "killStreakLength")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kill_streak_length: Option<i32>,
        #[serde(rename = "killerId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub killer_id: Option<i32>,
        #[serde(rename = "position")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub position: Option<Position>,
        #[serde(rename = "victimDamageDealt")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub victim_damage_dealt: Option<std::vec::Vec<MatchTimelineVictimDamage>>,
        #[serde(rename = "victimDamageReceived")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub victim_damage_received: Option<std::vec::Vec<MatchTimelineVictimDamage>>,
        #[serde(rename = "victimId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub victim_id: Option<i32>,
        #[serde(rename = "killType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kill_type: Option<String>,
        #[serde(rename = "laneType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub lane_type: Option<String>,
        #[serde(rename = "teamId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub team_id: Option<crate::consts::Team>,
        #[serde(rename = "multiKillLength")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub multi_kill_length: Option<i32>,
        #[serde(rename = "killerTeamId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub killer_team_id: Option<crate::consts::Team>,
        #[serde(rename = "monsterType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub monster_type: Option<String>,
        #[serde(rename = "monsterSubType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub monster_sub_type: Option<String>,
        #[serde(rename = "buildingType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub building_type: Option<String>,
        #[serde(rename = "towerType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tower_type: Option<String>,
        #[serde(rename = "afterId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub after_id: Option<i32>,
        #[serde(rename = "beforeId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub before_id: Option<i32>,
        #[serde(rename = "goldGain")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub gold_gain: Option<i32>,
        #[serde(rename = "gameId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_id: Option<i64>,
        #[serde(rename = "winningTeam")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub winning_team: Option<i32>,
        #[serde(rename = "transformType")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub transform_type: Option<String>,
        #[serde(rename = "name")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub name: Option<String>,
        #[serde(rename = "shutdownBounty")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub shutdown_bounty: Option<i32>,
        #[serde(rename = "actualStartTime")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub actual_start_time: Option<i64>,
    }
    /// ParticipantFrames data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ParticipantFrames {
        #[serde(rename = "1")]
        pub x1: ParticipantFrame,
        #[serde(rename = "2")]
        pub x2: ParticipantFrame,
        #[serde(rename = "3")]
        pub x3: ParticipantFrame,
        #[serde(rename = "4")]
        pub x4: ParticipantFrame,
        #[serde(rename = "5")]
        pub x5: ParticipantFrame,
        #[serde(rename = "6")]
        pub x6: ParticipantFrame,
        #[serde(rename = "7")]
        pub x7: ParticipantFrame,
        #[serde(rename = "8")]
        pub x8: ParticipantFrame,
        #[serde(rename = "9")]
        pub x9: ParticipantFrame,
        #[serde(rename = "10")]
        pub x10: ParticipantFrame,
    }
    /// ParticipantFrame data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ParticipantFrame {
        #[serde(rename = "championStats")]
        pub champion_stats: ChampionStats,
        #[serde(rename = "currentGold")]
        pub current_gold: i32,
        #[serde(rename = "damageStats")]
        pub damage_stats: DamageStats,
        #[serde(rename = "goldPerSecond")]
        pub gold_per_second: i32,
        #[serde(rename = "jungleMinionsKilled")]
        pub jungle_minions_killed: i32,
        #[serde(rename = "level")]
        pub level: i32,
        #[serde(rename = "minionsKilled")]
        pub minions_killed: i32,
        #[serde(rename = "participantId")]
        pub participant_id: i32,
        #[serde(rename = "position")]
        pub position: Position,
        #[serde(rename = "timeEnemySpentControlled")]
        pub time_enemy_spent_controlled: i32,
        #[serde(rename = "totalGold")]
        pub total_gold: i32,
        #[serde(rename = "xp")]
        pub xp: i32,
    }
    /// ChampionStats data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ChampionStats {
        #[serde(rename = "abilityHaste")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ability_haste: Option<i32>,
        #[serde(rename = "abilityPower")]
        pub ability_power: i32,
        #[serde(rename = "armor")]
        pub armor: i32,
        #[serde(rename = "armorPen")]
        pub armor_pen: i32,
        #[serde(rename = "armorPenPercent")]
        pub armor_pen_percent: i32,
        #[serde(rename = "attackDamage")]
        pub attack_damage: i32,
        #[serde(rename = "attackSpeed")]
        pub attack_speed: i32,
        #[serde(rename = "bonusArmorPenPercent")]
        pub bonus_armor_pen_percent: i32,
        #[serde(rename = "bonusMagicPenPercent")]
        pub bonus_magic_pen_percent: i32,
        #[serde(rename = "ccReduction")]
        pub cc_reduction: i32,
        #[serde(rename = "cooldownReduction")]
        pub cooldown_reduction: i32,
        #[serde(rename = "health")]
        pub health: i32,
        #[serde(rename = "healthMax")]
        pub health_max: i32,
        #[serde(rename = "healthRegen")]
        pub health_regen: i32,
        #[serde(rename = "lifesteal")]
        pub lifesteal: i32,
        #[serde(rename = "magicPen")]
        pub magic_pen: i32,
        #[serde(rename = "magicPenPercent")]
        pub magic_pen_percent: i32,
        #[serde(rename = "magicResist")]
        pub magic_resist: i32,
        #[serde(rename = "movementSpeed")]
        pub movement_speed: i32,
        #[serde(rename = "omnivamp")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub omnivamp: Option<i32>,
        #[serde(rename = "physicalVamp")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub physical_vamp: Option<i32>,
        #[serde(rename = "power")]
        pub power: i32,
        #[serde(rename = "powerMax")]
        pub power_max: i32,
        #[serde(rename = "powerRegen")]
        pub power_regen: i32,
        #[serde(rename = "spellVamp")]
        pub spell_vamp: i32,
    }
    /// DamageStats data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct DamageStats {
        #[serde(rename = "magicDamageDone")]
        pub magic_damage_done: i32,
        #[serde(rename = "magicDamageDoneToChampions")]
        pub magic_damage_done_to_champions: i32,
        #[serde(rename = "magicDamageTaken")]
        pub magic_damage_taken: i32,
        #[serde(rename = "physicalDamageDone")]
        pub physical_damage_done: i32,
        #[serde(rename = "physicalDamageDoneToChampions")]
        pub physical_damage_done_to_champions: i32,
        #[serde(rename = "physicalDamageTaken")]
        pub physical_damage_taken: i32,
        #[serde(rename = "totalDamageDone")]
        pub total_damage_done: i32,
        #[serde(rename = "totalDamageDoneToChampions")]
        pub total_damage_done_to_champions: i32,
        #[serde(rename = "totalDamageTaken")]
        pub total_damage_taken: i32,
        #[serde(rename = "trueDamageDone")]
        pub true_damage_done: i32,
        #[serde(rename = "trueDamageDoneToChampions")]
        pub true_damage_done_to_champions: i32,
        #[serde(rename = "trueDamageTaken")]
        pub true_damage_taken: i32,
    }
    /// Position data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Position {
        #[serde(rename = "x")]
        pub x: i32,
        #[serde(rename = "y")]
        pub y: i32,
    }
    /// MatchTimelineVictimDamage data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MatchTimelineVictimDamage {
        #[serde(rename = "basic")]
        pub basic: bool,
        #[serde(rename = "magicDamage")]
        pub magic_damage: i32,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "participantId")]
        pub participant_id: i32,
        #[serde(rename = "physicalDamage")]
        pub physical_damage: i32,
        #[serde(rename = "spellName")]
        pub spell_name: String,
        #[serde(rename = "spellSlot")]
        pub spell_slot: i32,
        #[serde(rename = "trueDamage")]
        pub true_damage: i32,
        #[serde(rename = "type")]
        pub r#type: String,
    }
}

/// Data structs used by [`SpectatorTftV5`](crate::endpoints::SpectatorTftV5).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod spectator_tft_v5 {
    /// CurrentGameInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct CurrentGameInfo {
        /// The ID of the game
        #[serde(rename = "gameId")]
        pub game_id: i64,
        /// The game type
        #[serde(rename = "gameType")]
        pub game_type: crate::consts::GameType,
        /// The game start time represented in epoch milliseconds
        #[serde(rename = "gameStartTime")]
        pub game_start_time: i64,
        /// The ID of the map
        #[serde(rename = "mapId")]
        pub map_id: crate::consts::Map,
        /// The amount of time in seconds that has passed since the game started
        #[serde(rename = "gameLength")]
        pub game_length: i64,
        /// The ID of the platform on which the game is being played
        #[serde(rename = "platformId")]
        pub platform_id: String,
        /// The game mode
        #[serde(rename = "gameMode")]
        pub game_mode: crate::consts::GameMode,
        /// Banned champion information
        #[serde(rename = "bannedChampions")]
        pub banned_champions: std::vec::Vec<BannedChampion>,
        /// The queue type (queue types are documented on the Game Constants page)
        #[serde(rename = "gameQueueConfigId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_queue_config_id: Option<crate::consts::Queue>,
        /// The observer information
        #[serde(rename = "observers")]
        pub observers: Observer,
        /// The participant information
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<CurrentGameParticipant>,
    }
    /// BannedChampion data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct BannedChampion {
        /// The turn during which the champion was banned
        #[serde(rename = "pickTurn")]
        pub pick_turn: i32,
        /// The ID of the banned champion
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// The ID of the team that banned the champion
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
    }
    /// Observer data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Observer {
        /// Key used to decrypt the spectator grid game data for playback
        #[serde(rename = "encryptionKey")]
        pub encryption_key: String,
    }
    /// CurrentGameParticipant data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct CurrentGameParticipant {
        /// The ID of the champion played by this participant
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// Perks/Runes Reforged Information
        #[serde(rename = "perks")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub perks: Option<Perks>,
        /// The ID of the profile icon used by this participant
        #[serde(rename = "profileIconId")]
        pub profile_icon_id: i64,
        /// The team ID of this participant, indicating the participant's team
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
        /// The encrypted summoner ID of this participant
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        /// The encrypted puuid of this participant
        #[serde(rename = "puuid")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub puuid: Option<String>,
        /// The ID of the first summoner spell used by this participant
        #[serde(rename = "spell1Id")]
        pub spell1_id: i64,
        /// The ID of the second summoner spell used by this participant
        #[serde(rename = "spell2Id")]
        pub spell2_id: i64,
        /// List of Game Customizations
        #[serde(rename = "gameCustomizationObjects")]
        pub game_customization_objects: std::vec::Vec<GameCustomizationObject>,
        #[serde(rename = "riotId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub riot_id: Option<String>,
    }
    /// Perks data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Perks {
        /// IDs of the perks/runes assigned.
        #[serde(rename = "perkIds")]
        pub perk_ids: std::vec::Vec<i64>,
        /// Primary runes path
        #[serde(rename = "perkStyle")]
        pub perk_style: i64,
        /// Secondary runes path
        #[serde(rename = "perkSubStyle")]
        pub perk_sub_style: i64,
    }
    /// GameCustomizationObject data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct GameCustomizationObject {
        /// Category identifier for Game Customization
        #[serde(rename = "category")]
        pub category: String,
        /// Game Customization content
        #[serde(rename = "content")]
        pub content: String,
    }
    /// FeaturedGames data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct FeaturedGames {
        /// The list of featured games
        #[serde(rename = "gameList")]
        pub game_list: std::vec::Vec<FeaturedGameInfo>,
        /// The suggested interval to wait before requesting FeaturedGames again
        #[serde(rename = "clientRefreshInterval")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub client_refresh_interval: Option<i64>,
    }
    /// FeaturedGameInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct FeaturedGameInfo {
        /// The game mode<br>
        /// (Legal values:  TFT)
        #[serde(rename = "gameMode")]
        pub game_mode: crate::consts::GameMode,
        /// The amount of time in seconds that has passed since the game started
        #[serde(rename = "gameLength")]
        pub game_length: i64,
        /// The ID of the map
        #[serde(rename = "mapId")]
        pub map_id: crate::consts::Map,
        /// The game type<br>
        /// (Legal values:  MATCHED)
        #[serde(rename = "gameType")]
        pub game_type: crate::consts::GameType,
        /// Banned champion information
        #[serde(rename = "bannedChampions")]
        pub banned_champions: std::vec::Vec<BannedChampion>,
        /// The ID of the game
        #[serde(rename = "gameId")]
        pub game_id: i64,
        /// The observer information
        #[serde(rename = "observers")]
        pub observers: Observer,
        /// The queue type (queue types are documented on the Game Constants page)
        #[serde(rename = "gameQueueConfigId")]
        pub game_queue_config_id: crate::consts::Queue,
        /// The participant information
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<Participant>,
        /// The ID of the platform on which the game is being played
        #[serde(rename = "platformId")]
        pub platform_id: String,
    }
    /// Participant data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Participant {
        /// The ID of the second summoner spell used by this participant
        #[serde(rename = "spell2Id")]
        pub spell2_id: i64,
        /// The ID of the profile icon used by this participant
        #[serde(rename = "profileIconId")]
        pub profile_icon_id: i64,
        /// Encrypted summoner ID of this participant
        #[serde(rename = "summonerId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub summoner_id: Option<String>,
        /// Encrypted puuid of this participant
        #[serde(rename = "puuid")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub puuid: Option<String>,
        /// The ID of the champion played by this participant
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// The team ID of this participant, indicating the participant's team
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
        /// The ID of the first summoner spell used by this participant
        #[serde(rename = "spell1Id")]
        pub spell1_id: i64,
        #[serde(rename = "riotId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub riot_id: Option<String>,
    }
}

/// Data structs used by [`SpectatorV5`](crate::endpoints::SpectatorV5).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod spectator_v5 {
    /// CurrentGameInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct CurrentGameInfo {
        /// The ID of the game
        #[serde(rename = "gameId")]
        pub game_id: i64,
        /// The game type
        #[serde(rename = "gameType")]
        pub game_type: crate::consts::GameType,
        /// The game start time represented in epoch milliseconds
        #[serde(rename = "gameStartTime")]
        pub game_start_time: i64,
        /// The ID of the map
        #[serde(rename = "mapId")]
        pub map_id: crate::consts::Map,
        /// The amount of time in seconds that has passed since the game started
        #[serde(rename = "gameLength")]
        pub game_length: i64,
        /// The ID of the platform on which the game is being played
        #[serde(rename = "platformId")]
        pub platform_id: String,
        /// The game mode
        #[serde(rename = "gameMode")]
        pub game_mode: crate::consts::GameMode,
        /// Banned champion information
        #[serde(rename = "bannedChampions")]
        pub banned_champions: std::vec::Vec<BannedChampion>,
        /// The queue type (queue types are documented on the Game Constants page)
        #[serde(rename = "gameQueueConfigId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_queue_config_id: Option<crate::consts::Queue>,
        /// The observer information
        #[serde(rename = "observers")]
        pub observers: Observer,
        /// The participant information
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<CurrentGameParticipant>,
    }
    /// BannedChampion data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct BannedChampion {
        /// The turn during which the champion was banned
        #[serde(rename = "pickTurn")]
        pub pick_turn: i32,
        /// The ID of the banned champion
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// The ID of the team that banned the champion
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
    }
    /// Observer data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Observer {
        /// Key used to decrypt the spectator grid game data for playback
        #[serde(rename = "encryptionKey")]
        pub encryption_key: String,
    }
    /// CurrentGameParticipant data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct CurrentGameParticipant {
        /// The ID of the champion played by this participant
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// Perks/Runes Reforged Information
        #[serde(rename = "perks")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub perks: Option<Perks>,
        /// The ID of the profile icon used by this participant
        #[serde(rename = "profileIconId")]
        pub profile_icon_id: i64,
        /// Flag indicating whether or not this participant is a bot
        #[serde(rename = "bot")]
        pub bot: bool,
        /// The team ID of this participant, indicating the participant's team
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
        /// The encrypted summoner ID of this participant
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        /// The encrypted puuid of this participant
        #[serde(rename = "puuid")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub puuid: Option<String>,
        /// The ID of the first summoner spell used by this participant
        #[serde(rename = "spell1Id")]
        pub spell1_id: i64,
        /// The ID of the second summoner spell used by this participant
        #[serde(rename = "spell2Id")]
        pub spell2_id: i64,
        /// List of Game Customizations
        #[serde(rename = "gameCustomizationObjects")]
        pub game_customization_objects: std::vec::Vec<GameCustomizationObject>,
        #[serde(rename = "riotId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub riot_id: Option<String>,
    }
    /// Perks data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Perks {
        /// IDs of the perks/runes assigned.
        #[serde(rename = "perkIds")]
        pub perk_ids: std::vec::Vec<i64>,
        /// Primary runes path
        #[serde(rename = "perkStyle")]
        pub perk_style: i64,
        /// Secondary runes path
        #[serde(rename = "perkSubStyle")]
        pub perk_sub_style: i64,
    }
    /// GameCustomizationObject data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct GameCustomizationObject {
        /// Category identifier for Game Customization
        #[serde(rename = "category")]
        pub category: String,
        /// Game Customization content
        #[serde(rename = "content")]
        pub content: String,
    }
    /// FeaturedGames data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct FeaturedGames {
        /// The list of featured games
        #[serde(rename = "gameList")]
        pub game_list: std::vec::Vec<FeaturedGameInfo>,
        /// The suggested interval to wait before requesting FeaturedGames again
        #[serde(rename = "clientRefreshInterval")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub client_refresh_interval: Option<i64>,
    }
    /// FeaturedGameInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct FeaturedGameInfo {
        /// The game mode<br>
        /// (Legal values:  CLASSIC,  ODIN,  ARAM,  TUTORIAL,  ONEFORALL,  ASCENSION,  FIRSTBLOOD,  KINGPORO)
        #[serde(rename = "gameMode")]
        pub game_mode: crate::consts::GameMode,
        /// The amount of time in seconds that has passed since the game started
        #[serde(rename = "gameLength")]
        pub game_length: i64,
        /// The ID of the map
        #[serde(rename = "mapId")]
        pub map_id: crate::consts::Map,
        /// The game type<br>
        /// (Legal values:  CUSTOM_GAME,  MATCHED_GAME,  TUTORIAL_GAME)
        #[serde(rename = "gameType")]
        pub game_type: crate::consts::GameType,
        /// Banned champion information
        #[serde(rename = "bannedChampions")]
        pub banned_champions: std::vec::Vec<BannedChampion>,
        /// The ID of the game
        #[serde(rename = "gameId")]
        pub game_id: i64,
        /// The observer information
        #[serde(rename = "observers")]
        pub observers: Observer,
        /// The queue type (queue types are documented on the Game Constants page)
        #[serde(rename = "gameQueueConfigId")]
        pub game_queue_config_id: crate::consts::Queue,
        /// The participant information
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<Participant>,
        /// The ID of the platform on which the game is being played
        #[serde(rename = "platformId")]
        pub platform_id: String,
    }
    /// Participant data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Participant {
        /// Flag indicating whether or not this participant is a bot
        #[serde(rename = "bot")]
        pub bot: bool,
        /// The ID of the second summoner spell used by this participant
        #[serde(rename = "spell2Id")]
        pub spell2_id: i64,
        /// The ID of the profile icon used by this participant
        #[serde(rename = "profileIconId")]
        pub profile_icon_id: i64,
        /// Encrypted summoner ID of this participant
        #[serde(rename = "summonerId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub summoner_id: Option<String>,
        /// Encrypted puuid of this participant
        #[serde(rename = "puuid")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub puuid: Option<String>,
        /// The ID of the champion played by this participant
        #[serde(rename = "championId")]
        pub champion_id: crate::consts::Champion,
        /// The team ID of this participant, indicating the participant's team
        #[serde(rename = "teamId")]
        pub team_id: crate::consts::Team,
        /// The ID of the first summoner spell used by this participant
        #[serde(rename = "spell1Id")]
        pub spell1_id: i64,
        #[serde(rename = "riotId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub riot_id: Option<String>,
    }
}

/// Data structs used by [`SummonerV4`](crate::endpoints::SummonerV4).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod summoner_v4 {
    /// Summoner data object.
    /// # Description
    /// represents a summoner
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Summoner {
        /// Encrypted account ID. Max length 56 characters.
        #[serde(rename = "accountId")]
        pub account_id: String,
        /// ID of the summoner icon associated with the summoner.
        #[serde(rename = "profileIconId")]
        pub profile_icon_id: i32,
        /// Date summoner was last modified specified as epoch milliseconds. The following events will update this timestamp: profile icon change, playing the tutorial or advanced tutorial, finishing a game, summoner name change
        #[serde(rename = "revisionDate")]
        pub revision_date: i64,
        /// Encrypted summoner ID. Max length 63 characters.
        #[serde(rename = "id")]
        pub id: String,
        /// Encrypted PUUID. Exact length of 78 characters.
        #[serde(rename = "puuid")]
        pub puuid: String,
        /// Summoner level associated with the summoner.
        #[serde(rename = "summonerLevel")]
        pub summoner_level: i64,
    }
}

/// Data structs used by [`TftLeagueV1`](crate::endpoints::TftLeagueV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod tft_league_v1 {
    /// LeagueList data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueList {
        #[serde(rename = "leagueId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub league_id: Option<String>,
        #[serde(rename = "entries")]
        pub entries: std::vec::Vec<LeagueItem>,
        #[serde(rename = "tier")]
        pub tier: crate::consts::Tier,
        #[serde(rename = "name")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub name: Option<String>,
        #[serde(rename = "queue")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub queue: Option<crate::consts::QueueType>,
    }
    /// LeagueItem data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueItem {
        #[serde(rename = "freshBlood")]
        pub fresh_blood: bool,
        /// First placement.
        #[serde(rename = "wins")]
        pub wins: i32,
        #[serde(rename = "miniSeries")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mini_series: Option<MiniSeries>,
        #[serde(rename = "inactive")]
        pub inactive: bool,
        #[serde(rename = "veteran")]
        pub veteran: bool,
        #[serde(rename = "hotStreak")]
        pub hot_streak: bool,
        #[serde(rename = "rank")]
        pub rank: crate::consts::Division,
        #[serde(rename = "leaguePoints")]
        pub league_points: i32,
        /// Second through eighth placement.
        #[serde(rename = "losses")]
        pub losses: i32,
        /// Player's encrypted summonerId.
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
    }
    /// MiniSeries data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MiniSeries {
        #[serde(rename = "losses")]
        pub losses: i32,
        #[serde(rename = "progress")]
        pub progress: String,
        #[serde(rename = "target")]
        pub target: i32,
        #[serde(rename = "wins")]
        pub wins: i32,
    }
    /// LeagueEntry data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LeagueEntry {
        /// Player Universal Unique Identifier. Exact length of 78 characters. (Encrypted)
        #[serde(rename = "puuid")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub puuid: Option<String>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "leagueId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub league_id: Option<String>,
        /// Player's encrypted summonerId.
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        #[serde(rename = "queueType")]
        pub queue_type: crate::consts::QueueType,
        /// Only included for the RANKED_TFT_TURBO queueType.<br>
        /// (Legal values:  ORANGE,  PURPLE,  BLUE,  GREEN,  GRAY)
        #[serde(rename = "ratedTier")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub rated_tier: Option<String>,
        /// Only included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "ratedRating")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub rated_rating: Option<i32>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "tier")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tier: Option<crate::consts::Tier>,
        /// The player's division within a tier. Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "rank")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub rank: Option<crate::consts::Division>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "leaguePoints")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub league_points: Option<i32>,
        /// First placement.
        #[serde(rename = "wins")]
        pub wins: i32,
        /// Second through eighth placement.
        #[serde(rename = "losses")]
        pub losses: i32,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "hotStreak")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub hot_streak: Option<bool>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "veteran")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub veteran: Option<bool>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "freshBlood")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub fresh_blood: Option<bool>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "inactive")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub inactive: Option<bool>,
        /// Not included for the RANKED_TFT_TURBO queueType.
        #[serde(rename = "miniSeries")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub mini_series: Option<MiniSeries>,
    }
    /// TopRatedLadderEntry data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TopRatedLadderEntry {
        #[serde(rename = "summonerId")]
        pub summoner_id: String,
        /// (Legal values:  ORANGE,  PURPLE,  BLUE,  GREEN,  GRAY)
        #[serde(rename = "ratedTier")]
        pub rated_tier: String,
        #[serde(rename = "ratedRating")]
        pub rated_rating: i32,
        /// First placement.
        #[serde(rename = "wins")]
        pub wins: i32,
        #[serde(rename = "previousUpdateLadderPosition")]
        pub previous_update_ladder_position: i32,
    }
}

/// Data structs used by [`TftMatchV1`](crate::endpoints::TftMatchV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod tft_match_v1 {
    /// Match data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Match {
        /// Match metadata.
        #[serde(rename = "metadata")]
        pub metadata: Metadata,
        /// Match info.
        #[serde(rename = "info")]
        pub info: Info,
    }
    /// Metadata data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Metadata {
        /// Match data version.
        #[serde(rename = "data_version")]
        pub data_version: String,
        /// Match id.
        #[serde(rename = "match_id")]
        pub match_id: String,
        /// A list of participant PUUIDs.
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<String>,
    }
    /// Info data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Info {
        /// Unix timestamp.
        #[serde(rename = "game_datetime")]
        pub game_datetime: i64,
        /// Game length in seconds.
        #[serde(rename = "game_length")]
        pub game_length: f32,
        /// Game variation key. Game variations documented in TFT static data.
        #[serde(rename = "game_variation")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_variation: Option<String>,
        /// Game client version.
        #[serde(rename = "game_version")]
        pub game_version: String,
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<Participant>,
        /// Please refer to the League of Legends documentation.
        #[serde(rename = "queue_id")]
        pub queue_id: crate::consts::Queue,
        /// Teamfight Tactics set number.
        #[serde(rename = "tft_set_number")]
        pub tft_set_number: i32,
        #[serde(rename = "tft_game_type")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tft_game_type: Option<String>,
        #[serde(rename = "tft_set_core_name")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tft_set_core_name: Option<String>,
        #[serde(rename = "endOfGameResult")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub end_of_game_result: Option<String>,
        #[serde(rename = "gameCreation")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_creation: Option<i64>,
        #[serde(rename = "gameId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_id: Option<i64>,
        #[serde(rename = "mapId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub map_id: Option<i64>,
        /// Please refer to the League of Legends documentation.
        #[serde(rename = "queueId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub queue_id_: Option<crate::consts::Queue>,
    }
    /// Participant data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Participant {
        /// Participant's companion.
        #[serde(rename = "companion")]
        pub companion: Companion,
        /// Gold left after participant was eliminated.
        #[serde(rename = "gold_left")]
        pub gold_left: i32,
        /// The round the participant was eliminated in. Note: If the player was eliminated in stage 2-1 their last_round would be 5.
        #[serde(rename = "last_round")]
        pub last_round: i32,
        /// Participant Little Legend level. Note: This is not the number of active units.
        #[serde(rename = "level")]
        pub level: i32,
        /// Participant placement upon elimination.
        #[serde(rename = "placement")]
        pub placement: i32,
        /// Number of players the participant eliminated.
        #[serde(rename = "players_eliminated")]
        pub players_eliminated: i32,
        #[serde(rename = "puuid")]
        pub puuid: String,
        /// The number of seconds before the participant was eliminated.
        #[serde(rename = "time_eliminated")]
        pub time_eliminated: f32,
        /// Damage the participant dealt to other players.
        #[serde(rename = "total_damage_to_players")]
        pub total_damage_to_players: i32,
        /// A complete list of traits for the participant's active units.
        #[serde(rename = "traits")]
        pub traits: std::vec::Vec<Trait>,
        /// A list of active units for the participant.
        #[serde(rename = "units")]
        pub units: std::vec::Vec<Unit>,
        #[serde(rename = "augments")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub augments: Option<std::vec::Vec<String>>,
        #[serde(rename = "partner_group_id")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub partner_group_id: Option<i32>,
        #[serde(rename = "missions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub missions: Option<ParticipantMissions>,
    }
    /// Trait data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Trait {
        /// Trait name.
        #[serde(rename = "name")]
        pub name: String,
        /// Number of units with this trait.
        #[serde(rename = "num_units")]
        pub num_units: i32,
        /// Current style for this trait. (0 = No style, 1 = Bronze, 2 = Silver, 3 = Gold, 4 = Chromatic)
        #[serde(rename = "style")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub style: Option<i32>,
        /// Current active tier for the trait.
        #[serde(rename = "tier_current")]
        pub tier_current: i32,
        /// Total tiers for the trait.
        #[serde(rename = "tier_total")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tier_total: Option<i32>,
    }
    /// Unit data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Unit {
        /// A list of the unit's items. Please refer to the Teamfight Tactics documentation for item ids.
        #[serde(rename = "items")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub items: Option<std::vec::Vec<i32>>,
        /// This field was introduced in patch 9.22 with data_version 2.
        #[serde(rename = "character_id")]
        pub character_id: String,
        /// If a unit is chosen as part of the Fates set mechanic, the chosen trait will be indicated by this field. Otherwise this field is excluded from the response.
        #[serde(rename = "chosen")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub chosen: Option<String>,
        /// Unit name. This field is often left blank.
        #[serde(rename = "name")]
        pub name: String,
        /// Unit rarity. This doesn't equate to the unit cost.
        #[serde(rename = "rarity")]
        pub rarity: i32,
        /// Unit tier.
        #[serde(rename = "tier")]
        pub tier: i32,
        #[serde(rename = "itemNames")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub item_names: Option<std::vec::Vec<String>>,
    }
    /// Companion data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Companion {
        #[serde(rename = "item_ID")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub item_id: Option<i32>,
        #[serde(rename = "skin_ID")]
        pub skin_id: i32,
        #[serde(rename = "content_ID")]
        pub content_id: String,
        #[serde(rename = "species")]
        pub species: String,
    }
    /// ParticipantMissions data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ParticipantMissions {
        #[serde(rename = "Assists")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub assists: Option<i32>,
        #[serde(rename = "DamageDealt")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_dealt: Option<i32>,
        #[serde(rename = "DamageDealtToObjectives")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_dealt_to_objectives: Option<i32>,
        #[serde(rename = "DamageDealtToTurrets")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_dealt_to_turrets: Option<i32>,
        #[serde(rename = "DamageTaken")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub damage_taken: Option<i32>,
        #[serde(rename = "DoubleKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub double_kills: Option<i32>,
        #[serde(rename = "GoldEarned")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub gold_earned: Option<i32>,
        #[serde(rename = "GoldSpent")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub gold_spent: Option<i32>,
        #[serde(rename = "InhibitorsDestroyed")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub inhibitors_destroyed: Option<i32>,
        #[serde(rename = "Kills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub kills: Option<i32>,
        #[serde(rename = "LargestKillingSpree")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub largest_killing_spree: Option<i32>,
        #[serde(rename = "LargestMultiKill")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub largest_multi_kill: Option<i32>,
        #[serde(rename = "MagicDamageDealt")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub magic_damage_dealt: Option<i32>,
        #[serde(rename = "MagicDamageDealtToChampions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub magic_damage_dealt_to_champions: Option<i32>,
        #[serde(rename = "NeutralMinionsKilledTeamJungle")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub neutral_minions_killed_team_jungle: Option<i32>,
        #[serde(rename = "PhysicalDamageDealt")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub physical_damage_dealt: Option<i32>,
        #[serde(rename = "PhysicalDamageTaken")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub physical_damage_taken: Option<i32>,
        #[serde(rename = "PlayerScore0")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score0: Option<i32>,
        #[serde(rename = "PlayerScore1")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score1: Option<i32>,
        #[serde(rename = "PlayerScore2")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score2: Option<i32>,
        #[serde(rename = "PlayerScore3")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score3: Option<i32>,
        #[serde(rename = "PlayerScore4")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score4: Option<i32>,
        #[serde(rename = "PlayerScore5")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score5: Option<i32>,
        #[serde(rename = "PlayerScore6")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score6: Option<i32>,
        #[serde(rename = "PlayerScore9")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score9: Option<i32>,
        #[serde(rename = "PlayerScore10")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score10: Option<i32>,
        #[serde(rename = "PlayerScore11")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub player_score11: Option<i32>,
        #[serde(rename = "QuadraKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub quadra_kills: Option<i32>,
        #[serde(rename = "Spell1Casts")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub spell1_casts: Option<i32>,
        #[serde(rename = "Spell2Casts")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub spell2_casts: Option<i32>,
        #[serde(rename = "Spell3Casts")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub spell3_casts: Option<i32>,
        #[serde(rename = "Spell4Casts")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub spell4_casts: Option<i32>,
        #[serde(rename = "SummonerSpell1Casts")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub summoner_spell1_casts: Option<i32>,
        #[serde(rename = "TimeCCOthers")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub time_cc_others: Option<i32>,
        #[serde(rename = "TotalMinionsKilled")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub total_minions_killed: Option<i32>,
        #[serde(rename = "TrueDamageDealtToChampions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub true_damage_dealt_to_champions: Option<i32>,
        #[serde(rename = "UnrealKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub unreal_kills: Option<i32>,
        #[serde(rename = "VisionScore")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub vision_score: Option<i32>,
        #[serde(rename = "WardsKilled")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub wards_killed: Option<i32>,
        #[serde(rename = "Deaths")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub deaths: Option<i32>,
        #[serde(rename = "KillingSprees")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub killing_sprees: Option<i32>,
        #[serde(rename = "MagicDamageTaken")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub magic_damage_taken: Option<i32>,
        #[serde(rename = "PentaKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub penta_kills: Option<i32>,
        #[serde(rename = "PhysicalDamageDealtToChampions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub physical_damage_dealt_to_champions: Option<i32>,
        #[serde(rename = "TotalDamageDealtToChampions")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub total_damage_dealt_to_champions: Option<i32>,
        #[serde(rename = "TripleKills")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub triple_kills: Option<i32>,
        #[serde(rename = "TrueDamageDealt")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub true_damage_dealt: Option<i32>,
        #[serde(rename = "TrueDamageTaken")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub true_damage_taken: Option<i32>,
    }
}

/// Data structs used by [`TftStatusV1`](crate::endpoints::TftStatusV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod tft_status_v1 {
    /// PlatformData data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlatformData {
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "locales")]
        pub locales: std::vec::Vec<String>,
        #[serde(rename = "maintenances")]
        pub maintenances: std::vec::Vec<Status>,
        #[serde(rename = "incidents")]
        pub incidents: std::vec::Vec<Status>,
    }
    /// Status data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Status {
        #[serde(rename = "id")]
        pub id: i32,
        /// (Legal values:  scheduled,  in_progress,  complete)
        #[serde(rename = "maintenance_status")]
        pub maintenance_status: String,
        /// (Legal values:  info,  warning,  critical)
        #[serde(rename = "incident_severity")]
        pub incident_severity: String,
        #[serde(rename = "titles")]
        pub titles: std::vec::Vec<Content>,
        #[serde(rename = "updates")]
        pub updates: std::vec::Vec<Update>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "archive_at")]
        pub archive_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
        /// (Legal values: windows, macos, android, ios, ps4, xbone, switch)
        #[serde(rename = "platforms")]
        pub platforms: std::vec::Vec<String>,
    }
    /// Content data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Content {
        #[serde(rename = "locale")]
        pub locale: String,
        #[serde(rename = "content")]
        pub content: String,
    }
    /// Update data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Update {
        #[serde(rename = "id")]
        pub id: i32,
        #[serde(rename = "author")]
        pub author: String,
        #[serde(rename = "publish")]
        pub publish: bool,
        /// (Legal values: riotclient, riotstatus, game)
        #[serde(rename = "publish_locations")]
        pub publish_locations: std::vec::Vec<String>,
        #[serde(rename = "translations")]
        pub translations: std::vec::Vec<Content>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
    }
}

/// Data structs used by [`TftSummonerV1`](crate::endpoints::TftSummonerV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod tft_summoner_v1 {
    /// Summoner data object.
    /// # Description
    /// represents a summoner
    ///
    /// Note: This struct is automatically generated
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Summoner {
        /// Encrypted account ID. Max length 56 characters.
        #[serde(rename = "accountId")]
        pub account_id: String,
        /// ID of the summoner icon associated with the summoner.
        #[serde(rename = "profileIconId")]
        pub profile_icon_id: i32,
        /// Date summoner was last modified specified as epoch milliseconds. The following events will update this timestamp: summoner name change, summoner level change, or profile icon change.
        #[serde(rename = "revisionDate")]
        pub revision_date: i64,
        /// Encrypted summoner ID. Max length 63 characters.
        #[serde(rename = "id")]
        pub id: String,
        /// Encrypted PUUID. Exact length of 78 characters.
        #[serde(rename = "puuid")]
        pub puuid: String,
        /// Summoner level associated with the summoner.
        #[serde(rename = "summonerLevel")]
        pub summoner_level: i64,
    }
}

/// Data structs used by [`TournamentStubV5`](crate::endpoints::TournamentStubV5).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod tournament_stub_v5 {
    /// TournamentCodeParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentCodeParametersV5 {
        /// Optional list of encrypted puuids in order to validate the players eligible to join the lobby. NOTE: We currently do not enforce participants at the team level, but rather the aggregate of teamOne and teamTwo. We may add the ability to enforce at the team level in the future.
        #[serde(rename = "allowedParticipants")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub allowed_participants: Option<std::vec::Vec<String>>,
        /// Optional string that may contain any data in any format, if specified at all. Used to denote any custom information about the game.
        #[serde(rename = "metadata")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub metadata: Option<String>,
        /// The team size of the game. Valid values are 1-5.
        #[serde(rename = "teamSize")]
        pub team_size: i32,
        /// The pick type of the game.<br>
        /// (Legal values:  BLIND_PICK,  DRAFT_MODE,  ALL_RANDOM,  TOURNAMENT_DRAFT)
        #[serde(rename = "pickType")]
        pub pick_type: String,
        /// The map type of the game.<br>
        /// (Legal values:  SUMMONERS_RIFT,  HOWLING_ABYSS)
        #[serde(rename = "mapType")]
        pub map_type: String,
        /// The spectator type of the game.<br>
        /// (Legal values:  NONE,  LOBBYONLY,  ALL)
        #[serde(rename = "spectatorType")]
        pub spectator_type: String,
        /// Checks if allowed participants are enough to make full teams.
        #[serde(rename = "enoughPlayers")]
        pub enough_players: bool,
    }
    /// TournamentCodeV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentCodeV5 {
        /// The tournament code.
        #[serde(rename = "code")]
        pub code: String,
        /// The spectator mode for the tournament code game.
        #[serde(rename = "spectators")]
        pub spectators: String,
        /// The lobby name for the tournament code game.
        #[serde(rename = "lobbyName")]
        pub lobby_name: String,
        /// The metadata for tournament code.
        #[serde(rename = "metaData")]
        pub meta_data: String,
        /// The password for the tournament code game.
        #[serde(rename = "password")]
        pub password: String,
        /// The team size for the tournament code game.
        #[serde(rename = "teamSize")]
        pub team_size: i32,
        /// The provider's ID.
        #[serde(rename = "providerId")]
        pub provider_id: i32,
        /// The pick mode for tournament code game.
        #[serde(rename = "pickType")]
        pub pick_type: String,
        /// The tournament's ID.
        #[serde(rename = "tournamentId")]
        pub tournament_id: i32,
        /// The tournament code's ID.
        #[serde(rename = "id")]
        pub id: i32,
        /// The tournament code's region.<br>
        /// (Legal values:  BR,  EUNE,  EUW,  JP,  LAN,  LAS,  NA,  OCE,  PBE,  RU,  TR,  KR)
        #[serde(rename = "region")]
        pub region: String,
        /// The game map for the tournament code game
        #[serde(rename = "map")]
        pub map: String,
        /// The puuids of the participants (Encrypted)
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<String>,
    }
    /// LobbyEventV5Wrapper data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LobbyEventV5Wrapper {
        #[serde(rename = "eventList")]
        pub event_list: std::vec::Vec<LobbyEventV5>,
    }
    /// LobbyEventV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LobbyEventV5 {
        /// Timestamp from the event
        #[serde(rename = "timestamp")]
        pub timestamp: String,
        /// The type of event that was triggered
        #[serde(rename = "eventType")]
        pub event_type: String,
        /// The puuid that triggered the event (Encrypted)
        #[serde(rename = "puuid")]
        pub puuid: String,
    }
    /// ProviderRegistrationParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ProviderRegistrationParametersV5 {
        /// The region in which the provider will be running tournaments.<br>
        /// (Legal values:  BR,  EUNE,  EUW,  JP,  LAN,  LAS,  NA,  OCE,  PBE,  RU,  TR,  KR)
        #[serde(rename = "region")]
        pub region: String,
        /// The provider's callback URL to which tournament game results in this region should be posted. The URL must be well-formed, use the http or https protocol, and use the default port for the protocol (http URLs must use port 80, https URLs must use port 443).
        #[serde(rename = "url")]
        pub url: String,
    }
    /// TournamentRegistrationParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentRegistrationParametersV5 {
        /// The provider ID to specify the regional registered provider data to associate this tournament.
        #[serde(rename = "providerId")]
        pub provider_id: i32,
        /// The optional name of the tournament.
        #[serde(rename = "name")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub name: Option<String>,
    }
}

/// Data structs used by [`TournamentV5`](crate::endpoints::TournamentV5).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod tournament_v5 {
    /// TournamentCodeParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentCodeParametersV5 {
        /// Optional list of encrypted puuids in order to validate the players eligible to join the lobby. NOTE: We currently do not enforce participants at the team level, but rather the aggregate of teamOne and teamTwo. We may add the ability to enforce at the team level in the future.
        #[serde(rename = "allowedParticipants")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub allowed_participants: Option<std::vec::Vec<String>>,
        /// Optional string that may contain any data in any format, if specified at all. Used to denote any custom information about the game.
        #[serde(rename = "metadata")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub metadata: Option<String>,
        /// The team size of the game. Valid values are 1-5.
        #[serde(rename = "teamSize")]
        pub team_size: i32,
        /// The pick type of the game.<br>
        /// (Legal values:  BLIND_PICK,  DRAFT_MODE,  ALL_RANDOM,  TOURNAMENT_DRAFT)
        #[serde(rename = "pickType")]
        pub pick_type: String,
        /// The map type of the game.<br>
        /// (Legal values:  SUMMONERS_RIFT,  HOWLING_ABYSS)
        #[serde(rename = "mapType")]
        pub map_type: String,
        /// The spectator type of the game.<br>
        /// (Legal values:  NONE,  LOBBYONLY,  ALL)
        #[serde(rename = "spectatorType")]
        pub spectator_type: String,
        /// Checks if allowed participants are enough to make full teams.
        #[serde(rename = "enoughPlayers")]
        pub enough_players: bool,
    }
    /// TournamentCodeV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentCodeV5 {
        /// The tournament code.
        #[serde(rename = "code")]
        pub code: String,
        /// The spectator mode for the tournament code game.
        #[serde(rename = "spectators")]
        pub spectators: String,
        /// The lobby name for the tournament code game.
        #[serde(rename = "lobbyName")]
        pub lobby_name: String,
        /// The metadata for tournament code.
        #[serde(rename = "metaData")]
        pub meta_data: String,
        /// The password for the tournament code game.
        #[serde(rename = "password")]
        pub password: String,
        /// The team size for the tournament code game.
        #[serde(rename = "teamSize")]
        pub team_size: i32,
        /// The provider's ID.
        #[serde(rename = "providerId")]
        pub provider_id: i32,
        /// The pick mode for tournament code game.
        #[serde(rename = "pickType")]
        pub pick_type: String,
        /// The tournament's ID.
        #[serde(rename = "tournamentId")]
        pub tournament_id: i32,
        /// The tournament code's ID.
        #[serde(rename = "id")]
        pub id: i32,
        /// The tournament code's region.<br>
        /// (Legal values:  BR,  EUNE,  EUW,  JP,  LAN,  LAS,  NA,  OCE,  PBE,  RU,  TR,  KR,  PH,  SG,  TH,  TW,  VN)
        #[serde(rename = "region")]
        pub region: String,
        /// The game map for the tournament code game
        #[serde(rename = "map")]
        pub map: String,
        /// The puuids of the participants (Encrypted)
        #[serde(rename = "participants")]
        pub participants: std::vec::Vec<String>,
    }
    /// TournamentCodeUpdateParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentCodeUpdateParametersV5 {
        /// Optional list of encrypted puuids in order to validate the players eligible to join the lobby. NOTE: We currently do not enforce participants at the team level, but rather the aggregate of teamOne and teamTwo. We may add the ability to enforce at the team level in the future.
        #[serde(rename = "allowedParticipants")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub allowed_participants: Option<std::vec::Vec<String>>,
        /// The pick type<br>
        /// (Legal values:  BLIND_PICK,  DRAFT_MODE,  ALL_RANDOM,  TOURNAMENT_DRAFT)
        #[serde(rename = "pickType")]
        pub pick_type: String,
        /// The map type<br>
        /// (Legal values:  SUMMONERS_RIFT,  HOWLING_ABYSS)
        #[serde(rename = "mapType")]
        pub map_type: String,
        /// The spectator type<br>
        /// (Legal values:  NONE,  LOBBYONLY,  ALL)
        #[serde(rename = "spectatorType")]
        pub spectator_type: String,
    }
    /// TournamentGamesV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentGamesV5 {
        #[serde(rename = "winningTeam")]
        pub winning_team: std::vec::Vec<TournamentTeamV5>,
        #[serde(rename = "losingTeam")]
        pub losing_team: std::vec::Vec<TournamentTeamV5>,
        /// Tournament Code
        #[serde(rename = "shortCode")]
        pub short_code: String,
        /// Metadata for the TournamentCode
        #[serde(rename = "metaData")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub meta_data: Option<String>,
        #[serde(rename = "gameId")]
        pub game_id: i64,
        #[serde(rename = "gameName")]
        pub game_name: String,
        #[serde(rename = "gameType")]
        pub game_type: String,
        /// Game Map ID
        #[serde(rename = "gameMap")]
        pub game_map: i32,
        #[serde(rename = "gameMode")]
        pub game_mode: String,
        /// Region of the game
        #[serde(rename = "region")]
        pub region: String,
    }
    /// TournamentTeamV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentTeamV5 {
        /// Player Unique UUID (Encrypted)
        #[serde(rename = "puuid")]
        pub puuid: String,
    }
    /// LobbyEventV5Wrapper data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LobbyEventV5Wrapper {
        #[serde(rename = "eventList")]
        pub event_list: std::vec::Vec<LobbyEventV5>,
    }
    /// LobbyEventV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LobbyEventV5 {
        /// Timestamp from the event
        #[serde(rename = "timestamp")]
        pub timestamp: String,
        /// The type of event that was triggered
        #[serde(rename = "eventType")]
        pub event_type: String,
        /// The puuid that triggered the event (Encrypted)
        #[serde(rename = "puuid")]
        pub puuid: String,
    }
    /// ProviderRegistrationParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ProviderRegistrationParametersV5 {
        /// The region in which the provider will be running tournaments.<br>
        /// (Legal values:  BR,  EUNE,  EUW,  JP,  LAN,  LAS,  NA,  OCE,  PBE,  RU,  TR,  KR,  PH,  SG,  TH,  TW,  VN)
        #[serde(rename = "region")]
        pub region: String,
        /// The provider's callback URL to which tournament game results in this region should be posted. The URL must be well-formed, use the http or https protocol, and use the default port for the protocol (http URLs must use port 80, https URLs must use port 443).
        #[serde(rename = "url")]
        pub url: String,
    }
    /// TournamentRegistrationParametersV5 data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TournamentRegistrationParametersV5 {
        /// The provider ID to specify the regional registered provider data to associate this tournament.
        #[serde(rename = "providerId")]
        pub provider_id: i32,
        /// The optional name of the tournament.
        #[serde(rename = "name")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub name: Option<String>,
    }
}

/// Data structs used by [`ValContentV1`](crate::endpoints::ValContentV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod val_content_v1 {
    /// Content data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Content {
        #[serde(rename = "version")]
        pub version: String,
        #[serde(rename = "characters")]
        pub characters: std::vec::Vec<ContentItem>,
        #[serde(rename = "maps")]
        pub maps: std::vec::Vec<ContentItem>,
        #[serde(rename = "chromas")]
        pub chromas: std::vec::Vec<ContentItem>,
        #[serde(rename = "skins")]
        pub skins: std::vec::Vec<ContentItem>,
        #[serde(rename = "skinLevels")]
        pub skin_levels: std::vec::Vec<ContentItem>,
        #[serde(rename = "equips")]
        pub equips: std::vec::Vec<ContentItem>,
        #[serde(rename = "gameModes")]
        pub game_modes: std::vec::Vec<ContentItem>,
        #[serde(rename = "sprays")]
        pub sprays: std::vec::Vec<ContentItem>,
        #[serde(rename = "sprayLevels")]
        pub spray_levels: std::vec::Vec<ContentItem>,
        #[serde(rename = "charms")]
        pub charms: std::vec::Vec<ContentItem>,
        #[serde(rename = "charmLevels")]
        pub charm_levels: std::vec::Vec<ContentItem>,
        #[serde(rename = "playerCards")]
        pub player_cards: std::vec::Vec<ContentItem>,
        #[serde(rename = "playerTitles")]
        pub player_titles: std::vec::Vec<ContentItem>,
        #[serde(rename = "acts")]
        pub acts: std::vec::Vec<Act>,
        #[serde(rename = "ceremonies")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ceremonies: Option<std::vec::Vec<ContentItem>>,
        /// Unknown type, this is a placeholder subject to change.
        #[serde(rename = "totems")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub totems: Option<std::vec::Vec<String>>,
    }
    /// ContentItem data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct ContentItem {
        #[serde(rename = "name")]
        pub name: String,
        /// This field is excluded from the response when a locale is set
        #[serde(rename = "localizedNames")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub localized_names: Option<LocalizedNames>,
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "assetName")]
        pub asset_name: String,
        /// This field is only included for maps and game modes. These values are used in the match response.
        #[serde(rename = "assetPath")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub asset_path: Option<String>,
    }
    /// LocalizedNames data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct LocalizedNames {
        #[serde(rename = "ar-AE")]
        pub ar_ae: String,
        #[serde(rename = "de-DE")]
        pub de_de: String,
        #[serde(rename = "en-GB")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub en_gb: Option<String>,
        #[serde(rename = "en-US")]
        pub en_us: String,
        #[serde(rename = "es-ES")]
        pub es_es: String,
        #[serde(rename = "es-MX")]
        pub es_mx: String,
        #[serde(rename = "fr-FR")]
        pub fr_fr: String,
        #[serde(rename = "id-ID")]
        pub id_id: String,
        #[serde(rename = "it-IT")]
        pub it_it: String,
        #[serde(rename = "ja-JP")]
        pub ja_jp: String,
        #[serde(rename = "ko-KR")]
        pub ko_kr: String,
        #[serde(rename = "pl-PL")]
        pub pl_pl: String,
        #[serde(rename = "pt-BR")]
        pub pt_br: String,
        #[serde(rename = "ru-RU")]
        pub ru_ru: String,
        #[serde(rename = "th-TH")]
        pub th_th: String,
        #[serde(rename = "tr-TR")]
        pub tr_tr: String,
        #[serde(rename = "vi-VN")]
        pub vi_vn: String,
        #[serde(rename = "zh-CN")]
        pub zh_cn: String,
        #[serde(rename = "zh-TW")]
        pub zh_tw: String,
    }
    /// Act data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Act {
        #[serde(rename = "name")]
        pub name: String,
        /// This field is excluded from the response when a locale is set
        #[serde(rename = "localizedNames")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub localized_names: Option<LocalizedNames>,
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "isActive")]
        pub is_active: bool,
        #[serde(rename = "parentId")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub parent_id: Option<String>,
        #[serde(rename = "type")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub r#type: Option<String>,
    }
}

/// Data structs used by [`ValMatchV1`](crate::endpoints::ValMatchV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod val_match_v1 {
    /// Match data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Match {
        #[serde(rename = "matchInfo")]
        pub match_info: MatchInfo,
        #[serde(rename = "players")]
        pub players: std::vec::Vec<Player>,
        #[serde(rename = "coaches")]
        pub coaches: std::vec::Vec<Coach>,
        #[serde(rename = "teams")]
        pub teams: std::vec::Vec<Team>,
        #[serde(rename = "roundResults")]
        pub round_results: std::vec::Vec<RoundResult>,
    }
    /// MatchInfo data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MatchInfo {
        #[serde(rename = "matchId")]
        pub match_id: String,
        #[serde(rename = "mapId")]
        pub map_id: String,
        #[serde(rename = "gameLengthMillis")]
        pub game_length_millis: i32,
        #[serde(rename = "gameStartMillis")]
        pub game_start_millis: i64,
        #[serde(rename = "provisioningFlowId")]
        pub provisioning_flow_id: String,
        #[serde(rename = "isCompleted")]
        pub is_completed: bool,
        #[serde(rename = "customGameName")]
        pub custom_game_name: String,
        #[serde(rename = "queueId")]
        pub queue_id: String,
        #[serde(rename = "gameMode")]
        pub game_mode: String,
        #[serde(rename = "isRanked")]
        pub is_ranked: bool,
        #[serde(rename = "seasonId")]
        pub season_id: String,
        #[serde(rename = "gameVersion")]
        pub game_version: String,
        #[serde(rename = "region")]
        pub region: String,
        #[serde(rename = "premierMatchInfo")]
        pub premier_match_info: serde_json::Map<String, serde_json::Value>,
    }
    /// Player data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Player {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "gameName")]
        pub game_name: String,
        #[serde(rename = "tagLine")]
        pub tag_line: String,
        #[serde(rename = "teamId")]
        pub team_id: String,
        #[serde(rename = "partyId")]
        pub party_id: String,
        #[serde(rename = "characterId")]
        pub character_id: String,
        #[serde(rename = "stats")]
        pub stats: PlayerStats,
        #[serde(rename = "competitiveTier")]
        pub competitive_tier: i32,
        #[serde(rename = "playerCard")]
        pub player_card: String,
        #[serde(rename = "playerTitle")]
        pub player_title: String,
        #[serde(rename = "isObserver")]
        pub is_observer: bool,
        #[serde(rename = "accountLevel")]
        pub account_level: i32,
    }
    /// PlayerStats data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlayerStats {
        #[serde(rename = "score")]
        pub score: i32,
        #[serde(rename = "roundsPlayed")]
        pub rounds_played: i32,
        #[serde(rename = "kills")]
        pub kills: i32,
        #[serde(rename = "deaths")]
        pub deaths: i32,
        #[serde(rename = "assists")]
        pub assists: i32,
        #[serde(rename = "playtimeMillis")]
        pub playtime_millis: i32,
        #[serde(rename = "abilityCasts")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ability_casts: Option<AbilityCasts>,
    }
    /// AbilityCasts data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct AbilityCasts {
        #[serde(rename = "grenadeCasts")]
        pub grenade_casts: i32,
        #[serde(rename = "ability1Casts")]
        pub ability1_casts: i32,
        #[serde(rename = "ability2Casts")]
        pub ability2_casts: i32,
        #[serde(rename = "ultimateCasts")]
        pub ultimate_casts: i32,
    }
    /// Coach data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Coach {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "teamId")]
        pub team_id: String,
    }
    /// Team data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Team {
        /// This is an arbitrary string. Red and Blue in bomb modes. The puuid of the player in deathmatch.
        #[serde(rename = "teamId")]
        pub team_id: String,
        #[serde(rename = "won")]
        pub won: bool,
        #[serde(rename = "roundsPlayed")]
        pub rounds_played: i32,
        #[serde(rename = "roundsWon")]
        pub rounds_won: i32,
        /// Team points scored. Number of kills in deathmatch.
        #[serde(rename = "numPoints")]
        pub num_points: i32,
    }
    /// RoundResult data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct RoundResult {
        #[serde(rename = "roundNum")]
        pub round_num: i32,
        #[serde(rename = "roundResult")]
        pub round_result: String,
        #[serde(rename = "roundCeremony")]
        pub round_ceremony: String,
        #[serde(rename = "winningTeam")]
        pub winning_team: String,
        /// PUUID of player
        #[serde(rename = "bombPlanter")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub bomb_planter: Option<String>,
        /// PUUID of player
        #[serde(rename = "bombDefuser")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub bomb_defuser: Option<String>,
        #[serde(rename = "plantRoundTime")]
        pub plant_round_time: i32,
        #[serde(rename = "plantPlayerLocations")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub plant_player_locations: Option<std::vec::Vec<PlayerLocations>>,
        #[serde(rename = "plantLocation")]
        pub plant_location: Location,
        #[serde(rename = "plantSite")]
        pub plant_site: String,
        #[serde(rename = "defuseRoundTime")]
        pub defuse_round_time: i32,
        #[serde(rename = "defusePlayerLocations")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub defuse_player_locations: Option<std::vec::Vec<PlayerLocations>>,
        #[serde(rename = "defuseLocation")]
        pub defuse_location: Location,
        #[serde(rename = "playerStats")]
        pub player_stats: std::vec::Vec<PlayerRoundStats>,
        #[serde(rename = "roundResultCode")]
        pub round_result_code: String,
    }
    /// PlayerLocations data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlayerLocations {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "viewRadians")]
        pub view_radians: f32,
        #[serde(rename = "location")]
        pub location: Location,
    }
    /// Location data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Location {
        #[serde(rename = "x")]
        pub x: i32,
        #[serde(rename = "y")]
        pub y: i32,
    }
    /// PlayerRoundStats data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlayerRoundStats {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "kills")]
        pub kills: std::vec::Vec<Kill>,
        #[serde(rename = "damage")]
        pub damage: std::vec::Vec<Damage>,
        #[serde(rename = "score")]
        pub score: i32,
        #[serde(rename = "economy")]
        pub economy: Economy,
        #[serde(rename = "ability")]
        pub ability: Ability,
    }
    /// Kill data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Kill {
        #[serde(rename = "timeSinceGameStartMillis")]
        pub time_since_game_start_millis: i32,
        #[serde(rename = "timeSinceRoundStartMillis")]
        pub time_since_round_start_millis: i32,
        /// PUUID
        #[serde(rename = "killer")]
        pub killer: String,
        /// PUUID
        #[serde(rename = "victim")]
        pub victim: String,
        #[serde(rename = "victimLocation")]
        pub victim_location: Location,
        /// List of PUUIDs
        #[serde(rename = "assistants")]
        pub assistants: std::vec::Vec<String>,
        #[serde(rename = "playerLocations")]
        pub player_locations: std::vec::Vec<PlayerLocations>,
        #[serde(rename = "finishingDamage")]
        pub finishing_damage: FinishingDamage,
    }
    /// FinishingDamage data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct FinishingDamage {
        #[serde(rename = "damageType")]
        pub damage_type: String,
        #[serde(rename = "damageItem")]
        pub damage_item: String,
        #[serde(rename = "isSecondaryFireMode")]
        pub is_secondary_fire_mode: bool,
    }
    /// Damage data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Damage {
        /// PUUID
        #[serde(rename = "receiver")]
        pub receiver: String,
        #[serde(rename = "damage")]
        pub damage: i32,
        #[serde(rename = "legshots")]
        pub legshots: i32,
        #[serde(rename = "bodyshots")]
        pub bodyshots: i32,
        #[serde(rename = "headshots")]
        pub headshots: i32,
    }
    /// Economy data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Economy {
        #[serde(rename = "loadoutValue")]
        pub loadout_value: i32,
        #[serde(rename = "weapon")]
        pub weapon: String,
        #[serde(rename = "armor")]
        pub armor: String,
        #[serde(rename = "remaining")]
        pub remaining: i32,
        #[serde(rename = "spent")]
        pub spent: i32,
    }
    /// Ability data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Ability {
        #[serde(rename = "grenadeEffects")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub grenade_effects: Option<String>,
        #[serde(rename = "ability1Effects")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ability1_effects: Option<String>,
        #[serde(rename = "ability2Effects")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ability2_effects: Option<String>,
        #[serde(rename = "ultimateEffects")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub ultimate_effects: Option<String>,
    }
    /// Matchlist data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Matchlist {
        #[serde(rename = "puuid")]
        pub puuid: String,
        #[serde(rename = "history")]
        pub history: std::vec::Vec<MatchlistEntry>,
    }
    /// MatchlistEntry data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct MatchlistEntry {
        #[serde(rename = "matchId")]
        pub match_id: String,
        #[serde(rename = "gameStartTimeMillis")]
        pub game_start_time_millis: i64,
        #[serde(rename = "queueId")]
        pub queue_id: String,
    }
    /// RecentMatches data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct RecentMatches {
        #[serde(rename = "currentTime")]
        pub current_time: i64,
        /// A list of recent match ids.
        #[serde(rename = "matchIds")]
        pub match_ids: std::vec::Vec<String>,
    }
}

/// Data structs used by [`ValRankedV1`](crate::endpoints::ValRankedV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod val_ranked_v1 {
    /// Leaderboard data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Leaderboard {
        /// The shard for the given leaderboard.
        #[serde(rename = "shard")]
        pub shard: String,
        /// The act id for the given leaderboard. Act ids can be found using the val-content API.
        #[serde(rename = "actId")]
        pub act_id: String,
        /// The total number of players in the leaderboard.
        #[serde(rename = "totalPlayers")]
        pub total_players: i64,
        #[serde(rename = "players")]
        pub players: std::vec::Vec<Player>,
        #[serde(rename = "immortalStartingPage")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub immortal_starting_page: Option<i64>,
        #[serde(rename = "immortalStartingIndex")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub immortal_starting_index: Option<i64>,
        #[serde(rename = "topTierRRThreshold")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub top_tier_rr_threshold: Option<i64>,
        #[serde(rename = "tierDetails")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tier_details: Option<std::collections::HashMap<i64, TierDetail>>,
        #[serde(rename = "startIndex")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub start_index: Option<i64>,
        #[serde(rename = "query")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub query: Option<String>,
    }
    /// Player data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Player {
        /// This field may be omitted if the player has been anonymized.
        #[serde(rename = "puuid")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub puuid: Option<String>,
        /// This field may be omitted if the player has been anonymized.
        #[serde(rename = "gameName")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub game_name: Option<String>,
        /// This field may be omitted if the player has been anonymized.
        #[serde(rename = "tagLine")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub tag_line: Option<String>,
        #[serde(rename = "leaderboardRank")]
        pub leaderboard_rank: i64,
        #[serde(rename = "rankedRating")]
        pub ranked_rating: i64,
        #[serde(rename = "numberOfWins")]
        pub number_of_wins: i64,
        #[serde(rename = "competitiveTier")]
        #[serde(skip_serializing_if = "Option::is_none")]
        pub competitive_tier: Option<i64>,
    }
    /// TierDetail data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct TierDetail {
        #[serde(rename = "rankedRatingThreshold")]
        pub ranked_rating_threshold: i64,
        #[serde(rename = "startingPage")]
        pub starting_page: i64,
        #[serde(rename = "startingIndex")]
        pub starting_index: i64,
    }
}

/// Data structs used by [`ValStatusV1`](crate::endpoints::ValStatusV1).
/// 
/// Note: this module is automatically generated.
#[allow(dead_code)]
pub mod val_status_v1 {
    /// PlatformData data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct PlatformData {
        #[serde(rename = "id")]
        pub id: String,
        #[serde(rename = "name")]
        pub name: String,
        #[serde(rename = "locales")]
        pub locales: std::vec::Vec<String>,
        #[serde(rename = "maintenances")]
        pub maintenances: std::vec::Vec<Status>,
        #[serde(rename = "incidents")]
        pub incidents: std::vec::Vec<Status>,
    }
    /// Status data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Status {
        #[serde(rename = "id")]
        pub id: i32,
        /// (Legal values:  scheduled,  in_progress,  complete)
        #[serde(rename = "maintenance_status")]
        pub maintenance_status: String,
        /// (Legal values:  info,  warning,  critical)
        #[serde(rename = "incident_severity")]
        pub incident_severity: String,
        #[serde(rename = "titles")]
        pub titles: std::vec::Vec<Content>,
        #[serde(rename = "updates")]
        pub updates: std::vec::Vec<Update>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "archive_at")]
        pub archive_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
        /// (Legal values: windows, macos, android, ios, ps4, xbone, switch)
        #[serde(rename = "platforms")]
        pub platforms: std::vec::Vec<String>,
    }
    /// Content data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Content {
        #[serde(rename = "locale")]
        pub locale: String,
        #[serde(rename = "content")]
        pub content: String,
    }
    /// Update data object.
    #[derive(Clone, Debug)]
    #[derive(serde::Serialize, serde::Deserialize)]
    #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
    pub struct Update {
        #[serde(rename = "id")]
        pub id: i32,
        #[serde(rename = "author")]
        pub author: String,
        #[serde(rename = "publish")]
        pub publish: bool,
        /// (Legal values: riotclient, riotstatus, game)
        #[serde(rename = "publish_locations")]
        pub publish_locations: std::vec::Vec<String>,
        #[serde(rename = "translations")]
        pub translations: std::vec::Vec<Content>,
        #[serde(rename = "created_at")]
        pub created_at: String,
        #[serde(rename = "updated_at")]
        pub updated_at: String,
    }
}