OLD | NEW |
1 library googleapis.games.v1; | 1 library googleapis.games.v1; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection_1; | 4 import "dart:collection" as collection_1; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 28 matching lines...) Expand all Loading... |
39 PlayersResourceApi get players => new PlayersResourceApi(_requester); | 39 PlayersResourceApi get players => new PlayersResourceApi(_requester); |
40 PushtokensResourceApi get pushtokens => new PushtokensResourceApi(_requester); | 40 PushtokensResourceApi get pushtokens => new PushtokensResourceApi(_requester); |
41 QuestMilestonesResourceApi get questMilestones => new QuestMilestonesResourceA
pi(_requester); | 41 QuestMilestonesResourceApi get questMilestones => new QuestMilestonesResourceA
pi(_requester); |
42 QuestsResourceApi get quests => new QuestsResourceApi(_requester); | 42 QuestsResourceApi get quests => new QuestsResourceApi(_requester); |
43 RevisionsResourceApi get revisions => new RevisionsResourceApi(_requester); | 43 RevisionsResourceApi get revisions => new RevisionsResourceApi(_requester); |
44 RoomsResourceApi get rooms => new RoomsResourceApi(_requester); | 44 RoomsResourceApi get rooms => new RoomsResourceApi(_requester); |
45 ScoresResourceApi get scores => new ScoresResourceApi(_requester); | 45 ScoresResourceApi get scores => new ScoresResourceApi(_requester); |
46 SnapshotsResourceApi get snapshots => new SnapshotsResourceApi(_requester); | 46 SnapshotsResourceApi get snapshots => new SnapshotsResourceApi(_requester); |
47 TurnBasedMatchesResourceApi get turnBasedMatches => new TurnBasedMatchesResour
ceApi(_requester); | 47 TurnBasedMatchesResourceApi get turnBasedMatches => new TurnBasedMatchesResour
ceApi(_requester); |
48 | 48 |
49 GamesApi(http.Client client) : | 49 GamesApi(http.Client client, {core.String rootUrl: "https://www.googleapis.com
/", core.String servicePath: "games/v1/"}) : |
50 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "games/v1/"); | 50 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
51 } | 51 } |
52 | 52 |
53 | 53 |
54 /** Not documented yet. */ | 54 /** Not documented yet. */ |
55 class AchievementDefinitionsResourceApi { | 55 class AchievementDefinitionsResourceApi { |
56 final common_internal.ApiRequester _requester; | 56 final common_internal.ApiRequester _requester; |
57 | 57 |
58 AchievementDefinitionsResourceApi(common_internal.ApiRequester client) : | 58 AchievementDefinitionsResourceApi(common_internal.ApiRequester client) : |
59 _requester = client; | 59 _requester = client; |
60 | 60 |
(...skipping 9610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9671 _json["pendingParticipantId"] = pendingParticipantId; | 9671 _json["pendingParticipantId"] = pendingParticipantId; |
9672 } | 9672 } |
9673 if (results != null) { | 9673 if (results != null) { |
9674 _json["results"] = results.map((value) => (value).toJson()).toList(); | 9674 _json["results"] = results.map((value) => (value).toJson()).toList(); |
9675 } | 9675 } |
9676 return _json; | 9676 return _json; |
9677 } | 9677 } |
9678 } | 9678 } |
9679 | 9679 |
9680 | 9680 |
OLD | NEW |