| 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.calendar.v3; | 3 library googleapis.calendar.v3; |
| 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 2962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2973 } | 2973 } |
| 2974 return _json; | 2974 return _json; |
| 2975 } | 2975 } |
| 2976 } | 2976 } |
| 2977 | 2977 |
| 2978 class CalendarNotification { | 2978 class CalendarNotification { |
| 2979 /** | 2979 /** |
| 2980 * The method used to deliver the notification. Possible values are: | 2980 * The method used to deliver the notification. Possible values are: |
| 2981 * - "email" - Reminders are sent via email. | 2981 * - "email" - Reminders are sent via email. |
| 2982 * - "sms" - Reminders are sent via SMS. This value is read-only and is | 2982 * - "sms" - Reminders are sent via SMS. This value is read-only and is |
| 2983 * ignored on inserts and updates. SMS reminders are only available for Google | 2983 * ignored on inserts and updates. SMS reminders are only available for G |
| 2984 * Apps for Work, Education, and Government customers. | 2984 * Suite customers. |
| 2985 */ | 2985 */ |
| 2986 core.String method; | 2986 core.String method; |
| 2987 /** | 2987 /** |
| 2988 * The type of notification. Possible values are: | 2988 * The type of notification. Possible values are: |
| 2989 * - "eventCreation" - Notification sent when a new event is put on the | 2989 * - "eventCreation" - Notification sent when a new event is put on the |
| 2990 * calendar. | 2990 * calendar. |
| 2991 * - "eventChange" - Notification sent when an event is changed. | 2991 * - "eventChange" - Notification sent when an event is changed. |
| 2992 * - "eventCancellation" - Notification sent when an event is cancelled. | 2992 * - "eventCancellation" - Notification sent when an event is cancelled. |
| 2993 * - "eventResponse" - Notification sent when an event is changed. | 2993 * - "eventResponse" - Notification sent when an event is changed. |
| 2994 * - "agenda" - An agenda with the events of the day (sent out in the | 2994 * - "agenda" - An agenda with the events of the day (sent out in the |
| (...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4207 _json["timeZone"] = timeZone; | 4207 _json["timeZone"] = timeZone; |
| 4208 } | 4208 } |
| 4209 return _json; | 4209 return _json; |
| 4210 } | 4210 } |
| 4211 } | 4211 } |
| 4212 | 4212 |
| 4213 class EventReminder { | 4213 class EventReminder { |
| 4214 /** | 4214 /** |
| 4215 * The method used by this reminder. Possible values are: | 4215 * The method used by this reminder. Possible values are: |
| 4216 * - "email" - Reminders are sent via email. | 4216 * - "email" - Reminders are sent via email. |
| 4217 * - "sms" - Reminders are sent via SMS. These are only available for Google | 4217 * - "sms" - Reminders are sent via SMS. These are only available for G Suite |
| 4218 * Apps for Work, Education, and Government customers. Requests to set SMS | 4218 * customers. Requests to set SMS reminders for other account types are |
| 4219 * reminders for other account types are ignored. | 4219 * ignored. |
| 4220 * - "popup" - Reminders are sent via a UI popup. | 4220 * - "popup" - Reminders are sent via a UI popup. |
| 4221 */ | 4221 */ |
| 4222 core.String method; | 4222 core.String method; |
| 4223 /** | 4223 /** |
| 4224 * Number of minutes before the start of the event when the reminder should | 4224 * Number of minutes before the start of the event when the reminder should |
| 4225 * trigger. Valid values are between 0 and 40320 (4 weeks in minutes). | 4225 * trigger. Valid values are between 0 and 40320 (4 weeks in minutes). |
| 4226 */ | 4226 */ |
| 4227 core.int minutes; | 4227 core.int minutes; |
| 4228 | 4228 |
| 4229 EventReminder(); | 4229 EventReminder(); |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4706 var _json = new core.Map(); | 4706 var _json = new core.Map(); |
| 4707 if (end != null) { | 4707 if (end != null) { |
| 4708 _json["end"] = (end).toIso8601String(); | 4708 _json["end"] = (end).toIso8601String(); |
| 4709 } | 4709 } |
| 4710 if (start != null) { | 4710 if (start != null) { |
| 4711 _json["start"] = (start).toIso8601String(); | 4711 _json["start"] = (start).toIso8601String(); |
| 4712 } | 4712 } |
| 4713 return _json; | 4713 return _json; |
| 4714 } | 4714 } |
| 4715 } | 4715 } |
| OLD | NEW |