| 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.youtubeAnalytics.v1; | 3 library googleapis.youtubeAnalytics.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; |
| 11 | 11 |
| 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 13 ApiRequestError, DetailedApiRequestError; | 13 ApiRequestError, DetailedApiRequestError; |
| 14 | 14 |
| 15 const core.String USER_AGENT = 'dart-api-client youtubeAnalytics/v1'; | 15 const core.String USER_AGENT = 'dart-api-client youtubeAnalytics/v1'; |
| 16 | 16 |
| 17 /** Retrieve your YouTube Analytics reports. */ | 17 /** Retrieves your YouTube Analytics reports. */ |
| 18 class YoutubeAnalyticsApi { | 18 class YoutubeAnalyticsApi { |
| 19 /** Manage your YouTube account */ | 19 /** Manage your YouTube account */ |
| 20 static const YoutubeScope = "https://www.googleapis.com/auth/youtube"; | 20 static const YoutubeScope = "https://www.googleapis.com/auth/youtube"; |
| 21 | 21 |
| 22 /** View your YouTube account */ | 22 /** View your YouTube account */ |
| 23 static const YoutubeReadonlyScope = "https://www.googleapis.com/auth/youtube.r
eadonly"; | 23 static const YoutubeReadonlyScope = "https://www.googleapis.com/auth/youtube.r
eadonly"; |
| 24 | 24 |
| 25 /** View and manage your assets and associated content on YouTube */ | 25 /** View and manage your assets and associated content on YouTube */ |
| 26 static const YoutubepartnerScope = "https://www.googleapis.com/auth/youtubepar
tner"; | 26 static const YoutubepartnerScope = "https://www.googleapis.com/auth/youtubepar
tner"; |
| 27 | 27 |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 } | 1353 } |
| 1354 if (kind != null) { | 1354 if (kind != null) { |
| 1355 _json["kind"] = kind; | 1355 _json["kind"] = kind; |
| 1356 } | 1356 } |
| 1357 if (rows != null) { | 1357 if (rows != null) { |
| 1358 _json["rows"] = rows; | 1358 _json["rows"] = rows; |
| 1359 } | 1359 } |
| 1360 return _json; | 1360 return _json; |
| 1361 } | 1361 } |
| 1362 } | 1362 } |
| OLD | NEW |