| 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.adsensehost.v4_1; | 3 library googleapis.adsensehost.v4_1; |
| 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 adsensehost/v4.1'; | 15 const core.String USER_AGENT = 'dart-api-client adsensehost/v4.1'; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Gives AdSense Hosts access to report generation, ad code generation, and | 18 * Generates performance reports, generates ad codes, and provides publisher |
| 19 * publisher management capabilities. | 19 * management capabilities for AdSense Hosts. |
| 20 */ | 20 */ |
| 21 class AdsensehostApi { | 21 class AdsensehostApi { |
| 22 /** View and manage your AdSense host data and associated accounts */ | 22 /** View and manage your AdSense host data and associated accounts */ |
| 23 static const AdsensehostScope = "https://www.googleapis.com/auth/adsensehost"; | 23 static const AdsensehostScope = "https://www.googleapis.com/auth/adsensehost"; |
| 24 | 24 |
| 25 | 25 |
| 26 final commons.ApiRequester _requester; | 26 final commons.ApiRequester _requester; |
| 27 | 27 |
| 28 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); | 28 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
| 29 AdclientsResourceApi get adclients => new AdclientsResourceApi(_requester); | 29 AdclientsResourceApi get adclients => new AdclientsResourceApi(_requester); |
| (...skipping 2494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2524 } | 2524 } |
| 2525 if (kind != null) { | 2525 if (kind != null) { |
| 2526 _json["kind"] = kind; | 2526 _json["kind"] = kind; |
| 2527 } | 2527 } |
| 2528 if (nextPageToken != null) { | 2528 if (nextPageToken != null) { |
| 2529 _json["nextPageToken"] = nextPageToken; | 2529 _json["nextPageToken"] = nextPageToken; |
| 2530 } | 2530 } |
| 2531 return _json; | 2531 return _json; |
| 2532 } | 2532 } |
| 2533 } | 2533 } |
| OLD | NEW |