OLD | NEW |
1 library googleapis.groupsmigration.v1; | 1 library googleapis.groupsmigration.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; |
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 /** Groups Migration Api. */ | 16 /** Groups Migration Api. */ |
17 class GroupsmigrationApi { | 17 class GroupsmigrationApi { |
18 | 18 |
19 final common_internal.ApiRequester _requester; | 19 final common_internal.ApiRequester _requester; |
20 | 20 |
21 ArchiveResourceApi get archive => new ArchiveResourceApi(_requester); | 21 ArchiveResourceApi get archive => new ArchiveResourceApi(_requester); |
22 | 22 |
23 GroupsmigrationApi(http.Client client) : | 23 GroupsmigrationApi(http.Client client) : |
24 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "/groups/v1/groups/"); | 24 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "groups/v1/groups/"); |
25 } | 25 } |
26 | 26 |
27 | 27 |
28 /** Not documented yet. */ | 28 /** Not documented yet. */ |
29 class ArchiveResourceApi { | 29 class ArchiveResourceApi { |
30 final common_internal.ApiRequester _requester; | 30 final common_internal.ApiRequester _requester; |
31 | 31 |
32 ArchiveResourceApi(common_internal.ApiRequester client) : | 32 ArchiveResourceApi(common_internal.ApiRequester client) : |
33 _requester = client; | 33 _requester = client; |
34 | 34 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 _json["kind"] = kind; | 116 _json["kind"] = kind; |
117 } | 117 } |
118 if (responseCode != null) { | 118 if (responseCode != null) { |
119 _json["responseCode"] = responseCode; | 119 _json["responseCode"] = responseCode; |
120 } | 120 } |
121 return _json; | 121 return _json; |
122 } | 122 } |
123 } | 123 } |
124 | 124 |
125 | 125 |
OLD | NEW |