OLD | NEW |
1 library googleapis.mapsengine.v1; | 1 library googleapis.mapsengine.v1; |
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; |
(...skipping 17 matching lines...) Expand all Loading... |
28 final common_internal.ApiRequester _requester; | 28 final common_internal.ApiRequester _requester; |
29 | 29 |
30 AssetsResourceApi get assets => new AssetsResourceApi(_requester); | 30 AssetsResourceApi get assets => new AssetsResourceApi(_requester); |
31 LayersResourceApi get layers => new LayersResourceApi(_requester); | 31 LayersResourceApi get layers => new LayersResourceApi(_requester); |
32 MapsResourceApi get maps => new MapsResourceApi(_requester); | 32 MapsResourceApi get maps => new MapsResourceApi(_requester); |
33 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); | 33 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
34 RasterCollectionsResourceApi get rasterCollections => new RasterCollectionsRes
ourceApi(_requester); | 34 RasterCollectionsResourceApi get rasterCollections => new RasterCollectionsRes
ourceApi(_requester); |
35 RastersResourceApi get rasters => new RastersResourceApi(_requester); | 35 RastersResourceApi get rasters => new RastersResourceApi(_requester); |
36 TablesResourceApi get tables => new TablesResourceApi(_requester); | 36 TablesResourceApi get tables => new TablesResourceApi(_requester); |
37 | 37 |
38 MapsengineApi(http.Client client) : | 38 MapsengineApi(http.Client client, {core.String rootUrl: "https://www.googleapi
s.com/", core.String servicePath: "mapsengine/v1/"}) : |
39 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "mapsengine/v1/"); | 39 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
40 } | 40 } |
41 | 41 |
42 | 42 |
43 /** Not documented yet. */ | 43 /** Not documented yet. */ |
44 class AssetsResourceApi { | 44 class AssetsResourceApi { |
45 final common_internal.ApiRequester _requester; | 45 final common_internal.ApiRequester _requester; |
46 | 46 |
47 AssetsParentsResourceApi get parents => new AssetsParentsResourceApi(_requeste
r); | 47 AssetsParentsResourceApi get parents => new AssetsParentsResourceApi(_requeste
r); |
48 AssetsPermissionsResourceApi get permissions => new AssetsPermissionsResourceA
pi(_requester); | 48 AssetsPermissionsResourceApi get permissions => new AssetsPermissionsResourceA
pi(_requester); |
49 | 49 |
(...skipping 8861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8911 _json["max"] = max; | 8911 _json["max"] = max; |
8912 } | 8912 } |
8913 if (min != null) { | 8913 if (min != null) { |
8914 _json["min"] = min; | 8914 _json["min"] = min; |
8915 } | 8915 } |
8916 return _json; | 8916 return _json; |
8917 } | 8917 } |
8918 } | 8918 } |
8919 | 8919 |
8920 | 8920 |
OLD | NEW |