| OLD | NEW |
| 1 library googleapis.doubleclickbidmanager.v1; | 1 library googleapis.doubleclickbidmanager.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; |
| 11 import '../common/common.dart' as common; | 11 import '../common/common.dart' as common; |
| 12 | 12 |
| 13 export '../common/common.dart' show ApiRequestError; | 13 export '../common/common.dart' show ApiRequestError; |
| 14 export '../common/common.dart' show DetailedApiRequestError; | 14 export '../common/common.dart' show DetailedApiRequestError; |
| 15 | 15 |
| 16 /** API for viewing and managing your reports in DoubleClick Bid Manager. */ | 16 /** API for viewing and managing your reports in DoubleClick Bid Manager. */ |
| 17 class DoubleclickbidmanagerApi { | 17 class DoubleclickbidmanagerApi { |
| 18 | 18 |
| 19 final common_internal.ApiRequester _requester; | 19 final common_internal.ApiRequester _requester; |
| 20 | 20 |
| 21 LineitemsResourceApi get lineitems => new LineitemsResourceApi(_requester); | 21 LineitemsResourceApi get lineitems => new LineitemsResourceApi(_requester); |
| 22 QueriesResourceApi get queries => new QueriesResourceApi(_requester); | 22 QueriesResourceApi get queries => new QueriesResourceApi(_requester); |
| 23 ReportsResourceApi get reports => new ReportsResourceApi(_requester); | 23 ReportsResourceApi get reports => new ReportsResourceApi(_requester); |
| 24 | 24 |
| 25 DoubleclickbidmanagerApi(http.Client client) : | 25 DoubleclickbidmanagerApi(http.Client client, {core.String rootUrl: "https://ww
w.googleapis.com/", core.String servicePath: "doubleclickbidmanager/v1/"}) : |
| 26 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "doubleclickbidmanager/v1/"); | 26 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
| 27 } | 27 } |
| 28 | 28 |
| 29 | 29 |
| 30 /** Not documented yet. */ | 30 /** Not documented yet. */ |
| 31 class LineitemsResourceApi { | 31 class LineitemsResourceApi { |
| 32 final common_internal.ApiRequester _requester; | 32 final common_internal.ApiRequester _requester; |
| 33 | 33 |
| 34 LineitemsResourceApi(common_internal.ApiRequester client) : | 34 LineitemsResourceApi(common_internal.ApiRequester client) : |
| 35 _requester = client; | 35 _requester = client; |
| 36 | 36 |
| (...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1506 _json["errors"] = errors; | 1506 _json["errors"] = errors; |
| 1507 } | 1507 } |
| 1508 if (rowStatus != null) { | 1508 if (rowStatus != null) { |
| 1509 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); | 1509 _json["rowStatus"] = rowStatus.map((value) => (value).toJson()).toList(); |
| 1510 } | 1510 } |
| 1511 return _json; | 1511 return _json; |
| 1512 } | 1512 } |
| 1513 } | 1513 } |
| 1514 | 1514 |
| 1515 | 1515 |
| OLD | NEW |