OLD | NEW |
1 library googleapis.mirror.v1; | 1 library googleapis.mirror.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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
26 | 26 |
27 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); | 27 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
28 ContactsResourceApi get contacts => new ContactsResourceApi(_requester); | 28 ContactsResourceApi get contacts => new ContactsResourceApi(_requester); |
29 LocationsResourceApi get locations => new LocationsResourceApi(_requester); | 29 LocationsResourceApi get locations => new LocationsResourceApi(_requester); |
30 SettingsResourceApi get settings => new SettingsResourceApi(_requester); | 30 SettingsResourceApi get settings => new SettingsResourceApi(_requester); |
31 SubscriptionsResourceApi get subscriptions => new SubscriptionsResourceApi(_re
quester); | 31 SubscriptionsResourceApi get subscriptions => new SubscriptionsResourceApi(_re
quester); |
32 TimelineResourceApi get timeline => new TimelineResourceApi(_requester); | 32 TimelineResourceApi get timeline => new TimelineResourceApi(_requester); |
33 | 33 |
34 MirrorApi(http.Client client) : | 34 MirrorApi(http.Client client, {core.String rootUrl: "https://www.googleapis.co
m/", core.String servicePath: "mirror/v1/"}) : |
35 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "mirror/v1/"); | 35 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
36 } | 36 } |
37 | 37 |
38 | 38 |
39 /** Not documented yet. */ | 39 /** Not documented yet. */ |
40 class AccountsResourceApi { | 40 class AccountsResourceApi { |
41 final common_internal.ApiRequester _requester; | 41 final common_internal.ApiRequester _requester; |
42 | 42 |
43 AccountsResourceApi(common_internal.ApiRequester client) : | 43 AccountsResourceApi(common_internal.ApiRequester client) : |
44 _requester = client; | 44 _requester = client; |
45 | 45 |
(...skipping 2676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2722 _json["key"] = key; | 2722 _json["key"] = key; |
2723 } | 2723 } |
2724 if (value != null) { | 2724 if (value != null) { |
2725 _json["value"] = value; | 2725 _json["value"] = value; |
2726 } | 2726 } |
2727 return _json; | 2727 return _json; |
2728 } | 2728 } |
2729 } | 2729 } |
2730 | 2730 |
2731 | 2731 |
OLD | NEW |