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; |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 */ | 249 */ |
250 core.String whoCanJoin; | 250 core.String whoCanJoin; |
251 /** | 251 /** |
252 * Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE | 252 * Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE |
253 * ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE | 253 * ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE |
254 */ | 254 */ |
255 core.String whoCanLeaveGroup; | 255 core.String whoCanLeaveGroup; |
256 /** | 256 /** |
257 * Permissions to post messages to the group. Possible values are: | 257 * Permissions to post messages to the group. Possible values are: |
258 * NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST | 258 * NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST |
259 * ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST | 259 * ALL_OWNERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST |
260 */ | 260 */ |
261 core.String whoCanPostMessage; | 261 core.String whoCanPostMessage; |
262 /** | 262 /** |
263 * Permissions to view group. Possible values are: ANYONE_CAN_VIEW | 263 * Permissions to view group. Possible values are: ANYONE_CAN_VIEW |
264 * ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW | 264 * ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW |
265 */ | 265 */ |
266 core.String whoCanViewGroup; | 266 core.String whoCanViewGroup; |
267 /** | 267 /** |
268 * Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW | 268 * Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW |
269 * ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW | 269 * ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 whoCanPostMessage = _json["whoCanPostMessage"]; | 361 whoCanPostMessage = _json["whoCanPostMessage"]; |
362 } | 362 } |
363 if (_json.containsKey("whoCanViewGroup")) { | 363 if (_json.containsKey("whoCanViewGroup")) { |
364 whoCanViewGroup = _json["whoCanViewGroup"]; | 364 whoCanViewGroup = _json["whoCanViewGroup"]; |
365 } | 365 } |
366 if (_json.containsKey("whoCanViewMembership")) { | 366 if (_json.containsKey("whoCanViewMembership")) { |
367 whoCanViewMembership = _json["whoCanViewMembership"]; | 367 whoCanViewMembership = _json["whoCanViewMembership"]; |
368 } | 368 } |
369 } | 369 } |
370 | 370 |
371 core.Map toJson() { | 371 core.Map<core.String, core.Object> toJson() { |
372 var _json = new core.Map(); | 372 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
373 if (allowExternalMembers != null) { | 373 if (allowExternalMembers != null) { |
374 _json["allowExternalMembers"] = allowExternalMembers; | 374 _json["allowExternalMembers"] = allowExternalMembers; |
375 } | 375 } |
376 if (allowGoogleCommunication != null) { | 376 if (allowGoogleCommunication != null) { |
377 _json["allowGoogleCommunication"] = allowGoogleCommunication; | 377 _json["allowGoogleCommunication"] = allowGoogleCommunication; |
378 } | 378 } |
379 if (allowWebPosting != null) { | 379 if (allowWebPosting != null) { |
380 _json["allowWebPosting"] = allowWebPosting; | 380 _json["allowWebPosting"] = allowWebPosting; |
381 } | 381 } |
382 if (archiveOnly != null) { | 382 if (archiveOnly != null) { |
(...skipping 76 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 |