-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtabtapi_types.php
2458 lines (2233 loc) · 56.4 KB
/
tabtapi_types.php
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
<?php
/**
* @defgroup TabTAPItypes TabT API type descriptions
*
* @brief Here are all types used by TabT API functions
*
* @author Gaëtan Frenoy <[email protected]>
* @version 0.7.25
*
* Copyright (C) 2007-2020 Gaëtan Frenoy ([email protected])
*/
/**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
////////////////////////////////////////////////////////////////////////////
/**
* @struct CredentialsType
*
* @brief Defines credentials to connect to a TabT website
*
* Some functions may require special rights to be processed successfully.
* The account (username and password) to be used is the same than the one
* used to connect to the TabT website.
*
* @see Test, GetSeasons, GetClubTeams, GetDivisionRanking, GetMatches, GetMembers, Upload, GetClubs
* @ingroup TabTAPItypes
*/
class CredentialsType {
/**
* The user name on the TabT website you want to gather data from
*
* @b type: string
*/
public $Account;
/**
* Your password
*
* @b type: string
*/
public $Password;
/**
* Unique index of the member to be used when executing the current request.
*
* For administrators, give them the option to send request on behalf of another user.
* This can be interesting to make sure comments and other actions are recorded under the correct identity.
*
* @b type: int
*/
public $OnBehalfOf;
}
/**
* @struct TestRequest
*
* @brief Input parameters of the ::Test API
*
* @see Test
* @ingroup TabTAPItypes
*/
class TestRequest {
/**
* Defines credentials (username and password) to connect to a TabT website
*
* @b type: ::CredentialsType
*/
public $Credentials;
}
/**
* @struct TestResponse
*
* @brief Output parameters of the ::Test API
*
* @see Test
* @ingroup TabTAPItypes
*/
class TestResponse {
/**
* Server time when responding to this test query
*/
public $Timestamp;
/**
* Current API verion running on the server
*/
public $ApiVersion;
/**
* Checks if given credentials are valid
*
* Returns true if account and password are correctly
* verified on the server
*/
public $IsValidAccount;
/**
* Language used when replying to requests
*
* Default language is enforced by the configuration of the TabT instance but if
* valid credentials are given, user's language will be used. Hence, to change this language,
* one has to connect to the TabT web interface and select his/her preferred language.
*
* If no default language is set by the TabT instance, English will be used.
*/
public $Language;
/**
* Name of the database currently in use
* (eg Spocrea, VTTL, ...)
*/
public $Database;
}
/**
* @struct GetSeasonsResponse
*
* @brief Output parameters of the ::GetSeasons API
*
* @see GetSeasons
* @ingroup TabTAPItypes
*/
class GetSeasonsResponse
{
/**
* @brief The season identifier of the current season
*
* This is a positive integer.
*
* @b type: int
*/
public $CurrentSeason;
/**
* The name of current season.
*
* @b type: string
*/
public $CurrentSeasonName;
/**
* The list of seasons, each season is given as a ::SeasonEntry
*
* Example if 2008-2009 is the current season
* <ul>
* <li><code>1 | 2001-2002 | false</code></li>
* <li><code>2 | 2002-2003 | false</code></li>
* <li>(...)</li>
* <li><code>7 | 2007-2008 | false</code></li>
* <li><code>8 | 2008-2009 | true</code></li>
* </ul>
*
* @see SeasonEntry
* @b type: SeasonEntry[]
*/
public $SeasonEntries;
}
/**
* @struct SeasonEntry
*
* @brief Information about one season
*
* @see GetSeasons, GetSeasonsResponse
* @ingroup TabTAPItypes
*/
class SeasonEntry
{
/**
* Identifier of the season
*
* @b type: int
*/
public $Season;
/**
* The name of the season.
*
* @b type: string
*/
public $Name;
/**
* Indicates if the season is the current season
*
* true if the season is the current season, false otherwise
*
* @b type: boolean
*/
public $IsCurrent;
}
/**
* @struct GetClubTeamsRequest
*
* @brief Input parameters of the ::GetClubTeams API
*
* @see GetClubTeams
* @ingroup TabTAPItypes
*/
class GetClubTeamsRequest
{
/**
* Defines credentials to connect to a TabT website
*
* @b type: CredentialsType
*/
public $Credentials;
/**
* The club wherein the teams are playing.
*
* This parameter contains the unique identifier of the club where the team(s)
* returned by ::GetClubTeams belongs to.
* Example : <code>VLB-225</code> for VTTL club of Hurricane TTW.
*
* @b type: string
*/
public $Club;
/**
* The season when the teams have played.
*
* This parameter is optional, default is the current season (see ::GetSeasons)
*
* @b type: int
*/
public $Season;
}
/**
* @struct GetClubTeamsResponse
*
* @brief Output parameters of the ::GetClubTeams API
*
* @see GetClubTeams
* @ingroup TabTAPItypes
*/
class GetClubTeamsResponse
{
/**
* Name of the requested club (see Club in ::GetClubTeamsRequest).
*
* If available, the short name of the club is given
*
* @b type: string
*/
public $ClubName;
/**
* The number of teams returned by ::GetClubTeams
*
* This is also the number of entries that will be returned in TeamEntries
*
* @b type: int
*/
public $TeamCount;
/**
* The list of teams matching criteria given in ::GetClubTeamsRequest
*
* Each element of the list is a ::TeamEntry structure.
*
* @b type: TeamEntry
*/
public $TeamEntries;
}
/**
* @struct TeamEntry
*
* @brief A team of a club
*
* ::GetClubTeams returns a list of teams for a given club. This structure contains
* the information about each team.
*
* @see GetClubTeams, GetClubTeamsResponse
* @ingroup TabTAPItypes
*/
class TeamEntry
{
/**
* The unique identified of the team.
*
* The system will generate a unique identifier for each team of the club.
*
* @b type: string
*/
public $TeamId;
/**
* The team letter.
*
* Usually each time of a club is identified by a letter. Eg team "A", "B", "C" etc.
* In some cases, no letter is given and this parameter is empty.
*
* @b type: string
*/
public $Team;
/**
* The unique identifier of the division wherein the team is playing.
*
* @b type: int
*/
public $DivisionId;
/**
* The name of the division wherein the team is playing
*
* Example for division #390 of VTTL competition (season 2007-2008):
* <ul>
* <li>with an account configured for Dutch: <code>Afdeling 2A - Prov. Vl.-B/Br. - Heren</code></li>
* <li>with an account configured for French: <code>Division 2A - Prov. Vl.-B/Br. - Hommes</code></li>
* </ul>
*
* The name is localized according to the ::CredentialsType credentials given in the
* ::GetClubTeamsRequest request. If not specified, the default language is defined by
* the TabT website administrator.
*
* @b type: string
*/
public $DivisionName;
/**
* The category of the division wherein the team is playing
*
* Divisions are grouped by category. All divisions belonging to the same category are usually
* sharing the same properties like the type of match (3 vs 3 or 4 vs 4) and the player ranking
* system (men or women).
*
* @b type: int
*/
public $DivisionCategory;
/**
* The type of games that are played during the match
*
* Each team match is played with a given number of single or double games that are played in
* a given order. The <i>MatchType</i> value defines how the games are played within a team match.
*
* As an example, for VTTL, MatchType #2 is played by 4 players who are playing 16 single games.
*
* @b type: int
*/
public $MatchType;
}
/**
* @struct GetDivisionRankingRequest
*
* @brief Input parameters of the ::GetDivisionRanking API
*
* @see GetDivisionRanking
* @ingroup TabTAPItypes
*/
class GetDivisionRankingRequest
{
/**
* Defines credentials to connect to a TabT website
*
* @b type: CredentialsType
*/
public $Credentials;
/**
* The unique identifier of the requested division
*
* @b type: int
*/
public $DivisionId;
/**
* The week name the ranking should be given for
*
* This parameter is optional.
*
* @b type: string
*/
public $WeekName;
/**
* The type of ranking system to use.
*
* The main systems are:
* 1 : Classic (as described in "Landelijke Sportreglement at § C.7)
* 2 : Overloop
* 3 : 4-a-win
* 4 : Per individual victory
* 5 : Sporcrea
* 6 : Classic 2009 (new rules as of season 2009-2010)
* See also <code>http://tabt.frenoy.net/index.php?display=TabTWebDocTeamClassementTypes</code>
*
* This parameter is optional. If not specified, the ranking system configured for the
* requested division will be used.
*
* @b type: string
*/
public $RankingSystem;
}
/**
* @struct GetDivisionRankingResponse
*
* @brief Output parameters of the ::GetDivisionRanking API
*
* @see GetDivisionRanking
* @ingroup TabTAPItypes
*/
class GetDivisionRankingResponse
{
/**
* Full localized name of the requested division
*
* Example for division #390 of VTTL competition (season 2007-2008):
* <ul>
* <li>with an account configured for Dutch: <code>Afdeling 2A - Prov. Vl.-B/Br. - Heren</code></li>
* <li>with an account configured for French: <code>Division 2A - Prov. Vl.-B/Br. - Hommes</code></li>
* </ul>
*
* The name is localized according to the ::CredentialsType credentials given in the
* ::GetClubTeamsRequest request. If not specified, the default language is defined by
* the TabT website administrator.
*
* @b type: string
*/
public $DivisionName;
/**
* List of lines of the ranking, each line contain the information about one team of the division
*
* Example for division #390 after 18 weeks of VTTL competition (season 2007-2008):
* <ul>
* <li><code>1 | T.T. Groot-Bijgaarden A | 18 | 13 | 2 | 3 | 196 | 92 | 641 | 378 | 29</code></li>
* <li><code>2 | Werchter B | 18 | 11 | 4 | 3 | 158 | 130 | 525 | 400 | 25</code></li>
* <li><code>3 | Hurricane TTW C | 17 | 10 | 2 | 5 | 167 | 104 | 610 | 440 | 25</code></li>
* <li><code>4 | T.T.K. Vilvo F | 17 | 10 | 6 | 1 | 165 | 107 | 525 | 441 | 21</code></li>
* <li>(...)</li>
* </ul>
*
* @b type: RankingEntry[]
* @see RankingEntry
*/
public $RankingEntries;
}
/**
* @struct RankingEntry
*
* @brief Information about a team listed in a ::GetDivisionRanking ranking
*
* @see GetDivisionRanking, GetDivisionRankingResponse
* @ingroup TabTAPItypes
*/
class RankingEntry
{
/**
* The position of the team within the ranking
*
* This is positive integer starting at 1. Ex-aequo may have the same position in the ranking
*
* @b type: int
*/
public $Position;
/**
* The name of the team
*
* The name includes the team letter. If available, the short name of the club is given.
* Example: <code>Hurricane C</code> or <code>Werchter A</code>
*
* @b type: string
*/
public $Team;
/**
* The number of games played by the team
*
* If some games have been delayed, all the teams do not have played the same amount of matches
*
* @b type: int
*/
public $GamesPlayed;
/**
* The number of games won by the team
*
* @b type: int
*/
public $GamesWon;
/**
* The number of games lost by the team
*
* @b type: int
*/
public $GamesLost;
/**
* The number of draw game made by the team
*
* @b type: int
*/
public $GamesDraw;
/**
* The number of individual games won by all players of the team
*
* @b type: int
*/
public $IndividualMatchesWon;
/**
* The number of individual games lost by all players of the team
*
* @b type: int
*/
public $IndividualMatchesLost;
/**
* The number of sets won by all players of the team during their individual games
*
* @b type: int
*/
public $IndividualSetsWon;
/**
* The number of sets won by all players of the team during their individual games
*
* @b type: int
*/
public $IndividualSetsLost;
/**
* The number of points or the "score" won by the team
*
* This information is used to rank the teams. This is usually a number of points (2 for a win, 1 for a draw)
* but some ranking system may be different.
*
* @b type: int
*/
public $Points;
/**
* The club wherein the teams is playing.
*
* This parameter contains the unique identifier of the club where the team(s)
* returned by ::GetClubTeams belongs to.
* Example : <code>VLB-225</code> for VTTL club of Hurricane TTW.
*
* This parameter is usually not shown to the end user but can be used to easily find the club the team
* is belonging to (easier that with the long name).
*
* @b type: int
*/
public $TeamClub;
}
/**
* @struct GetMembersRequest
*
* @brief Input parameters of the ::GetMembers API
*
* @see GetMembers
* @ingroup TabTAPItypes
*/
class GetMembersRequest
{
/**
* Defines credentials to connect to a TabT website
* @b type: CredentialsType
*/
public $Credentials;
/**
* The club the players are members of
*
* This parameter contains the unique identifier of the club where the players(s)
* returned by ::GetMembers belongs to.
* Example : <code>VLB-225</code> for VTTL club of Hurricane TTW.
*
* This parameter is optional. But at least one search criteria has to be specified (club, unique index or name).
* If this parameter is specified, the response will not contain the player club.
*
* @b type: string
*/
public $Club;
/**
* The season when the players were members of the requested club
*
* This parameter is optional, default is the current season (see ::GetSeasons)
*
* @b type: int
*/
public $Season;
/**
* The identifier of the player category to be considered
*
* Usually 1 for men and 2 for women.
* This parameter is optional, default is the first player category which is usually the senior men.
*
* @b type: int
*/
public $PlayerCategory;
/**
* The unique index of the requested member.
*
* This parameter is optional. But at least one search criteria has to be specified (club, unique index or name).
*
* @b type: int
*/
public $UniqueIndex;
/**
* The pattern the name of the request member must match. The wildcard character is the percent sign (%).
* Both last name and first name are searched. The search is not case sensitive.
*
* This parameter is optional. But at least one search criteria has to be specified (club, unique index or name).
*
@ var string
*/
public $NameSearch;
/**
* Returns extended information about the returned members : status, gender, category and birthdate
*
* If set to "true", valid credential has to be specified.
* Birthdate will only be given if given credential have administrive rights.
*
* This parameter is optional. Default value is false.
*
* @b type: boolean
*/
public $ExtendedInformation;
/**
* Returns extended information about the member's new ranking evaluations.
*
* If set to "true", valid credential has to be specified.
*
* The number and level of details of the returned new ranking evaluations depend on the credential access rights and local
* configuration option "option allow_own_ranking_info".
*
* This parameter is optional. Default value is false.
*
* @b type: boolean
*/
public $RankingPointsInformation;
/**
* Returns results of the member for the selected season.
*
* This parameter is optional. Default value is false.
*
* @b type: boolean
*/
public $WithResults;
/**
* Returns detailed information about the new ranking evaluations of each member's opponent.
*
* If set to "true", valid credential has to be specified.
* This option requires administrative or ranking rights.
*
* This parameter is optional. Default value is false.
*
* @b type: boolean
*/
public $WithOpponentRankingEvaluation;
}
/**
* @struct GetMembersResponse
*
* @brief Output parameters of the ::GetMembers API
*
* @see GetMembers
* @ingroup TabTAPItypes
*/
class GetMembersResponse
{
/**
* The number of members returned by ::GetMembers
*
* This is also the number of entries that will be returned in ::MemberEntries
*
* @b type: int
*/
public $MemberCount;
/**
* List of all members matching the requested criteria (see ::GetMembersRequest).
*
* Each element of the list is a ::MemberEntryType
*
* @b type: MemberEntryType[]
* @see MemberEntryType
*/
public $MemberEntries;
}
/**
* @struct MemberEntryType
*
* @brief Describe a member
*
* @see GetMembers
* @ingroup TabTAPItypes
*/
class MemberEntryType
{
/**
* The position (order) of the member on the list
*
* This number is unique and start at 1.
*
* @b type: int
*/
public $Position;
/**
* The unique index of the member
*
* Each player is given a unique number, usually given by the federation he/she is belonging to.
*
* Examples: <code>VTTL id of GAËTAN FRENOY is 505290</code>, <code>Sporcrea id of JOHAN DE KONINCK is 8196</code>.
*
* @b type: int
*/
public $UniqueIndex;
/**
* A special index to group player with the same ranking
*
* All players that have the same ranking will receive the same ranking index. This index is the position of
* the last player of this ranking. This index can optionally be used in TabT.
*
* Note: some members are not "playing members" so it means they cannot play any match.
* Such players do not have a raking index
*
* @b type: int
*/
public $RankingIndex;
/**
* The given name of the player
*
* @b type: string
*/
public $FirstName;
/**
* The family name of the player
*
* @b type: string
*/
public $LastName;
/**
* The ranking of the player
*
* @b type: string
*/
public $Ranking;
/**
* The status of the player
*
* Common status are: A = Active, R = Recreative, V = Reserve
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: string
*/
public $Status;
/**
* The club index of the player
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: string
*/
public $Club;
/**
* The player's gender
*
* M = male, F = female
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: string
*/
public $Gender;
/**
* The player's age category
*
* Common catogory are: SEN, VET, MIN, ...
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: date
*/
public $Category;
/**
* The player's birthdate
*
* Format is YYYY-MM-DD
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: date
*/
public $BirthDate;
/**
* Is true if the player sent a valid medical attestation
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: boolean
*/
public $MedicalAttestation;
/**
* Number of entries in RankingPointsEntries
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* Note: NOT IMPLEMENTED YET
*
* @b type: boolean
*/
public $RankingPointsCount;
/**
* Information about the member's ranking points
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* Note: NOT IMPLEMENTED YET
*
* @b type: boolean
*/
public $RankingPointsEntries;
/**
* The player's main email address
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: string
*/
public $Email;
/**
* The player's phone information
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: PhoneType
*/
public $Phone;
/**
* The player's address
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: AddressType
*/
public $Address;
/**
* The number of player's results
*
* This parameter is optional and only returned if WithResults has been set (see ::GetMembersRequest).
*
* @b type: int
*/
public $ResultCount;
/**
* Detailed player's results
*
* This parameter is optional and only returned if WithResults has been set (see ::GetMembersRequest).
*
* @b type: PlayerResultEntry[]
* @see PlayerResultEntry
*/
public $ResultEntries;
/**
* The player's national number (if relevant)
*
* This parameter is optional and may not always be specified (see ::GetMembersRequest).
*
* @b type: AddressType
*/
public $NationalNumber;
}
/**
* @struct PlayerResultEntry
*
* @brief A individual game result as returned by ::GetMembers
*
* @see GetMembers
* @since Version 0.7.18
* @ingroup TabTAPItypes
*/
class PlayerResultEntry
{
/**
* The date when the match has been played
*
* Format is YYYY-MM-DD where
* <ul>
* <li>YYYY is the year on 4 digits (eg 2008)</li>
* <li>MM is the month on 2 digits (eg 06)</li>
* <li>DD is the day of the month on 2 digits (eg 29)</li>
* </ul>
*
* @b type: Date
*/
public $Date;
/**
* The unique member index of the opponent
*
* @b type: int
* @see GetMembersResponse
*/
public $UniqueIndex;
/**
* The given name of the opponent
*
* @b type: string
*/
public $FirstName;
/**
* The family name of the opponent
*
* @b type: string
*/
public $LastName;
/**
* The ranking of the opponent
*
* @b type: string
*/
public $Ranking;
/**
* The game result
* V = Victory of the player
* D = Defeat of the player
*
* @b type: string
*/
public $Result;
}
/**
* @struct GetMatchesRequest
*
* @brief Input parameters of the ::GetMatches API
*
* @see GetMatches
* @ingroup TabTAPItypes
*/
class GetMatchesRequest
{
/**
* Defines credentials to connect to a TabT website
*
* This parameter is optional.
*