Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: generated/googleapis/lib/content/v2.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.content.v2; 3 library googleapis.content.v2;
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;
(...skipping 8602 matching lines...) Expand 10 before | Expand all | Expand 10 after
8613 _json["value"] = value; 8613 _json["value"] = value;
8614 } 8614 }
8615 return _json; 8615 return _json;
8616 } 8616 }
8617 } 8617 }
8618 8618
8619 /** Product data. */ 8619 /** Product data. */
8620 class Product { 8620 class Product {
8621 /** Additional URLs of images of the item. */ 8621 /** Additional URLs of images of the item. */
8622 core.List<core.String> additionalImageLinks; 8622 core.List<core.String> additionalImageLinks;
8623 /**
8624 * Additional categories of the item (formatted as in products feed
8625 * specification).
8626 */
8627 core.List<core.String> additionalProductTypes;
8623 /** Set to true if the item is targeted towards adults. */ 8628 /** Set to true if the item is targeted towards adults. */
8624 core.bool adult; 8629 core.bool adult;
8625 /** 8630 /**
8626 * Used to group items in an arbitrary way. Only for CPA%, discouraged 8631 * Used to group items in an arbitrary way. Only for CPA%, discouraged
8627 * otherwise. 8632 * otherwise.
8628 */ 8633 */
8629 core.String adwordsGrouping; 8634 core.String adwordsGrouping;
8630 /** Similar to adwords_grouping, but only works on CPC. */ 8635 /** Similar to adwords_grouping, but only works on CPC. */
8631 core.List<core.String> adwordsLabels; 8636 core.List<core.String> adwordsLabels;
8632 /** 8637 /**
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
8806 core.List<core.String> validatedDestinations; 8811 core.List<core.String> validatedDestinations;
8807 /** Read-only warnings. */ 8812 /** Read-only warnings. */
8808 core.List<Error> warnings; 8813 core.List<Error> warnings;
8809 8814
8810 Product(); 8815 Product();
8811 8816
8812 Product.fromJson(core.Map _json) { 8817 Product.fromJson(core.Map _json) {
8813 if (_json.containsKey("additionalImageLinks")) { 8818 if (_json.containsKey("additionalImageLinks")) {
8814 additionalImageLinks = _json["additionalImageLinks"]; 8819 additionalImageLinks = _json["additionalImageLinks"];
8815 } 8820 }
8821 if (_json.containsKey("additionalProductTypes")) {
8822 additionalProductTypes = _json["additionalProductTypes"];
8823 }
8816 if (_json.containsKey("adult")) { 8824 if (_json.containsKey("adult")) {
8817 adult = _json["adult"]; 8825 adult = _json["adult"];
8818 } 8826 }
8819 if (_json.containsKey("adwordsGrouping")) { 8827 if (_json.containsKey("adwordsGrouping")) {
8820 adwordsGrouping = _json["adwordsGrouping"]; 8828 adwordsGrouping = _json["adwordsGrouping"];
8821 } 8829 }
8822 if (_json.containsKey("adwordsLabels")) { 8830 if (_json.containsKey("adwordsLabels")) {
8823 adwordsLabels = _json["adwordsLabels"]; 8831 adwordsLabels = _json["adwordsLabels"];
8824 } 8832 }
8825 if (_json.containsKey("adwordsRedirect")) { 8833 if (_json.containsKey("adwordsRedirect")) {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
9023 if (_json.containsKey("warnings")) { 9031 if (_json.containsKey("warnings")) {
9024 warnings = _json["warnings"].map((value) => new Error.fromJson(value)).toL ist(); 9032 warnings = _json["warnings"].map((value) => new Error.fromJson(value)).toL ist();
9025 } 9033 }
9026 } 9034 }
9027 9035
9028 core.Map toJson() { 9036 core.Map toJson() {
9029 var _json = new core.Map(); 9037 var _json = new core.Map();
9030 if (additionalImageLinks != null) { 9038 if (additionalImageLinks != null) {
9031 _json["additionalImageLinks"] = additionalImageLinks; 9039 _json["additionalImageLinks"] = additionalImageLinks;
9032 } 9040 }
9041 if (additionalProductTypes != null) {
9042 _json["additionalProductTypes"] = additionalProductTypes;
9043 }
9033 if (adult != null) { 9044 if (adult != null) {
9034 _json["adult"] = adult; 9045 _json["adult"] = adult;
9035 } 9046 }
9036 if (adwordsGrouping != null) { 9047 if (adwordsGrouping != null) {
9037 _json["adwordsGrouping"] = adwordsGrouping; 9048 _json["adwordsGrouping"] = adwordsGrouping;
9038 } 9049 }
9039 if (adwordsLabels != null) { 9050 if (adwordsLabels != null) {
9040 _json["adwordsLabels"] = adwordsLabels; 9051 _json["adwordsLabels"] = adwordsLabels;
9041 } 9052 }
9042 if (adwordsRedirect != null) { 9053 if (adwordsRedirect != null) {
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after
10653 var _json = new core.Map(); 10664 var _json = new core.Map();
10654 if (unit != null) { 10665 if (unit != null) {
10655 _json["unit"] = unit; 10666 _json["unit"] = unit;
10656 } 10667 }
10657 if (value != null) { 10668 if (value != null) {
10658 _json["value"] = value; 10669 _json["value"] = value;
10659 } 10670 }
10660 return _json; 10671 return _json;
10661 } 10672 }
10662 } 10673 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/consumersurveys/v2.dart ('k') | generated/googleapis/lib/deploymentmanager/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698