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.adexchangebuyer.v1_3; | 3 library googleapis.adexchangebuyer.v1_3; |
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 1776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1787 * requests. | 1787 * requests. |
1788 */ | 1788 */ |
1789 core.String status; | 1789 core.String status; |
1790 /** All vendor types for the ads that may be shown from this snippet. */ | 1790 /** All vendor types for the ads that may be shown from this snippet. */ |
1791 core.List<core.int> vendorType; | 1791 core.List<core.int> vendorType; |
1792 /** | 1792 /** |
1793 * The version for this creative. Read-only. This field should not be set in | 1793 * The version for this creative. Read-only. This field should not be set in |
1794 * requests. | 1794 * requests. |
1795 */ | 1795 */ |
1796 core.int version; | 1796 core.int version; |
1797 /** The url to fetch a video ad. If set, HTMLSnippet should not be set. */ | 1797 /** |
| 1798 * The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should |
| 1799 * not be set. |
| 1800 */ |
1798 core.String videoURL; | 1801 core.String videoURL; |
1799 /** Ad width. */ | 1802 /** Ad width. */ |
1800 core.int width; | 1803 core.int width; |
1801 | 1804 |
1802 Creative(); | 1805 Creative(); |
1803 | 1806 |
1804 Creative.fromJson(core.Map _json) { | 1807 Creative.fromJson(core.Map _json) { |
1805 if (_json.containsKey("HTMLSnippet")) { | 1808 if (_json.containsKey("HTMLSnippet")) { |
1806 HTMLSnippet = _json["HTMLSnippet"]; | 1809 HTMLSnippet = _json["HTMLSnippet"]; |
1807 } | 1810 } |
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2806 var _json = new core.Map(); | 2809 var _json = new core.Map(); |
2807 if (items != null) { | 2810 if (items != null) { |
2808 _json["items"] = items.map((value) => (value).toJson()).toList(); | 2811 _json["items"] = items.map((value) => (value).toJson()).toList(); |
2809 } | 2812 } |
2810 if (kind != null) { | 2813 if (kind != null) { |
2811 _json["kind"] = kind; | 2814 _json["kind"] = kind; |
2812 } | 2815 } |
2813 return _json; | 2816 return _json; |
2814 } | 2817 } |
2815 } | 2818 } |
OLD | NEW |