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

Side by Side Diff: generated/googleapis/lib/adexchangebuyer/v1_4.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 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.adexchangebuyer.v1_4; 3 library googleapis.adexchangebuyer.v1_4;
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 1941 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 maximumQps = _json["maximumQps"]; 1952 maximumQps = _json["maximumQps"];
1953 } 1953 }
1954 if (_json.containsKey("region")) { 1954 if (_json.containsKey("region")) {
1955 region = _json["region"]; 1955 region = _json["region"];
1956 } 1956 }
1957 if (_json.containsKey("url")) { 1957 if (_json.containsKey("url")) {
1958 url = _json["url"]; 1958 url = _json["url"];
1959 } 1959 }
1960 } 1960 }
1961 1961
1962 core.Map toJson() { 1962 core.Map<core.String, core.Object> toJson() {
1963 var _json = new core.Map(); 1963 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1964 if (bidProtocol != null) { 1964 if (bidProtocol != null) {
1965 _json["bidProtocol"] = bidProtocol; 1965 _json["bidProtocol"] = bidProtocol;
1966 } 1966 }
1967 if (maximumQps != null) { 1967 if (maximumQps != null) {
1968 _json["maximumQps"] = maximumQps; 1968 _json["maximumQps"] = maximumQps;
1969 } 1969 }
1970 if (region != null) { 1970 if (region != null) {
1971 _json["region"] = region; 1971 _json["region"] = region;
1972 } 1972 }
1973 if (url != null) { 1973 if (url != null) {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 maximumActiveCreatives = _json["maximumActiveCreatives"]; 2031 maximumActiveCreatives = _json["maximumActiveCreatives"];
2032 } 2032 }
2033 if (_json.containsKey("maximumTotalQps")) { 2033 if (_json.containsKey("maximumTotalQps")) {
2034 maximumTotalQps = _json["maximumTotalQps"]; 2034 maximumTotalQps = _json["maximumTotalQps"];
2035 } 2035 }
2036 if (_json.containsKey("numberActiveCreatives")) { 2036 if (_json.containsKey("numberActiveCreatives")) {
2037 numberActiveCreatives = _json["numberActiveCreatives"]; 2037 numberActiveCreatives = _json["numberActiveCreatives"];
2038 } 2038 }
2039 } 2039 }
2040 2040
2041 core.Map toJson() { 2041 core.Map<core.String, core.Object> toJson() {
2042 var _json = new core.Map(); 2042 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2043 if (bidderLocation != null) { 2043 if (bidderLocation != null) {
2044 _json["bidderLocation"] = bidderLocation.map((value) => (value).toJson()). toList(); 2044 _json["bidderLocation"] = bidderLocation.map((value) => (value).toJson()). toList();
2045 } 2045 }
2046 if (cookieMatchingNid != null) { 2046 if (cookieMatchingNid != null) {
2047 _json["cookieMatchingNid"] = cookieMatchingNid; 2047 _json["cookieMatchingNid"] = cookieMatchingNid;
2048 } 2048 }
2049 if (cookieMatchingUrl != null) { 2049 if (cookieMatchingUrl != null) {
2050 _json["cookieMatchingUrl"] = cookieMatchingUrl; 2050 _json["cookieMatchingUrl"] = cookieMatchingUrl;
2051 } 2051 }
2052 if (id != null) { 2052 if (id != null) {
(...skipping 29 matching lines...) Expand all
2082 2082
2083 AccountsList.fromJson(core.Map _json) { 2083 AccountsList.fromJson(core.Map _json) {
2084 if (_json.containsKey("items")) { 2084 if (_json.containsKey("items")) {
2085 items = _json["items"].map((value) => new Account.fromJson(value)).toList( ); 2085 items = _json["items"].map((value) => new Account.fromJson(value)).toList( );
2086 } 2086 }
2087 if (_json.containsKey("kind")) { 2087 if (_json.containsKey("kind")) {
2088 kind = _json["kind"]; 2088 kind = _json["kind"];
2089 } 2089 }
2090 } 2090 }
2091 2091
2092 core.Map toJson() { 2092 core.Map<core.String, core.Object> toJson() {
2093 var _json = new core.Map(); 2093 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2094 if (items != null) { 2094 if (items != null) {
2095 _json["items"] = items.map((value) => (value).toJson()).toList(); 2095 _json["items"] = items.map((value) => (value).toJson()).toList();
2096 } 2096 }
2097 if (kind != null) { 2097 if (kind != null) {
2098 _json["kind"] = kind; 2098 _json["kind"] = kind;
2099 } 2099 }
2100 return _json; 2100 return _json;
2101 } 2101 }
2102 } 2102 }
2103 2103
(...skipping 12 matching lines...) Expand all
2116 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList(); 2116 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList();
2117 } 2117 }
2118 if (_json.containsKey("proposalRevisionNumber")) { 2118 if (_json.containsKey("proposalRevisionNumber")) {
2119 proposalRevisionNumber = _json["proposalRevisionNumber"]; 2119 proposalRevisionNumber = _json["proposalRevisionNumber"];
2120 } 2120 }
2121 if (_json.containsKey("updateAction")) { 2121 if (_json.containsKey("updateAction")) {
2122 updateAction = _json["updateAction"]; 2122 updateAction = _json["updateAction"];
2123 } 2123 }
2124 } 2124 }
2125 2125
2126 core.Map toJson() { 2126 core.Map<core.String, core.Object> toJson() {
2127 var _json = new core.Map(); 2127 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2128 if (deals != null) { 2128 if (deals != null) {
2129 _json["deals"] = deals.map((value) => (value).toJson()).toList(); 2129 _json["deals"] = deals.map((value) => (value).toJson()).toList();
2130 } 2130 }
2131 if (proposalRevisionNumber != null) { 2131 if (proposalRevisionNumber != null) {
2132 _json["proposalRevisionNumber"] = proposalRevisionNumber; 2132 _json["proposalRevisionNumber"] = proposalRevisionNumber;
2133 } 2133 }
2134 if (updateAction != null) { 2134 if (updateAction != null) {
2135 _json["updateAction"] = updateAction; 2135 _json["updateAction"] = updateAction;
2136 } 2136 }
2137 return _json; 2137 return _json;
(...skipping 10 matching lines...) Expand all
2148 2148
2149 AddOrderDealsResponse.fromJson(core.Map _json) { 2149 AddOrderDealsResponse.fromJson(core.Map _json) {
2150 if (_json.containsKey("deals")) { 2150 if (_json.containsKey("deals")) {
2151 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList(); 2151 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList();
2152 } 2152 }
2153 if (_json.containsKey("proposalRevisionNumber")) { 2153 if (_json.containsKey("proposalRevisionNumber")) {
2154 proposalRevisionNumber = _json["proposalRevisionNumber"]; 2154 proposalRevisionNumber = _json["proposalRevisionNumber"];
2155 } 2155 }
2156 } 2156 }
2157 2157
2158 core.Map toJson() { 2158 core.Map<core.String, core.Object> toJson() {
2159 var _json = new core.Map(); 2159 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2160 if (deals != null) { 2160 if (deals != null) {
2161 _json["deals"] = deals.map((value) => (value).toJson()).toList(); 2161 _json["deals"] = deals.map((value) => (value).toJson()).toList();
2162 } 2162 }
2163 if (proposalRevisionNumber != null) { 2163 if (proposalRevisionNumber != null) {
2164 _json["proposalRevisionNumber"] = proposalRevisionNumber; 2164 _json["proposalRevisionNumber"] = proposalRevisionNumber;
2165 } 2165 }
2166 return _json; 2166 return _json;
2167 } 2167 }
2168 } 2168 }
2169 2169
2170 class AddOrderNotesRequest { 2170 class AddOrderNotesRequest {
2171 /** The list of notes to add. */ 2171 /** The list of notes to add. */
2172 core.List<MarketplaceNote> notes; 2172 core.List<MarketplaceNote> notes;
2173 2173
2174 AddOrderNotesRequest(); 2174 AddOrderNotesRequest();
2175 2175
2176 AddOrderNotesRequest.fromJson(core.Map _json) { 2176 AddOrderNotesRequest.fromJson(core.Map _json) {
2177 if (_json.containsKey("notes")) { 2177 if (_json.containsKey("notes")) {
2178 notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)) .toList(); 2178 notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)) .toList();
2179 } 2179 }
2180 } 2180 }
2181 2181
2182 core.Map toJson() { 2182 core.Map<core.String, core.Object> toJson() {
2183 var _json = new core.Map(); 2183 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2184 if (notes != null) { 2184 if (notes != null) {
2185 _json["notes"] = notes.map((value) => (value).toJson()).toList(); 2185 _json["notes"] = notes.map((value) => (value).toJson()).toList();
2186 } 2186 }
2187 return _json; 2187 return _json;
2188 } 2188 }
2189 } 2189 }
2190 2190
2191 class AddOrderNotesResponse { 2191 class AddOrderNotesResponse {
2192 core.List<MarketplaceNote> notes; 2192 core.List<MarketplaceNote> notes;
2193 2193
2194 AddOrderNotesResponse(); 2194 AddOrderNotesResponse();
2195 2195
2196 AddOrderNotesResponse.fromJson(core.Map _json) { 2196 AddOrderNotesResponse.fromJson(core.Map _json) {
2197 if (_json.containsKey("notes")) { 2197 if (_json.containsKey("notes")) {
2198 notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)) .toList(); 2198 notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)) .toList();
2199 } 2199 }
2200 } 2200 }
2201 2201
2202 core.Map toJson() { 2202 core.Map<core.String, core.Object> toJson() {
2203 var _json = new core.Map(); 2203 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2204 if (notes != null) { 2204 if (notes != null) {
2205 _json["notes"] = notes.map((value) => (value).toJson()).toList(); 2205 _json["notes"] = notes.map((value) => (value).toJson()).toList();
2206 } 2206 }
2207 return _json; 2207 return _json;
2208 } 2208 }
2209 } 2209 }
2210 2210
2211 /** The configuration data for an Ad Exchange billing info. */ 2211 /** The configuration data for an Ad Exchange billing info. */
2212 class BillingInfo { 2212 class BillingInfo {
2213 /** Account id. */ 2213 /** Account id. */
(...skipping 19 matching lines...) Expand all
2233 accountName = _json["accountName"]; 2233 accountName = _json["accountName"];
2234 } 2234 }
2235 if (_json.containsKey("billingId")) { 2235 if (_json.containsKey("billingId")) {
2236 billingId = _json["billingId"]; 2236 billingId = _json["billingId"];
2237 } 2237 }
2238 if (_json.containsKey("kind")) { 2238 if (_json.containsKey("kind")) {
2239 kind = _json["kind"]; 2239 kind = _json["kind"];
2240 } 2240 }
2241 } 2241 }
2242 2242
2243 core.Map toJson() { 2243 core.Map<core.String, core.Object> toJson() {
2244 var _json = new core.Map(); 2244 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2245 if (accountId != null) { 2245 if (accountId != null) {
2246 _json["accountId"] = accountId; 2246 _json["accountId"] = accountId;
2247 } 2247 }
2248 if (accountName != null) { 2248 if (accountName != null) {
2249 _json["accountName"] = accountName; 2249 _json["accountName"] = accountName;
2250 } 2250 }
2251 if (billingId != null) { 2251 if (billingId != null) {
2252 _json["billingId"] = billingId; 2252 _json["billingId"] = billingId;
2253 } 2253 }
2254 if (kind != null) { 2254 if (kind != null) {
(...skipping 17 matching lines...) Expand all
2272 2272
2273 BillingInfoList.fromJson(core.Map _json) { 2273 BillingInfoList.fromJson(core.Map _json) {
2274 if (_json.containsKey("items")) { 2274 if (_json.containsKey("items")) {
2275 items = _json["items"].map((value) => new BillingInfo.fromJson(value)).toL ist(); 2275 items = _json["items"].map((value) => new BillingInfo.fromJson(value)).toL ist();
2276 } 2276 }
2277 if (_json.containsKey("kind")) { 2277 if (_json.containsKey("kind")) {
2278 kind = _json["kind"]; 2278 kind = _json["kind"];
2279 } 2279 }
2280 } 2280 }
2281 2281
2282 core.Map toJson() { 2282 core.Map<core.String, core.Object> toJson() {
2283 var _json = new core.Map(); 2283 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2284 if (items != null) { 2284 if (items != null) {
2285 _json["items"] = items.map((value) => (value).toJson()).toList(); 2285 _json["items"] = items.map((value) => (value).toJson()).toList();
2286 } 2286 }
2287 if (kind != null) { 2287 if (kind != null) {
2288 _json["kind"] = kind; 2288 _json["kind"] = kind;
2289 } 2289 }
2290 return _json; 2290 return _json;
2291 } 2291 }
2292 } 2292 }
2293 2293
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2328 currencyCode = _json["currencyCode"]; 2328 currencyCode = _json["currencyCode"];
2329 } 2329 }
2330 if (_json.containsKey("id")) { 2330 if (_json.containsKey("id")) {
2331 id = _json["id"]; 2331 id = _json["id"];
2332 } 2332 }
2333 if (_json.containsKey("kind")) { 2333 if (_json.containsKey("kind")) {
2334 kind = _json["kind"]; 2334 kind = _json["kind"];
2335 } 2335 }
2336 } 2336 }
2337 2337
2338 core.Map toJson() { 2338 core.Map<core.String, core.Object> toJson() {
2339 var _json = new core.Map(); 2339 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2340 if (accountId != null) { 2340 if (accountId != null) {
2341 _json["accountId"] = accountId; 2341 _json["accountId"] = accountId;
2342 } 2342 }
2343 if (billingId != null) { 2343 if (billingId != null) {
2344 _json["billingId"] = billingId; 2344 _json["billingId"] = billingId;
2345 } 2345 }
2346 if (budgetAmount != null) { 2346 if (budgetAmount != null) {
2347 _json["budgetAmount"] = budgetAmount; 2347 _json["budgetAmount"] = budgetAmount;
2348 } 2348 }
2349 if (currencyCode != null) { 2349 if (currencyCode != null) {
(...skipping 14 matching lines...) Expand all
2364 core.String accountId; 2364 core.String accountId;
2365 2365
2366 Buyer(); 2366 Buyer();
2367 2367
2368 Buyer.fromJson(core.Map _json) { 2368 Buyer.fromJson(core.Map _json) {
2369 if (_json.containsKey("accountId")) { 2369 if (_json.containsKey("accountId")) {
2370 accountId = _json["accountId"]; 2370 accountId = _json["accountId"];
2371 } 2371 }
2372 } 2372 }
2373 2373
2374 core.Map toJson() { 2374 core.Map<core.String, core.Object> toJson() {
2375 var _json = new core.Map(); 2375 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2376 if (accountId != null) { 2376 if (accountId != null) {
2377 _json["accountId"] = accountId; 2377 _json["accountId"] = accountId;
2378 } 2378 }
2379 return _json; 2379 return _json;
2380 } 2380 }
2381 } 2381 }
2382 2382
2383 class ContactInformation { 2383 class ContactInformation {
2384 /** Email address of the contact. */ 2384 /** Email address of the contact. */
2385 core.String email; 2385 core.String email;
2386 /** The name of the contact. */ 2386 /** The name of the contact. */
2387 core.String name; 2387 core.String name;
2388 2388
2389 ContactInformation(); 2389 ContactInformation();
2390 2390
2391 ContactInformation.fromJson(core.Map _json) { 2391 ContactInformation.fromJson(core.Map _json) {
2392 if (_json.containsKey("email")) { 2392 if (_json.containsKey("email")) {
2393 email = _json["email"]; 2393 email = _json["email"];
2394 } 2394 }
2395 if (_json.containsKey("name")) { 2395 if (_json.containsKey("name")) {
2396 name = _json["name"]; 2396 name = _json["name"];
2397 } 2397 }
2398 } 2398 }
2399 2399
2400 core.Map toJson() { 2400 core.Map<core.String, core.Object> toJson() {
2401 var _json = new core.Map(); 2401 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2402 if (email != null) { 2402 if (email != null) {
2403 _json["email"] = email; 2403 _json["email"] = email;
2404 } 2404 }
2405 if (name != null) { 2405 if (name != null) {
2406 _json["name"] = name; 2406 _json["name"] = name;
2407 } 2407 }
2408 return _json; 2408 return _json;
2409 } 2409 }
2410 } 2410 }
2411 2411
2412 class CreateOrdersRequest { 2412 class CreateOrdersRequest {
2413 /** The list of proposals to create. */ 2413 /** The list of proposals to create. */
2414 core.List<Proposal> proposals; 2414 core.List<Proposal> proposals;
2415 /** Web property id of the seller creating these orders */ 2415 /** Web property id of the seller creating these orders */
2416 core.String webPropertyCode; 2416 core.String webPropertyCode;
2417 2417
2418 CreateOrdersRequest(); 2418 CreateOrdersRequest();
2419 2419
2420 CreateOrdersRequest.fromJson(core.Map _json) { 2420 CreateOrdersRequest.fromJson(core.Map _json) {
2421 if (_json.containsKey("proposals")) { 2421 if (_json.containsKey("proposals")) {
2422 proposals = _json["proposals"].map((value) => new Proposal.fromJson(value) ).toList(); 2422 proposals = _json["proposals"].map((value) => new Proposal.fromJson(value) ).toList();
2423 } 2423 }
2424 if (_json.containsKey("webPropertyCode")) { 2424 if (_json.containsKey("webPropertyCode")) {
2425 webPropertyCode = _json["webPropertyCode"]; 2425 webPropertyCode = _json["webPropertyCode"];
2426 } 2426 }
2427 } 2427 }
2428 2428
2429 core.Map toJson() { 2429 core.Map<core.String, core.Object> toJson() {
2430 var _json = new core.Map(); 2430 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2431 if (proposals != null) { 2431 if (proposals != null) {
2432 _json["proposals"] = proposals.map((value) => (value).toJson()).toList(); 2432 _json["proposals"] = proposals.map((value) => (value).toJson()).toList();
2433 } 2433 }
2434 if (webPropertyCode != null) { 2434 if (webPropertyCode != null) {
2435 _json["webPropertyCode"] = webPropertyCode; 2435 _json["webPropertyCode"] = webPropertyCode;
2436 } 2436 }
2437 return _json; 2437 return _json;
2438 } 2438 }
2439 } 2439 }
2440 2440
2441 class CreateOrdersResponse { 2441 class CreateOrdersResponse {
2442 /** The list of proposals successfully created. */ 2442 /** The list of proposals successfully created. */
2443 core.List<Proposal> proposals; 2443 core.List<Proposal> proposals;
2444 2444
2445 CreateOrdersResponse(); 2445 CreateOrdersResponse();
2446 2446
2447 CreateOrdersResponse.fromJson(core.Map _json) { 2447 CreateOrdersResponse.fromJson(core.Map _json) {
2448 if (_json.containsKey("proposals")) { 2448 if (_json.containsKey("proposals")) {
2449 proposals = _json["proposals"].map((value) => new Proposal.fromJson(value) ).toList(); 2449 proposals = _json["proposals"].map((value) => new Proposal.fromJson(value) ).toList();
2450 } 2450 }
2451 } 2451 }
2452 2452
2453 core.Map toJson() { 2453 core.Map<core.String, core.Object> toJson() {
2454 var _json = new core.Map(); 2454 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2455 if (proposals != null) { 2455 if (proposals != null) {
2456 _json["proposals"] = proposals.map((value) => (value).toJson()).toList(); 2456 _json["proposals"] = proposals.map((value) => (value).toJson()).toList();
2457 } 2457 }
2458 return _json; 2458 return _json;
2459 } 2459 }
2460 } 2460 }
2461 2461
2462 class CreativeCorrectionsContexts { 2462 class CreativeCorrectionsContexts {
2463 /** 2463 /**
2464 * Only set when contextType=AUCTION_TYPE. Represents the auction types this 2464 * Only set when contextType=AUCTION_TYPE. Represents the auction types this
(...skipping 25 matching lines...) Expand all
2490 contextType = _json["contextType"]; 2490 contextType = _json["contextType"];
2491 } 2491 }
2492 if (_json.containsKey("geoCriteriaId")) { 2492 if (_json.containsKey("geoCriteriaId")) {
2493 geoCriteriaId = _json["geoCriteriaId"]; 2493 geoCriteriaId = _json["geoCriteriaId"];
2494 } 2494 }
2495 if (_json.containsKey("platform")) { 2495 if (_json.containsKey("platform")) {
2496 platform = _json["platform"]; 2496 platform = _json["platform"];
2497 } 2497 }
2498 } 2498 }
2499 2499
2500 core.Map toJson() { 2500 core.Map<core.String, core.Object> toJson() {
2501 var _json = new core.Map(); 2501 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2502 if (auctionType != null) { 2502 if (auctionType != null) {
2503 _json["auctionType"] = auctionType; 2503 _json["auctionType"] = auctionType;
2504 } 2504 }
2505 if (contextType != null) { 2505 if (contextType != null) {
2506 _json["contextType"] = contextType; 2506 _json["contextType"] = contextType;
2507 } 2507 }
2508 if (geoCriteriaId != null) { 2508 if (geoCriteriaId != null) {
2509 _json["geoCriteriaId"] = geoCriteriaId; 2509 _json["geoCriteriaId"] = geoCriteriaId;
2510 } 2510 }
2511 if (platform != null) { 2511 if (platform != null) {
(...skipping 18 matching lines...) Expand all
2530 contexts = _json["contexts"].map((value) => new CreativeCorrectionsContext s.fromJson(value)).toList(); 2530 contexts = _json["contexts"].map((value) => new CreativeCorrectionsContext s.fromJson(value)).toList();
2531 } 2531 }
2532 if (_json.containsKey("details")) { 2532 if (_json.containsKey("details")) {
2533 details = _json["details"]; 2533 details = _json["details"];
2534 } 2534 }
2535 if (_json.containsKey("reason")) { 2535 if (_json.containsKey("reason")) {
2536 reason = _json["reason"]; 2536 reason = _json["reason"];
2537 } 2537 }
2538 } 2538 }
2539 2539
2540 core.Map toJson() { 2540 core.Map<core.String, core.Object> toJson() {
2541 var _json = new core.Map(); 2541 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2542 if (contexts != null) { 2542 if (contexts != null) {
2543 _json["contexts"] = contexts.map((value) => (value).toJson()).toList(); 2543 _json["contexts"] = contexts.map((value) => (value).toJson()).toList();
2544 } 2544 }
2545 if (details != null) { 2545 if (details != null) {
2546 _json["details"] = details; 2546 _json["details"] = details;
2547 } 2547 }
2548 if (reason != null) { 2548 if (reason != null) {
2549 _json["reason"] = reason; 2549 _json["reason"] = reason;
2550 } 2550 }
2551 return _json; 2551 return _json;
(...skipping 13 matching lines...) Expand all
2565 2565
2566 CreativeFilteringReasonsReasons.fromJson(core.Map _json) { 2566 CreativeFilteringReasonsReasons.fromJson(core.Map _json) {
2567 if (_json.containsKey("filteringCount")) { 2567 if (_json.containsKey("filteringCount")) {
2568 filteringCount = _json["filteringCount"]; 2568 filteringCount = _json["filteringCount"];
2569 } 2569 }
2570 if (_json.containsKey("filteringStatus")) { 2570 if (_json.containsKey("filteringStatus")) {
2571 filteringStatus = _json["filteringStatus"]; 2571 filteringStatus = _json["filteringStatus"];
2572 } 2572 }
2573 } 2573 }
2574 2574
2575 core.Map toJson() { 2575 core.Map<core.String, core.Object> toJson() {
2576 var _json = new core.Map(); 2576 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2577 if (filteringCount != null) { 2577 if (filteringCount != null) {
2578 _json["filteringCount"] = filteringCount; 2578 _json["filteringCount"] = filteringCount;
2579 } 2579 }
2580 if (filteringStatus != null) { 2580 if (filteringStatus != null) {
2581 _json["filteringStatus"] = filteringStatus; 2581 _json["filteringStatus"] = filteringStatus;
2582 } 2582 }
2583 return _json; 2583 return _json;
2584 } 2584 }
2585 } 2585 }
2586 2586
(...skipping 14 matching lines...) Expand all
2601 2601
2602 CreativeFilteringReasons.fromJson(core.Map _json) { 2602 CreativeFilteringReasons.fromJson(core.Map _json) {
2603 if (_json.containsKey("date")) { 2603 if (_json.containsKey("date")) {
2604 date = _json["date"]; 2604 date = _json["date"];
2605 } 2605 }
2606 if (_json.containsKey("reasons")) { 2606 if (_json.containsKey("reasons")) {
2607 reasons = _json["reasons"].map((value) => new CreativeFilteringReasonsReas ons.fromJson(value)).toList(); 2607 reasons = _json["reasons"].map((value) => new CreativeFilteringReasonsReas ons.fromJson(value)).toList();
2608 } 2608 }
2609 } 2609 }
2610 2610
2611 core.Map toJson() { 2611 core.Map<core.String, core.Object> toJson() {
2612 var _json = new core.Map(); 2612 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2613 if (date != null) { 2613 if (date != null) {
2614 _json["date"] = date; 2614 _json["date"] = date;
2615 } 2615 }
2616 if (reasons != null) { 2616 if (reasons != null) {
2617 _json["reasons"] = reasons.map((value) => (value).toJson()).toList(); 2617 _json["reasons"] = reasons.map((value) => (value).toJson()).toList();
2618 } 2618 }
2619 return _json; 2619 return _json;
2620 } 2620 }
2621 } 2621 }
2622 2622
(...skipping 10 matching lines...) Expand all
2633 height = _json["height"]; 2633 height = _json["height"];
2634 } 2634 }
2635 if (_json.containsKey("url")) { 2635 if (_json.containsKey("url")) {
2636 url = _json["url"]; 2636 url = _json["url"];
2637 } 2637 }
2638 if (_json.containsKey("width")) { 2638 if (_json.containsKey("width")) {
2639 width = _json["width"]; 2639 width = _json["width"];
2640 } 2640 }
2641 } 2641 }
2642 2642
2643 core.Map toJson() { 2643 core.Map<core.String, core.Object> toJson() {
2644 var _json = new core.Map(); 2644 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2645 if (height != null) { 2645 if (height != null) {
2646 _json["height"] = height; 2646 _json["height"] = height;
2647 } 2647 }
2648 if (url != null) { 2648 if (url != null) {
2649 _json["url"] = url; 2649 _json["url"] = url;
2650 } 2650 }
2651 if (width != null) { 2651 if (width != null) {
2652 _json["width"] = width; 2652 _json["width"] = width;
2653 } 2653 }
2654 return _json; 2654 return _json;
(...skipping 13 matching lines...) Expand all
2668 height = _json["height"]; 2668 height = _json["height"];
2669 } 2669 }
2670 if (_json.containsKey("url")) { 2670 if (_json.containsKey("url")) {
2671 url = _json["url"]; 2671 url = _json["url"];
2672 } 2672 }
2673 if (_json.containsKey("width")) { 2673 if (_json.containsKey("width")) {
2674 width = _json["width"]; 2674 width = _json["width"];
2675 } 2675 }
2676 } 2676 }
2677 2677
2678 core.Map toJson() { 2678 core.Map<core.String, core.Object> toJson() {
2679 var _json = new core.Map(); 2679 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2680 if (height != null) { 2680 if (height != null) {
2681 _json["height"] = height; 2681 _json["height"] = height;
2682 } 2682 }
2683 if (url != null) { 2683 if (url != null) {
2684 _json["url"] = url; 2684 _json["url"] = url;
2685 } 2685 }
2686 if (width != null) { 2686 if (width != null) {
2687 _json["width"] = width; 2687 _json["width"] = width;
2688 } 2688 }
2689 return _json; 2689 return _json;
(...skipping 13 matching lines...) Expand all
2703 height = _json["height"]; 2703 height = _json["height"];
2704 } 2704 }
2705 if (_json.containsKey("url")) { 2705 if (_json.containsKey("url")) {
2706 url = _json["url"]; 2706 url = _json["url"];
2707 } 2707 }
2708 if (_json.containsKey("width")) { 2708 if (_json.containsKey("width")) {
2709 width = _json["width"]; 2709 width = _json["width"];
2710 } 2710 }
2711 } 2711 }
2712 2712
2713 core.Map toJson() { 2713 core.Map<core.String, core.Object> toJson() {
2714 var _json = new core.Map(); 2714 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2715 if (height != null) { 2715 if (height != null) {
2716 _json["height"] = height; 2716 _json["height"] = height;
2717 } 2717 }
2718 if (url != null) { 2718 if (url != null) {
2719 _json["url"] = url; 2719 _json["url"] = url;
2720 } 2720 }
2721 if (width != null) { 2721 if (width != null) {
2722 _json["width"] = width; 2722 _json["width"] = width;
2723 } 2723 }
2724 return _json; 2724 return _json;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
2801 starRating = _json["starRating"]; 2801 starRating = _json["starRating"];
2802 } 2802 }
2803 if (_json.containsKey("store")) { 2803 if (_json.containsKey("store")) {
2804 store = _json["store"]; 2804 store = _json["store"];
2805 } 2805 }
2806 if (_json.containsKey("videoURL")) { 2806 if (_json.containsKey("videoURL")) {
2807 videoURL = _json["videoURL"]; 2807 videoURL = _json["videoURL"];
2808 } 2808 }
2809 } 2809 }
2810 2810
2811 core.Map toJson() { 2811 core.Map<core.String, core.Object> toJson() {
2812 var _json = new core.Map(); 2812 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2813 if (advertiser != null) { 2813 if (advertiser != null) {
2814 _json["advertiser"] = advertiser; 2814 _json["advertiser"] = advertiser;
2815 } 2815 }
2816 if (appIcon != null) { 2816 if (appIcon != null) {
2817 _json["appIcon"] = (appIcon).toJson(); 2817 _json["appIcon"] = (appIcon).toJson();
2818 } 2818 }
2819 if (body != null) { 2819 if (body != null) {
2820 _json["body"] = body; 2820 _json["body"] = body;
2821 } 2821 }
2822 if (callToAction != null) { 2822 if (callToAction != null) {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
2889 contextType = _json["contextType"]; 2889 contextType = _json["contextType"];
2890 } 2890 }
2891 if (_json.containsKey("geoCriteriaId")) { 2891 if (_json.containsKey("geoCriteriaId")) {
2892 geoCriteriaId = _json["geoCriteriaId"]; 2892 geoCriteriaId = _json["geoCriteriaId"];
2893 } 2893 }
2894 if (_json.containsKey("platform")) { 2894 if (_json.containsKey("platform")) {
2895 platform = _json["platform"]; 2895 platform = _json["platform"];
2896 } 2896 }
2897 } 2897 }
2898 2898
2899 core.Map toJson() { 2899 core.Map<core.String, core.Object> toJson() {
2900 var _json = new core.Map(); 2900 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2901 if (auctionType != null) { 2901 if (auctionType != null) {
2902 _json["auctionType"] = auctionType; 2902 _json["auctionType"] = auctionType;
2903 } 2903 }
2904 if (contextType != null) { 2904 if (contextType != null) {
2905 _json["contextType"] = contextType; 2905 _json["contextType"] = contextType;
2906 } 2906 }
2907 if (geoCriteriaId != null) { 2907 if (geoCriteriaId != null) {
2908 _json["geoCriteriaId"] = geoCriteriaId; 2908 _json["geoCriteriaId"] = geoCriteriaId;
2909 } 2909 }
2910 if (platform != null) { 2910 if (platform != null) {
(...skipping 13 matching lines...) Expand all
2924 2924
2925 CreativeServingRestrictionsDisapprovalReasons.fromJson(core.Map _json) { 2925 CreativeServingRestrictionsDisapprovalReasons.fromJson(core.Map _json) {
2926 if (_json.containsKey("details")) { 2926 if (_json.containsKey("details")) {
2927 details = _json["details"]; 2927 details = _json["details"];
2928 } 2928 }
2929 if (_json.containsKey("reason")) { 2929 if (_json.containsKey("reason")) {
2930 reason = _json["reason"]; 2930 reason = _json["reason"];
2931 } 2931 }
2932 } 2932 }
2933 2933
2934 core.Map toJson() { 2934 core.Map<core.String, core.Object> toJson() {
2935 var _json = new core.Map(); 2935 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2936 if (details != null) { 2936 if (details != null) {
2937 _json["details"] = details; 2937 _json["details"] = details;
2938 } 2938 }
2939 if (reason != null) { 2939 if (reason != null) {
2940 _json["reason"] = reason; 2940 _json["reason"] = reason;
2941 } 2941 }
2942 return _json; 2942 return _json;
2943 } 2943 }
2944 } 2944 }
2945 2945
(...skipping 21 matching lines...) Expand all
2967 contexts = _json["contexts"].map((value) => new CreativeServingRestriction sContexts.fromJson(value)).toList(); 2967 contexts = _json["contexts"].map((value) => new CreativeServingRestriction sContexts.fromJson(value)).toList();
2968 } 2968 }
2969 if (_json.containsKey("disapprovalReasons")) { 2969 if (_json.containsKey("disapprovalReasons")) {
2970 disapprovalReasons = _json["disapprovalReasons"].map((value) => new Creati veServingRestrictionsDisapprovalReasons.fromJson(value)).toList(); 2970 disapprovalReasons = _json["disapprovalReasons"].map((value) => new Creati veServingRestrictionsDisapprovalReasons.fromJson(value)).toList();
2971 } 2971 }
2972 if (_json.containsKey("reason")) { 2972 if (_json.containsKey("reason")) {
2973 reason = _json["reason"]; 2973 reason = _json["reason"];
2974 } 2974 }
2975 } 2975 }
2976 2976
2977 core.Map toJson() { 2977 core.Map<core.String, core.Object> toJson() {
2978 var _json = new core.Map(); 2978 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2979 if (contexts != null) { 2979 if (contexts != null) {
2980 _json["contexts"] = contexts.map((value) => (value).toJson()).toList(); 2980 _json["contexts"] = contexts.map((value) => (value).toJson()).toList();
2981 } 2981 }
2982 if (disapprovalReasons != null) { 2982 if (disapprovalReasons != null) {
2983 _json["disapprovalReasons"] = disapprovalReasons.map((value) => (value).to Json()).toList(); 2983 _json["disapprovalReasons"] = disapprovalReasons.map((value) => (value).to Json()).toList();
2984 } 2984 }
2985 if (reason != null) { 2985 if (reason != null) {
2986 _json["reason"] = reason; 2986 _json["reason"] = reason;
2987 } 2987 }
2988 return _json; 2988 return _json;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
3204 version = _json["version"]; 3204 version = _json["version"];
3205 } 3205 }
3206 if (_json.containsKey("videoURL")) { 3206 if (_json.containsKey("videoURL")) {
3207 videoURL = _json["videoURL"]; 3207 videoURL = _json["videoURL"];
3208 } 3208 }
3209 if (_json.containsKey("width")) { 3209 if (_json.containsKey("width")) {
3210 width = _json["width"]; 3210 width = _json["width"];
3211 } 3211 }
3212 } 3212 }
3213 3213
3214 core.Map toJson() { 3214 core.Map<core.String, core.Object> toJson() {
3215 var _json = new core.Map(); 3215 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3216 if (HTMLSnippet != null) { 3216 if (HTMLSnippet != null) {
3217 _json["HTMLSnippet"] = HTMLSnippet; 3217 _json["HTMLSnippet"] = HTMLSnippet;
3218 } 3218 }
3219 if (accountId != null) { 3219 if (accountId != null) {
3220 _json["accountId"] = accountId; 3220 _json["accountId"] = accountId;
3221 } 3221 }
3222 if (adChoicesDestinationUrl != null) { 3222 if (adChoicesDestinationUrl != null) {
3223 _json["adChoicesDestinationUrl"] = adChoicesDestinationUrl; 3223 _json["adChoicesDestinationUrl"] = adChoicesDestinationUrl;
3224 } 3224 }
3225 if (advertiserId != null) { 3225 if (advertiserId != null) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
3316 arcStatus = _json["arcStatus"]; 3316 arcStatus = _json["arcStatus"];
3317 } 3317 }
3318 if (_json.containsKey("dealId")) { 3318 if (_json.containsKey("dealId")) {
3319 dealId = _json["dealId"]; 3319 dealId = _json["dealId"];
3320 } 3320 }
3321 if (_json.containsKey("webPropertyId")) { 3321 if (_json.containsKey("webPropertyId")) {
3322 webPropertyId = _json["webPropertyId"]; 3322 webPropertyId = _json["webPropertyId"];
3323 } 3323 }
3324 } 3324 }
3325 3325
3326 core.Map toJson() { 3326 core.Map<core.String, core.Object> toJson() {
3327 var _json = new core.Map(); 3327 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3328 if (arcStatus != null) { 3328 if (arcStatus != null) {
3329 _json["arcStatus"] = arcStatus; 3329 _json["arcStatus"] = arcStatus;
3330 } 3330 }
3331 if (dealId != null) { 3331 if (dealId != null) {
3332 _json["dealId"] = dealId; 3332 _json["dealId"] = dealId;
3333 } 3333 }
3334 if (webPropertyId != null) { 3334 if (webPropertyId != null) {
3335 _json["webPropertyId"] = webPropertyId; 3335 _json["webPropertyId"] = webPropertyId;
3336 } 3336 }
3337 return _json; 3337 return _json;
(...skipping 11 matching lines...) Expand all
3349 3349
3350 CreativeDealIds.fromJson(core.Map _json) { 3350 CreativeDealIds.fromJson(core.Map _json) {
3351 if (_json.containsKey("dealStatuses")) { 3351 if (_json.containsKey("dealStatuses")) {
3352 dealStatuses = _json["dealStatuses"].map((value) => new CreativeDealIdsDea lStatuses.fromJson(value)).toList(); 3352 dealStatuses = _json["dealStatuses"].map((value) => new CreativeDealIdsDea lStatuses.fromJson(value)).toList();
3353 } 3353 }
3354 if (_json.containsKey("kind")) { 3354 if (_json.containsKey("kind")) {
3355 kind = _json["kind"]; 3355 kind = _json["kind"];
3356 } 3356 }
3357 } 3357 }
3358 3358
3359 core.Map toJson() { 3359 core.Map<core.String, core.Object> toJson() {
3360 var _json = new core.Map(); 3360 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3361 if (dealStatuses != null) { 3361 if (dealStatuses != null) {
3362 _json["dealStatuses"] = dealStatuses.map((value) => (value).toJson()).toLi st(); 3362 _json["dealStatuses"] = dealStatuses.map((value) => (value).toJson()).toLi st();
3363 } 3363 }
3364 if (kind != null) { 3364 if (kind != null) {
3365 _json["kind"] = kind; 3365 _json["kind"] = kind;
3366 } 3366 }
3367 return _json; 3367 return _json;
3368 } 3368 }
3369 } 3369 }
3370 3370
(...skipping 20 matching lines...) Expand all
3391 items = _json["items"].map((value) => new Creative.fromJson(value)).toList (); 3391 items = _json["items"].map((value) => new Creative.fromJson(value)).toList ();
3392 } 3392 }
3393 if (_json.containsKey("kind")) { 3393 if (_json.containsKey("kind")) {
3394 kind = _json["kind"]; 3394 kind = _json["kind"];
3395 } 3395 }
3396 if (_json.containsKey("nextPageToken")) { 3396 if (_json.containsKey("nextPageToken")) {
3397 nextPageToken = _json["nextPageToken"]; 3397 nextPageToken = _json["nextPageToken"];
3398 } 3398 }
3399 } 3399 }
3400 3400
3401 core.Map toJson() { 3401 core.Map<core.String, core.Object> toJson() {
3402 var _json = new core.Map(); 3402 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3403 if (items != null) { 3403 if (items != null) {
3404 _json["items"] = items.map((value) => (value).toJson()).toList(); 3404 _json["items"] = items.map((value) => (value).toJson()).toList();
3405 } 3405 }
3406 if (kind != null) { 3406 if (kind != null) {
3407 _json["kind"] = kind; 3407 _json["kind"] = kind;
3408 } 3408 }
3409 if (nextPageToken != null) { 3409 if (nextPageToken != null) {
3410 _json["nextPageToken"] = nextPageToken; 3410 _json["nextPageToken"] = nextPageToken;
3411 } 3411 }
3412 return _json; 3412 return _json;
(...skipping 17 matching lines...) Expand all
3430 3430
3431 DealServingMetadata.fromJson(core.Map _json) { 3431 DealServingMetadata.fromJson(core.Map _json) {
3432 if (_json.containsKey("alcoholAdsAllowed")) { 3432 if (_json.containsKey("alcoholAdsAllowed")) {
3433 alcoholAdsAllowed = _json["alcoholAdsAllowed"]; 3433 alcoholAdsAllowed = _json["alcoholAdsAllowed"];
3434 } 3434 }
3435 if (_json.containsKey("dealPauseStatus")) { 3435 if (_json.containsKey("dealPauseStatus")) {
3436 dealPauseStatus = new DealServingMetadataDealPauseStatus.fromJson(_json["d ealPauseStatus"]); 3436 dealPauseStatus = new DealServingMetadataDealPauseStatus.fromJson(_json["d ealPauseStatus"]);
3437 } 3437 }
3438 } 3438 }
3439 3439
3440 core.Map toJson() { 3440 core.Map<core.String, core.Object> toJson() {
3441 var _json = new core.Map(); 3441 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3442 if (alcoholAdsAllowed != null) { 3442 if (alcoholAdsAllowed != null) {
3443 _json["alcoholAdsAllowed"] = alcoholAdsAllowed; 3443 _json["alcoholAdsAllowed"] = alcoholAdsAllowed;
3444 } 3444 }
3445 if (dealPauseStatus != null) { 3445 if (dealPauseStatus != null) {
3446 _json["dealPauseStatus"] = (dealPauseStatus).toJson(); 3446 _json["dealPauseStatus"] = (dealPauseStatus).toJson();
3447 } 3447 }
3448 return _json; 3448 return _json;
3449 } 3449 }
3450 } 3450 }
3451 3451
(...skipping 23 matching lines...) Expand all
3475 hasBuyerPaused = _json["hasBuyerPaused"]; 3475 hasBuyerPaused = _json["hasBuyerPaused"];
3476 } 3476 }
3477 if (_json.containsKey("hasSellerPaused")) { 3477 if (_json.containsKey("hasSellerPaused")) {
3478 hasSellerPaused = _json["hasSellerPaused"]; 3478 hasSellerPaused = _json["hasSellerPaused"];
3479 } 3479 }
3480 if (_json.containsKey("sellerPauseReason")) { 3480 if (_json.containsKey("sellerPauseReason")) {
3481 sellerPauseReason = _json["sellerPauseReason"]; 3481 sellerPauseReason = _json["sellerPauseReason"];
3482 } 3482 }
3483 } 3483 }
3484 3484
3485 core.Map toJson() { 3485 core.Map<core.String, core.Object> toJson() {
3486 var _json = new core.Map(); 3486 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3487 if (buyerPauseReason != null) { 3487 if (buyerPauseReason != null) {
3488 _json["buyerPauseReason"] = buyerPauseReason; 3488 _json["buyerPauseReason"] = buyerPauseReason;
3489 } 3489 }
3490 if (firstPausedBy != null) { 3490 if (firstPausedBy != null) {
3491 _json["firstPausedBy"] = firstPausedBy; 3491 _json["firstPausedBy"] = firstPausedBy;
3492 } 3492 }
3493 if (hasBuyerPaused != null) { 3493 if (hasBuyerPaused != null) {
3494 _json["hasBuyerPaused"] = hasBuyerPaused; 3494 _json["hasBuyerPaused"] = hasBuyerPaused;
3495 } 3495 }
3496 if (hasSellerPaused != null) { 3496 if (hasSellerPaused != null) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
3566 nonGuaranteedFixedPriceTerms = new DealTermsNonGuaranteedFixedPriceTerms.f romJson(_json["nonGuaranteedFixedPriceTerms"]); 3566 nonGuaranteedFixedPriceTerms = new DealTermsNonGuaranteedFixedPriceTerms.f romJson(_json["nonGuaranteedFixedPriceTerms"]);
3567 } 3567 }
3568 if (_json.containsKey("rubiconNonGuaranteedTerms")) { 3568 if (_json.containsKey("rubiconNonGuaranteedTerms")) {
3569 rubiconNonGuaranteedTerms = new DealTermsRubiconNonGuaranteedTerms.fromJso n(_json["rubiconNonGuaranteedTerms"]); 3569 rubiconNonGuaranteedTerms = new DealTermsRubiconNonGuaranteedTerms.fromJso n(_json["rubiconNonGuaranteedTerms"]);
3570 } 3570 }
3571 if (_json.containsKey("sellerTimeZone")) { 3571 if (_json.containsKey("sellerTimeZone")) {
3572 sellerTimeZone = _json["sellerTimeZone"]; 3572 sellerTimeZone = _json["sellerTimeZone"];
3573 } 3573 }
3574 } 3574 }
3575 3575
3576 core.Map toJson() { 3576 core.Map<core.String, core.Object> toJson() {
3577 var _json = new core.Map(); 3577 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3578 if (brandingType != null) { 3578 if (brandingType != null) {
3579 _json["brandingType"] = brandingType; 3579 _json["brandingType"] = brandingType;
3580 } 3580 }
3581 if (crossListedExternalDealIdType != null) { 3581 if (crossListedExternalDealIdType != null) {
3582 _json["crossListedExternalDealIdType"] = crossListedExternalDealIdType; 3582 _json["crossListedExternalDealIdType"] = crossListedExternalDealIdType;
3583 } 3583 }
3584 if (description != null) { 3584 if (description != null) {
3585 _json["description"] = description; 3585 _json["description"] = description;
3586 } 3586 }
3587 if (estimatedGrossSpend != null) { 3587 if (estimatedGrossSpend != null) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3646 guaranteedImpressions = _json["guaranteedImpressions"]; 3646 guaranteedImpressions = _json["guaranteedImpressions"];
3647 } 3647 }
3648 if (_json.containsKey("guaranteedLooks")) { 3648 if (_json.containsKey("guaranteedLooks")) {
3649 guaranteedLooks = _json["guaranteedLooks"]; 3649 guaranteedLooks = _json["guaranteedLooks"];
3650 } 3650 }
3651 if (_json.containsKey("minimumDailyLooks")) { 3651 if (_json.containsKey("minimumDailyLooks")) {
3652 minimumDailyLooks = _json["minimumDailyLooks"]; 3652 minimumDailyLooks = _json["minimumDailyLooks"];
3653 } 3653 }
3654 } 3654 }
3655 3655
3656 core.Map toJson() { 3656 core.Map<core.String, core.Object> toJson() {
3657 var _json = new core.Map(); 3657 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3658 if (billingInfo != null) { 3658 if (billingInfo != null) {
3659 _json["billingInfo"] = (billingInfo).toJson(); 3659 _json["billingInfo"] = (billingInfo).toJson();
3660 } 3660 }
3661 if (fixedPrices != null) { 3661 if (fixedPrices != null) {
3662 _json["fixedPrices"] = fixedPrices.map((value) => (value).toJson()).toList (); 3662 _json["fixedPrices"] = fixedPrices.map((value) => (value).toJson()).toList ();
3663 } 3663 }
3664 if (guaranteedImpressions != null) { 3664 if (guaranteedImpressions != null) {
3665 _json["guaranteedImpressions"] = guaranteedImpressions; 3665 _json["guaranteedImpressions"] = guaranteedImpressions;
3666 } 3666 }
3667 if (guaranteedLooks != null) { 3667 if (guaranteedLooks != null) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
3709 dfpLineItemId = _json["dfpLineItemId"]; 3709 dfpLineItemId = _json["dfpLineItemId"];
3710 } 3710 }
3711 if (_json.containsKey("originalContractedQuantity")) { 3711 if (_json.containsKey("originalContractedQuantity")) {
3712 originalContractedQuantity = _json["originalContractedQuantity"]; 3712 originalContractedQuantity = _json["originalContractedQuantity"];
3713 } 3713 }
3714 if (_json.containsKey("price")) { 3714 if (_json.containsKey("price")) {
3715 price = new Price.fromJson(_json["price"]); 3715 price = new Price.fromJson(_json["price"]);
3716 } 3716 }
3717 } 3717 }
3718 3718
3719 core.Map toJson() { 3719 core.Map<core.String, core.Object> toJson() {
3720 var _json = new core.Map(); 3720 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3721 if (currencyConversionTimeMs != null) { 3721 if (currencyConversionTimeMs != null) {
3722 _json["currencyConversionTimeMs"] = currencyConversionTimeMs; 3722 _json["currencyConversionTimeMs"] = currencyConversionTimeMs;
3723 } 3723 }
3724 if (dfpLineItemId != null) { 3724 if (dfpLineItemId != null) {
3725 _json["dfpLineItemId"] = dfpLineItemId; 3725 _json["dfpLineItemId"] = dfpLineItemId;
3726 } 3726 }
3727 if (originalContractedQuantity != null) { 3727 if (originalContractedQuantity != null) {
3728 _json["originalContractedQuantity"] = originalContractedQuantity; 3728 _json["originalContractedQuantity"] = originalContractedQuantity;
3729 } 3729 }
3730 if (price != null) { 3730 if (price != null) {
(...skipping 16 matching lines...) Expand all
3747 3747
3748 DealTermsNonGuaranteedAuctionTerms.fromJson(core.Map _json) { 3748 DealTermsNonGuaranteedAuctionTerms.fromJson(core.Map _json) {
3749 if (_json.containsKey("autoOptimizePrivateAuction")) { 3749 if (_json.containsKey("autoOptimizePrivateAuction")) {
3750 autoOptimizePrivateAuction = _json["autoOptimizePrivateAuction"]; 3750 autoOptimizePrivateAuction = _json["autoOptimizePrivateAuction"];
3751 } 3751 }
3752 if (_json.containsKey("reservePricePerBuyers")) { 3752 if (_json.containsKey("reservePricePerBuyers")) {
3753 reservePricePerBuyers = _json["reservePricePerBuyers"].map((value) => new PricePerBuyer.fromJson(value)).toList(); 3753 reservePricePerBuyers = _json["reservePricePerBuyers"].map((value) => new PricePerBuyer.fromJson(value)).toList();
3754 } 3754 }
3755 } 3755 }
3756 3756
3757 core.Map toJson() { 3757 core.Map<core.String, core.Object> toJson() {
3758 var _json = new core.Map(); 3758 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3759 if (autoOptimizePrivateAuction != null) { 3759 if (autoOptimizePrivateAuction != null) {
3760 _json["autoOptimizePrivateAuction"] = autoOptimizePrivateAuction; 3760 _json["autoOptimizePrivateAuction"] = autoOptimizePrivateAuction;
3761 } 3761 }
3762 if (reservePricePerBuyers != null) { 3762 if (reservePricePerBuyers != null) {
3763 _json["reservePricePerBuyers"] = reservePricePerBuyers.map((value) => (val ue).toJson()).toList(); 3763 _json["reservePricePerBuyers"] = reservePricePerBuyers.map((value) => (val ue).toJson()).toList();
3764 } 3764 }
3765 return _json; 3765 return _json;
3766 } 3766 }
3767 } 3767 }
3768 3768
3769 class DealTermsNonGuaranteedFixedPriceTerms { 3769 class DealTermsNonGuaranteedFixedPriceTerms {
3770 /** Fixed price for the specified buyer. */ 3770 /** Fixed price for the specified buyer. */
3771 core.List<PricePerBuyer> fixedPrices; 3771 core.List<PricePerBuyer> fixedPrices;
3772 3772
3773 DealTermsNonGuaranteedFixedPriceTerms(); 3773 DealTermsNonGuaranteedFixedPriceTerms();
3774 3774
3775 DealTermsNonGuaranteedFixedPriceTerms.fromJson(core.Map _json) { 3775 DealTermsNonGuaranteedFixedPriceTerms.fromJson(core.Map _json) {
3776 if (_json.containsKey("fixedPrices")) { 3776 if (_json.containsKey("fixedPrices")) {
3777 fixedPrices = _json["fixedPrices"].map((value) => new PricePerBuyer.fromJs on(value)).toList(); 3777 fixedPrices = _json["fixedPrices"].map((value) => new PricePerBuyer.fromJs on(value)).toList();
3778 } 3778 }
3779 } 3779 }
3780 3780
3781 core.Map toJson() { 3781 core.Map<core.String, core.Object> toJson() {
3782 var _json = new core.Map(); 3782 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3783 if (fixedPrices != null) { 3783 if (fixedPrices != null) {
3784 _json["fixedPrices"] = fixedPrices.map((value) => (value).toJson()).toList (); 3784 _json["fixedPrices"] = fixedPrices.map((value) => (value).toJson()).toList ();
3785 } 3785 }
3786 return _json; 3786 return _json;
3787 } 3787 }
3788 } 3788 }
3789 3789
3790 class DealTermsRubiconNonGuaranteedTerms { 3790 class DealTermsRubiconNonGuaranteedTerms {
3791 /** Optional price for Rubicon priority access in the auction. */ 3791 /** Optional price for Rubicon priority access in the auction. */
3792 Price priorityPrice; 3792 Price priorityPrice;
3793 /** Optional price for Rubicon standard access in the auction. */ 3793 /** Optional price for Rubicon standard access in the auction. */
3794 Price standardPrice; 3794 Price standardPrice;
3795 3795
3796 DealTermsRubiconNonGuaranteedTerms(); 3796 DealTermsRubiconNonGuaranteedTerms();
3797 3797
3798 DealTermsRubiconNonGuaranteedTerms.fromJson(core.Map _json) { 3798 DealTermsRubiconNonGuaranteedTerms.fromJson(core.Map _json) {
3799 if (_json.containsKey("priorityPrice")) { 3799 if (_json.containsKey("priorityPrice")) {
3800 priorityPrice = new Price.fromJson(_json["priorityPrice"]); 3800 priorityPrice = new Price.fromJson(_json["priorityPrice"]);
3801 } 3801 }
3802 if (_json.containsKey("standardPrice")) { 3802 if (_json.containsKey("standardPrice")) {
3803 standardPrice = new Price.fromJson(_json["standardPrice"]); 3803 standardPrice = new Price.fromJson(_json["standardPrice"]);
3804 } 3804 }
3805 } 3805 }
3806 3806
3807 core.Map toJson() { 3807 core.Map<core.String, core.Object> toJson() {
3808 var _json = new core.Map(); 3808 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3809 if (priorityPrice != null) { 3809 if (priorityPrice != null) {
3810 _json["priorityPrice"] = (priorityPrice).toJson(); 3810 _json["priorityPrice"] = (priorityPrice).toJson();
3811 } 3811 }
3812 if (standardPrice != null) { 3812 if (standardPrice != null) {
3813 _json["standardPrice"] = (standardPrice).toJson(); 3813 _json["standardPrice"] = (standardPrice).toJson();
3814 } 3814 }
3815 return _json; 3815 return _json;
3816 } 3816 }
3817 } 3817 }
3818 3818
(...skipping 12 matching lines...) Expand all
3831 dealIds = _json["dealIds"]; 3831 dealIds = _json["dealIds"];
3832 } 3832 }
3833 if (_json.containsKey("proposalRevisionNumber")) { 3833 if (_json.containsKey("proposalRevisionNumber")) {
3834 proposalRevisionNumber = _json["proposalRevisionNumber"]; 3834 proposalRevisionNumber = _json["proposalRevisionNumber"];
3835 } 3835 }
3836 if (_json.containsKey("updateAction")) { 3836 if (_json.containsKey("updateAction")) {
3837 updateAction = _json["updateAction"]; 3837 updateAction = _json["updateAction"];
3838 } 3838 }
3839 } 3839 }
3840 3840
3841 core.Map toJson() { 3841 core.Map<core.String, core.Object> toJson() {
3842 var _json = new core.Map(); 3842 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3843 if (dealIds != null) { 3843 if (dealIds != null) {
3844 _json["dealIds"] = dealIds; 3844 _json["dealIds"] = dealIds;
3845 } 3845 }
3846 if (proposalRevisionNumber != null) { 3846 if (proposalRevisionNumber != null) {
3847 _json["proposalRevisionNumber"] = proposalRevisionNumber; 3847 _json["proposalRevisionNumber"] = proposalRevisionNumber;
3848 } 3848 }
3849 if (updateAction != null) { 3849 if (updateAction != null) {
3850 _json["updateAction"] = updateAction; 3850 _json["updateAction"] = updateAction;
3851 } 3851 }
3852 return _json; 3852 return _json;
(...skipping 10 matching lines...) Expand all
3863 3863
3864 DeleteOrderDealsResponse.fromJson(core.Map _json) { 3864 DeleteOrderDealsResponse.fromJson(core.Map _json) {
3865 if (_json.containsKey("deals")) { 3865 if (_json.containsKey("deals")) {
3866 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList(); 3866 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList();
3867 } 3867 }
3868 if (_json.containsKey("proposalRevisionNumber")) { 3868 if (_json.containsKey("proposalRevisionNumber")) {
3869 proposalRevisionNumber = _json["proposalRevisionNumber"]; 3869 proposalRevisionNumber = _json["proposalRevisionNumber"];
3870 } 3870 }
3871 } 3871 }
3872 3872
3873 core.Map toJson() { 3873 core.Map<core.String, core.Object> toJson() {
3874 var _json = new core.Map(); 3874 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3875 if (deals != null) { 3875 if (deals != null) {
3876 _json["deals"] = deals.map((value) => (value).toJson()).toList(); 3876 _json["deals"] = deals.map((value) => (value).toJson()).toList();
3877 } 3877 }
3878 if (proposalRevisionNumber != null) { 3878 if (proposalRevisionNumber != null) {
3879 _json["proposalRevisionNumber"] = proposalRevisionNumber; 3879 _json["proposalRevisionNumber"] = proposalRevisionNumber;
3880 } 3880 }
3881 return _json; 3881 return _json;
3882 } 3882 }
3883 } 3883 }
3884 3884
3885 class DeliveryControl { 3885 class DeliveryControl {
3886 core.String creativeBlockingLevel; 3886 core.String creativeBlockingLevel;
3887 core.String deliveryRateType; 3887 core.String deliveryRateType;
3888 core.List<DeliveryControlFrequencyCap> frequencyCaps; 3888 core.List<DeliveryControlFrequencyCap> frequencyCaps;
3889 3889
3890 DeliveryControl(); 3890 DeliveryControl();
3891 3891
3892 DeliveryControl.fromJson(core.Map _json) { 3892 DeliveryControl.fromJson(core.Map _json) {
3893 if (_json.containsKey("creativeBlockingLevel")) { 3893 if (_json.containsKey("creativeBlockingLevel")) {
3894 creativeBlockingLevel = _json["creativeBlockingLevel"]; 3894 creativeBlockingLevel = _json["creativeBlockingLevel"];
3895 } 3895 }
3896 if (_json.containsKey("deliveryRateType")) { 3896 if (_json.containsKey("deliveryRateType")) {
3897 deliveryRateType = _json["deliveryRateType"]; 3897 deliveryRateType = _json["deliveryRateType"];
3898 } 3898 }
3899 if (_json.containsKey("frequencyCaps")) { 3899 if (_json.containsKey("frequencyCaps")) {
3900 frequencyCaps = _json["frequencyCaps"].map((value) => new DeliveryControlF requencyCap.fromJson(value)).toList(); 3900 frequencyCaps = _json["frequencyCaps"].map((value) => new DeliveryControlF requencyCap.fromJson(value)).toList();
3901 } 3901 }
3902 } 3902 }
3903 3903
3904 core.Map toJson() { 3904 core.Map<core.String, core.Object> toJson() {
3905 var _json = new core.Map(); 3905 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3906 if (creativeBlockingLevel != null) { 3906 if (creativeBlockingLevel != null) {
3907 _json["creativeBlockingLevel"] = creativeBlockingLevel; 3907 _json["creativeBlockingLevel"] = creativeBlockingLevel;
3908 } 3908 }
3909 if (deliveryRateType != null) { 3909 if (deliveryRateType != null) {
3910 _json["deliveryRateType"] = deliveryRateType; 3910 _json["deliveryRateType"] = deliveryRateType;
3911 } 3911 }
3912 if (frequencyCaps != null) { 3912 if (frequencyCaps != null) {
3913 _json["frequencyCaps"] = frequencyCaps.map((value) => (value).toJson()).to List(); 3913 _json["frequencyCaps"] = frequencyCaps.map((value) => (value).toJson()).to List();
3914 } 3914 }
3915 return _json; 3915 return _json;
(...skipping 12 matching lines...) Expand all
3928 maxImpressions = _json["maxImpressions"]; 3928 maxImpressions = _json["maxImpressions"];
3929 } 3929 }
3930 if (_json.containsKey("numTimeUnits")) { 3930 if (_json.containsKey("numTimeUnits")) {
3931 numTimeUnits = _json["numTimeUnits"]; 3931 numTimeUnits = _json["numTimeUnits"];
3932 } 3932 }
3933 if (_json.containsKey("timeUnitType")) { 3933 if (_json.containsKey("timeUnitType")) {
3934 timeUnitType = _json["timeUnitType"]; 3934 timeUnitType = _json["timeUnitType"];
3935 } 3935 }
3936 } 3936 }
3937 3937
3938 core.Map toJson() { 3938 core.Map<core.String, core.Object> toJson() {
3939 var _json = new core.Map(); 3939 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3940 if (maxImpressions != null) { 3940 if (maxImpressions != null) {
3941 _json["maxImpressions"] = maxImpressions; 3941 _json["maxImpressions"] = maxImpressions;
3942 } 3942 }
3943 if (numTimeUnits != null) { 3943 if (numTimeUnits != null) {
3944 _json["numTimeUnits"] = numTimeUnits; 3944 _json["numTimeUnits"] = numTimeUnits;
3945 } 3945 }
3946 if (timeUnitType != null) { 3946 if (timeUnitType != null) {
3947 _json["timeUnitType"] = timeUnitType; 3947 _json["timeUnitType"] = timeUnitType;
3948 } 3948 }
3949 return _json; 3949 return _json;
(...skipping 13 matching lines...) Expand all
3963 3963
3964 Dimension.fromJson(core.Map _json) { 3964 Dimension.fromJson(core.Map _json) {
3965 if (_json.containsKey("dimensionType")) { 3965 if (_json.containsKey("dimensionType")) {
3966 dimensionType = _json["dimensionType"]; 3966 dimensionType = _json["dimensionType"];
3967 } 3967 }
3968 if (_json.containsKey("dimensionValues")) { 3968 if (_json.containsKey("dimensionValues")) {
3969 dimensionValues = _json["dimensionValues"].map((value) => new DimensionDim ensionValue.fromJson(value)).toList(); 3969 dimensionValues = _json["dimensionValues"].map((value) => new DimensionDim ensionValue.fromJson(value)).toList();
3970 } 3970 }
3971 } 3971 }
3972 3972
3973 core.Map toJson() { 3973 core.Map<core.String, core.Object> toJson() {
3974 var _json = new core.Map(); 3974 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3975 if (dimensionType != null) { 3975 if (dimensionType != null) {
3976 _json["dimensionType"] = dimensionType; 3976 _json["dimensionType"] = dimensionType;
3977 } 3977 }
3978 if (dimensionValues != null) { 3978 if (dimensionValues != null) {
3979 _json["dimensionValues"] = dimensionValues.map((value) => (value).toJson() ).toList(); 3979 _json["dimensionValues"] = dimensionValues.map((value) => (value).toJson() ).toList();
3980 } 3980 }
3981 return _json; 3981 return _json;
3982 } 3982 }
3983 } 3983 }
3984 3984
(...skipping 20 matching lines...) Expand all
4005 id = _json["id"]; 4005 id = _json["id"];
4006 } 4006 }
4007 if (_json.containsKey("name")) { 4007 if (_json.containsKey("name")) {
4008 name = _json["name"]; 4008 name = _json["name"];
4009 } 4009 }
4010 if (_json.containsKey("percentage")) { 4010 if (_json.containsKey("percentage")) {
4011 percentage = _json["percentage"]; 4011 percentage = _json["percentage"];
4012 } 4012 }
4013 } 4013 }
4014 4014
4015 core.Map toJson() { 4015 core.Map<core.String, core.Object> toJson() {
4016 var _json = new core.Map(); 4016 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4017 if (id != null) { 4017 if (id != null) {
4018 _json["id"] = id; 4018 _json["id"] = id;
4019 } 4019 }
4020 if (name != null) { 4020 if (name != null) {
4021 _json["name"] = name; 4021 _json["name"] = name;
4022 } 4022 }
4023 if (percentage != null) { 4023 if (percentage != null) {
4024 _json["percentage"] = percentage; 4024 _json["percentage"] = percentage;
4025 } 4025 }
4026 return _json; 4026 return _json;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
4063 proposal = new Proposal.fromJson(_json["proposal"]); 4063 proposal = new Proposal.fromJson(_json["proposal"]);
4064 } 4064 }
4065 if (_json.containsKey("proposalRevisionNumber")) { 4065 if (_json.containsKey("proposalRevisionNumber")) {
4066 proposalRevisionNumber = _json["proposalRevisionNumber"]; 4066 proposalRevisionNumber = _json["proposalRevisionNumber"];
4067 } 4067 }
4068 if (_json.containsKey("updateAction")) { 4068 if (_json.containsKey("updateAction")) {
4069 updateAction = _json["updateAction"]; 4069 updateAction = _json["updateAction"];
4070 } 4070 }
4071 } 4071 }
4072 4072
4073 core.Map toJson() { 4073 core.Map<core.String, core.Object> toJson() {
4074 var _json = new core.Map(); 4074 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4075 if (deals != null) { 4075 if (deals != null) {
4076 _json["deals"] = deals.map((value) => (value).toJson()).toList(); 4076 _json["deals"] = deals.map((value) => (value).toJson()).toList();
4077 } 4077 }
4078 if (proposal != null) { 4078 if (proposal != null) {
4079 _json["proposal"] = (proposal).toJson(); 4079 _json["proposal"] = (proposal).toJson();
4080 } 4080 }
4081 if (proposalRevisionNumber != null) { 4081 if (proposalRevisionNumber != null) {
4082 _json["proposalRevisionNumber"] = proposalRevisionNumber; 4082 _json["proposalRevisionNumber"] = proposalRevisionNumber;
4083 } 4083 }
4084 if (updateAction != null) { 4084 if (updateAction != null) {
(...skipping 13 matching lines...) Expand all
4098 4098
4099 EditAllOrderDealsResponse.fromJson(core.Map _json) { 4099 EditAllOrderDealsResponse.fromJson(core.Map _json) {
4100 if (_json.containsKey("deals")) { 4100 if (_json.containsKey("deals")) {
4101 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList(); 4101 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList();
4102 } 4102 }
4103 if (_json.containsKey("orderRevisionNumber")) { 4103 if (_json.containsKey("orderRevisionNumber")) {
4104 orderRevisionNumber = _json["orderRevisionNumber"]; 4104 orderRevisionNumber = _json["orderRevisionNumber"];
4105 } 4105 }
4106 } 4106 }
4107 4107
4108 core.Map toJson() { 4108 core.Map<core.String, core.Object> toJson() {
4109 var _json = new core.Map(); 4109 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4110 if (deals != null) { 4110 if (deals != null) {
4111 _json["deals"] = deals.map((value) => (value).toJson()).toList(); 4111 _json["deals"] = deals.map((value) => (value).toJson()).toList();
4112 } 4112 }
4113 if (orderRevisionNumber != null) { 4113 if (orderRevisionNumber != null) {
4114 _json["orderRevisionNumber"] = orderRevisionNumber; 4114 _json["orderRevisionNumber"] = orderRevisionNumber;
4115 } 4115 }
4116 return _json; 4116 return _json;
4117 } 4117 }
4118 } 4118 }
4119 4119
4120 class GetOffersResponse { 4120 class GetOffersResponse {
4121 /** The returned list of products. */ 4121 /** The returned list of products. */
4122 core.List<Product> products; 4122 core.List<Product> products;
4123 4123
4124 GetOffersResponse(); 4124 GetOffersResponse();
4125 4125
4126 GetOffersResponse.fromJson(core.Map _json) { 4126 GetOffersResponse.fromJson(core.Map _json) {
4127 if (_json.containsKey("products")) { 4127 if (_json.containsKey("products")) {
4128 products = _json["products"].map((value) => new Product.fromJson(value)).t oList(); 4128 products = _json["products"].map((value) => new Product.fromJson(value)).t oList();
4129 } 4129 }
4130 } 4130 }
4131 4131
4132 core.Map toJson() { 4132 core.Map<core.String, core.Object> toJson() {
4133 var _json = new core.Map(); 4133 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4134 if (products != null) { 4134 if (products != null) {
4135 _json["products"] = products.map((value) => (value).toJson()).toList(); 4135 _json["products"] = products.map((value) => (value).toJson()).toList();
4136 } 4136 }
4137 return _json; 4137 return _json;
4138 } 4138 }
4139 } 4139 }
4140 4140
4141 class GetOrderDealsResponse { 4141 class GetOrderDealsResponse {
4142 /** List of deals for the proposal */ 4142 /** List of deals for the proposal */
4143 core.List<MarketplaceDeal> deals; 4143 core.List<MarketplaceDeal> deals;
4144 4144
4145 GetOrderDealsResponse(); 4145 GetOrderDealsResponse();
4146 4146
4147 GetOrderDealsResponse.fromJson(core.Map _json) { 4147 GetOrderDealsResponse.fromJson(core.Map _json) {
4148 if (_json.containsKey("deals")) { 4148 if (_json.containsKey("deals")) {
4149 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList(); 4149 deals = _json["deals"].map((value) => new MarketplaceDeal.fromJson(value)) .toList();
4150 } 4150 }
4151 } 4151 }
4152 4152
4153 core.Map toJson() { 4153 core.Map<core.String, core.Object> toJson() {
4154 var _json = new core.Map(); 4154 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4155 if (deals != null) { 4155 if (deals != null) {
4156 _json["deals"] = deals.map((value) => (value).toJson()).toList(); 4156 _json["deals"] = deals.map((value) => (value).toJson()).toList();
4157 } 4157 }
4158 return _json; 4158 return _json;
4159 } 4159 }
4160 } 4160 }
4161 4161
4162 class GetOrderNotesResponse { 4162 class GetOrderNotesResponse {
4163 /** 4163 /**
4164 * The list of matching notes. The notes for a proposal are ordered from 4164 * The list of matching notes. The notes for a proposal are ordered from
4165 * oldest to newest. If the notes span multiple proposals, they will be 4165 * oldest to newest. If the notes span multiple proposals, they will be
4166 * grouped by proposal, with the notes for the most recently modified proposal 4166 * grouped by proposal, with the notes for the most recently modified proposal
4167 * appearing first. 4167 * appearing first.
4168 */ 4168 */
4169 core.List<MarketplaceNote> notes; 4169 core.List<MarketplaceNote> notes;
4170 4170
4171 GetOrderNotesResponse(); 4171 GetOrderNotesResponse();
4172 4172
4173 GetOrderNotesResponse.fromJson(core.Map _json) { 4173 GetOrderNotesResponse.fromJson(core.Map _json) {
4174 if (_json.containsKey("notes")) { 4174 if (_json.containsKey("notes")) {
4175 notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)) .toList(); 4175 notes = _json["notes"].map((value) => new MarketplaceNote.fromJson(value)) .toList();
4176 } 4176 }
4177 } 4177 }
4178 4178
4179 core.Map toJson() { 4179 core.Map<core.String, core.Object> toJson() {
4180 var _json = new core.Map(); 4180 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4181 if (notes != null) { 4181 if (notes != null) {
4182 _json["notes"] = notes.map((value) => (value).toJson()).toList(); 4182 _json["notes"] = notes.map((value) => (value).toJson()).toList();
4183 } 4183 }
4184 return _json; 4184 return _json;
4185 } 4185 }
4186 } 4186 }
4187 4187
4188 class GetOrdersResponse { 4188 class GetOrdersResponse {
4189 /** The list of matching proposals. */ 4189 /** The list of matching proposals. */
4190 core.List<Proposal> proposals; 4190 core.List<Proposal> proposals;
4191 4191
4192 GetOrdersResponse(); 4192 GetOrdersResponse();
4193 4193
4194 GetOrdersResponse.fromJson(core.Map _json) { 4194 GetOrdersResponse.fromJson(core.Map _json) {
4195 if (_json.containsKey("proposals")) { 4195 if (_json.containsKey("proposals")) {
4196 proposals = _json["proposals"].map((value) => new Proposal.fromJson(value) ).toList(); 4196 proposals = _json["proposals"].map((value) => new Proposal.fromJson(value) ).toList();
4197 } 4197 }
4198 } 4198 }
4199 4199
4200 core.Map toJson() { 4200 core.Map<core.String, core.Object> toJson() {
4201 var _json = new core.Map(); 4201 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4202 if (proposals != null) { 4202 if (proposals != null) {
4203 _json["proposals"] = proposals.map((value) => (value).toJson()).toList(); 4203 _json["proposals"] = proposals.map((value) => (value).toJson()).toList();
4204 } 4204 }
4205 return _json; 4205 return _json;
4206 } 4206 }
4207 } 4207 }
4208 4208
4209 class GetPublisherProfilesByAccountIdResponse { 4209 class GetPublisherProfilesByAccountIdResponse {
4210 /** Profiles for the requested publisher */ 4210 /** Profiles for the requested publisher */
4211 core.List<PublisherProfileApiProto> profiles; 4211 core.List<PublisherProfileApiProto> profiles;
4212 4212
4213 GetPublisherProfilesByAccountIdResponse(); 4213 GetPublisherProfilesByAccountIdResponse();
4214 4214
4215 GetPublisherProfilesByAccountIdResponse.fromJson(core.Map _json) { 4215 GetPublisherProfilesByAccountIdResponse.fromJson(core.Map _json) {
4216 if (_json.containsKey("profiles")) { 4216 if (_json.containsKey("profiles")) {
4217 profiles = _json["profiles"].map((value) => new PublisherProfileApiProto.f romJson(value)).toList(); 4217 profiles = _json["profiles"].map((value) => new PublisherProfileApiProto.f romJson(value)).toList();
4218 } 4218 }
4219 } 4219 }
4220 4220
4221 core.Map toJson() { 4221 core.Map<core.String, core.Object> toJson() {
4222 var _json = new core.Map(); 4222 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4223 if (profiles != null) { 4223 if (profiles != null) {
4224 _json["profiles"] = profiles.map((value) => (value).toJson()).toList(); 4224 _json["profiles"] = profiles.map((value) => (value).toJson()).toList();
4225 } 4225 }
4226 return _json; 4226 return _json;
4227 } 4227 }
4228 } 4228 }
4229 4229
4230 /** 4230 /**
4231 * A proposal can contain multiple deals. A deal contains the terms and 4231 * A proposal can contain multiple deals. A deal contains the terms and
4232 * targeting information that is used for serving. 4232 * targeting information that is used for serving.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
4398 syndicationProduct = _json["syndicationProduct"]; 4398 syndicationProduct = _json["syndicationProduct"];
4399 } 4399 }
4400 if (_json.containsKey("terms")) { 4400 if (_json.containsKey("terms")) {
4401 terms = new DealTerms.fromJson(_json["terms"]); 4401 terms = new DealTerms.fromJson(_json["terms"]);
4402 } 4402 }
4403 if (_json.containsKey("webPropertyCode")) { 4403 if (_json.containsKey("webPropertyCode")) {
4404 webPropertyCode = _json["webPropertyCode"]; 4404 webPropertyCode = _json["webPropertyCode"];
4405 } 4405 }
4406 } 4406 }
4407 4407
4408 core.Map toJson() { 4408 core.Map<core.String, core.Object> toJson() {
4409 var _json = new core.Map(); 4409 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4410 if (buyerPrivateData != null) { 4410 if (buyerPrivateData != null) {
4411 _json["buyerPrivateData"] = (buyerPrivateData).toJson(); 4411 _json["buyerPrivateData"] = (buyerPrivateData).toJson();
4412 } 4412 }
4413 if (creationTimeMs != null) { 4413 if (creationTimeMs != null) {
4414 _json["creationTimeMs"] = creationTimeMs; 4414 _json["creationTimeMs"] = creationTimeMs;
4415 } 4415 }
4416 if (creativePreApprovalPolicy != null) { 4416 if (creativePreApprovalPolicy != null) {
4417 _json["creativePreApprovalPolicy"] = creativePreApprovalPolicy; 4417 _json["creativePreApprovalPolicy"] = creativePreApprovalPolicy;
4418 } 4418 }
4419 if (creativeSafeFrameCompatibility != null) { 4419 if (creativeSafeFrameCompatibility != null) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
4502 4502
4503 MarketplaceDealParty.fromJson(core.Map _json) { 4503 MarketplaceDealParty.fromJson(core.Map _json) {
4504 if (_json.containsKey("buyer")) { 4504 if (_json.containsKey("buyer")) {
4505 buyer = new Buyer.fromJson(_json["buyer"]); 4505 buyer = new Buyer.fromJson(_json["buyer"]);
4506 } 4506 }
4507 if (_json.containsKey("seller")) { 4507 if (_json.containsKey("seller")) {
4508 seller = new Seller.fromJson(_json["seller"]); 4508 seller = new Seller.fromJson(_json["seller"]);
4509 } 4509 }
4510 } 4510 }
4511 4511
4512 core.Map toJson() { 4512 core.Map<core.String, core.Object> toJson() {
4513 var _json = new core.Map(); 4513 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4514 if (buyer != null) { 4514 if (buyer != null) {
4515 _json["buyer"] = (buyer).toJson(); 4515 _json["buyer"] = (buyer).toJson();
4516 } 4516 }
4517 if (seller != null) { 4517 if (seller != null) {
4518 _json["seller"] = (seller).toJson(); 4518 _json["seller"] = (seller).toJson();
4519 } 4519 }
4520 return _json; 4520 return _json;
4521 } 4521 }
4522 } 4522 }
4523 4523
(...skipping 17 matching lines...) Expand all
4541 createTimeMs = _json["createTimeMs"]; 4541 createTimeMs = _json["createTimeMs"];
4542 } 4542 }
4543 if (_json.containsKey("deprecatedMarketplaceDealParty")) { 4543 if (_json.containsKey("deprecatedMarketplaceDealParty")) {
4544 deprecatedMarketplaceDealParty = new MarketplaceDealParty.fromJson(_json[" deprecatedMarketplaceDealParty"]); 4544 deprecatedMarketplaceDealParty = new MarketplaceDealParty.fromJson(_json[" deprecatedMarketplaceDealParty"]);
4545 } 4545 }
4546 if (_json.containsKey("label")) { 4546 if (_json.containsKey("label")) {
4547 label = _json["label"]; 4547 label = _json["label"];
4548 } 4548 }
4549 } 4549 }
4550 4550
4551 core.Map toJson() { 4551 core.Map<core.String, core.Object> toJson() {
4552 var _json = new core.Map(); 4552 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4553 if (accountId != null) { 4553 if (accountId != null) {
4554 _json["accountId"] = accountId; 4554 _json["accountId"] = accountId;
4555 } 4555 }
4556 if (createTimeMs != null) { 4556 if (createTimeMs != null) {
4557 _json["createTimeMs"] = createTimeMs; 4557 _json["createTimeMs"] = createTimeMs;
4558 } 4558 }
4559 if (deprecatedMarketplaceDealParty != null) { 4559 if (deprecatedMarketplaceDealParty != null) {
4560 _json["deprecatedMarketplaceDealParty"] = (deprecatedMarketplaceDealParty) .toJson(); 4560 _json["deprecatedMarketplaceDealParty"] = (deprecatedMarketplaceDealParty) .toJson();
4561 } 4561 }
4562 if (label != null) { 4562 if (label != null) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
4619 proposalId = _json["proposalId"]; 4619 proposalId = _json["proposalId"];
4620 } 4620 }
4621 if (_json.containsKey("proposalRevisionNumber")) { 4621 if (_json.containsKey("proposalRevisionNumber")) {
4622 proposalRevisionNumber = _json["proposalRevisionNumber"]; 4622 proposalRevisionNumber = _json["proposalRevisionNumber"];
4623 } 4623 }
4624 if (_json.containsKey("timestampMs")) { 4624 if (_json.containsKey("timestampMs")) {
4625 timestampMs = _json["timestampMs"]; 4625 timestampMs = _json["timestampMs"];
4626 } 4626 }
4627 } 4627 }
4628 4628
4629 core.Map toJson() { 4629 core.Map<core.String, core.Object> toJson() {
4630 var _json = new core.Map(); 4630 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4631 if (creatorRole != null) { 4631 if (creatorRole != null) {
4632 _json["creatorRole"] = creatorRole; 4632 _json["creatorRole"] = creatorRole;
4633 } 4633 }
4634 if (dealId != null) { 4634 if (dealId != null) {
4635 _json["dealId"] = dealId; 4635 _json["dealId"] = dealId;
4636 } 4636 }
4637 if (kind != null) { 4637 if (kind != null) {
4638 _json["kind"] = kind; 4638 _json["kind"] = kind;
4639 } 4639 }
4640 if (note != null) { 4640 if (note != null) {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
4807 successfulRequestRate = _json["successfulRequestRate"]; 4807 successfulRequestRate = _json["successfulRequestRate"];
4808 } 4808 }
4809 if (_json.containsKey("timestamp")) { 4809 if (_json.containsKey("timestamp")) {
4810 timestamp = _json["timestamp"]; 4810 timestamp = _json["timestamp"];
4811 } 4811 }
4812 if (_json.containsKey("unsuccessfulRequestRate")) { 4812 if (_json.containsKey("unsuccessfulRequestRate")) {
4813 unsuccessfulRequestRate = _json["unsuccessfulRequestRate"]; 4813 unsuccessfulRequestRate = _json["unsuccessfulRequestRate"];
4814 } 4814 }
4815 } 4815 }
4816 4816
4817 core.Map toJson() { 4817 core.Map<core.String, core.Object> toJson() {
4818 var _json = new core.Map(); 4818 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4819 if (bidRate != null) { 4819 if (bidRate != null) {
4820 _json["bidRate"] = bidRate; 4820 _json["bidRate"] = bidRate;
4821 } 4821 }
4822 if (bidRequestRate != null) { 4822 if (bidRequestRate != null) {
4823 _json["bidRequestRate"] = bidRequestRate; 4823 _json["bidRequestRate"] = bidRequestRate;
4824 } 4824 }
4825 if (calloutStatusRate != null) { 4825 if (calloutStatusRate != null) {
4826 _json["calloutStatusRate"] = calloutStatusRate; 4826 _json["calloutStatusRate"] = calloutStatusRate;
4827 } 4827 }
4828 if (cookieMatcherStatusRate != null) { 4828 if (cookieMatcherStatusRate != null) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
4897 4897
4898 PerformanceReportList.fromJson(core.Map _json) { 4898 PerformanceReportList.fromJson(core.Map _json) {
4899 if (_json.containsKey("kind")) { 4899 if (_json.containsKey("kind")) {
4900 kind = _json["kind"]; 4900 kind = _json["kind"];
4901 } 4901 }
4902 if (_json.containsKey("performanceReport")) { 4902 if (_json.containsKey("performanceReport")) {
4903 performanceReport = _json["performanceReport"].map((value) => new Performa nceReport.fromJson(value)).toList(); 4903 performanceReport = _json["performanceReport"].map((value) => new Performa nceReport.fromJson(value)).toList();
4904 } 4904 }
4905 } 4905 }
4906 4906
4907 core.Map toJson() { 4907 core.Map<core.String, core.Object> toJson() {
4908 var _json = new core.Map(); 4908 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4909 if (kind != null) { 4909 if (kind != null) {
4910 _json["kind"] = kind; 4910 _json["kind"] = kind;
4911 } 4911 }
4912 if (performanceReport != null) { 4912 if (performanceReport != null) {
4913 _json["performanceReport"] = performanceReport.map((value) => (value).toJs on()).toList(); 4913 _json["performanceReport"] = performanceReport.map((value) => (value).toJs on()).toList();
4914 } 4914 }
4915 return _json; 4915 return _json;
4916 } 4916 }
4917 } 4917 }
4918 4918
4919 class PretargetingConfigDimensions { 4919 class PretargetingConfigDimensions {
4920 /** Height in pixels. */ 4920 /** Height in pixels. */
4921 core.String height; 4921 core.String height;
4922 /** Width in pixels. */ 4922 /** Width in pixels. */
4923 core.String width; 4923 core.String width;
4924 4924
4925 PretargetingConfigDimensions(); 4925 PretargetingConfigDimensions();
4926 4926
4927 PretargetingConfigDimensions.fromJson(core.Map _json) { 4927 PretargetingConfigDimensions.fromJson(core.Map _json) {
4928 if (_json.containsKey("height")) { 4928 if (_json.containsKey("height")) {
4929 height = _json["height"]; 4929 height = _json["height"];
4930 } 4930 }
4931 if (_json.containsKey("width")) { 4931 if (_json.containsKey("width")) {
4932 width = _json["width"]; 4932 width = _json["width"];
4933 } 4933 }
4934 } 4934 }
4935 4935
4936 core.Map toJson() { 4936 core.Map<core.String, core.Object> toJson() {
4937 var _json = new core.Map(); 4937 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4938 if (height != null) { 4938 if (height != null) {
4939 _json["height"] = height; 4939 _json["height"] = height;
4940 } 4940 }
4941 if (width != null) { 4941 if (width != null) {
4942 _json["width"] = width; 4942 _json["width"] = width;
4943 } 4943 }
4944 return _json; 4944 return _json;
4945 } 4945 }
4946 } 4946 }
4947 4947
(...skipping 11 matching lines...) Expand all
4959 4959
4960 PretargetingConfigExcludedPlacements.fromJson(core.Map _json) { 4960 PretargetingConfigExcludedPlacements.fromJson(core.Map _json) {
4961 if (_json.containsKey("token")) { 4961 if (_json.containsKey("token")) {
4962 token = _json["token"]; 4962 token = _json["token"];
4963 } 4963 }
4964 if (_json.containsKey("type")) { 4964 if (_json.containsKey("type")) {
4965 type = _json["type"]; 4965 type = _json["type"];
4966 } 4966 }
4967 } 4967 }
4968 4968
4969 core.Map toJson() { 4969 core.Map<core.String, core.Object> toJson() {
4970 var _json = new core.Map(); 4970 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4971 if (token != null) { 4971 if (token != null) {
4972 _json["token"] = token; 4972 _json["token"] = token;
4973 } 4973 }
4974 if (type != null) { 4974 if (type != null) {
4975 _json["type"] = type; 4975 _json["type"] = type;
4976 } 4976 }
4977 return _json; 4977 return _json;
4978 } 4978 }
4979 } 4979 }
4980 4980
(...skipping 11 matching lines...) Expand all
4992 4992
4993 PretargetingConfigPlacements.fromJson(core.Map _json) { 4993 PretargetingConfigPlacements.fromJson(core.Map _json) {
4994 if (_json.containsKey("token")) { 4994 if (_json.containsKey("token")) {
4995 token = _json["token"]; 4995 token = _json["token"];
4996 } 4996 }
4997 if (_json.containsKey("type")) { 4997 if (_json.containsKey("type")) {
4998 type = _json["type"]; 4998 type = _json["type"];
4999 } 4999 }
5000 } 5000 }
5001 5001
5002 core.Map toJson() { 5002 core.Map<core.String, core.Object> toJson() {
5003 var _json = new core.Map(); 5003 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5004 if (token != null) { 5004 if (token != null) {
5005 _json["token"] = token; 5005 _json["token"] = token;
5006 } 5006 }
5007 if (type != null) { 5007 if (type != null) {
5008 _json["type"] = type; 5008 _json["type"] = type;
5009 } 5009 }
5010 return _json; 5010 return _json;
5011 } 5011 }
5012 } 5012 }
5013 5013
(...skipping 21 matching lines...) Expand all
5035 aspectRatio = _json["aspectRatio"]; 5035 aspectRatio = _json["aspectRatio"];
5036 } 5036 }
5037 if (_json.containsKey("minHeight")) { 5037 if (_json.containsKey("minHeight")) {
5038 minHeight = _json["minHeight"]; 5038 minHeight = _json["minHeight"];
5039 } 5039 }
5040 if (_json.containsKey("minWidth")) { 5040 if (_json.containsKey("minWidth")) {
5041 minWidth = _json["minWidth"]; 5041 minWidth = _json["minWidth"];
5042 } 5042 }
5043 } 5043 }
5044 5044
5045 core.Map toJson() { 5045 core.Map<core.String, core.Object> toJson() {
5046 var _json = new core.Map(); 5046 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5047 if (aspectRatio != null) { 5047 if (aspectRatio != null) {
5048 _json["aspectRatio"] = aspectRatio; 5048 _json["aspectRatio"] = aspectRatio;
5049 } 5049 }
5050 if (minHeight != null) { 5050 if (minHeight != null) {
5051 _json["minHeight"] = minHeight; 5051 _json["minHeight"] = minHeight;
5052 } 5052 }
5053 if (minWidth != null) { 5053 if (minWidth != null) {
5054 _json["minWidth"] = minWidth; 5054 _json["minWidth"] = minWidth;
5055 } 5055 }
5056 return _json; 5056 return _json;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
5238 vendorTypes = _json["vendorTypes"]; 5238 vendorTypes = _json["vendorTypes"];
5239 } 5239 }
5240 if (_json.containsKey("verticals")) { 5240 if (_json.containsKey("verticals")) {
5241 verticals = _json["verticals"]; 5241 verticals = _json["verticals"];
5242 } 5242 }
5243 if (_json.containsKey("videoPlayerSizes")) { 5243 if (_json.containsKey("videoPlayerSizes")) {
5244 videoPlayerSizes = _json["videoPlayerSizes"].map((value) => new Pretargeti ngConfigVideoPlayerSizes.fromJson(value)).toList(); 5244 videoPlayerSizes = _json["videoPlayerSizes"].map((value) => new Pretargeti ngConfigVideoPlayerSizes.fromJson(value)).toList();
5245 } 5245 }
5246 } 5246 }
5247 5247
5248 core.Map toJson() { 5248 core.Map<core.String, core.Object> toJson() {
5249 var _json = new core.Map(); 5249 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5250 if (billingId != null) { 5250 if (billingId != null) {
5251 _json["billingId"] = billingId; 5251 _json["billingId"] = billingId;
5252 } 5252 }
5253 if (configId != null) { 5253 if (configId != null) {
5254 _json["configId"] = configId; 5254 _json["configId"] = configId;
5255 } 5255 }
5256 if (configName != null) { 5256 if (configName != null) {
5257 _json["configName"] = configName; 5257 _json["configName"] = configName;
5258 } 5258 }
5259 if (creativeType != null) { 5259 if (creativeType != null) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
5339 5339
5340 PretargetingConfigList.fromJson(core.Map _json) { 5340 PretargetingConfigList.fromJson(core.Map _json) {
5341 if (_json.containsKey("items")) { 5341 if (_json.containsKey("items")) {
5342 items = _json["items"].map((value) => new PretargetingConfig.fromJson(valu e)).toList(); 5342 items = _json["items"].map((value) => new PretargetingConfig.fromJson(valu e)).toList();
5343 } 5343 }
5344 if (_json.containsKey("kind")) { 5344 if (_json.containsKey("kind")) {
5345 kind = _json["kind"]; 5345 kind = _json["kind"];
5346 } 5346 }
5347 } 5347 }
5348 5348
5349 core.Map toJson() { 5349 core.Map<core.String, core.Object> toJson() {
5350 var _json = new core.Map(); 5350 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5351 if (items != null) { 5351 if (items != null) {
5352 _json["items"] = items.map((value) => (value).toJson()).toList(); 5352 _json["items"] = items.map((value) => (value).toJson()).toList();
5353 } 5353 }
5354 if (kind != null) { 5354 if (kind != null) {
5355 _json["kind"] = kind; 5355 _json["kind"] = kind;
5356 } 5356 }
5357 return _json; 5357 return _json;
5358 } 5358 }
5359 } 5359 }
5360 5360
(...skipping 17 matching lines...) Expand all
5378 currencyCode = _json["currencyCode"]; 5378 currencyCode = _json["currencyCode"];
5379 } 5379 }
5380 if (_json.containsKey("expectedCpmMicros")) { 5380 if (_json.containsKey("expectedCpmMicros")) {
5381 expectedCpmMicros = _json["expectedCpmMicros"]; 5381 expectedCpmMicros = _json["expectedCpmMicros"];
5382 } 5382 }
5383 if (_json.containsKey("pricingType")) { 5383 if (_json.containsKey("pricingType")) {
5384 pricingType = _json["pricingType"]; 5384 pricingType = _json["pricingType"];
5385 } 5385 }
5386 } 5386 }
5387 5387
5388 core.Map toJson() { 5388 core.Map<core.String, core.Object> toJson() {
5389 var _json = new core.Map(); 5389 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5390 if (amountMicros != null) { 5390 if (amountMicros != null) {
5391 _json["amountMicros"] = amountMicros; 5391 _json["amountMicros"] = amountMicros;
5392 } 5392 }
5393 if (currencyCode != null) { 5393 if (currencyCode != null) {
5394 _json["currencyCode"] = currencyCode; 5394 _json["currencyCode"] = currencyCode;
5395 } 5395 }
5396 if (expectedCpmMicros != null) { 5396 if (expectedCpmMicros != null) {
5397 _json["expectedCpmMicros"] = expectedCpmMicros; 5397 _json["expectedCpmMicros"] = expectedCpmMicros;
5398 } 5398 }
5399 if (pricingType != null) { 5399 if (pricingType != null) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
5434 billedBuyer = new Buyer.fromJson(_json["billedBuyer"]); 5434 billedBuyer = new Buyer.fromJson(_json["billedBuyer"]);
5435 } 5435 }
5436 if (_json.containsKey("buyer")) { 5436 if (_json.containsKey("buyer")) {
5437 buyer = new Buyer.fromJson(_json["buyer"]); 5437 buyer = new Buyer.fromJson(_json["buyer"]);
5438 } 5438 }
5439 if (_json.containsKey("price")) { 5439 if (_json.containsKey("price")) {
5440 price = new Price.fromJson(_json["price"]); 5440 price = new Price.fromJson(_json["price"]);
5441 } 5441 }
5442 } 5442 }
5443 5443
5444 core.Map toJson() { 5444 core.Map<core.String, core.Object> toJson() {
5445 var _json = new core.Map(); 5445 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5446 if (auctionTier != null) { 5446 if (auctionTier != null) {
5447 _json["auctionTier"] = auctionTier; 5447 _json["auctionTier"] = auctionTier;
5448 } 5448 }
5449 if (billedBuyer != null) { 5449 if (billedBuyer != null) {
5450 _json["billedBuyer"] = (billedBuyer).toJson(); 5450 _json["billedBuyer"] = (billedBuyer).toJson();
5451 } 5451 }
5452 if (buyer != null) { 5452 if (buyer != null) {
5453 _json["buyer"] = (buyer).toJson(); 5453 _json["buyer"] = (buyer).toJson();
5454 } 5454 }
5455 if (price != null) { 5455 if (price != null) {
(...skipping 18 matching lines...) Expand all
5474 5474
5475 PrivateData.fromJson(core.Map _json) { 5475 PrivateData.fromJson(core.Map _json) {
5476 if (_json.containsKey("referenceId")) { 5476 if (_json.containsKey("referenceId")) {
5477 referenceId = _json["referenceId"]; 5477 referenceId = _json["referenceId"];
5478 } 5478 }
5479 if (_json.containsKey("referencePayload")) { 5479 if (_json.containsKey("referencePayload")) {
5480 referencePayload = _json["referencePayload"]; 5480 referencePayload = _json["referencePayload"];
5481 } 5481 }
5482 } 5482 }
5483 5483
5484 core.Map toJson() { 5484 core.Map<core.String, core.Object> toJson() {
5485 var _json = new core.Map(); 5485 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5486 if (referenceId != null) { 5486 if (referenceId != null) {
5487 _json["referenceId"] = referenceId; 5487 _json["referenceId"] = referenceId;
5488 } 5488 }
5489 if (referencePayload != null) { 5489 if (referencePayload != null) {
5490 _json["referencePayload"] = referencePayload; 5490 _json["referencePayload"] = referencePayload;
5491 } 5491 }
5492 return _json; 5492 return _json;
5493 } 5493 }
5494 } 5494 }
5495 5495
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
5691 syndicationProduct = _json["syndicationProduct"]; 5691 syndicationProduct = _json["syndicationProduct"];
5692 } 5692 }
5693 if (_json.containsKey("terms")) { 5693 if (_json.containsKey("terms")) {
5694 terms = new DealTerms.fromJson(_json["terms"]); 5694 terms = new DealTerms.fromJson(_json["terms"]);
5695 } 5695 }
5696 if (_json.containsKey("webPropertyCode")) { 5696 if (_json.containsKey("webPropertyCode")) {
5697 webPropertyCode = _json["webPropertyCode"]; 5697 webPropertyCode = _json["webPropertyCode"];
5698 } 5698 }
5699 } 5699 }
5700 5700
5701 core.Map toJson() { 5701 core.Map<core.String, core.Object> toJson() {
5702 var _json = new core.Map(); 5702 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5703 if (billedBuyer != null) { 5703 if (billedBuyer != null) {
5704 _json["billedBuyer"] = (billedBuyer).toJson(); 5704 _json["billedBuyer"] = (billedBuyer).toJson();
5705 } 5705 }
5706 if (buyer != null) { 5706 if (buyer != null) {
5707 _json["buyer"] = (buyer).toJson(); 5707 _json["buyer"] = (buyer).toJson();
5708 } 5708 }
5709 if (creationTimeMs != null) { 5709 if (creationTimeMs != null) {
5710 _json["creationTimeMs"] = creationTimeMs; 5710 _json["creationTimeMs"] = creationTimeMs;
5711 } 5711 }
5712 if (creatorContacts != null) { 5712 if (creatorContacts != null) {
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
5936 revisionTimeMs = _json["revisionTimeMs"]; 5936 revisionTimeMs = _json["revisionTimeMs"];
5937 } 5937 }
5938 if (_json.containsKey("seller")) { 5938 if (_json.containsKey("seller")) {
5939 seller = new Seller.fromJson(_json["seller"]); 5939 seller = new Seller.fromJson(_json["seller"]);
5940 } 5940 }
5941 if (_json.containsKey("sellerContacts")) { 5941 if (_json.containsKey("sellerContacts")) {
5942 sellerContacts = _json["sellerContacts"].map((value) => new ContactInforma tion.fromJson(value)).toList(); 5942 sellerContacts = _json["sellerContacts"].map((value) => new ContactInforma tion.fromJson(value)).toList();
5943 } 5943 }
5944 } 5944 }
5945 5945
5946 core.Map toJson() { 5946 core.Map<core.String, core.Object> toJson() {
5947 var _json = new core.Map(); 5947 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5948 if (billedBuyer != null) { 5948 if (billedBuyer != null) {
5949 _json["billedBuyer"] = (billedBuyer).toJson(); 5949 _json["billedBuyer"] = (billedBuyer).toJson();
5950 } 5950 }
5951 if (buyer != null) { 5951 if (buyer != null) {
5952 _json["buyer"] = (buyer).toJson(); 5952 _json["buyer"] = (buyer).toJson();
5953 } 5953 }
5954 if (buyerContacts != null) { 5954 if (buyerContacts != null) {
5955 _json["buyerContacts"] = buyerContacts.map((value) => (value).toJson()).to List(); 5955 _json["buyerContacts"] = buyerContacts.map((value) => (value).toJson()).to List();
5956 } 5956 }
5957 if (buyerPrivateData != null) { 5957 if (buyerPrivateData != null) {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
6146 seller = new Seller.fromJson(_json["seller"]); 6146 seller = new Seller.fromJson(_json["seller"]);
6147 } 6147 }
6148 if (_json.containsKey("state")) { 6148 if (_json.containsKey("state")) {
6149 state = _json["state"]; 6149 state = _json["state"];
6150 } 6150 }
6151 if (_json.containsKey("topHeadlines")) { 6151 if (_json.containsKey("topHeadlines")) {
6152 topHeadlines = _json["topHeadlines"]; 6152 topHeadlines = _json["topHeadlines"];
6153 } 6153 }
6154 } 6154 }
6155 6155
6156 core.Map toJson() { 6156 core.Map<core.String, core.Object> toJson() {
6157 var _json = new core.Map(); 6157 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6158 if (accountId != null) { 6158 if (accountId != null) {
6159 _json["accountId"] = accountId; 6159 _json["accountId"] = accountId;
6160 } 6160 }
6161 if (audience != null) { 6161 if (audience != null) {
6162 _json["audience"] = audience; 6162 _json["audience"] = audience;
6163 } 6163 }
6164 if (buyerPitchStatement != null) { 6164 if (buyerPitchStatement != null) {
6165 _json["buyerPitchStatement"] = buyerPitchStatement; 6165 _json["buyerPitchStatement"] = buyerPitchStatement;
6166 } 6166 }
6167 if (directContact != null) { 6167 if (directContact != null) {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
6244 dimensions = _json["dimensions"].map((value) => new Dimension.fromJson(val ue)).toList(); 6244 dimensions = _json["dimensions"].map((value) => new Dimension.fromJson(val ue)).toList();
6245 } 6245 }
6246 if (_json.containsKey("weeklyImpressions")) { 6246 if (_json.containsKey("weeklyImpressions")) {
6247 weeklyImpressions = _json["weeklyImpressions"]; 6247 weeklyImpressions = _json["weeklyImpressions"];
6248 } 6248 }
6249 if (_json.containsKey("weeklyUniques")) { 6249 if (_json.containsKey("weeklyUniques")) {
6250 weeklyUniques = _json["weeklyUniques"]; 6250 weeklyUniques = _json["weeklyUniques"];
6251 } 6251 }
6252 } 6252 }
6253 6253
6254 core.Map toJson() { 6254 core.Map<core.String, core.Object> toJson() {
6255 var _json = new core.Map(); 6255 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6256 if (dimensions != null) { 6256 if (dimensions != null) {
6257 _json["dimensions"] = dimensions.map((value) => (value).toJson()).toList() ; 6257 _json["dimensions"] = dimensions.map((value) => (value).toJson()).toList() ;
6258 } 6258 }
6259 if (weeklyImpressions != null) { 6259 if (weeklyImpressions != null) {
6260 _json["weeklyImpressions"] = weeklyImpressions; 6260 _json["weeklyImpressions"] = weeklyImpressions;
6261 } 6261 }
6262 if (weeklyUniques != null) { 6262 if (weeklyUniques != null) {
6263 _json["weeklyUniques"] = weeklyUniques; 6263 _json["weeklyUniques"] = weeklyUniques;
6264 } 6264 }
6265 return _json; 6265 return _json;
(...skipping 13 matching lines...) Expand all
6279 6279
6280 Seller.fromJson(core.Map _json) { 6280 Seller.fromJson(core.Map _json) {
6281 if (_json.containsKey("accountId")) { 6281 if (_json.containsKey("accountId")) {
6282 accountId = _json["accountId"]; 6282 accountId = _json["accountId"];
6283 } 6283 }
6284 if (_json.containsKey("subAccountId")) { 6284 if (_json.containsKey("subAccountId")) {
6285 subAccountId = _json["subAccountId"]; 6285 subAccountId = _json["subAccountId"];
6286 } 6286 }
6287 } 6287 }
6288 6288
6289 core.Map toJson() { 6289 core.Map<core.String, core.Object> toJson() {
6290 var _json = new core.Map(); 6290 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6291 if (accountId != null) { 6291 if (accountId != null) {
6292 _json["accountId"] = accountId; 6292 _json["accountId"] = accountId;
6293 } 6293 }
6294 if (subAccountId != null) { 6294 if (subAccountId != null) {
6295 _json["subAccountId"] = subAccountId; 6295 _json["subAccountId"] = subAccountId;
6296 } 6296 }
6297 return _json; 6297 return _json;
6298 } 6298 }
6299 } 6299 }
6300 6300
(...skipping 17 matching lines...) Expand all
6318 exclusions = _json["exclusions"].map((value) => new TargetingValue.fromJso n(value)).toList(); 6318 exclusions = _json["exclusions"].map((value) => new TargetingValue.fromJso n(value)).toList();
6319 } 6319 }
6320 if (_json.containsKey("inclusions")) { 6320 if (_json.containsKey("inclusions")) {
6321 inclusions = _json["inclusions"].map((value) => new TargetingValue.fromJso n(value)).toList(); 6321 inclusions = _json["inclusions"].map((value) => new TargetingValue.fromJso n(value)).toList();
6322 } 6322 }
6323 if (_json.containsKey("key")) { 6323 if (_json.containsKey("key")) {
6324 key = _json["key"]; 6324 key = _json["key"];
6325 } 6325 }
6326 } 6326 }
6327 6327
6328 core.Map toJson() { 6328 core.Map<core.String, core.Object> toJson() {
6329 var _json = new core.Map(); 6329 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6330 if (exclusions != null) { 6330 if (exclusions != null) {
6331 _json["exclusions"] = exclusions.map((value) => (value).toJson()).toList() ; 6331 _json["exclusions"] = exclusions.map((value) => (value).toJson()).toList() ;
6332 } 6332 }
6333 if (inclusions != null) { 6333 if (inclusions != null) {
6334 _json["inclusions"] = inclusions.map((value) => (value).toJson()).toList() ; 6334 _json["inclusions"] = inclusions.map((value) => (value).toJson()).toList() ;
6335 } 6335 }
6336 if (key != null) { 6336 if (key != null) {
6337 _json["key"] = key; 6337 _json["key"] = key;
6338 } 6338 }
6339 return _json; 6339 return _json;
(...skipping 23 matching lines...) Expand all
6363 dayPartTargetingValue = new TargetingValueDayPartTargeting.fromJson(_json[ "dayPartTargetingValue"]); 6363 dayPartTargetingValue = new TargetingValueDayPartTargeting.fromJson(_json[ "dayPartTargetingValue"]);
6364 } 6364 }
6365 if (_json.containsKey("longValue")) { 6365 if (_json.containsKey("longValue")) {
6366 longValue = _json["longValue"]; 6366 longValue = _json["longValue"];
6367 } 6367 }
6368 if (_json.containsKey("stringValue")) { 6368 if (_json.containsKey("stringValue")) {
6369 stringValue = _json["stringValue"]; 6369 stringValue = _json["stringValue"];
6370 } 6370 }
6371 } 6371 }
6372 6372
6373 core.Map toJson() { 6373 core.Map<core.String, core.Object> toJson() {
6374 var _json = new core.Map(); 6374 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6375 if (creativeSizeValue != null) { 6375 if (creativeSizeValue != null) {
6376 _json["creativeSizeValue"] = (creativeSizeValue).toJson(); 6376 _json["creativeSizeValue"] = (creativeSizeValue).toJson();
6377 } 6377 }
6378 if (dayPartTargetingValue != null) { 6378 if (dayPartTargetingValue != null) {
6379 _json["dayPartTargetingValue"] = (dayPartTargetingValue).toJson(); 6379 _json["dayPartTargetingValue"] = (dayPartTargetingValue).toJson();
6380 } 6380 }
6381 if (longValue != null) { 6381 if (longValue != null) {
6382 _json["longValue"] = longValue; 6382 _json["longValue"] = longValue;
6383 } 6383 }
6384 if (stringValue != null) { 6384 if (stringValue != null) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
6416 nativeTemplate = _json["nativeTemplate"]; 6416 nativeTemplate = _json["nativeTemplate"];
6417 } 6417 }
6418 if (_json.containsKey("size")) { 6418 if (_json.containsKey("size")) {
6419 size = new TargetingValueSize.fromJson(_json["size"]); 6419 size = new TargetingValueSize.fromJson(_json["size"]);
6420 } 6420 }
6421 if (_json.containsKey("skippableAdType")) { 6421 if (_json.containsKey("skippableAdType")) {
6422 skippableAdType = _json["skippableAdType"]; 6422 skippableAdType = _json["skippableAdType"];
6423 } 6423 }
6424 } 6424 }
6425 6425
6426 core.Map toJson() { 6426 core.Map<core.String, core.Object> toJson() {
6427 var _json = new core.Map(); 6427 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6428 if (companionSizes != null) { 6428 if (companionSizes != null) {
6429 _json["companionSizes"] = companionSizes.map((value) => (value).toJson()). toList(); 6429 _json["companionSizes"] = companionSizes.map((value) => (value).toJson()). toList();
6430 } 6430 }
6431 if (creativeSizeType != null) { 6431 if (creativeSizeType != null) {
6432 _json["creativeSizeType"] = creativeSizeType; 6432 _json["creativeSizeType"] = creativeSizeType;
6433 } 6433 }
6434 if (nativeTemplate != null) { 6434 if (nativeTemplate != null) {
6435 _json["nativeTemplate"] = nativeTemplate; 6435 _json["nativeTemplate"] = nativeTemplate;
6436 } 6436 }
6437 if (size != null) { 6437 if (size != null) {
(...skipping 14 matching lines...) Expand all
6452 6452
6453 TargetingValueDayPartTargeting.fromJson(core.Map _json) { 6453 TargetingValueDayPartTargeting.fromJson(core.Map _json) {
6454 if (_json.containsKey("dayParts")) { 6454 if (_json.containsKey("dayParts")) {
6455 dayParts = _json["dayParts"].map((value) => new TargetingValueDayPartTarge tingDayPart.fromJson(value)).toList(); 6455 dayParts = _json["dayParts"].map((value) => new TargetingValueDayPartTarge tingDayPart.fromJson(value)).toList();
6456 } 6456 }
6457 if (_json.containsKey("timeZoneType")) { 6457 if (_json.containsKey("timeZoneType")) {
6458 timeZoneType = _json["timeZoneType"]; 6458 timeZoneType = _json["timeZoneType"];
6459 } 6459 }
6460 } 6460 }
6461 6461
6462 core.Map toJson() { 6462 core.Map<core.String, core.Object> toJson() {
6463 var _json = new core.Map(); 6463 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6464 if (dayParts != null) { 6464 if (dayParts != null) {
6465 _json["dayParts"] = dayParts.map((value) => (value).toJson()).toList(); 6465 _json["dayParts"] = dayParts.map((value) => (value).toJson()).toList();
6466 } 6466 }
6467 if (timeZoneType != null) { 6467 if (timeZoneType != null) {
6468 _json["timeZoneType"] = timeZoneType; 6468 _json["timeZoneType"] = timeZoneType;
6469 } 6469 }
6470 return _json; 6470 return _json;
6471 } 6471 }
6472 } 6472 }
6473 6473
(...skipping 17 matching lines...) Expand all
6491 endMinute = _json["endMinute"]; 6491 endMinute = _json["endMinute"];
6492 } 6492 }
6493 if (_json.containsKey("startHour")) { 6493 if (_json.containsKey("startHour")) {
6494 startHour = _json["startHour"]; 6494 startHour = _json["startHour"];
6495 } 6495 }
6496 if (_json.containsKey("startMinute")) { 6496 if (_json.containsKey("startMinute")) {
6497 startMinute = _json["startMinute"]; 6497 startMinute = _json["startMinute"];
6498 } 6498 }
6499 } 6499 }
6500 6500
6501 core.Map toJson() { 6501 core.Map<core.String, core.Object> toJson() {
6502 var _json = new core.Map(); 6502 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6503 if (dayOfWeek != null) { 6503 if (dayOfWeek != null) {
6504 _json["dayOfWeek"] = dayOfWeek; 6504 _json["dayOfWeek"] = dayOfWeek;
6505 } 6505 }
6506 if (endHour != null) { 6506 if (endHour != null) {
6507 _json["endHour"] = endHour; 6507 _json["endHour"] = endHour;
6508 } 6508 }
6509 if (endMinute != null) { 6509 if (endMinute != null) {
6510 _json["endMinute"] = endMinute; 6510 _json["endMinute"] = endMinute;
6511 } 6511 }
6512 if (startHour != null) { 6512 if (startHour != null) {
(...skipping 16 matching lines...) Expand all
6529 6529
6530 TargetingValueSize.fromJson(core.Map _json) { 6530 TargetingValueSize.fromJson(core.Map _json) {
6531 if (_json.containsKey("height")) { 6531 if (_json.containsKey("height")) {
6532 height = _json["height"]; 6532 height = _json["height"];
6533 } 6533 }
6534 if (_json.containsKey("width")) { 6534 if (_json.containsKey("width")) {
6535 width = _json["width"]; 6535 width = _json["width"];
6536 } 6536 }
6537 } 6537 }
6538 6538
6539 core.Map toJson() { 6539 core.Map<core.String, core.Object> toJson() {
6540 var _json = new core.Map(); 6540 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6541 if (height != null) { 6541 if (height != null) {
6542 _json["height"] = height; 6542 _json["height"] = height;
6543 } 6543 }
6544 if (width != null) { 6544 if (width != null) {
6545 _json["width"] = width; 6545 _json["width"] = width;
6546 } 6546 }
6547 return _json; 6547 return _json;
6548 } 6548 }
6549 } 6549 }
6550 6550
(...skipping 17 matching lines...) Expand all
6568 note = new MarketplaceNote.fromJson(_json["note"]); 6568 note = new MarketplaceNote.fromJson(_json["note"]);
6569 } 6569 }
6570 if (_json.containsKey("proposalRevisionNumber")) { 6570 if (_json.containsKey("proposalRevisionNumber")) {
6571 proposalRevisionNumber = _json["proposalRevisionNumber"]; 6571 proposalRevisionNumber = _json["proposalRevisionNumber"];
6572 } 6572 }
6573 if (_json.containsKey("updateAction")) { 6573 if (_json.containsKey("updateAction")) {
6574 updateAction = _json["updateAction"]; 6574 updateAction = _json["updateAction"];
6575 } 6575 }
6576 } 6576 }
6577 6577
6578 core.Map toJson() { 6578 core.Map<core.String, core.Object> toJson() {
6579 var _json = new core.Map(); 6579 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
6580 if (externalDealId != null) { 6580 if (externalDealId != null) {
6581 _json["externalDealId"] = externalDealId; 6581 _json["externalDealId"] = externalDealId;
6582 } 6582 }
6583 if (note != null) { 6583 if (note != null) {
6584 _json["note"] = (note).toJson(); 6584 _json["note"] = (note).toJson();
6585 } 6585 }
6586 if (proposalRevisionNumber != null) { 6586 if (proposalRevisionNumber != null) {
6587 _json["proposalRevisionNumber"] = proposalRevisionNumber; 6587 _json["proposalRevisionNumber"] = proposalRevisionNumber;
6588 } 6588 }
6589 if (updateAction != null) { 6589 if (updateAction != null) {
6590 _json["updateAction"] = updateAction; 6590 _json["updateAction"] = updateAction;
6591 } 6591 }
6592 return _json; 6592 return _json;
6593 } 6593 }
6594 } 6594 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/adexchangebuyer/v1_3.dart ('k') | generated/googleapis/lib/adexchangeseller/v1_1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698