OLD | NEW |
1 library googleapis.youtubeAnalytics.v1; | 1 library googleapis.youtubeAnalytics.v1; |
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 11 matching lines...) Loading... |
22 static const YtAnalyticsReadonlyScope = "https://www.googleapis.com/auth/yt-an
alytics.readonly"; | 22 static const YtAnalyticsReadonlyScope = "https://www.googleapis.com/auth/yt-an
alytics.readonly"; |
23 | 23 |
24 | 24 |
25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
26 | 26 |
27 BatchReportDefinitionsResourceApi get batchReportDefinitions => new BatchRepor
tDefinitionsResourceApi(_requester); | 27 BatchReportDefinitionsResourceApi get batchReportDefinitions => new BatchRepor
tDefinitionsResourceApi(_requester); |
28 BatchReportsResourceApi get batchReports => new BatchReportsResourceApi(_reque
ster); | 28 BatchReportsResourceApi get batchReports => new BatchReportsResourceApi(_reque
ster); |
29 ReportsResourceApi get reports => new ReportsResourceApi(_requester); | 29 ReportsResourceApi get reports => new ReportsResourceApi(_requester); |
30 | 30 |
31 YoutubeAnalyticsApi(http.Client client) : | 31 YoutubeAnalyticsApi(http.Client client) : |
32 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "/youtube/analytics/v1/"); | 32 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "youtube/analytics/v1/"); |
33 } | 33 } |
34 | 34 |
35 | 35 |
36 /** Not documented yet. */ | 36 /** Not documented yet. */ |
37 class BatchReportDefinitionsResourceApi { | 37 class BatchReportDefinitionsResourceApi { |
38 final common_internal.ApiRequester _requester; | 38 final common_internal.ApiRequester _requester; |
39 | 39 |
40 BatchReportDefinitionsResourceApi(common_internal.ApiRequester client) : | 40 BatchReportDefinitionsResourceApi(common_internal.ApiRequester client) : |
41 _requester = client; | 41 _requester = client; |
42 | 42 |
(...skipping 660 matching lines...) Loading... |
703 _json["kind"] = kind; | 703 _json["kind"] = kind; |
704 } | 704 } |
705 if (rows != null) { | 705 if (rows != null) { |
706 _json["rows"] = rows; | 706 _json["rows"] = rows; |
707 } | 707 } |
708 return _json; | 708 return _json; |
709 } | 709 } |
710 } | 710 } |
711 | 711 |
712 | 712 |
OLD | NEW |