| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.groupssettings.v1; | 3 library googleapis.groupssettings.v1; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| 11 | 11 |
| 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
| 14 | 14 |
| 15 const core.String USER_AGENT = 'dart-api-client groupssettings/v1'; | 15 const core.String USER_AGENT = 'dart-api-client groupssettings/v1'; |
| 16 | 16 |
| 17 /** Lets you manage permission levels and related settings of a group. */ | 17 /** Lets you manage permission levels and related settings of a group. */ |
| 18 class GroupssettingsApi { | 18 class GroupssettingsApi { |
| 19 /** View and manage the settings of a Google Apps Group */ | 19 /** View and manage the settings of a G Suite group */ |
| 20 static const AppsGroupsSettingsScope = "https://www.googleapis.com/auth/apps.g
roups.settings"; | 20 static const AppsGroupsSettingsScope = "https://www.googleapis.com/auth/apps.g
roups.settings"; |
| 21 | 21 |
| 22 | 22 |
| 23 final commons.ApiRequester _requester; | 23 final commons.ApiRequester _requester; |
| 24 | 24 |
| 25 GroupsResourceApi get groups => new GroupsResourceApi(_requester); | 25 GroupsResourceApi get groups => new GroupsResourceApi(_requester); |
| 26 | 26 |
| 27 GroupssettingsApi(http.Client client, {core.String rootUrl: "https://www.googl
eapis.com/", core.String servicePath: "groups/v1/groups/"}) : | 27 GroupssettingsApi(http.Client client, {core.String rootUrl: "https://www.googl
eapis.com/", core.String servicePath: "groups/v1/groups/"}) : |
| 28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); | 28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); |
| 29 } | 29 } |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 } | 459 } |
| 460 if (whoCanViewGroup != null) { | 460 if (whoCanViewGroup != null) { |
| 461 _json["whoCanViewGroup"] = whoCanViewGroup; | 461 _json["whoCanViewGroup"] = whoCanViewGroup; |
| 462 } | 462 } |
| 463 if (whoCanViewMembership != null) { | 463 if (whoCanViewMembership != null) { |
| 464 _json["whoCanViewMembership"] = whoCanViewMembership; | 464 _json["whoCanViewMembership"] = whoCanViewMembership; |
| 465 } | 465 } |
| 466 return _json; | 466 return _json; |
| 467 } | 467 } |
| 468 } | 468 } |
| OLD | NEW |