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

Side by Side Diff: generated/googleapis/lib/calendar/v3.dart

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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
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.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 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 * - timeMax 1660 * - timeMax
1661 * - updatedMin If the syncToken expires, the server will respond with a 410 1661 * - updatedMin If the syncToken expires, the server will respond with a 410
1662 * GONE response code and the client should clear its storage and perform a 1662 * GONE response code and the client should clear its storage and perform a
1663 * full synchronization without any syncToken. 1663 * full synchronization without any syncToken.
1664 * Learn more about incremental synchronization. 1664 * Learn more about incremental synchronization.
1665 * Optional. The default is to return all entries. 1665 * Optional. The default is to return all entries.
1666 * 1666 *
1667 * [timeMax] - Upper bound (exclusive) for an event's start time to filter by. 1667 * [timeMax] - Upper bound (exclusive) for an event's start time to filter by.
1668 * Optional. The default is not to filter by start time. Must be an RFC3339 1668 * Optional. The default is not to filter by start time. Must be an RFC3339
1669 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 1669 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00,
1670 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. 1670 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If
1671 * timeMin is set, timeMax must be greater than timeMin.
1671 * 1672 *
1672 * [timeMin] - Lower bound (inclusive) for an event's end time to filter by. 1673 * [timeMin] - Lower bound (inclusive) for an event's end time to filter by.
1673 * Optional. The default is not to filter by end time. Must be an RFC3339 1674 * Optional. The default is not to filter by end time. Must be an RFC3339
1674 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 1675 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00,
1675 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. 1676 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If
1677 * timeMax is set, timeMin must be smaller than timeMax.
1676 * 1678 *
1677 * [timeZone] - Time zone used in the response. Optional. The default is the 1679 * [timeZone] - Time zone used in the response. Optional. The default is the
1678 * time zone of the calendar. 1680 * time zone of the calendar.
1679 * 1681 *
1680 * [updatedMin] - Lower bound for an event's last modification time (as a 1682 * [updatedMin] - Lower bound for an event's last modification time (as a
1681 * RFC3339 timestamp) to filter by. When specified, entries deleted since this 1683 * RFC3339 timestamp) to filter by. When specified, entries deleted since this
1682 * time will always be included regardless of showDeleted. Optional. The 1684 * time will always be included regardless of showDeleted. Optional. The
1683 * default is not to filter by last modification time. 1685 * default is not to filter by last modification time.
1684 * 1686 *
1685 * Completes with a [Events]. 1687 * Completes with a [Events].
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
2124 * - timeMax 2126 * - timeMax
2125 * - updatedMin If the syncToken expires, the server will respond with a 410 2127 * - updatedMin If the syncToken expires, the server will respond with a 410
2126 * GONE response code and the client should clear its storage and perform a 2128 * GONE response code and the client should clear its storage and perform a
2127 * full synchronization without any syncToken. 2129 * full synchronization without any syncToken.
2128 * Learn more about incremental synchronization. 2130 * Learn more about incremental synchronization.
2129 * Optional. The default is to return all entries. 2131 * Optional. The default is to return all entries.
2130 * 2132 *
2131 * [timeMax] - Upper bound (exclusive) for an event's start time to filter by. 2133 * [timeMax] - Upper bound (exclusive) for an event's start time to filter by.
2132 * Optional. The default is not to filter by start time. Must be an RFC3339 2134 * Optional. The default is not to filter by start time. Must be an RFC3339
2133 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2135 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00,
2134 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. 2136 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If
2137 * timeMin is set, timeMax must be greater than timeMin.
2135 * 2138 *
2136 * [timeMin] - Lower bound (inclusive) for an event's end time to filter by. 2139 * [timeMin] - Lower bound (inclusive) for an event's end time to filter by.
2137 * Optional. The default is not to filter by end time. Must be an RFC3339 2140 * Optional. The default is not to filter by end time. Must be an RFC3339
2138 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00, 2141 * timestamp with mandatory time zone offset, e.g., 2011-06-03T10:00:00-07:00,
2139 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. 2142 * 2011-06-03T10:00:00Z. Milliseconds may be provided but will be ignored. If
2143 * timeMax is set, timeMin must be smaller than timeMax.
2140 * 2144 *
2141 * [timeZone] - Time zone used in the response. Optional. The default is the 2145 * [timeZone] - Time zone used in the response. Optional. The default is the
2142 * time zone of the calendar. 2146 * time zone of the calendar.
2143 * 2147 *
2144 * [updatedMin] - Lower bound for an event's last modification time (as a 2148 * [updatedMin] - Lower bound for an event's last modification time (as a
2145 * RFC3339 timestamp) to filter by. When specified, entries deleted since this 2149 * RFC3339 timestamp) to filter by. When specified, entries deleted since this
2146 * time will always be included regardless of showDeleted. Optional. The 2150 * time will always be included regardless of showDeleted. Optional. The
2147 * default is not to filter by last modification time. 2151 * default is not to filter by last modification time.
2148 * 2152 *
2149 * Completes with a [Channel]. 2153 * Completes with a [Channel].
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
3211 if (kind != null) { 3215 if (kind != null) {
3212 _json["kind"] = kind; 3216 _json["kind"] = kind;
3213 } 3217 }
3214 if (updated != null) { 3218 if (updated != null) {
3215 _json["updated"] = (updated).toIso8601String(); 3219 _json["updated"] = (updated).toIso8601String();
3216 } 3220 }
3217 return _json; 3221 return _json;
3218 } 3222 }
3219 } 3223 }
3220 3224
3221 class DeepLinkData {
3222 core.List<Link> links;
3223 core.String url;
3224
3225 DeepLinkData();
3226
3227 DeepLinkData.fromJson(core.Map _json) {
3228 if (_json.containsKey("links")) {
3229 links = _json["links"].map((value) => new Link.fromJson(value)).toList();
3230 }
3231 if (_json.containsKey("url")) {
3232 url = _json["url"];
3233 }
3234 }
3235
3236 core.Map<core.String, core.Object> toJson() {
3237 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3238 if (links != null) {
3239 _json["links"] = links.map((value) => (value).toJson()).toList();
3240 }
3241 if (url != null) {
3242 _json["url"] = url;
3243 }
3244 return _json;
3245 }
3246 }
3247
3248 class DisplayInfo {
3249 core.String appIconUrl;
3250 core.String appShortTitle;
3251 core.String appTitle;
3252 core.String linkShortTitle;
3253 core.String linkTitle;
3254
3255 DisplayInfo();
3256
3257 DisplayInfo.fromJson(core.Map _json) {
3258 if (_json.containsKey("appIconUrl")) {
3259 appIconUrl = _json["appIconUrl"];
3260 }
3261 if (_json.containsKey("appShortTitle")) {
3262 appShortTitle = _json["appShortTitle"];
3263 }
3264 if (_json.containsKey("appTitle")) {
3265 appTitle = _json["appTitle"];
3266 }
3267 if (_json.containsKey("linkShortTitle")) {
3268 linkShortTitle = _json["linkShortTitle"];
3269 }
3270 if (_json.containsKey("linkTitle")) {
3271 linkTitle = _json["linkTitle"];
3272 }
3273 }
3274
3275 core.Map<core.String, core.Object> toJson() {
3276 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3277 if (appIconUrl != null) {
3278 _json["appIconUrl"] = appIconUrl;
3279 }
3280 if (appShortTitle != null) {
3281 _json["appShortTitle"] = appShortTitle;
3282 }
3283 if (appTitle != null) {
3284 _json["appTitle"] = appTitle;
3285 }
3286 if (linkShortTitle != null) {
3287 _json["linkShortTitle"] = linkShortTitle;
3288 }
3289 if (linkTitle != null) {
3290 _json["linkTitle"] = linkTitle;
3291 }
3292 return _json;
3293 }
3294 }
3295
3296 class Error { 3225 class Error {
3297 /** Domain, or broad category, of the error. */ 3226 /** Domain, or broad category, of the error. */
3298 core.String domain; 3227 core.String domain;
3299 /** 3228 /**
3300 * Specific reason for the error. Some of the possible values are: 3229 * Specific reason for the error. Some of the possible values are:
3301 * - "groupTooBig" - The group of users requested is too large for a single 3230 * - "groupTooBig" - The group of users requested is too large for a single
3302 * query. 3231 * query.
3303 * - "tooManyCalendarsRequested" - The number of calendars requested is too 3232 * - "tooManyCalendarsRequested" - The number of calendars requested is too
3304 * large for a single query. 3233 * large for a single query.
3305 * - "notFound" - The requested resource was not found. 3234 * - "notFound" - The requested resource was not found.
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
3810 * - "confirmed" - The event is confirmed. This is the default status. 3739 * - "confirmed" - The event is confirmed. This is the default status.
3811 * - "tentative" - The event is tentatively confirmed. 3740 * - "tentative" - The event is tentatively confirmed.
3812 * - "cancelled" - The event is cancelled. 3741 * - "cancelled" - The event is cancelled.
3813 */ 3742 */
3814 core.String status; 3743 core.String status;
3815 /** Title of the event. */ 3744 /** Title of the event. */
3816 core.String summary; 3745 core.String summary;
3817 /** 3746 /**
3818 * Whether the event blocks time on the calendar. Optional. Possible values 3747 * Whether the event blocks time on the calendar. Optional. Possible values
3819 * are: 3748 * are:
3820 * - "opaque" - The event blocks time on the calendar. This is the default 3749 * - "opaque" - Default value. The event does block time on the calendar. This
3821 * value. 3750 * is equivalent to setting Show me as to Busy in the Calendar UI.
3822 * - "transparent" - The event does not block time on the calendar. 3751 * - "transparent" - The event does not block time on the calendar. This is
3752 * equivalent to setting Show me as to Available in the Calendar UI.
3823 */ 3753 */
3824 core.String transparency; 3754 core.String transparency;
3825 /** 3755 /**
3826 * Last modification time of the event (as a RFC3339 timestamp). Read-only. 3756 * Last modification time of the event (as a RFC3339 timestamp). Read-only.
3827 */ 3757 */
3828 core.DateTime updated; 3758 core.DateTime updated;
3829 /** 3759 /**
3830 * Visibility of the event. Optional. Possible values are: 3760 * Visibility of the event. Optional. Possible values are:
3831 * - "default" - Uses the default visibility for events on the calendar. This 3761 * - "default" - Uses the default visibility for events on the calendar. This
3832 * is the default value. 3762 * is the default value.
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
4284 if (dateTime != null) { 4214 if (dateTime != null) {
4285 _json["dateTime"] = (dateTime).toIso8601String(); 4215 _json["dateTime"] = (dateTime).toIso8601String();
4286 } 4216 }
4287 if (timeZone != null) { 4217 if (timeZone != null) {
4288 _json["timeZone"] = timeZone; 4218 _json["timeZone"] = timeZone;
4289 } 4219 }
4290 return _json; 4220 return _json;
4291 } 4221 }
4292 } 4222 }
4293 4223
4294 class EventHabitInstance {
4295 /** Metadata specific to this instance. */
4296 HabitInstanceData data;
4297 /** Id of the habit this instance belongs to. */
4298 core.String parentId;
4299
4300 EventHabitInstance();
4301
4302 EventHabitInstance.fromJson(core.Map _json) {
4303 if (_json.containsKey("data")) {
4304 data = new HabitInstanceData.fromJson(_json["data"]);
4305 }
4306 if (_json.containsKey("parentId")) {
4307 parentId = _json["parentId"];
4308 }
4309 }
4310
4311 core.Map<core.String, core.Object> toJson() {
4312 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4313 if (data != null) {
4314 _json["data"] = (data).toJson();
4315 }
4316 if (parentId != null) {
4317 _json["parentId"] = parentId;
4318 }
4319 return _json;
4320 }
4321 }
4322
4323 class EventReminder { 4224 class EventReminder {
4324 /** 4225 /**
4325 * The method used by this reminder. Possible values are: 4226 * The method used by this reminder. Possible values are:
4326 * - "email" - Reminders are sent via email. 4227 * - "email" - Reminders are sent via email.
4327 * - "sms" - Reminders are sent via SMS. These are only available for G Suite 4228 * - "sms" - Reminders are sent via SMS. These are only available for G Suite
4328 * customers. Requests to set SMS reminders for other account types are 4229 * customers. Requests to set SMS reminders for other account types are
4329 * ignored. 4230 * ignored.
4330 * - "popup" - Reminders are sent via a UI popup. 4231 * - "popup" - Reminders are sent via a UI popup.
4331 */ 4232 */
4332 core.String method; 4233 core.String method;
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
4680 if (timeMax != null) { 4581 if (timeMax != null) {
4681 _json["timeMax"] = (timeMax).toIso8601String(); 4582 _json["timeMax"] = (timeMax).toIso8601String();
4682 } 4583 }
4683 if (timeMin != null) { 4584 if (timeMin != null) {
4684 _json["timeMin"] = (timeMin).toIso8601String(); 4585 _json["timeMin"] = (timeMin).toIso8601String();
4685 } 4586 }
4686 return _json; 4587 return _json;
4687 } 4588 }
4688 } 4589 }
4689 4590
4690 class HabitInstanceData {
4691 core.String status;
4692 core.bool statusInferred;
4693 core.String type;
4694
4695 HabitInstanceData();
4696
4697 HabitInstanceData.fromJson(core.Map _json) {
4698 if (_json.containsKey("status")) {
4699 status = _json["status"];
4700 }
4701 if (_json.containsKey("statusInferred")) {
4702 statusInferred = _json["statusInferred"];
4703 }
4704 if (_json.containsKey("type")) {
4705 type = _json["type"];
4706 }
4707 }
4708
4709 core.Map<core.String, core.Object> toJson() {
4710 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4711 if (status != null) {
4712 _json["status"] = status;
4713 }
4714 if (statusInferred != null) {
4715 _json["statusInferred"] = statusInferred;
4716 }
4717 if (type != null) {
4718 _json["type"] = type;
4719 }
4720 return _json;
4721 }
4722 }
4723
4724 class LaunchInfo {
4725 core.String appId;
4726 core.String installUrl;
4727 core.String intentAction;
4728 core.String uri;
4729
4730 LaunchInfo();
4731
4732 LaunchInfo.fromJson(core.Map _json) {
4733 if (_json.containsKey("appId")) {
4734 appId = _json["appId"];
4735 }
4736 if (_json.containsKey("installUrl")) {
4737 installUrl = _json["installUrl"];
4738 }
4739 if (_json.containsKey("intentAction")) {
4740 intentAction = _json["intentAction"];
4741 }
4742 if (_json.containsKey("uri")) {
4743 uri = _json["uri"];
4744 }
4745 }
4746
4747 core.Map<core.String, core.Object> toJson() {
4748 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4749 if (appId != null) {
4750 _json["appId"] = appId;
4751 }
4752 if (installUrl != null) {
4753 _json["installUrl"] = installUrl;
4754 }
4755 if (intentAction != null) {
4756 _json["intentAction"] = intentAction;
4757 }
4758 if (uri != null) {
4759 _json["uri"] = uri;
4760 }
4761 return _json;
4762 }
4763 }
4764
4765 class Link {
4766 core.String applinkingSource;
4767 DisplayInfo displayInfo;
4768 LaunchInfo launchInfo;
4769 core.String platform;
4770 core.String url;
4771
4772 Link();
4773
4774 Link.fromJson(core.Map _json) {
4775 if (_json.containsKey("applinkingSource")) {
4776 applinkingSource = _json["applinkingSource"];
4777 }
4778 if (_json.containsKey("displayInfo")) {
4779 displayInfo = new DisplayInfo.fromJson(_json["displayInfo"]);
4780 }
4781 if (_json.containsKey("launchInfo")) {
4782 launchInfo = new LaunchInfo.fromJson(_json["launchInfo"]);
4783 }
4784 if (_json.containsKey("platform")) {
4785 platform = _json["platform"];
4786 }
4787 if (_json.containsKey("url")) {
4788 url = _json["url"];
4789 }
4790 }
4791
4792 core.Map<core.String, core.Object> toJson() {
4793 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4794 if (applinkingSource != null) {
4795 _json["applinkingSource"] = applinkingSource;
4796 }
4797 if (displayInfo != null) {
4798 _json["displayInfo"] = (displayInfo).toJson();
4799 }
4800 if (launchInfo != null) {
4801 _json["launchInfo"] = (launchInfo).toJson();
4802 }
4803 if (platform != null) {
4804 _json["platform"] = platform;
4805 }
4806 if (url != null) {
4807 _json["url"] = url;
4808 }
4809 return _json;
4810 }
4811 }
4812
4813 class Setting { 4591 class Setting {
4814 /** ETag of the resource. */ 4592 /** ETag of the resource. */
4815 core.String etag; 4593 core.String etag;
4816 /** The id of the user setting. */ 4594 /** The id of the user setting. */
4817 core.String id; 4595 core.String id;
4818 /** Type of the resource ("calendar#setting"). */ 4596 /** Type of the resource ("calendar#setting"). */
4819 core.String kind; 4597 core.String kind;
4820 /** 4598 /**
4821 * Value of the user setting. The format of the value depends on the ID of the 4599 * Value of the user setting. The format of the value depends on the ID of the
4822 * setting. It must always be a UTF-8 string of length up to 1024 characters. 4600 * setting. It must always be a UTF-8 string of length up to 1024 characters.
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
4939 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 4717 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4940 if (end != null) { 4718 if (end != null) {
4941 _json["end"] = (end).toIso8601String(); 4719 _json["end"] = (end).toIso8601String();
4942 } 4720 }
4943 if (start != null) { 4721 if (start != null) {
4944 _json["start"] = (start).toIso8601String(); 4722 _json["start"] = (start).toIso8601String();
4945 } 4723 }
4946 return _json; 4724 return _json;
4947 } 4725 }
4948 } 4726 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/bigquerydatatransfer/v1.dart ('k') | generated/googleapis/lib/classroom/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698