OLD | NEW |
1 library googleapis.content.v2; | 1 library googleapis.content.v2; |
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 14 matching lines...) Expand all Loading... |
25 final common_internal.ApiRequester _requester; | 25 final common_internal.ApiRequester _requester; |
26 | 26 |
27 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); | 27 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); |
28 AccountstatusesResourceApi get accountstatuses => new AccountstatusesResourceA
pi(_requester); | 28 AccountstatusesResourceApi get accountstatuses => new AccountstatusesResourceA
pi(_requester); |
29 DatafeedsResourceApi get datafeeds => new DatafeedsResourceApi(_requester); | 29 DatafeedsResourceApi get datafeeds => new DatafeedsResourceApi(_requester); |
30 DatafeedstatusesResourceApi get datafeedstatuses => new DatafeedstatusesResour
ceApi(_requester); | 30 DatafeedstatusesResourceApi get datafeedstatuses => new DatafeedstatusesResour
ceApi(_requester); |
31 InventoryResourceApi get inventory => new InventoryResourceApi(_requester); | 31 InventoryResourceApi get inventory => new InventoryResourceApi(_requester); |
32 ProductsResourceApi get products => new ProductsResourceApi(_requester); | 32 ProductsResourceApi get products => new ProductsResourceApi(_requester); |
33 ProductstatusesResourceApi get productstatuses => new ProductstatusesResourceA
pi(_requester); | 33 ProductstatusesResourceApi get productstatuses => new ProductstatusesResourceA
pi(_requester); |
34 | 34 |
35 ContentApi(http.Client client) : | 35 ContentApi(http.Client client, {core.String rootUrl: "https://www.googleapis.c
om/", core.String servicePath: "content/v2/"}) : |
36 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "content/v2/"); | 36 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
37 } | 37 } |
38 | 38 |
39 | 39 |
40 /** Not documented yet. */ | 40 /** Not documented yet. */ |
41 class AccountsResourceApi { | 41 class AccountsResourceApi { |
42 final common_internal.ApiRequester _requester; | 42 final common_internal.ApiRequester _requester; |
43 | 43 |
44 AccountsResourceApi(common_internal.ApiRequester client) : | 44 AccountsResourceApi(common_internal.ApiRequester client) : |
45 _requester = client; | 45 _requester = client; |
46 | 46 |
(...skipping 4715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4762 /** Not documented yet. */ | 4762 /** Not documented yet. */ |
4763 class ProductTax { | 4763 class ProductTax { |
4764 /** | 4764 /** |
4765 * The country within which the item is taxed, specified with a two-letter ISO | 4765 * The country within which the item is taxed, specified with a two-letter ISO |
4766 * 3166 country code. | 4766 * 3166 country code. |
4767 */ | 4767 */ |
4768 core.String country; | 4768 core.String country; |
4769 | 4769 |
4770 /** | 4770 /** |
4771 * The numeric id of a location that the tax rate applies to as defined in the | 4771 * The numeric id of a location that the tax rate applies to as defined in the |
4772 * Adwords API | 4772 * AdWords API. |
4773 * (https://developers.google.com/adwords/api/docs/appendix/geotargeting). | |
4774 */ | 4773 */ |
4775 core.String locationId; | 4774 core.String locationId; |
4776 | 4775 |
4777 /** | 4776 /** |
4778 * The postal code range that the tax rate applies to, represented by a ZIP | 4777 * The postal code range that the tax rate applies to, represented by a ZIP |
4779 * code, a ZIP code prefix using * wildcard, a range between two ZIP codes or | 4778 * code, a ZIP code prefix using * wildcard, a range between two ZIP codes or |
4780 * two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, | 4779 * two ZIP code prefixes of equal length. Examples: 94114, 94*, 94002-95460, |
4781 * 94*-95*. | 4780 * 94*-95*. |
4782 */ | 4781 */ |
4783 core.String postalCode; | 4782 core.String postalCode; |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5348 _json["nextPageToken"] = nextPageToken; | 5347 _json["nextPageToken"] = nextPageToken; |
5349 } | 5348 } |
5350 if (resources != null) { | 5349 if (resources != null) { |
5351 _json["resources"] = resources.map((value) => (value).toJson()).toList(); | 5350 _json["resources"] = resources.map((value) => (value).toJson()).toList(); |
5352 } | 5351 } |
5353 return _json; | 5352 return _json; |
5354 } | 5353 } |
5355 } | 5354 } |
5356 | 5355 |
5357 | 5356 |
OLD | NEW |