| OLD | NEW |
| 1 library googleapis.groupssettings.v1; | 1 library googleapis.groupssettings.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 /** Lets you manage permission levels and related settings of a group. */ | 16 /** Lets you manage permission levels and related settings of a group. */ |
| 17 class GroupssettingsApi { | 17 class GroupssettingsApi { |
| 18 /** View and manage the settings of a Google Apps Group */ | 18 /** View and manage the settings of a Google Apps Group */ |
| 19 static const AppsGroupsSettingsScope = "https://www.googleapis.com/auth/apps.g
roups.settings"; | 19 static const AppsGroupsSettingsScope = "https://www.googleapis.com/auth/apps.g
roups.settings"; |
| 20 | 20 |
| 21 | 21 |
| 22 final common_internal.ApiRequester _requester; | 22 final common_internal.ApiRequester _requester; |
| 23 | 23 |
| 24 GroupsResourceApi get groups => new GroupsResourceApi(_requester); | 24 GroupsResourceApi get groups => new GroupsResourceApi(_requester); |
| 25 | 25 |
| 26 GroupssettingsApi(http.Client client) : | 26 GroupssettingsApi(http.Client client, {core.String rootUrl: "https://www.googl
eapis.com/", core.String servicePath: "groups/v1/groups/"}) : |
| 27 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "groups/v1/groups/"); | 27 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 28 } | 28 } |
| 29 | 29 |
| 30 | 30 |
| 31 /** Not documented yet. */ | 31 /** Not documented yet. */ |
| 32 class GroupsResourceApi { | 32 class GroupsResourceApi { |
| 33 final common_internal.ApiRequester _requester; | 33 final common_internal.ApiRequester _requester; |
| 34 | 34 |
| 35 GroupsResourceApi(common_internal.ApiRequester client) : | 35 GroupsResourceApi(common_internal.ApiRequester client) : |
| 36 _requester = client; | 36 _requester = client; |
| 37 | 37 |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 _json["whoCanViewGroup"] = whoCanViewGroup; | 465 _json["whoCanViewGroup"] = whoCanViewGroup; |
| 466 } | 466 } |
| 467 if (whoCanViewMembership != null) { | 467 if (whoCanViewMembership != null) { |
| 468 _json["whoCanViewMembership"] = whoCanViewMembership; | 468 _json["whoCanViewMembership"] = whoCanViewMembership; |
| 469 } | 469 } |
| 470 return _json; | 470 return _json; |
| 471 } | 471 } |
| 472 } | 472 } |
| 473 | 473 |
| 474 | 474 |
| OLD | NEW |