OLD | NEW |
1 library googleapis.androidpublisher.v2; | 1 library googleapis.androidpublisher.v2; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
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; |
11 import '../common/common.dart' as common; | 11 import '../common/common.dart' as common; |
12 | 12 |
13 export '../common/common.dart' show ApiRequestError; | 13 export '../common/common.dart' show ApiRequestError; |
14 export '../common/common.dart' show DetailedApiRequestError; | 14 export '../common/common.dart' show DetailedApiRequestError; |
15 | 15 |
16 /** Lets Android application developers access their Google Play accounts. */ | 16 /** Lets Android application developers access their Google Play accounts. */ |
17 class AndroidpublisherApi { | 17 class AndroidpublisherApi { |
18 /** View and manage your Google Play Android Developer account */ | 18 /** View and manage your Google Play Android Developer account */ |
19 static const AndroidpublisherScope = "https://www.googleapis.com/auth/androidp
ublisher"; | 19 static const AndroidpublisherScope = "https://www.googleapis.com/auth/androidp
ublisher"; |
20 | 20 |
21 | 21 |
22 final common_internal.ApiRequester _requester; | 22 final common_internal.ApiRequester _requester; |
23 | 23 |
24 EditsResourceApi get edits => new EditsResourceApi(_requester); | 24 EditsResourceApi get edits => new EditsResourceApi(_requester); |
25 InappproductsResourceApi get inappproducts => new InappproductsResourceApi(_re
quester); | 25 InappproductsResourceApi get inappproducts => new InappproductsResourceApi(_re
quester); |
26 PurchasesResourceApi get purchases => new PurchasesResourceApi(_requester); | 26 PurchasesResourceApi get purchases => new PurchasesResourceApi(_requester); |
27 | 27 |
28 AndroidpublisherApi(http.Client client) : | 28 AndroidpublisherApi(http.Client client, {core.String rootUrl: "https://www.goo
gleapis.com/", core.String servicePath: "androidpublisher/v2/applications/"}) : |
29 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "androidpublisher/v2/applications/"); | 29 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
30 } | 30 } |
31 | 31 |
32 | 32 |
33 /** Not documented yet. */ | 33 /** Not documented yet. */ |
34 class EditsResourceApi { | 34 class EditsResourceApi { |
35 final common_internal.ApiRequester _requester; | 35 final common_internal.ApiRequester _requester; |
36 | 36 |
37 EditsApklistingsResourceApi get apklistings => new EditsApklistingsResourceApi
(_requester); | 37 EditsApklistingsResourceApi get apklistings => new EditsApklistingsResourceApi
(_requester); |
38 EditsApksResourceApi get apks => new EditsApksResourceApi(_requester); | 38 EditsApksResourceApi get apks => new EditsApksResourceApi(_requester); |
39 EditsDetailsResourceApi get details => new EditsDetailsResourceApi(_requester)
; | 39 EditsDetailsResourceApi get details => new EditsDetailsResourceApi(_requester)
; |
(...skipping 4454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4494 _json["kind"] = kind; | 4494 _json["kind"] = kind; |
4495 } | 4495 } |
4496 if (tracks != null) { | 4496 if (tracks != null) { |
4497 _json["tracks"] = tracks.map((value) => (value).toJson()).toList(); | 4497 _json["tracks"] = tracks.map((value) => (value).toJson()).toList(); |
4498 } | 4498 } |
4499 return _json; | 4499 return _json; |
4500 } | 4500 } |
4501 } | 4501 } |
4502 | 4502 |
4503 | 4503 |
OLD | NEW |