OLD | NEW |
1 library googleapis.calendar.v3; | 1 library googleapis.calendar.v3; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 AclResourceApi get acl => new AclResourceApi(_requester); | 27 AclResourceApi get acl => new AclResourceApi(_requester); |
28 CalendarListResourceApi get calendarList => new CalendarListResourceApi(_reque
ster); | 28 CalendarListResourceApi get calendarList => new CalendarListResourceApi(_reque
ster); |
29 CalendarsResourceApi get calendars => new CalendarsResourceApi(_requester); | 29 CalendarsResourceApi get calendars => new CalendarsResourceApi(_requester); |
30 ChannelsResourceApi get channels => new ChannelsResourceApi(_requester); | 30 ChannelsResourceApi get channels => new ChannelsResourceApi(_requester); |
31 ColorsResourceApi get colors => new ColorsResourceApi(_requester); | 31 ColorsResourceApi get colors => new ColorsResourceApi(_requester); |
32 EventsResourceApi get events => new EventsResourceApi(_requester); | 32 EventsResourceApi get events => new EventsResourceApi(_requester); |
33 FreebusyResourceApi get freebusy => new FreebusyResourceApi(_requester); | 33 FreebusyResourceApi get freebusy => new FreebusyResourceApi(_requester); |
34 SettingsResourceApi get settings => new SettingsResourceApi(_requester); | 34 SettingsResourceApi get settings => new SettingsResourceApi(_requester); |
35 | 35 |
36 CalendarApi(http.Client client) : | 36 CalendarApi(http.Client client, {core.String rootUrl: "https://www.googleapis.
com/", core.String servicePath: "calendar/v3/"}) : |
37 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "calendar/v3/"); | 37 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
38 } | 38 } |
39 | 39 |
40 | 40 |
41 /** Not documented yet. */ | 41 /** Not documented yet. */ |
42 class AclResourceApi { | 42 class AclResourceApi { |
43 final common_internal.ApiRequester _requester; | 43 final common_internal.ApiRequester _requester; |
44 | 44 |
45 AclResourceApi(common_internal.ApiRequester client) : | 45 AclResourceApi(common_internal.ApiRequester client) : |
46 _requester = client; | 46 _requester = client; |
47 | 47 |
(...skipping 4726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4774 _json["end"] = (end).toIso8601String(); | 4774 _json["end"] = (end).toIso8601String(); |
4775 } | 4775 } |
4776 if (start != null) { | 4776 if (start != null) { |
4777 _json["start"] = (start).toIso8601String(); | 4777 _json["start"] = (start).toIso8601String(); |
4778 } | 4778 } |
4779 return _json; | 4779 return _json; |
4780 } | 4780 } |
4781 } | 4781 } |
4782 | 4782 |
4783 | 4783 |
OLD | NEW |