| OLD | NEW |
| 1 library googleapis_beta.datastore.v1beta2; | 1 library googleapis_beta.datastore.v1beta2; |
| 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 11 matching lines...) Expand all Loading... |
| 22 static const DatastoreScope = "https://www.googleapis.com/auth/datastore"; | 22 static const DatastoreScope = "https://www.googleapis.com/auth/datastore"; |
| 23 | 23 |
| 24 /** View your email address */ | 24 /** View your email address */ |
| 25 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; | 25 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; |
| 26 | 26 |
| 27 | 27 |
| 28 final common_internal.ApiRequester _requester; | 28 final common_internal.ApiRequester _requester; |
| 29 | 29 |
| 30 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); | 30 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); |
| 31 | 31 |
| 32 DatastoreApi(http.Client client) : | 32 DatastoreApi(http.Client client, {core.String rootUrl: "https://www.googleapis
.com/", core.String servicePath: "datastore/v1beta2/datasets/"}) : |
| 33 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "datastore/v1beta2/datasets/"); | 33 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 34 } | 34 } |
| 35 | 35 |
| 36 | 36 |
| 37 /** Not documented yet. */ | 37 /** Not documented yet. */ |
| 38 class DatasetsResourceApi { | 38 class DatasetsResourceApi { |
| 39 final common_internal.ApiRequester _requester; | 39 final common_internal.ApiRequester _requester; |
| 40 | 40 |
| 41 DatasetsResourceApi(common_internal.ApiRequester client) : | 41 DatasetsResourceApi(common_internal.ApiRequester client) : |
| 42 _requester = client; | 42 _requester = client; |
| 43 | 43 |
| (...skipping 2025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2069 _json["meaning"] = meaning; | 2069 _json["meaning"] = meaning; |
| 2070 } | 2070 } |
| 2071 if (stringValue != null) { | 2071 if (stringValue != null) { |
| 2072 _json["stringValue"] = stringValue; | 2072 _json["stringValue"] = stringValue; |
| 2073 } | 2073 } |
| 2074 return _json; | 2074 return _json; |
| 2075 } | 2075 } |
| 2076 } | 2076 } |
| 2077 | 2077 |
| 2078 | 2078 |
| OLD | NEW |