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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 /** JSON template for Group resource */ | 169 /** JSON template for Group resource */ |
170 class Groups { | 170 class Groups { |
171 /** Are external members allowed to join the group. */ | 171 /** Are external members allowed to join the group. */ |
172 core.String allowExternalMembers; | 172 core.String allowExternalMembers; |
173 /** Is google allowed to contact admins. */ | 173 /** Is google allowed to contact admins. */ |
174 core.String allowGoogleCommunication; | 174 core.String allowGoogleCommunication; |
175 /** If posting from web is allowed. */ | 175 /** If posting from web is allowed. */ |
176 core.String allowWebPosting; | 176 core.String allowWebPosting; |
177 /** If the group is archive only */ | 177 /** If the group is archive only */ |
178 core.String archiveOnly; | 178 core.String archiveOnly; |
| 179 /** Custom footer text. */ |
| 180 core.String customFooterText; |
179 /** Default email to which reply to any message should go. */ | 181 /** Default email to which reply to any message should go. */ |
180 core.String customReplyTo; | 182 core.String customReplyTo; |
181 /** Default message deny notification message */ | 183 /** Default message deny notification message */ |
182 core.String defaultMessageDenyNotificationText; | 184 core.String defaultMessageDenyNotificationText; |
183 /** Description of the group */ | 185 /** Description of the group */ |
184 core.String description; | 186 core.String description; |
185 /** Email id of the group */ | 187 /** Email id of the group */ |
186 core.String email; | 188 core.String email; |
| 189 /** Whether to include custom footer. */ |
| 190 core.String includeCustomFooter; |
187 /** If this groups should be included in global address list or not. */ | 191 /** If this groups should be included in global address list or not. */ |
188 core.String includeInGlobalAddressList; | 192 core.String includeInGlobalAddressList; |
189 /** If the contents of the group are archived. */ | 193 /** If the contents of the group are archived. */ |
190 core.String isArchived; | 194 core.String isArchived; |
191 /** The type of the resource. */ | 195 /** The type of the resource. */ |
192 core.String kind; | 196 core.String kind; |
193 /** Maximum message size allowed. */ | 197 /** Maximum message size allowed. */ |
194 core.int maxMessageBytes; | 198 core.int maxMessageBytes; |
195 /** Can members post using the group email address. */ | 199 /** Can members post using the group email address. */ |
196 core.String membersCanPostAsTheGroup; | 200 core.String membersCanPostAsTheGroup; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 } | 278 } |
275 if (_json.containsKey("allowGoogleCommunication")) { | 279 if (_json.containsKey("allowGoogleCommunication")) { |
276 allowGoogleCommunication = _json["allowGoogleCommunication"]; | 280 allowGoogleCommunication = _json["allowGoogleCommunication"]; |
277 } | 281 } |
278 if (_json.containsKey("allowWebPosting")) { | 282 if (_json.containsKey("allowWebPosting")) { |
279 allowWebPosting = _json["allowWebPosting"]; | 283 allowWebPosting = _json["allowWebPosting"]; |
280 } | 284 } |
281 if (_json.containsKey("archiveOnly")) { | 285 if (_json.containsKey("archiveOnly")) { |
282 archiveOnly = _json["archiveOnly"]; | 286 archiveOnly = _json["archiveOnly"]; |
283 } | 287 } |
| 288 if (_json.containsKey("customFooterText")) { |
| 289 customFooterText = _json["customFooterText"]; |
| 290 } |
284 if (_json.containsKey("customReplyTo")) { | 291 if (_json.containsKey("customReplyTo")) { |
285 customReplyTo = _json["customReplyTo"]; | 292 customReplyTo = _json["customReplyTo"]; |
286 } | 293 } |
287 if (_json.containsKey("defaultMessageDenyNotificationText")) { | 294 if (_json.containsKey("defaultMessageDenyNotificationText")) { |
288 defaultMessageDenyNotificationText = _json["defaultMessageDenyNotification
Text"]; | 295 defaultMessageDenyNotificationText = _json["defaultMessageDenyNotification
Text"]; |
289 } | 296 } |
290 if (_json.containsKey("description")) { | 297 if (_json.containsKey("description")) { |
291 description = _json["description"]; | 298 description = _json["description"]; |
292 } | 299 } |
293 if (_json.containsKey("email")) { | 300 if (_json.containsKey("email")) { |
294 email = _json["email"]; | 301 email = _json["email"]; |
295 } | 302 } |
| 303 if (_json.containsKey("includeCustomFooter")) { |
| 304 includeCustomFooter = _json["includeCustomFooter"]; |
| 305 } |
296 if (_json.containsKey("includeInGlobalAddressList")) { | 306 if (_json.containsKey("includeInGlobalAddressList")) { |
297 includeInGlobalAddressList = _json["includeInGlobalAddressList"]; | 307 includeInGlobalAddressList = _json["includeInGlobalAddressList"]; |
298 } | 308 } |
299 if (_json.containsKey("isArchived")) { | 309 if (_json.containsKey("isArchived")) { |
300 isArchived = _json["isArchived"]; | 310 isArchived = _json["isArchived"]; |
301 } | 311 } |
302 if (_json.containsKey("kind")) { | 312 if (_json.containsKey("kind")) { |
303 kind = _json["kind"]; | 313 kind = _json["kind"]; |
304 } | 314 } |
305 if (_json.containsKey("maxMessageBytes")) { | 315 if (_json.containsKey("maxMessageBytes")) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 } | 375 } |
366 if (allowGoogleCommunication != null) { | 376 if (allowGoogleCommunication != null) { |
367 _json["allowGoogleCommunication"] = allowGoogleCommunication; | 377 _json["allowGoogleCommunication"] = allowGoogleCommunication; |
368 } | 378 } |
369 if (allowWebPosting != null) { | 379 if (allowWebPosting != null) { |
370 _json["allowWebPosting"] = allowWebPosting; | 380 _json["allowWebPosting"] = allowWebPosting; |
371 } | 381 } |
372 if (archiveOnly != null) { | 382 if (archiveOnly != null) { |
373 _json["archiveOnly"] = archiveOnly; | 383 _json["archiveOnly"] = archiveOnly; |
374 } | 384 } |
| 385 if (customFooterText != null) { |
| 386 _json["customFooterText"] = customFooterText; |
| 387 } |
375 if (customReplyTo != null) { | 388 if (customReplyTo != null) { |
376 _json["customReplyTo"] = customReplyTo; | 389 _json["customReplyTo"] = customReplyTo; |
377 } | 390 } |
378 if (defaultMessageDenyNotificationText != null) { | 391 if (defaultMessageDenyNotificationText != null) { |
379 _json["defaultMessageDenyNotificationText"] = defaultMessageDenyNotificati
onText; | 392 _json["defaultMessageDenyNotificationText"] = defaultMessageDenyNotificati
onText; |
380 } | 393 } |
381 if (description != null) { | 394 if (description != null) { |
382 _json["description"] = description; | 395 _json["description"] = description; |
383 } | 396 } |
384 if (email != null) { | 397 if (email != null) { |
385 _json["email"] = email; | 398 _json["email"] = email; |
386 } | 399 } |
| 400 if (includeCustomFooter != null) { |
| 401 _json["includeCustomFooter"] = includeCustomFooter; |
| 402 } |
387 if (includeInGlobalAddressList != null) { | 403 if (includeInGlobalAddressList != null) { |
388 _json["includeInGlobalAddressList"] = includeInGlobalAddressList; | 404 _json["includeInGlobalAddressList"] = includeInGlobalAddressList; |
389 } | 405 } |
390 if (isArchived != null) { | 406 if (isArchived != null) { |
391 _json["isArchived"] = isArchived; | 407 _json["isArchived"] = isArchived; |
392 } | 408 } |
393 if (kind != null) { | 409 if (kind != null) { |
394 _json["kind"] = kind; | 410 _json["kind"] = kind; |
395 } | 411 } |
396 if (maxMessageBytes != null) { | 412 if (maxMessageBytes != null) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 } | 459 } |
444 if (whoCanViewGroup != null) { | 460 if (whoCanViewGroup != null) { |
445 _json["whoCanViewGroup"] = whoCanViewGroup; | 461 _json["whoCanViewGroup"] = whoCanViewGroup; |
446 } | 462 } |
447 if (whoCanViewMembership != null) { | 463 if (whoCanViewMembership != null) { |
448 _json["whoCanViewMembership"] = whoCanViewMembership; | 464 _json["whoCanViewMembership"] = whoCanViewMembership; |
449 } | 465 } |
450 return _json; | 466 return _json; |
451 } | 467 } |
452 } | 468 } |
OLD | NEW |