Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: generated/googleapis/lib/groupssettings/v1.dart

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/groupsmigration/v1.dart ('k') | generated/googleapis/lib/iam/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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'
13 ApiRequestError, DetailedApiRequestError; 13 show 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 G Suite 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 =
21 21 "https://www.googleapis.com/auth/apps.groups.settings";
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,
28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 28 {core.String rootUrl: "https://www.googleapis.com/",
29 core.String servicePath: "groups/v1/groups/"})
30 : _requester =
31 new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
29 } 32 }
30 33
31
32 class GroupsResourceApi { 34 class GroupsResourceApi {
33 final commons.ApiRequester _requester; 35 final commons.ApiRequester _requester;
34 36
35 GroupsResourceApi(commons.ApiRequester client) : 37 GroupsResourceApi(commons.ApiRequester client) : _requester = client;
36 _requester = client;
37 38
38 /** 39 /// Gets one resource by id.
39 * Gets one resource by id. 40 ///
40 * 41 /// Request parameters:
41 * Request parameters: 42 ///
42 * 43 /// [groupUniqueId] - The resource ID
43 * [groupUniqueId] - The resource ID 44 ///
44 * 45 /// Completes with a [Groups].
45 * Completes with a [Groups]. 46 ///
46 * 47 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
47 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 48 /// an error.
48 * error. 49 ///
49 * 50 /// If the used [http.Client] completes with an error when making a REST
50 * If the used [http.Client] completes with an error when making a REST call, 51 /// call, this method will complete with the same error.
51 * this method will complete with the same error.
52 */
53 async.Future<Groups> get(core.String groupUniqueId) { 52 async.Future<Groups> get(core.String groupUniqueId) {
54 var _url = null; 53 var _url = null;
55 var _queryParams = new core.Map(); 54 var _queryParams = new core.Map();
56 var _uploadMedia = null; 55 var _uploadMedia = null;
57 var _uploadOptions = null; 56 var _uploadOptions = null;
58 var _downloadOptions = commons.DownloadOptions.Metadata; 57 var _downloadOptions = commons.DownloadOptions.Metadata;
59 var _body = null; 58 var _body = null;
60 59
61 if (groupUniqueId == null) { 60 if (groupUniqueId == null) {
62 throw new core.ArgumentError("Parameter groupUniqueId is required."); 61 throw new core.ArgumentError("Parameter groupUniqueId is required.");
63 } 62 }
64 63
65 _url = commons.Escaper.ecapeVariable('$groupUniqueId'); 64 _url = commons.Escaper.ecapeVariable('$groupUniqueId');
66 65
67 var _response = _requester.request(_url, 66 var _response = _requester.request(_url, "GET",
68 "GET", 67 body: _body,
69 body: _body, 68 queryParams: _queryParams,
70 queryParams: _queryParams, 69 uploadOptions: _uploadOptions,
71 uploadOptions: _uploadOptions, 70 uploadMedia: _uploadMedia,
72 uploadMedia: _uploadMedia, 71 downloadOptions: _downloadOptions);
73 downloadOptions: _downloadOptions);
74 return _response.then((data) => new Groups.fromJson(data)); 72 return _response.then((data) => new Groups.fromJson(data));
75 } 73 }
76 74
77 /** 75 /// Updates an existing resource. This method supports patch semantics.
78 * Updates an existing resource. This method supports patch semantics. 76 ///
79 * 77 /// [request] - The metadata request object.
80 * [request] - The metadata request object. 78 ///
81 * 79 /// Request parameters:
82 * Request parameters: 80 ///
83 * 81 /// [groupUniqueId] - The resource ID
84 * [groupUniqueId] - The resource ID 82 ///
85 * 83 /// Completes with a [Groups].
86 * Completes with a [Groups]. 84 ///
87 * 85 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
88 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 86 /// an error.
89 * error. 87 ///
90 * 88 /// If the used [http.Client] completes with an error when making a REST
91 * If the used [http.Client] completes with an error when making a REST call, 89 /// call, this method will complete with the same error.
92 * this method will complete with the same error.
93 */
94 async.Future<Groups> patch(Groups request, core.String groupUniqueId) { 90 async.Future<Groups> patch(Groups request, core.String groupUniqueId) {
95 var _url = null; 91 var _url = null;
96 var _queryParams = new core.Map(); 92 var _queryParams = new core.Map();
97 var _uploadMedia = null; 93 var _uploadMedia = null;
98 var _uploadOptions = null; 94 var _uploadOptions = null;
99 var _downloadOptions = commons.DownloadOptions.Metadata; 95 var _downloadOptions = commons.DownloadOptions.Metadata;
100 var _body = null; 96 var _body = null;
101 97
102 if (request != null) { 98 if (request != null) {
103 _body = convert.JSON.encode((request).toJson()); 99 _body = convert.JSON.encode((request).toJson());
104 } 100 }
105 if (groupUniqueId == null) { 101 if (groupUniqueId == null) {
106 throw new core.ArgumentError("Parameter groupUniqueId is required."); 102 throw new core.ArgumentError("Parameter groupUniqueId is required.");
107 } 103 }
108 104
109 _url = commons.Escaper.ecapeVariable('$groupUniqueId'); 105 _url = commons.Escaper.ecapeVariable('$groupUniqueId');
110 106
111 var _response = _requester.request(_url, 107 var _response = _requester.request(_url, "PATCH",
112 "PATCH", 108 body: _body,
113 body: _body, 109 queryParams: _queryParams,
114 queryParams: _queryParams, 110 uploadOptions: _uploadOptions,
115 uploadOptions: _uploadOptions, 111 uploadMedia: _uploadMedia,
116 uploadMedia: _uploadMedia, 112 downloadOptions: _downloadOptions);
117 downloadOptions: _downloadOptions);
118 return _response.then((data) => new Groups.fromJson(data)); 113 return _response.then((data) => new Groups.fromJson(data));
119 } 114 }
120 115
121 /** 116 /// Updates an existing resource.
122 * Updates an existing resource. 117 ///
123 * 118 /// [request] - The metadata request object.
124 * [request] - The metadata request object. 119 ///
125 * 120 /// Request parameters:
126 * Request parameters: 121 ///
127 * 122 /// [groupUniqueId] - The resource ID
128 * [groupUniqueId] - The resource ID 123 ///
129 * 124 /// Completes with a [Groups].
130 * Completes with a [Groups]. 125 ///
131 * 126 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
132 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 127 /// an error.
133 * error. 128 ///
134 * 129 /// If the used [http.Client] completes with an error when making a REST
135 * If the used [http.Client] completes with an error when making a REST call, 130 /// call, this method will complete with the same error.
136 * this method will complete with the same error.
137 */
138 async.Future<Groups> update(Groups request, core.String groupUniqueId) { 131 async.Future<Groups> update(Groups request, core.String groupUniqueId) {
139 var _url = null; 132 var _url = null;
140 var _queryParams = new core.Map(); 133 var _queryParams = new core.Map();
141 var _uploadMedia = null; 134 var _uploadMedia = null;
142 var _uploadOptions = null; 135 var _uploadOptions = null;
143 var _downloadOptions = commons.DownloadOptions.Metadata; 136 var _downloadOptions = commons.DownloadOptions.Metadata;
144 var _body = null; 137 var _body = null;
145 138
146 if (request != null) { 139 if (request != null) {
147 _body = convert.JSON.encode((request).toJson()); 140 _body = convert.JSON.encode((request).toJson());
148 } 141 }
149 if (groupUniqueId == null) { 142 if (groupUniqueId == null) {
150 throw new core.ArgumentError("Parameter groupUniqueId is required."); 143 throw new core.ArgumentError("Parameter groupUniqueId is required.");
151 } 144 }
152 145
153 _url = commons.Escaper.ecapeVariable('$groupUniqueId'); 146 _url = commons.Escaper.ecapeVariable('$groupUniqueId');
154 147
155 var _response = _requester.request(_url, 148 var _response = _requester.request(_url, "PUT",
156 "PUT", 149 body: _body,
157 body: _body, 150 queryParams: _queryParams,
158 queryParams: _queryParams, 151 uploadOptions: _uploadOptions,
159 uploadOptions: _uploadOptions, 152 uploadMedia: _uploadMedia,
160 uploadMedia: _uploadMedia, 153 downloadOptions: _downloadOptions);
161 downloadOptions: _downloadOptions);
162 return _response.then((data) => new Groups.fromJson(data)); 154 return _response.then((data) => new Groups.fromJson(data));
163 } 155 }
164
165 } 156 }
166 157
158 /// JSON template for Group resource
159 class Groups {
160 /// Are external members allowed to join the group.
161 core.String allowExternalMembers;
167 162
163 /// Is google allowed to contact admins.
164 core.String allowGoogleCommunication;
168 165
169 /** JSON template for Group resource */ 166 /// If posting from web is allowed.
170 class Groups {
171 /** Are external members allowed to join the group. */
172 core.String allowExternalMembers;
173 /** Is google allowed to contact admins. */
174 core.String allowGoogleCommunication;
175 /** If posting from web is allowed. */
176 core.String allowWebPosting; 167 core.String allowWebPosting;
177 /** If the group is archive only */ 168
169 /// If the group is archive only
178 core.String archiveOnly; 170 core.String archiveOnly;
179 /** Custom footer text. */ 171
172 /// Custom footer text.
180 core.String customFooterText; 173 core.String customFooterText;
181 /** Default email to which reply to any message should go. */ 174
175 /// Default email to which reply to any message should go.
182 core.String customReplyTo; 176 core.String customReplyTo;
183 /** Default message deny notification message */ 177
178 /// Default message deny notification message
184 core.String defaultMessageDenyNotificationText; 179 core.String defaultMessageDenyNotificationText;
185 /** Description of the group */ 180
181 /// Description of the group
186 core.String description; 182 core.String description;
187 /** Email id of the group */ 183
184 /// Email id of the group
188 core.String email; 185 core.String email;
189 /** Whether to include custom footer. */ 186
187 /// Whether to include custom footer.
190 core.String includeCustomFooter; 188 core.String includeCustomFooter;
191 /** If this groups should be included in global address list or not. */ 189
190 /// If this groups should be included in global address list or not.
192 core.String includeInGlobalAddressList; 191 core.String includeInGlobalAddressList;
193 /** If the contents of the group are archived. */ 192
193 /// If the contents of the group are archived.
194 core.String isArchived; 194 core.String isArchived;
195 /** The type of the resource. */ 195
196 /// The type of the resource.
196 core.String kind; 197 core.String kind;
197 /** Maximum message size allowed. */ 198
199 /// Maximum message size allowed.
198 core.int maxMessageBytes; 200 core.int maxMessageBytes;
199 /** Can members post using the group email address. */ 201
202 /// Can members post using the group email address.
200 core.String membersCanPostAsTheGroup; 203 core.String membersCanPostAsTheGroup;
201 /** 204
202 * Default message display font. Possible values are: DEFAULT_FONT 205 /// Default message display font. Possible values are: DEFAULT_FONT
203 * FIXED_WIDTH_FONT 206 /// FIXED_WIDTH_FONT
204 */
205 core.String messageDisplayFont; 207 core.String messageDisplayFont;
206 /** 208
207 * Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES 209 /// Moderation level for messages. Possible values are: MODERATE_ALL_MESSAGES
208 * MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE 210 /// MODERATE_NON_MEMBERS MODERATE_NEW_MEMBERS MODERATE_NONE
209 */
210 core.String messageModerationLevel; 211 core.String messageModerationLevel;
211 /** Name of the Group */ 212
213 /// Name of the Group
212 core.String name; 214 core.String name;
213 /** Primary language for the group. */ 215
216 /// Primary language for the group.
214 core.String primaryLanguage; 217 core.String primaryLanguage;
215 /** 218
216 * Whome should the default reply to a message go to. Possible values are: 219 /// Whome should the default reply to a message go to. Possible values are:
217 * REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER 220 /// REPLY_TO_CUSTOM REPLY_TO_SENDER REPLY_TO_LIST REPLY_TO_OWNER
218 * REPLY_TO_IGNORE REPLY_TO_MANAGERS 221 /// REPLY_TO_IGNORE REPLY_TO_MANAGERS
219 */
220 core.String replyTo; 222 core.String replyTo;
221 /** Should the member be notified if his message is denied by owner. */ 223
224 /// Should the member be notified if his message is denied by owner.
222 core.String sendMessageDenyNotification; 225 core.String sendMessageDenyNotification;
223 /** Is the group listed in groups directory */ 226
227 /// Is the group listed in groups directory
224 core.String showInGroupDirectory; 228 core.String showInGroupDirectory;
225 /** 229
226 * Moderation level for messages detected as spam. Possible values are: ALLOW 230 /// Moderation level for messages detected as spam. Possible values are:
227 * MODERATE SILENTLY_MODERATE REJECT 231 /// ALLOW MODERATE SILENTLY_MODERATE REJECT
228 */
229 core.String spamModerationLevel; 232 core.String spamModerationLevel;
230 /** 233
231 * Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD 234 /// Permissions to add members. Possible values are: ALL_MANAGERS_CAN_ADD
232 * ALL_MEMBERS_CAN_ADD NONE_CAN_ADD 235 /// ALL_MEMBERS_CAN_ADD NONE_CAN_ADD
233 */
234 core.String whoCanAdd; 236 core.String whoCanAdd;
235 /** 237
236 * Permission to contact owner of the group via web UI. Possible values are: 238 /// Permission to contact owner of the group via web UI. Possible values are:
237 * ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT 239 /// ANYONE_CAN_CONTACT ALL_IN_DOMAIN_CAN_CONTACT ALL_MEMBERS_CAN_CONTACT
238 * ALL_MANAGERS_CAN_CONTACT 240 /// ALL_MANAGERS_CAN_CONTACT
239 */
240 core.String whoCanContactOwner; 241 core.String whoCanContactOwner;
241 /** 242
242 * Permissions to invite members. Possible values are: ALL_MEMBERS_CAN_INVITE 243 /// Permissions to invite members. Possible values are:
243 * ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE 244 /// ALL_MEMBERS_CAN_INVITE ALL_MANAGERS_CAN_INVITE NONE_CAN_INVITE
244 */
245 core.String whoCanInvite; 245 core.String whoCanInvite;
246 /** 246
247 * Permissions to join the group. Possible values are: ANYONE_CAN_JOIN 247 /// Permissions to join the group. Possible values are: ANYONE_CAN_JOIN
248 * ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN 248 /// ALL_IN_DOMAIN_CAN_JOIN INVITED_CAN_JOIN CAN_REQUEST_TO_JOIN
249 */
250 core.String whoCanJoin; 249 core.String whoCanJoin;
251 /** 250
252 * Permission to leave the group. Possible values are: ALL_MANAGERS_CAN_LEAVE 251 /// Permission to leave the group. Possible values are:
253 * ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE 252 /// ALL_MANAGERS_CAN_LEAVE ALL_MEMBERS_CAN_LEAVE NONE_CAN_LEAVE
254 */
255 core.String whoCanLeaveGroup; 253 core.String whoCanLeaveGroup;
256 /** 254
257 * Permissions to post messages to the group. Possible values are: 255 /// Permissions to post messages to the group. Possible values are:
258 * NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST 256 /// NONE_CAN_POST ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST
259 * ALL_OWNERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST 257 /// ALL_OWNERS_CAN_POST ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
260 */
261 core.String whoCanPostMessage; 258 core.String whoCanPostMessage;
262 /** 259
263 * Permissions to view group. Possible values are: ANYONE_CAN_VIEW 260 /// Permissions to view group. Possible values are: ANYONE_CAN_VIEW
264 * ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW 261 /// ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
265 */
266 core.String whoCanViewGroup; 262 core.String whoCanViewGroup;
267 /** 263
268 * Permissions to view membership. Possible values are: ALL_IN_DOMAIN_CAN_VIEW 264 /// Permissions to view membership. Possible values are:
269 * ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW 265 /// ALL_IN_DOMAIN_CAN_VIEW ALL_MEMBERS_CAN_VIEW ALL_MANAGERS_CAN_VIEW
270 */
271 core.String whoCanViewMembership; 266 core.String whoCanViewMembership;
272 267
273 Groups(); 268 Groups();
274 269
275 Groups.fromJson(core.Map _json) { 270 Groups.fromJson(core.Map _json) {
276 if (_json.containsKey("allowExternalMembers")) { 271 if (_json.containsKey("allowExternalMembers")) {
277 allowExternalMembers = _json["allowExternalMembers"]; 272 allowExternalMembers = _json["allowExternalMembers"];
278 } 273 }
279 if (_json.containsKey("allowGoogleCommunication")) { 274 if (_json.containsKey("allowGoogleCommunication")) {
280 allowGoogleCommunication = _json["allowGoogleCommunication"]; 275 allowGoogleCommunication = _json["allowGoogleCommunication"];
281 } 276 }
282 if (_json.containsKey("allowWebPosting")) { 277 if (_json.containsKey("allowWebPosting")) {
283 allowWebPosting = _json["allowWebPosting"]; 278 allowWebPosting = _json["allowWebPosting"];
284 } 279 }
285 if (_json.containsKey("archiveOnly")) { 280 if (_json.containsKey("archiveOnly")) {
286 archiveOnly = _json["archiveOnly"]; 281 archiveOnly = _json["archiveOnly"];
287 } 282 }
288 if (_json.containsKey("customFooterText")) { 283 if (_json.containsKey("customFooterText")) {
289 customFooterText = _json["customFooterText"]; 284 customFooterText = _json["customFooterText"];
290 } 285 }
291 if (_json.containsKey("customReplyTo")) { 286 if (_json.containsKey("customReplyTo")) {
292 customReplyTo = _json["customReplyTo"]; 287 customReplyTo = _json["customReplyTo"];
293 } 288 }
294 if (_json.containsKey("defaultMessageDenyNotificationText")) { 289 if (_json.containsKey("defaultMessageDenyNotificationText")) {
295 defaultMessageDenyNotificationText = _json["defaultMessageDenyNotification Text"]; 290 defaultMessageDenyNotificationText =
291 _json["defaultMessageDenyNotificationText"];
296 } 292 }
297 if (_json.containsKey("description")) { 293 if (_json.containsKey("description")) {
298 description = _json["description"]; 294 description = _json["description"];
299 } 295 }
300 if (_json.containsKey("email")) { 296 if (_json.containsKey("email")) {
301 email = _json["email"]; 297 email = _json["email"];
302 } 298 }
303 if (_json.containsKey("includeCustomFooter")) { 299 if (_json.containsKey("includeCustomFooter")) {
304 includeCustomFooter = _json["includeCustomFooter"]; 300 includeCustomFooter = _json["includeCustomFooter"];
305 } 301 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 } 358 }
363 if (_json.containsKey("whoCanViewGroup")) { 359 if (_json.containsKey("whoCanViewGroup")) {
364 whoCanViewGroup = _json["whoCanViewGroup"]; 360 whoCanViewGroup = _json["whoCanViewGroup"];
365 } 361 }
366 if (_json.containsKey("whoCanViewMembership")) { 362 if (_json.containsKey("whoCanViewMembership")) {
367 whoCanViewMembership = _json["whoCanViewMembership"]; 363 whoCanViewMembership = _json["whoCanViewMembership"];
368 } 364 }
369 } 365 }
370 366
371 core.Map<core.String, core.Object> toJson() { 367 core.Map<core.String, core.Object> toJson() {
372 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 368 final core.Map<core.String, core.Object> _json =
369 new core.Map<core.String, core.Object>();
373 if (allowExternalMembers != null) { 370 if (allowExternalMembers != null) {
374 _json["allowExternalMembers"] = allowExternalMembers; 371 _json["allowExternalMembers"] = allowExternalMembers;
375 } 372 }
376 if (allowGoogleCommunication != null) { 373 if (allowGoogleCommunication != null) {
377 _json["allowGoogleCommunication"] = allowGoogleCommunication; 374 _json["allowGoogleCommunication"] = allowGoogleCommunication;
378 } 375 }
379 if (allowWebPosting != null) { 376 if (allowWebPosting != null) {
380 _json["allowWebPosting"] = allowWebPosting; 377 _json["allowWebPosting"] = allowWebPosting;
381 } 378 }
382 if (archiveOnly != null) { 379 if (archiveOnly != null) {
383 _json["archiveOnly"] = archiveOnly; 380 _json["archiveOnly"] = archiveOnly;
384 } 381 }
385 if (customFooterText != null) { 382 if (customFooterText != null) {
386 _json["customFooterText"] = customFooterText; 383 _json["customFooterText"] = customFooterText;
387 } 384 }
388 if (customReplyTo != null) { 385 if (customReplyTo != null) {
389 _json["customReplyTo"] = customReplyTo; 386 _json["customReplyTo"] = customReplyTo;
390 } 387 }
391 if (defaultMessageDenyNotificationText != null) { 388 if (defaultMessageDenyNotificationText != null) {
392 _json["defaultMessageDenyNotificationText"] = defaultMessageDenyNotificati onText; 389 _json["defaultMessageDenyNotificationText"] =
390 defaultMessageDenyNotificationText;
393 } 391 }
394 if (description != null) { 392 if (description != null) {
395 _json["description"] = description; 393 _json["description"] = description;
396 } 394 }
397 if (email != null) { 395 if (email != null) {
398 _json["email"] = email; 396 _json["email"] = email;
399 } 397 }
400 if (includeCustomFooter != null) { 398 if (includeCustomFooter != null) {
401 _json["includeCustomFooter"] = includeCustomFooter; 399 _json["includeCustomFooter"] = includeCustomFooter;
402 } 400 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 } 457 }
460 if (whoCanViewGroup != null) { 458 if (whoCanViewGroup != null) {
461 _json["whoCanViewGroup"] = whoCanViewGroup; 459 _json["whoCanViewGroup"] = whoCanViewGroup;
462 } 460 }
463 if (whoCanViewMembership != null) { 461 if (whoCanViewMembership != null) {
464 _json["whoCanViewMembership"] = whoCanViewMembership; 462 _json["whoCanViewMembership"] = whoCanViewMembership;
465 } 463 }
466 return _json; 464 return _json;
467 } 465 }
468 } 466 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/groupsmigration/v1.dart ('k') | generated/googleapis/lib/iam/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698