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

Side by Side Diff: generated/googleapis/lib/manufacturers/v1.dart

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 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
« no previous file with comments | « generated/googleapis/lib/logging/v2.dart ('k') | generated/googleapis/lib/mirror/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.manufacturers.v1; 3 library googleapis.manufacturers.v1;
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;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart'
13 ApiRequestError, DetailedApiRequestError; 13 show ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client manufacturers/v1'; 15 const core.String USER_AGENT = 'dart-api-client manufacturers/v1';
16 16
17 /** Public API for managing Manufacturer Center related data. */ 17 /// Public API for managing Manufacturer Center related data.
18 class ManufacturersApi { 18 class ManufacturersApi {
19 /** Manage your product listings for Google Manufacturer Center */ 19 /// Manage your product listings for Google Manufacturer Center
20 static const ManufacturercenterScope = "https://www.googleapis.com/auth/manufa cturercenter"; 20 static const ManufacturercenterScope =
21 21 "https://www.googleapis.com/auth/manufacturercenter";
22 22
23 final commons.ApiRequester _requester; 23 final commons.ApiRequester _requester;
24 24
25 AccountsResourceApi get accounts => new AccountsResourceApi(_requester); 25 AccountsResourceApi get accounts => new AccountsResourceApi(_requester);
26 26
27 ManufacturersApi(http.Client client, {core.String rootUrl: "https://manufactur ers.googleapis.com/", core.String servicePath: ""}) : 27 ManufacturersApi(http.Client client,
28 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 28 {core.String rootUrl: "https://manufacturers.googleapis.com/",
29 core.String servicePath: ""})
30 : _requester =
31 new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
29 } 32 }
30 33
31
32 class AccountsResourceApi { 34 class AccountsResourceApi {
33 final commons.ApiRequester _requester; 35 final commons.ApiRequester _requester;
34 36
35 AccountsProductsResourceApi get products => new AccountsProductsResourceApi(_r equester); 37 AccountsProductsResourceApi get products =>
38 new AccountsProductsResourceApi(_requester);
36 39
37 AccountsResourceApi(commons.ApiRequester client) : 40 AccountsResourceApi(commons.ApiRequester client) : _requester = client;
38 _requester = client;
39 } 41 }
40 42
41
42 class AccountsProductsResourceApi { 43 class AccountsProductsResourceApi {
43 final commons.ApiRequester _requester; 44 final commons.ApiRequester _requester;
44 45
45 AccountsProductsResourceApi(commons.ApiRequester client) : 46 AccountsProductsResourceApi(commons.ApiRequester client)
46 _requester = client; 47 : _requester = client;
47 48
48 /** 49 /// Deletes the product from a Manufacturer Center account.
49 * Deletes the product from a Manufacturer Center account. 50 ///
50 * 51 /// Request parameters:
51 * Request parameters: 52 ///
52 * 53 /// [parent] - Parent ID in the format `accounts/{account_id}`.
53 * [parent] - Parent ID in the format `accounts/{account_id}`. 54 ///
54 * 55 /// `account_id` - The ID of the Manufacturer Center account.
55 * `account_id` - The ID of the Manufacturer Center account. 56 /// Value must have pattern "^accounts/[^/]+$".
56 * Value must have pattern "^accounts/[^/]+$". 57 ///
57 * 58 /// [name] - Name in the format
58 * [name] - Name in the format 59 /// `{target_country}:{content_language}:{product_id}`.
59 * `{target_country}:{content_language}:{product_id}`. 60 ///
60 * 61 /// `target_country` - The target country of the product as a CLDR
61 * `target_country` - The target country of the product as a CLDR territory 62 /// territory
62 * code (for example, US). 63 /// code (for example, US).
63 * 64 ///
64 * `content_language` - The content language of the product as a two-letter 65 /// `content_language` - The content language of the product as a two-letter
65 * ISO 639-1 language code (for example, en). 66 /// ISO 639-1 language code (for example, en).
66 * 67 ///
67 * `product_id` - The ID of the product. For more information, see 68 /// `product_id` - The ID of the product. For more information, see
68 * https://support.google.com/manufacturers/answer/6124116#id. 69 /// https://support.google.com/manufacturers/answer/6124116#id.
69 * Value must have pattern "^[^/]+$". 70 /// Value must have pattern "^[^/]+$".
70 * 71 ///
71 * Completes with a [Empty]. 72 /// Completes with a [Empty].
72 * 73 ///
73 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 74 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
74 * error. 75 /// an error.
75 * 76 ///
76 * If the used [http.Client] completes with an error when making a REST call, 77 /// If the used [http.Client] completes with an error when making a REST
77 * this method will complete with the same error. 78 /// call, this method will complete with the same error.
78 */
79 async.Future<Empty> delete(core.String parent, core.String name) { 79 async.Future<Empty> delete(core.String parent, core.String name) {
80 var _url = null; 80 var _url = null;
81 var _queryParams = new core.Map(); 81 var _queryParams = new core.Map();
82 var _uploadMedia = null; 82 var _uploadMedia = null;
83 var _uploadOptions = null; 83 var _uploadOptions = null;
84 var _downloadOptions = commons.DownloadOptions.Metadata; 84 var _downloadOptions = commons.DownloadOptions.Metadata;
85 var _body = null; 85 var _body = null;
86 86
87 if (parent == null) { 87 if (parent == null) {
88 throw new core.ArgumentError("Parameter parent is required."); 88 throw new core.ArgumentError("Parameter parent is required.");
89 } 89 }
90 if (name == null) { 90 if (name == null) {
91 throw new core.ArgumentError("Parameter name is required."); 91 throw new core.ArgumentError("Parameter name is required.");
92 } 92 }
93 93
94 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products /' + commons.Escaper.ecapeVariableReserved('$name'); 94 _url = 'v1/' +
95 commons.Escaper.ecapeVariableReserved('$parent') +
96 '/products/' +
97 commons.Escaper.ecapeVariableReserved('$name');
95 98
96 var _response = _requester.request(_url, 99 var _response = _requester.request(_url, "DELETE",
97 "DELETE", 100 body: _body,
98 body: _body, 101 queryParams: _queryParams,
99 queryParams: _queryParams, 102 uploadOptions: _uploadOptions,
100 uploadOptions: _uploadOptions, 103 uploadMedia: _uploadMedia,
101 uploadMedia: _uploadMedia, 104 downloadOptions: _downloadOptions);
102 downloadOptions: _downloadOptions);
103 return _response.then((data) => new Empty.fromJson(data)); 105 return _response.then((data) => new Empty.fromJson(data));
104 } 106 }
105 107
106 /** 108 /// Gets the product from a Manufacturer Center account, including product
107 * Gets the product from a Manufacturer Center account, including product 109 /// issues.
108 * issues. 110 ///
109 * 111 /// A recently updated product takes around 15 minutes to process. Changes
110 * A recently updated product takes around 15 minutes to process. Changes are 112 /// are
111 * only visible after it has been processed. While some issues may be 113 /// only visible after it has been processed. While some issues may be
112 * available once the product has been processed, other issues may take days 114 /// available once the product has been processed, other issues may take days
113 * to appear. 115 /// to appear.
114 * 116 ///
115 * Request parameters: 117 /// Request parameters:
116 * 118 ///
117 * [parent] - Parent ID in the format `accounts/{account_id}`. 119 /// [parent] - Parent ID in the format `accounts/{account_id}`.
118 * 120 ///
119 * `account_id` - The ID of the Manufacturer Center account. 121 /// `account_id` - The ID of the Manufacturer Center account.
120 * Value must have pattern "^accounts/[^/]+$". 122 /// Value must have pattern "^accounts/[^/]+$".
121 * 123 ///
122 * [name] - Name in the format 124 /// [name] - Name in the format
123 * `{target_country}:{content_language}:{product_id}`. 125 /// `{target_country}:{content_language}:{product_id}`.
124 * 126 ///
125 * `target_country` - The target country of the product as a CLDR territory 127 /// `target_country` - The target country of the product as a CLDR
126 * code (for example, US). 128 /// territory
127 * 129 /// code (for example, US).
128 * `content_language` - The content language of the product as a two-letter 130 ///
129 * ISO 639-1 language code (for example, en). 131 /// `content_language` - The content language of the product as a two-letter
130 * 132 /// ISO 639-1 language code (for example, en).
131 * `product_id` - The ID of the product. For more information, see 133 ///
132 * https://support.google.com/manufacturers/answer/6124116#id. 134 /// `product_id` - The ID of the product. For more information, see
133 * Value must have pattern "^[^/]+$". 135 /// https://support.google.com/manufacturers/answer/6124116#id.
134 * 136 /// Value must have pattern "^[^/]+$".
135 * Completes with a [Product]. 137 ///
136 * 138 /// Completes with a [Product].
137 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 139 ///
138 * error. 140 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
139 * 141 /// an error.
140 * If the used [http.Client] completes with an error when making a REST call, 142 ///
141 * this method will complete with the same error. 143 /// If the used [http.Client] completes with an error when making a REST
142 */ 144 /// call, this method will complete with the same error.
143 async.Future<Product> get(core.String parent, core.String name) { 145 async.Future<Product> get(core.String parent, core.String name) {
144 var _url = null; 146 var _url = null;
145 var _queryParams = new core.Map(); 147 var _queryParams = new core.Map();
146 var _uploadMedia = null; 148 var _uploadMedia = null;
147 var _uploadOptions = null; 149 var _uploadOptions = null;
148 var _downloadOptions = commons.DownloadOptions.Metadata; 150 var _downloadOptions = commons.DownloadOptions.Metadata;
149 var _body = null; 151 var _body = null;
150 152
151 if (parent == null) { 153 if (parent == null) {
152 throw new core.ArgumentError("Parameter parent is required."); 154 throw new core.ArgumentError("Parameter parent is required.");
153 } 155 }
154 if (name == null) { 156 if (name == null) {
155 throw new core.ArgumentError("Parameter name is required."); 157 throw new core.ArgumentError("Parameter name is required.");
156 } 158 }
157 159
158 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products /' + commons.Escaper.ecapeVariableReserved('$name'); 160 _url = 'v1/' +
161 commons.Escaper.ecapeVariableReserved('$parent') +
162 '/products/' +
163 commons.Escaper.ecapeVariableReserved('$name');
159 164
160 var _response = _requester.request(_url, 165 var _response = _requester.request(_url, "GET",
161 "GET", 166 body: _body,
162 body: _body, 167 queryParams: _queryParams,
163 queryParams: _queryParams, 168 uploadOptions: _uploadOptions,
164 uploadOptions: _uploadOptions, 169 uploadMedia: _uploadMedia,
165 uploadMedia: _uploadMedia, 170 downloadOptions: _downloadOptions);
166 downloadOptions: _downloadOptions);
167 return _response.then((data) => new Product.fromJson(data)); 171 return _response.then((data) => new Product.fromJson(data));
168 } 172 }
169 173
170 /** 174 /// Lists all the products in a Manufacturer Center account.
171 * Lists all the products in a Manufacturer Center account. 175 ///
172 * 176 /// Request parameters:
173 * Request parameters: 177 ///
174 * 178 /// [parent] - Parent ID in the format `accounts/{account_id}`.
175 * [parent] - Parent ID in the format `accounts/{account_id}`. 179 ///
176 * 180 /// `account_id` - The ID of the Manufacturer Center account.
177 * `account_id` - The ID of the Manufacturer Center account. 181 /// Value must have pattern "^accounts/[^/]+$".
178 * Value must have pattern "^accounts/[^/]+$". 182 ///
179 * 183 /// [pageToken] - The token returned by the previous request.
180 * [pageToken] - The token returned by the previous request. 184 ///
181 * 185 /// [pageSize] - Maximum number of product statuses to return in the
182 * [pageSize] - Maximum number of product statuses to return in the response, 186 /// response, used for
183 * used for 187 /// paging.
184 * paging. 188 ///
185 * 189 /// Completes with a [ListProductsResponse].
186 * Completes with a [ListProductsResponse]. 190 ///
187 * 191 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
188 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 192 /// an error.
189 * error. 193 ///
190 * 194 /// If the used [http.Client] completes with an error when making a REST
191 * If the used [http.Client] completes with an error when making a REST call, 195 /// call, this method will complete with the same error.
192 * this method will complete with the same error. 196 async.Future<ListProductsResponse> list(core.String parent,
193 */ 197 {core.String pageToken, core.int pageSize}) {
194 async.Future<ListProductsResponse> list(core.String parent, {core.String pageT oken, core.int pageSize}) {
195 var _url = null; 198 var _url = null;
196 var _queryParams = new core.Map(); 199 var _queryParams = new core.Map();
197 var _uploadMedia = null; 200 var _uploadMedia = null;
198 var _uploadOptions = null; 201 var _uploadOptions = null;
199 var _downloadOptions = commons.DownloadOptions.Metadata; 202 var _downloadOptions = commons.DownloadOptions.Metadata;
200 var _body = null; 203 var _body = null;
201 204
202 if (parent == null) { 205 if (parent == null) {
203 throw new core.ArgumentError("Parameter parent is required."); 206 throw new core.ArgumentError("Parameter parent is required.");
204 } 207 }
205 if (pageToken != null) { 208 if (pageToken != null) {
206 _queryParams["pageToken"] = [pageToken]; 209 _queryParams["pageToken"] = [pageToken];
207 } 210 }
208 if (pageSize != null) { 211 if (pageSize != null) {
209 _queryParams["pageSize"] = ["${pageSize}"]; 212 _queryParams["pageSize"] = ["${pageSize}"];
210 } 213 }
211 214
212 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products '; 215 _url =
216 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products';
213 217
214 var _response = _requester.request(_url, 218 var _response = _requester.request(_url, "GET",
215 "GET", 219 body: _body,
216 body: _body, 220 queryParams: _queryParams,
217 queryParams: _queryParams, 221 uploadOptions: _uploadOptions,
218 uploadOptions: _uploadOptions, 222 uploadMedia: _uploadMedia,
219 uploadMedia: _uploadMedia, 223 downloadOptions: _downloadOptions);
220 downloadOptions: _downloadOptions);
221 return _response.then((data) => new ListProductsResponse.fromJson(data)); 224 return _response.then((data) => new ListProductsResponse.fromJson(data));
222 } 225 }
223 226
224 /** 227 /// Inserts or updates the product in a Manufacturer Center account.
225 * Inserts or updates the product in a Manufacturer Center account. 228 ///
226 * 229 /// The checks at upload time are minimal. All required attributes need to be
227 * The checks at upload time are minimal. All required attributes need to be 230 /// present for a product to be valid. Issues may show up later
228 * present for a product to be valid. Issues may show up later 231 /// after the API has accepted an update for a product and it is possible to
229 * after the API has accepted an update for a product and it is possible to 232 /// overwrite an existing valid product with an invalid product. To detect
230 * overwrite an existing valid product with an invalid product. To detect 233 /// this, you should retrieve the product and check it for issues once the
231 * this, you should retrieve the product and check it for issues once the 234 /// updated version is available.
232 * updated version is available. 235 ///
233 * 236 /// Inserted or updated products first need to be processed before they can
234 * Inserted or updated products first need to be processed before they can be 237 /// be
235 * retrieved. Until then, new products will be unavailable, and retrieval 238 /// retrieved. Until then, new products will be unavailable, and retrieval
236 * of updated products will return the original state of the product. 239 /// of updated products will return the original state of the product.
237 * 240 ///
238 * [request] - The metadata request object. 241 /// [request] - The metadata request object.
239 * 242 ///
240 * Request parameters: 243 /// Request parameters:
241 * 244 ///
242 * [parent] - Parent ID in the format `accounts/{account_id}`. 245 /// [parent] - Parent ID in the format `accounts/{account_id}`.
243 * 246 ///
244 * `account_id` - The ID of the Manufacturer Center account. 247 /// `account_id` - The ID of the Manufacturer Center account.
245 * Value must have pattern "^accounts/[^/]+$". 248 /// Value must have pattern "^accounts/[^/]+$".
246 * 249 ///
247 * [name] - Name in the format 250 /// [name] - Name in the format
248 * `{target_country}:{content_language}:{product_id}`. 251 /// `{target_country}:{content_language}:{product_id}`.
249 * 252 ///
250 * `target_country` - The target country of the product as a CLDR territory 253 /// `target_country` - The target country of the product as a CLDR
251 * code (for example, US). 254 /// territory
252 * 255 /// code (for example, US).
253 * `content_language` - The content language of the product as a two-letter 256 ///
254 * ISO 639-1 language code (for example, en). 257 /// `content_language` - The content language of the product as a two-letter
255 * 258 /// ISO 639-1 language code (for example, en).
256 * `product_id` - The ID of the product. For more information, see 259 ///
257 * https://support.google.com/manufacturers/answer/6124116#id. 260 /// `product_id` - The ID of the product. For more information, see
258 * Value must have pattern "^[^/]+$". 261 /// https://support.google.com/manufacturers/answer/6124116#id.
259 * 262 /// Value must have pattern "^[^/]+$".
260 * Completes with a [Product]. 263 ///
261 * 264 /// Completes with a [Product].
262 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 265 ///
263 * error. 266 /// Completes with a [commons.ApiRequestError] if the API endpoint returned
264 * 267 /// an error.
265 * If the used [http.Client] completes with an error when making a REST call, 268 ///
266 * this method will complete with the same error. 269 /// If the used [http.Client] completes with an error when making a REST
267 */ 270 /// call, this method will complete with the same error.
268 async.Future<Product> update(Product request, core.String parent, core.String name) { 271 async.Future<Product> update(
272 Product request, core.String parent, core.String name) {
269 var _url = null; 273 var _url = null;
270 var _queryParams = new core.Map(); 274 var _queryParams = new core.Map();
271 var _uploadMedia = null; 275 var _uploadMedia = null;
272 var _uploadOptions = null; 276 var _uploadOptions = null;
273 var _downloadOptions = commons.DownloadOptions.Metadata; 277 var _downloadOptions = commons.DownloadOptions.Metadata;
274 var _body = null; 278 var _body = null;
275 279
276 if (request != null) { 280 if (request != null) {
277 _body = convert.JSON.encode((request).toJson()); 281 _body = convert.JSON.encode((request).toJson());
278 } 282 }
279 if (parent == null) { 283 if (parent == null) {
280 throw new core.ArgumentError("Parameter parent is required."); 284 throw new core.ArgumentError("Parameter parent is required.");
281 } 285 }
282 if (name == null) { 286 if (name == null) {
283 throw new core.ArgumentError("Parameter name is required."); 287 throw new core.ArgumentError("Parameter name is required.");
284 } 288 }
285 289
286 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/products /' + commons.Escaper.ecapeVariableReserved('$name'); 290 _url = 'v1/' +
291 commons.Escaper.ecapeVariableReserved('$parent') +
292 '/products/' +
293 commons.Escaper.ecapeVariableReserved('$name');
287 294
288 var _response = _requester.request(_url, 295 var _response = _requester.request(_url, "PUT",
289 "PUT", 296 body: _body,
290 body: _body, 297 queryParams: _queryParams,
291 queryParams: _queryParams, 298 uploadOptions: _uploadOptions,
292 uploadOptions: _uploadOptions, 299 uploadMedia: _uploadMedia,
293 uploadMedia: _uploadMedia, 300 downloadOptions: _downloadOptions);
294 downloadOptions: _downloadOptions);
295 return _response.then((data) => new Product.fromJson(data)); 301 return _response.then((data) => new Product.fromJson(data));
296 } 302 }
297
298 } 303 }
299 304
305 /// Attributes of the product. For more information, see
306 /// https://support.google.com/manufacturers/answer/6124116.
307 class Attributes {
308 /// The additional images of the product. For more information, see
309 /// https://support.google.com/manufacturers/answer/6124116#addlimage.
310 core.List<Image> additionalImageLink;
300 311
312 /// The target age group of the product. For more information, see
313 /// https://support.google.com/manufacturers/answer/6124116#agegroup.
314 core.String ageGroup;
301 315
302 /** 316 /// The brand name of the product. For more information, see
303 * Attributes of the product. For more information, see 317 /// https://support.google.com/manufacturers/answer/6124116#brand.
304 * https://support.google.com/manufacturers/answer/6124116.
305 */
306 class Attributes {
307 /**
308 * The additional images of the product. For more information, see
309 * https://support.google.com/manufacturers/answer/6124116#addlimage.
310 */
311 core.List<Image> additionalImageLink;
312 /**
313 * The target age group of the product. For more information, see
314 * https://support.google.com/manufacturers/answer/6124116#agegroup.
315 */
316 core.String ageGroup;
317 /**
318 * The brand name of the product. For more information, see
319 * https://support.google.com/manufacturers/answer/6124116#brand.
320 */
321 core.String brand; 318 core.String brand;
322 /** 319
323 * The capacity of the product. For more information, see 320 /// The capacity of the product. For more information, see
324 * https://support.google.com/manufacturers/answer/6124116#capacity. 321 /// https://support.google.com/manufacturers/answer/6124116#capacity.
325 */
326 Capacity capacity; 322 Capacity capacity;
327 /** 323
328 * The color of the product. For more information, see 324 /// The color of the product. For more information, see
329 * https://support.google.com/manufacturers/answer/6124116#color. 325 /// https://support.google.com/manufacturers/answer/6124116#color.
330 */
331 core.String color; 326 core.String color;
332 /** 327
333 * The count of the product. For more information, see 328 /// The count of the product. For more information, see
334 * https://support.google.com/manufacturers/answer/6124116#count. 329 /// https://support.google.com/manufacturers/answer/6124116#count.
335 */
336 Count count; 330 Count count;
337 /** 331
338 * The description of the product. For more information, see 332 /// The description of the product. For more information, see
339 * https://support.google.com/manufacturers/answer/6124116#description. 333 /// https://support.google.com/manufacturers/answer/6124116#description.
340 */
341 core.String description; 334 core.String description;
342 /** 335
343 * The disclosure date of the product. For more information, see 336 /// The disclosure date of the product. For more information, see
344 * https://support.google.com/manufacturers/answer/6124116#disclosure. 337 /// https://support.google.com/manufacturers/answer/6124116#disclosure.
345 */
346 core.String disclosureDate; 338 core.String disclosureDate;
347 /** 339
348 * The rich format description of the product. For more information, see 340 /// The rich format description of the product. For more information, see
349 * https://support.google.com/manufacturers/answer/6124116#featuredesc. 341 /// https://support.google.com/manufacturers/answer/6124116#featuredesc.
350 */
351 core.List<FeatureDescription> featureDescription; 342 core.List<FeatureDescription> featureDescription;
352 /** 343
353 * The flavor of the product. For more information, see 344 /// The flavor of the product. For more information, see
354 * https://support.google.com/manufacturers/answer/6124116#flavor. 345 /// https://support.google.com/manufacturers/answer/6124116#flavor.
355 */
356 core.String flavor; 346 core.String flavor;
357 /** 347
358 * The format of the product. For more information, see 348 /// The format of the product. For more information, see
359 * https://support.google.com/manufacturers/answer/6124116#format. 349 /// https://support.google.com/manufacturers/answer/6124116#format.
360 */
361 core.String format; 350 core.String format;
362 /** 351
363 * The target gender of the product. For more information, see 352 /// The target gender of the product. For more information, see
364 * https://support.google.com/manufacturers/answer/6124116#gender. 353 /// https://support.google.com/manufacturers/answer/6124116#gender.
365 */
366 core.String gender; 354 core.String gender;
367 /** 355
368 * The Global Trade Item Number (GTIN) of the product. For more information, 356 /// The Global Trade Item Number (GTIN) of the product. For more information,
369 * see https://support.google.com/manufacturers/answer/6124116#gtin. 357 /// see https://support.google.com/manufacturers/answer/6124116#gtin.
370 */
371 core.List<core.String> gtin; 358 core.List<core.String> gtin;
372 /** 359
373 * The image of the product. For more information, see 360 /// The image of the product. For more information, see
374 * https://support.google.com/manufacturers/answer/6124116#image. 361 /// https://support.google.com/manufacturers/answer/6124116#image.
375 */
376 Image imageLink; 362 Image imageLink;
377 /** 363
378 * The item group id of the product. For more information, see 364 /// The item group id of the product. For more information, see
379 * https://support.google.com/manufacturers/answer/6124116#itemgroupid. 365 /// https://support.google.com/manufacturers/answer/6124116#itemgroupid.
380 */
381 core.String itemGroupId; 366 core.String itemGroupId;
382 /** 367
383 * The material of the product. For more information, see 368 /// The material of the product. For more information, see
384 * https://support.google.com/manufacturers/answer/6124116#material. 369 /// https://support.google.com/manufacturers/answer/6124116#material.
385 */
386 core.String material; 370 core.String material;
387 /** 371
388 * The Manufacturer Part Number (MPN) of the product. For more information, 372 /// The Manufacturer Part Number (MPN) of the product. For more information,
389 * see https://support.google.com/manufacturers/answer/6124116#mpn. 373 /// see https://support.google.com/manufacturers/answer/6124116#mpn.
390 */
391 core.String mpn; 374 core.String mpn;
392 /** 375
393 * The pattern of the product. For more information, see 376 /// The pattern of the product. For more information, see
394 * https://support.google.com/manufacturers/answer/6124116#pattern. 377 /// https://support.google.com/manufacturers/answer/6124116#pattern.
395 */
396 core.String pattern; 378 core.String pattern;
397 /** 379
398 * The details of the product. For more information, see 380 /// The details of the product. For more information, see
399 * https://support.google.com/manufacturers/answer/6124116#productdetail. 381 /// https://support.google.com/manufacturers/answer/6124116#productdetail.
400 */
401 core.List<ProductDetail> productDetail; 382 core.List<ProductDetail> productDetail;
402 /** 383
403 * The name of the group of products related to the product. For more 384 /// The name of the group of products related to the product. For more
404 * information, see 385 /// information, see
405 * https://support.google.com/manufacturers/answer/6124116#productline. 386 /// https://support.google.com/manufacturers/answer/6124116#productline.
406 */
407 core.String productLine; 387 core.String productLine;
408 /** 388
409 * The canonical name of the product. For more information, see 389 /// The canonical name of the product. For more information, see
410 * https://support.google.com/manufacturers/answer/6124116#productname. 390 /// https://support.google.com/manufacturers/answer/6124116#productname.
411 */
412 core.String productName; 391 core.String productName;
413 /** 392
414 * The URL of the detail page of the product. For more information, see 393 /// The URL of the detail page of the product. For more information, see
415 * https://support.google.com/manufacturers/answer/6124116#productpage. 394 /// https://support.google.com/manufacturers/answer/6124116#productpage.
416 */
417 core.String productPageUrl; 395 core.String productPageUrl;
418 /** 396
419 * The category of the product. For more information, see 397 /// The category of the product. For more information, see
420 * https://support.google.com/manufacturers/answer/6124116#producttype. 398 /// https://support.google.com/manufacturers/answer/6124116#producttype.
421 */
422 core.List<core.String> productType; 399 core.List<core.String> productType;
423 /** 400
424 * The release date of the product. For more information, see 401 /// The release date of the product. For more information, see
425 * https://support.google.com/manufacturers/answer/6124116#release. 402 /// https://support.google.com/manufacturers/answer/6124116#release.
426 */
427 core.String releaseDate; 403 core.String releaseDate;
428 /** 404
429 * The scent of the product. For more information, see 405 /// The scent of the product. For more information, see
430 * https://support.google.com/manufacturers/answer/6124116#scent. 406 /// https://support.google.com/manufacturers/answer/6124116#scent.
431 */
432 core.String scent; 407 core.String scent;
433 /** 408
434 * The size of the product. For more information, see 409 /// The size of the product. For more information, see
435 * https://support.google.com/manufacturers/answer/6124116#size. 410 /// https://support.google.com/manufacturers/answer/6124116#size.
436 */
437 core.String size; 411 core.String size;
438 /** 412
439 * The size system of the product. For more information, see 413 /// The size system of the product. For more information, see
440 * https://support.google.com/manufacturers/answer/6124116#sizesystem. 414 /// https://support.google.com/manufacturers/answer/6124116#sizesystem.
441 */
442 core.String sizeSystem; 415 core.String sizeSystem;
443 /** 416
444 * The size type of the product. For more information, see 417 /// The size type of the product. For more information, see
445 * https://support.google.com/manufacturers/answer/6124116#sizetype. 418 /// https://support.google.com/manufacturers/answer/6124116#sizetype.
446 */
447 core.String sizeType; 419 core.String sizeType;
448 /** 420
449 * The suggested retail price (MSRP) of the product. For more information, 421 /// The suggested retail price (MSRP) of the product. For more information,
450 * see https://support.google.com/manufacturers/answer/6124116#price. 422 /// see https://support.google.com/manufacturers/answer/6124116#price.
451 */
452 Price suggestedRetailPrice; 423 Price suggestedRetailPrice;
453 /** 424
454 * The target account id. Should only be used in the accounts of the data 425 /// The target account id. Should only be used in the accounts of the data
455 * partners. 426 /// partners.
456 */
457 core.String targetAccountId; 427 core.String targetAccountId;
458 /** 428
459 * The theme of the product. For more information, see 429 /// The theme of the product. For more information, see
460 * https://support.google.com/manufacturers/answer/6124116#theme. 430 /// https://support.google.com/manufacturers/answer/6124116#theme.
461 */
462 core.String theme; 431 core.String theme;
463 /** 432
464 * The title of the product. For more information, see 433 /// The title of the product. For more information, see
465 * https://support.google.com/manufacturers/answer/6124116#title. 434 /// https://support.google.com/manufacturers/answer/6124116#title.
466 */
467 core.String title; 435 core.String title;
468 /** 436
469 * The videos of the product. For more information, see 437 /// The videos of the product. For more information, see
470 * https://support.google.com/manufacturers/answer/6124116#video. 438 /// https://support.google.com/manufacturers/answer/6124116#video.
471 */
472 core.List<core.String> videoLink; 439 core.List<core.String> videoLink;
473 440
474 Attributes(); 441 Attributes();
475 442
476 Attributes.fromJson(core.Map _json) { 443 Attributes.fromJson(core.Map _json) {
477 if (_json.containsKey("additionalImageLink")) { 444 if (_json.containsKey("additionalImageLink")) {
478 additionalImageLink = _json["additionalImageLink"].map((value) => new Imag e.fromJson(value)).toList(); 445 additionalImageLink = _json["additionalImageLink"]
446 .map((value) => new Image.fromJson(value))
447 .toList();
479 } 448 }
480 if (_json.containsKey("ageGroup")) { 449 if (_json.containsKey("ageGroup")) {
481 ageGroup = _json["ageGroup"]; 450 ageGroup = _json["ageGroup"];
482 } 451 }
483 if (_json.containsKey("brand")) { 452 if (_json.containsKey("brand")) {
484 brand = _json["brand"]; 453 brand = _json["brand"];
485 } 454 }
486 if (_json.containsKey("capacity")) { 455 if (_json.containsKey("capacity")) {
487 capacity = new Capacity.fromJson(_json["capacity"]); 456 capacity = new Capacity.fromJson(_json["capacity"]);
488 } 457 }
489 if (_json.containsKey("color")) { 458 if (_json.containsKey("color")) {
490 color = _json["color"]; 459 color = _json["color"];
491 } 460 }
492 if (_json.containsKey("count")) { 461 if (_json.containsKey("count")) {
493 count = new Count.fromJson(_json["count"]); 462 count = new Count.fromJson(_json["count"]);
494 } 463 }
495 if (_json.containsKey("description")) { 464 if (_json.containsKey("description")) {
496 description = _json["description"]; 465 description = _json["description"];
497 } 466 }
498 if (_json.containsKey("disclosureDate")) { 467 if (_json.containsKey("disclosureDate")) {
499 disclosureDate = _json["disclosureDate"]; 468 disclosureDate = _json["disclosureDate"];
500 } 469 }
501 if (_json.containsKey("featureDescription")) { 470 if (_json.containsKey("featureDescription")) {
502 featureDescription = _json["featureDescription"].map((value) => new Featur eDescription.fromJson(value)).toList(); 471 featureDescription = _json["featureDescription"]
472 .map((value) => new FeatureDescription.fromJson(value))
473 .toList();
503 } 474 }
504 if (_json.containsKey("flavor")) { 475 if (_json.containsKey("flavor")) {
505 flavor = _json["flavor"]; 476 flavor = _json["flavor"];
506 } 477 }
507 if (_json.containsKey("format")) { 478 if (_json.containsKey("format")) {
508 format = _json["format"]; 479 format = _json["format"];
509 } 480 }
510 if (_json.containsKey("gender")) { 481 if (_json.containsKey("gender")) {
511 gender = _json["gender"]; 482 gender = _json["gender"];
512 } 483 }
513 if (_json.containsKey("gtin")) { 484 if (_json.containsKey("gtin")) {
514 gtin = _json["gtin"]; 485 gtin = _json["gtin"];
515 } 486 }
516 if (_json.containsKey("imageLink")) { 487 if (_json.containsKey("imageLink")) {
517 imageLink = new Image.fromJson(_json["imageLink"]); 488 imageLink = new Image.fromJson(_json["imageLink"]);
518 } 489 }
519 if (_json.containsKey("itemGroupId")) { 490 if (_json.containsKey("itemGroupId")) {
520 itemGroupId = _json["itemGroupId"]; 491 itemGroupId = _json["itemGroupId"];
521 } 492 }
522 if (_json.containsKey("material")) { 493 if (_json.containsKey("material")) {
523 material = _json["material"]; 494 material = _json["material"];
524 } 495 }
525 if (_json.containsKey("mpn")) { 496 if (_json.containsKey("mpn")) {
526 mpn = _json["mpn"]; 497 mpn = _json["mpn"];
527 } 498 }
528 if (_json.containsKey("pattern")) { 499 if (_json.containsKey("pattern")) {
529 pattern = _json["pattern"]; 500 pattern = _json["pattern"];
530 } 501 }
531 if (_json.containsKey("productDetail")) { 502 if (_json.containsKey("productDetail")) {
532 productDetail = _json["productDetail"].map((value) => new ProductDetail.fr omJson(value)).toList(); 503 productDetail = _json["productDetail"]
504 .map((value) => new ProductDetail.fromJson(value))
505 .toList();
533 } 506 }
534 if (_json.containsKey("productLine")) { 507 if (_json.containsKey("productLine")) {
535 productLine = _json["productLine"]; 508 productLine = _json["productLine"];
536 } 509 }
537 if (_json.containsKey("productName")) { 510 if (_json.containsKey("productName")) {
538 productName = _json["productName"]; 511 productName = _json["productName"];
539 } 512 }
540 if (_json.containsKey("productPageUrl")) { 513 if (_json.containsKey("productPageUrl")) {
541 productPageUrl = _json["productPageUrl"]; 514 productPageUrl = _json["productPageUrl"];
542 } 515 }
(...skipping 26 matching lines...) Expand all
569 } 542 }
570 if (_json.containsKey("title")) { 543 if (_json.containsKey("title")) {
571 title = _json["title"]; 544 title = _json["title"];
572 } 545 }
573 if (_json.containsKey("videoLink")) { 546 if (_json.containsKey("videoLink")) {
574 videoLink = _json["videoLink"]; 547 videoLink = _json["videoLink"];
575 } 548 }
576 } 549 }
577 550
578 core.Map<core.String, core.Object> toJson() { 551 core.Map<core.String, core.Object> toJson() {
579 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 552 final core.Map<core.String, core.Object> _json =
553 new core.Map<core.String, core.Object>();
580 if (additionalImageLink != null) { 554 if (additionalImageLink != null) {
581 _json["additionalImageLink"] = additionalImageLink.map((value) => (value). toJson()).toList(); 555 _json["additionalImageLink"] =
556 additionalImageLink.map((value) => (value).toJson()).toList();
582 } 557 }
583 if (ageGroup != null) { 558 if (ageGroup != null) {
584 _json["ageGroup"] = ageGroup; 559 _json["ageGroup"] = ageGroup;
585 } 560 }
586 if (brand != null) { 561 if (brand != null) {
587 _json["brand"] = brand; 562 _json["brand"] = brand;
588 } 563 }
589 if (capacity != null) { 564 if (capacity != null) {
590 _json["capacity"] = (capacity).toJson(); 565 _json["capacity"] = (capacity).toJson();
591 } 566 }
592 if (color != null) { 567 if (color != null) {
593 _json["color"] = color; 568 _json["color"] = color;
594 } 569 }
595 if (count != null) { 570 if (count != null) {
596 _json["count"] = (count).toJson(); 571 _json["count"] = (count).toJson();
597 } 572 }
598 if (description != null) { 573 if (description != null) {
599 _json["description"] = description; 574 _json["description"] = description;
600 } 575 }
601 if (disclosureDate != null) { 576 if (disclosureDate != null) {
602 _json["disclosureDate"] = disclosureDate; 577 _json["disclosureDate"] = disclosureDate;
603 } 578 }
604 if (featureDescription != null) { 579 if (featureDescription != null) {
605 _json["featureDescription"] = featureDescription.map((value) => (value).to Json()).toList(); 580 _json["featureDescription"] =
581 featureDescription.map((value) => (value).toJson()).toList();
606 } 582 }
607 if (flavor != null) { 583 if (flavor != null) {
608 _json["flavor"] = flavor; 584 _json["flavor"] = flavor;
609 } 585 }
610 if (format != null) { 586 if (format != null) {
611 _json["format"] = format; 587 _json["format"] = format;
612 } 588 }
613 if (gender != null) { 589 if (gender != null) {
614 _json["gender"] = gender; 590 _json["gender"] = gender;
615 } 591 }
616 if (gtin != null) { 592 if (gtin != null) {
617 _json["gtin"] = gtin; 593 _json["gtin"] = gtin;
618 } 594 }
619 if (imageLink != null) { 595 if (imageLink != null) {
620 _json["imageLink"] = (imageLink).toJson(); 596 _json["imageLink"] = (imageLink).toJson();
621 } 597 }
622 if (itemGroupId != null) { 598 if (itemGroupId != null) {
623 _json["itemGroupId"] = itemGroupId; 599 _json["itemGroupId"] = itemGroupId;
624 } 600 }
625 if (material != null) { 601 if (material != null) {
626 _json["material"] = material; 602 _json["material"] = material;
627 } 603 }
628 if (mpn != null) { 604 if (mpn != null) {
629 _json["mpn"] = mpn; 605 _json["mpn"] = mpn;
630 } 606 }
631 if (pattern != null) { 607 if (pattern != null) {
632 _json["pattern"] = pattern; 608 _json["pattern"] = pattern;
633 } 609 }
634 if (productDetail != null) { 610 if (productDetail != null) {
635 _json["productDetail"] = productDetail.map((value) => (value).toJson()).to List(); 611 _json["productDetail"] =
612 productDetail.map((value) => (value).toJson()).toList();
636 } 613 }
637 if (productLine != null) { 614 if (productLine != null) {
638 _json["productLine"] = productLine; 615 _json["productLine"] = productLine;
639 } 616 }
640 if (productName != null) { 617 if (productName != null) {
641 _json["productName"] = productName; 618 _json["productName"] = productName;
642 } 619 }
643 if (productPageUrl != null) { 620 if (productPageUrl != null) {
644 _json["productPageUrl"] = productPageUrl; 621 _json["productPageUrl"] = productPageUrl;
645 } 622 }
(...skipping 27 matching lines...) Expand all
673 if (title != null) { 650 if (title != null) {
674 _json["title"] = title; 651 _json["title"] = title;
675 } 652 }
676 if (videoLink != null) { 653 if (videoLink != null) {
677 _json["videoLink"] = videoLink; 654 _json["videoLink"] = videoLink;
678 } 655 }
679 return _json; 656 return _json;
680 } 657 }
681 } 658 }
682 659
683 /** 660 /// The capacity of a product. For more information, see
684 * The capacity of a product. For more information, see 661 /// https://support.google.com/manufacturers/answer/6124116#capacity.
685 * https://support.google.com/manufacturers/answer/6124116#capacity.
686 */
687 class Capacity { 662 class Capacity {
688 /** The unit of the capacity, i.e., MB, GB, or TB. */ 663 /// The unit of the capacity, i.e., MB, GB, or TB.
689 core.String unit; 664 core.String unit;
690 /** The numeric value of the capacity. */ 665
666 /// The numeric value of the capacity.
691 core.String value; 667 core.String value;
692 668
693 Capacity(); 669 Capacity();
694 670
695 Capacity.fromJson(core.Map _json) { 671 Capacity.fromJson(core.Map _json) {
696 if (_json.containsKey("unit")) { 672 if (_json.containsKey("unit")) {
697 unit = _json["unit"]; 673 unit = _json["unit"];
698 } 674 }
699 if (_json.containsKey("value")) { 675 if (_json.containsKey("value")) {
700 value = _json["value"]; 676 value = _json["value"];
701 } 677 }
702 } 678 }
703 679
704 core.Map<core.String, core.Object> toJson() { 680 core.Map<core.String, core.Object> toJson() {
705 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 681 final core.Map<core.String, core.Object> _json =
682 new core.Map<core.String, core.Object>();
706 if (unit != null) { 683 if (unit != null) {
707 _json["unit"] = unit; 684 _json["unit"] = unit;
708 } 685 }
709 if (value != null) { 686 if (value != null) {
710 _json["value"] = value; 687 _json["value"] = value;
711 } 688 }
712 return _json; 689 return _json;
713 } 690 }
714 } 691 }
715 692
716 /** 693 /// The number of products in a single package. For more information, see
717 * The number of products in a single package. For more information, see 694 /// https://support.google.com/manufacturers/answer/6124116#count.
718 * https://support.google.com/manufacturers/answer/6124116#count.
719 */
720 class Count { 695 class Count {
721 /** The unit in which these products are counted. */ 696 /// The unit in which these products are counted.
722 core.String unit; 697 core.String unit;
723 /** The numeric value of the number of products in a package. */ 698
699 /// The numeric value of the number of products in a package.
724 core.String value; 700 core.String value;
725 701
726 Count(); 702 Count();
727 703
728 Count.fromJson(core.Map _json) { 704 Count.fromJson(core.Map _json) {
729 if (_json.containsKey("unit")) { 705 if (_json.containsKey("unit")) {
730 unit = _json["unit"]; 706 unit = _json["unit"];
731 } 707 }
732 if (_json.containsKey("value")) { 708 if (_json.containsKey("value")) {
733 value = _json["value"]; 709 value = _json["value"];
734 } 710 }
735 } 711 }
736 712
737 core.Map<core.String, core.Object> toJson() { 713 core.Map<core.String, core.Object> toJson() {
738 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 714 final core.Map<core.String, core.Object> _json =
715 new core.Map<core.String, core.Object>();
739 if (unit != null) { 716 if (unit != null) {
740 _json["unit"] = unit; 717 _json["unit"] = unit;
741 } 718 }
742 if (value != null) { 719 if (value != null) {
743 _json["value"] = value; 720 _json["value"] = value;
744 } 721 }
745 return _json; 722 return _json;
746 } 723 }
747 } 724 }
748 725
749 /** 726 /// A generic empty message that you can re-use to avoid defining duplicated
750 * A generic empty message that you can re-use to avoid defining duplicated 727 /// empty messages in your APIs. A typical example is to use it as the request
751 * empty messages in your APIs. A typical example is to use it as the request 728 /// or the response type of an API method. For instance:
752 * or the response type of an API method. For instance: 729 ///
753 * 730 /// service Foo {
754 * service Foo { 731 /// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
755 * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); 732 /// }
756 * } 733 ///
757 * 734 /// The JSON representation for `Empty` is empty JSON object `{}`.
758 * The JSON representation for `Empty` is empty JSON object `{}`.
759 */
760 class Empty { 735 class Empty {
761
762 Empty(); 736 Empty();
763 737
764 Empty.fromJson(core.Map _json) { 738 Empty.fromJson(core.Map _json) {}
765 }
766 739
767 core.Map<core.String, core.Object> toJson() { 740 core.Map<core.String, core.Object> toJson() {
768 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 741 final core.Map<core.String, core.Object> _json =
742 new core.Map<core.String, core.Object>();
769 return _json; 743 return _json;
770 } 744 }
771 } 745 }
772 746
773 /** 747 /// A feature description of the product. For more information, see
774 * A feature description of the product. For more information, see 748 /// https://support.google.com/manufacturers/answer/6124116#featuredesc.
775 * https://support.google.com/manufacturers/answer/6124116#featuredesc.
776 */
777 class FeatureDescription { 749 class FeatureDescription {
778 /** A short description of the feature. */ 750 /// A short description of the feature.
779 core.String headline; 751 core.String headline;
780 /** An optional image describing the feature. */ 752
753 /// An optional image describing the feature.
781 Image image; 754 Image image;
782 /** A detailed description of the feature. */ 755
756 /// A detailed description of the feature.
783 core.String text; 757 core.String text;
784 758
785 FeatureDescription(); 759 FeatureDescription();
786 760
787 FeatureDescription.fromJson(core.Map _json) { 761 FeatureDescription.fromJson(core.Map _json) {
788 if (_json.containsKey("headline")) { 762 if (_json.containsKey("headline")) {
789 headline = _json["headline"]; 763 headline = _json["headline"];
790 } 764 }
791 if (_json.containsKey("image")) { 765 if (_json.containsKey("image")) {
792 image = new Image.fromJson(_json["image"]); 766 image = new Image.fromJson(_json["image"]);
793 } 767 }
794 if (_json.containsKey("text")) { 768 if (_json.containsKey("text")) {
795 text = _json["text"]; 769 text = _json["text"];
796 } 770 }
797 } 771 }
798 772
799 core.Map<core.String, core.Object> toJson() { 773 core.Map<core.String, core.Object> toJson() {
800 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 774 final core.Map<core.String, core.Object> _json =
775 new core.Map<core.String, core.Object>();
801 if (headline != null) { 776 if (headline != null) {
802 _json["headline"] = headline; 777 _json["headline"] = headline;
803 } 778 }
804 if (image != null) { 779 if (image != null) {
805 _json["image"] = (image).toJson(); 780 _json["image"] = (image).toJson();
806 } 781 }
807 if (text != null) { 782 if (text != null) {
808 _json["text"] = text; 783 _json["text"] = text;
809 } 784 }
810 return _json; 785 return _json;
811 } 786 }
812 } 787 }
813 788
814 /** An image. */ 789 /// An image.
815 class Image { 790 class Image {
816 /** 791 /// The URL of the image. For crawled images, this is the provided URL. For
817 * The URL of the image. For crawled images, this is the provided URL. For 792 /// uploaded images, this is a serving URL from Google if the image has been
818 * uploaded images, this is a serving URL from Google if the image has been 793 /// processed successfully.
819 * processed successfully.
820 */
821 core.String imageUrl; 794 core.String imageUrl;
822 /** 795
823 * The status of the image. 796 /// The status of the image.
824 * @OutputOnly 797 /// @OutputOnly
825 * Possible string values are: 798 /// Possible string values are:
826 * - "STATUS_UNSPECIFIED" : Status is unspecified. Should not be used. 799 /// - "STATUS_UNSPECIFIED" : Status is unspecified. Should not be used.
827 * - "PENDING_PROCESSING" : Image was uploaded and is being processed. 800 /// - "PENDING_PROCESSING" : Image was uploaded and is being processed.
828 * - "PENDING_CRAWL" : The image crawl is still pending. 801 /// - "PENDING_CRAWL" : The image crawl is still pending.
829 * - "OK" : The image was processed and it meets the requirements. 802 /// - "OK" : The image was processed and it meets the requirements.
830 * - "ROBOTED" : The image URL is protected by robots.txt file and cannot be 803 /// - "ROBOTED" : The image URL is protected by robots.txt file and cannot be
831 * crawled. 804 /// crawled.
832 * - "XROBOTED" : The image URL is protected by X-Robots-Tag and cannot be 805 /// - "XROBOTED" : The image URL is protected by X-Robots-Tag and cannot be
833 * crawled. 806 /// crawled.
834 * - "CRAWL_ERROR" : There was an error while crawling the image. 807 /// - "CRAWL_ERROR" : There was an error while crawling the image.
835 * - "PROCESSING_ERROR" : The image cannot be processed. 808 /// - "PROCESSING_ERROR" : The image cannot be processed.
836 * - "DECODING_ERROR" : The image cannot be decoded. 809 /// - "DECODING_ERROR" : The image cannot be decoded.
837 * - "TOO_BIG" : The image is too big. 810 /// - "TOO_BIG" : The image is too big.
838 * - "CRAWL_SKIPPED" : The image was manually overridden and will not be 811 /// - "CRAWL_SKIPPED" : The image was manually overridden and will not be
839 * crawled. 812 /// crawled.
840 */
841 core.String status; 813 core.String status;
842 /** 814
843 * The type of the image, i.e., crawled or uploaded. 815 /// The type of the image, i.e., crawled or uploaded.
844 * @OutputOnly 816 /// @OutputOnly
845 * Possible string values are: 817 /// Possible string values are:
846 * - "TYPE_UNSPECIFIED" : Type is unspecified. Should not be used. 818 /// - "TYPE_UNSPECIFIED" : Type is unspecified. Should not be used.
847 * - "CRAWLED" : The image was crawled from a provided URL. 819 /// - "CRAWLED" : The image was crawled from a provided URL.
848 * - "UPLOADED" : The image was uploaded. 820 /// - "UPLOADED" : The image was uploaded.
849 */
850 core.String type; 821 core.String type;
851 822
852 Image(); 823 Image();
853 824
854 Image.fromJson(core.Map _json) { 825 Image.fromJson(core.Map _json) {
855 if (_json.containsKey("imageUrl")) { 826 if (_json.containsKey("imageUrl")) {
856 imageUrl = _json["imageUrl"]; 827 imageUrl = _json["imageUrl"];
857 } 828 }
858 if (_json.containsKey("status")) { 829 if (_json.containsKey("status")) {
859 status = _json["status"]; 830 status = _json["status"];
860 } 831 }
861 if (_json.containsKey("type")) { 832 if (_json.containsKey("type")) {
862 type = _json["type"]; 833 type = _json["type"];
863 } 834 }
864 } 835 }
865 836
866 core.Map<core.String, core.Object> toJson() { 837 core.Map<core.String, core.Object> toJson() {
867 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 838 final core.Map<core.String, core.Object> _json =
839 new core.Map<core.String, core.Object>();
868 if (imageUrl != null) { 840 if (imageUrl != null) {
869 _json["imageUrl"] = imageUrl; 841 _json["imageUrl"] = imageUrl;
870 } 842 }
871 if (status != null) { 843 if (status != null) {
872 _json["status"] = status; 844 _json["status"] = status;
873 } 845 }
874 if (type != null) { 846 if (type != null) {
875 _json["type"] = type; 847 _json["type"] = type;
876 } 848 }
877 return _json; 849 return _json;
878 } 850 }
879 } 851 }
880 852
881 /** Product issue. */ 853 /// Product issue.
882 class Issue { 854 class Issue {
883 /** 855 /// If present, the attribute that triggered the issue. For more information
884 * If present, the attribute that triggered the issue. For more information 856 /// about attributes, see
885 * about attributes, see 857 /// https://support.google.com/manufacturers/answer/6124116.
886 * https://support.google.com/manufacturers/answer/6124116.
887 */
888 core.String attribute; 858 core.String attribute;
889 /** Description of the issue. */ 859
860 /// Description of the issue.
890 core.String description; 861 core.String description;
891 /** 862
892 * The severity of the issue. 863 /// The severity of the issue.
893 * Possible string values are: 864 /// Possible string values are:
894 * - "SEVERITY_UNSPECIFIED" : Unspecified severity, never used. 865 /// - "SEVERITY_UNSPECIFIED" : Unspecified severity, never used.
895 * - "ERROR" : Error severity. The issue prevents the usage of the whole item. 866 /// - "ERROR" : Error severity. The issue prevents the usage of the whole
896 * - "WARNING" : Warning severity. The issue is either one that prevents the 867 /// item.
897 * usage of the 868 /// - "WARNING" : Warning severity. The issue is either one that prevents the
898 * attribute that triggered it or one that will soon prevent the usage of 869 /// usage of the
899 * the whole item. 870 /// attribute that triggered it or one that will soon prevent the usage of
900 * - "INFO" : Info severity. The issue is one that doesn't require immediate 871 /// the whole item.
901 * attention. 872 /// - "INFO" : Info severity. The issue is one that doesn't require immediate
902 * It is, for example, used to communicate which attributes are still 873 /// attention.
903 * pending review. 874 /// It is, for example, used to communicate which attributes are still
904 */ 875 /// pending review.
905 core.String severity; 876 core.String severity;
906 /** The timestamp when this issue appeared. */ 877
878 /// The timestamp when this issue appeared.
907 core.String timestamp; 879 core.String timestamp;
908 /** 880
909 * The server-generated type of the issue, for example, 881 /// The server-generated type of the issue, for example,
910 * “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. 882 /// “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
911 */
912 core.String type; 883 core.String type;
913 884
914 Issue(); 885 Issue();
915 886
916 Issue.fromJson(core.Map _json) { 887 Issue.fromJson(core.Map _json) {
917 if (_json.containsKey("attribute")) { 888 if (_json.containsKey("attribute")) {
918 attribute = _json["attribute"]; 889 attribute = _json["attribute"];
919 } 890 }
920 if (_json.containsKey("description")) { 891 if (_json.containsKey("description")) {
921 description = _json["description"]; 892 description = _json["description"];
922 } 893 }
923 if (_json.containsKey("severity")) { 894 if (_json.containsKey("severity")) {
924 severity = _json["severity"]; 895 severity = _json["severity"];
925 } 896 }
926 if (_json.containsKey("timestamp")) { 897 if (_json.containsKey("timestamp")) {
927 timestamp = _json["timestamp"]; 898 timestamp = _json["timestamp"];
928 } 899 }
929 if (_json.containsKey("type")) { 900 if (_json.containsKey("type")) {
930 type = _json["type"]; 901 type = _json["type"];
931 } 902 }
932 } 903 }
933 904
934 core.Map<core.String, core.Object> toJson() { 905 core.Map<core.String, core.Object> toJson() {
935 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 906 final core.Map<core.String, core.Object> _json =
907 new core.Map<core.String, core.Object>();
936 if (attribute != null) { 908 if (attribute != null) {
937 _json["attribute"] = attribute; 909 _json["attribute"] = attribute;
938 } 910 }
939 if (description != null) { 911 if (description != null) {
940 _json["description"] = description; 912 _json["description"] = description;
941 } 913 }
942 if (severity != null) { 914 if (severity != null) {
943 _json["severity"] = severity; 915 _json["severity"] = severity;
944 } 916 }
945 if (timestamp != null) { 917 if (timestamp != null) {
946 _json["timestamp"] = timestamp; 918 _json["timestamp"] = timestamp;
947 } 919 }
948 if (type != null) { 920 if (type != null) {
949 _json["type"] = type; 921 _json["type"] = type;
950 } 922 }
951 return _json; 923 return _json;
952 } 924 }
953 } 925 }
954 926
955 class ListProductsResponse { 927 class ListProductsResponse {
956 /** The token for the retrieval of the next page of product statuses. */ 928 /// The token for the retrieval of the next page of product statuses.
957 core.String nextPageToken; 929 core.String nextPageToken;
958 /** List of the products. */ 930
931 /// List of the products.
959 core.List<Product> products; 932 core.List<Product> products;
960 933
961 ListProductsResponse(); 934 ListProductsResponse();
962 935
963 ListProductsResponse.fromJson(core.Map _json) { 936 ListProductsResponse.fromJson(core.Map _json) {
964 if (_json.containsKey("nextPageToken")) { 937 if (_json.containsKey("nextPageToken")) {
965 nextPageToken = _json["nextPageToken"]; 938 nextPageToken = _json["nextPageToken"];
966 } 939 }
967 if (_json.containsKey("products")) { 940 if (_json.containsKey("products")) {
968 products = _json["products"].map((value) => new Product.fromJson(value)).t oList(); 941 products = _json["products"]
942 .map((value) => new Product.fromJson(value))
943 .toList();
969 } 944 }
970 } 945 }
971 946
972 core.Map<core.String, core.Object> toJson() { 947 core.Map<core.String, core.Object> toJson() {
973 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 948 final core.Map<core.String, core.Object> _json =
949 new core.Map<core.String, core.Object>();
974 if (nextPageToken != null) { 950 if (nextPageToken != null) {
975 _json["nextPageToken"] = nextPageToken; 951 _json["nextPageToken"] = nextPageToken;
976 } 952 }
977 if (products != null) { 953 if (products != null) {
978 _json["products"] = products.map((value) => (value).toJson()).toList(); 954 _json["products"] = products.map((value) => (value).toJson()).toList();
979 } 955 }
980 return _json; 956 return _json;
981 } 957 }
982 } 958 }
983 959
984 /** A price. */ 960 /// A price.
985 class Price { 961 class Price {
986 /** The numeric value of the price. */ 962 /// The numeric value of the price.
987 core.String amount; 963 core.String amount;
988 /** The currency in which the price is denoted. */ 964
965 /// The currency in which the price is denoted.
989 core.String currency; 966 core.String currency;
990 967
991 Price(); 968 Price();
992 969
993 Price.fromJson(core.Map _json) { 970 Price.fromJson(core.Map _json) {
994 if (_json.containsKey("amount")) { 971 if (_json.containsKey("amount")) {
995 amount = _json["amount"]; 972 amount = _json["amount"];
996 } 973 }
997 if (_json.containsKey("currency")) { 974 if (_json.containsKey("currency")) {
998 currency = _json["currency"]; 975 currency = _json["currency"];
999 } 976 }
1000 } 977 }
1001 978
1002 core.Map<core.String, core.Object> toJson() { 979 core.Map<core.String, core.Object> toJson() {
1003 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 980 final core.Map<core.String, core.Object> _json =
981 new core.Map<core.String, core.Object>();
1004 if (amount != null) { 982 if (amount != null) {
1005 _json["amount"] = amount; 983 _json["amount"] = amount;
1006 } 984 }
1007 if (currency != null) { 985 if (currency != null) {
1008 _json["currency"] = currency; 986 _json["currency"] = currency;
1009 } 987 }
1010 return _json; 988 return _json;
1011 } 989 }
1012 } 990 }
1013 991
1014 /** Product data. */ 992 /// Product data.
1015 class Product { 993 class Product {
1016 /** 994 /// The content language of the product as a two-letter ISO 639-1 language
1017 * The content language of the product as a two-letter ISO 639-1 language code 995 /// code
1018 * (for example, en). 996 /// (for example, en).
1019 * @OutputOnly 997 /// @OutputOnly
1020 */
1021 core.String contentLanguage; 998 core.String contentLanguage;
1022 /** 999
1023 * Final attributes of the product. The final attributes are obtained by 1000 /// Final attributes of the product. The final attributes are obtained by
1024 * overriding the uploaded attributes with the manually provided and deleted 1001 /// overriding the uploaded attributes with the manually provided and deleted
1025 * attributes. Google systems only process, evaluate, review, and/or use final 1002 /// attributes. Google systems only process, evaluate, review, and/or use
1026 * attributes. 1003 /// final
1027 * @OutputOnly 1004 /// attributes.
1028 */ 1005 /// @OutputOnly
1029 Attributes finalAttributes; 1006 Attributes finalAttributes;
1030 /** 1007
1031 * A server-generated list of issues associated with the product. 1008 /// A server-generated list of issues associated with the product.
1032 * @OutputOnly 1009 /// @OutputOnly
1033 */
1034 core.List<Issue> issues; 1010 core.List<Issue> issues;
1035 /** 1011
1036 * Names of the attributes of the product deleted manually via the 1012 /// Names of the attributes of the product deleted manually via the
1037 * Manufacturer Center UI. 1013 /// Manufacturer Center UI.
1038 * @OutputOnly 1014 /// @OutputOnly
1039 */
1040 core.List<core.String> manuallyDeletedAttributes; 1015 core.List<core.String> manuallyDeletedAttributes;
1041 /** 1016
1042 * Attributes of the product provided manually via the Manufacturer Center UI. 1017 /// Attributes of the product provided manually via the Manufacturer Center
1043 * @OutputOnly 1018 /// UI.
1044 */ 1019 /// @OutputOnly
1045 Attributes manuallyProvidedAttributes; 1020 Attributes manuallyProvidedAttributes;
1046 /** 1021
1047 * Name in the format `{target_country}:{content_language}:{product_id}`. 1022 /// Name in the format `{target_country}:{content_language}:{product_id}`.
1048 * 1023 ///
1049 * `target_country` - The target country of the product as a CLDR territory 1024 /// `target_country` - The target country of the product as a CLDR
1050 * code (for example, US). 1025 /// territory
1051 * 1026 /// code (for example, US).
1052 * `content_language` - The content language of the product as a two-letter 1027 ///
1053 * ISO 639-1 language code (for example, en). 1028 /// `content_language` - The content language of the product as a two-letter
1054 * 1029 /// ISO 639-1 language code (for example, en).
1055 * `product_id` - The ID of the product. For more information, see 1030 ///
1056 * https://support.google.com/manufacturers/answer/6124116#id. 1031 /// `product_id` - The ID of the product. For more information, see
1057 * @OutputOnly 1032 /// https://support.google.com/manufacturers/answer/6124116#id.
1058 */ 1033 /// @OutputOnly
1059 core.String name; 1034 core.String name;
1060 /** 1035
1061 * Parent ID in the format `accounts/{account_id}`. 1036 /// Parent ID in the format `accounts/{account_id}`.
1062 * 1037 ///
1063 * `account_id` - The ID of the Manufacturer Center account. 1038 /// `account_id` - The ID of the Manufacturer Center account.
1064 * @OutputOnly 1039 /// @OutputOnly
1065 */
1066 core.String parent; 1040 core.String parent;
1067 /** 1041
1068 * The ID of the product. For more information, see 1042 /// The ID of the product. For more information, see
1069 * https://support.google.com/manufacturers/answer/6124116#id. 1043 /// https://support.google.com/manufacturers/answer/6124116#id.
1070 * @OutputOnly 1044 /// @OutputOnly
1071 */
1072 core.String productId; 1045 core.String productId;
1073 /** 1046
1074 * The target country of the product as a CLDR territory code (for example, 1047 /// The target country of the product as a CLDR territory code (for example,
1075 * US). 1048 /// US).
1076 * @OutputOnly 1049 /// @OutputOnly
1077 */
1078 core.String targetCountry; 1050 core.String targetCountry;
1079 /** 1051
1080 * Attributes of the product uploaded via the Manufacturer Center API or via 1052 /// Attributes of the product uploaded via the Manufacturer Center API or via
1081 * feeds. 1053 /// feeds.
1082 */
1083 Attributes uploadedAttributes; 1054 Attributes uploadedAttributes;
1084 1055
1085 Product(); 1056 Product();
1086 1057
1087 Product.fromJson(core.Map _json) { 1058 Product.fromJson(core.Map _json) {
1088 if (_json.containsKey("contentLanguage")) { 1059 if (_json.containsKey("contentLanguage")) {
1089 contentLanguage = _json["contentLanguage"]; 1060 contentLanguage = _json["contentLanguage"];
1090 } 1061 }
1091 if (_json.containsKey("finalAttributes")) { 1062 if (_json.containsKey("finalAttributes")) {
1092 finalAttributes = new Attributes.fromJson(_json["finalAttributes"]); 1063 finalAttributes = new Attributes.fromJson(_json["finalAttributes"]);
1093 } 1064 }
1094 if (_json.containsKey("issues")) { 1065 if (_json.containsKey("issues")) {
1095 issues = _json["issues"].map((value) => new Issue.fromJson(value)).toList( ); 1066 issues =
1067 _json["issues"].map((value) => new Issue.fromJson(value)).toList();
1096 } 1068 }
1097 if (_json.containsKey("manuallyDeletedAttributes")) { 1069 if (_json.containsKey("manuallyDeletedAttributes")) {
1098 manuallyDeletedAttributes = _json["manuallyDeletedAttributes"]; 1070 manuallyDeletedAttributes = _json["manuallyDeletedAttributes"];
1099 } 1071 }
1100 if (_json.containsKey("manuallyProvidedAttributes")) { 1072 if (_json.containsKey("manuallyProvidedAttributes")) {
1101 manuallyProvidedAttributes = new Attributes.fromJson(_json["manuallyProvid edAttributes"]); 1073 manuallyProvidedAttributes =
1074 new Attributes.fromJson(_json["manuallyProvidedAttributes"]);
1102 } 1075 }
1103 if (_json.containsKey("name")) { 1076 if (_json.containsKey("name")) {
1104 name = _json["name"]; 1077 name = _json["name"];
1105 } 1078 }
1106 if (_json.containsKey("parent")) { 1079 if (_json.containsKey("parent")) {
1107 parent = _json["parent"]; 1080 parent = _json["parent"];
1108 } 1081 }
1109 if (_json.containsKey("productId")) { 1082 if (_json.containsKey("productId")) {
1110 productId = _json["productId"]; 1083 productId = _json["productId"];
1111 } 1084 }
1112 if (_json.containsKey("targetCountry")) { 1085 if (_json.containsKey("targetCountry")) {
1113 targetCountry = _json["targetCountry"]; 1086 targetCountry = _json["targetCountry"];
1114 } 1087 }
1115 if (_json.containsKey("uploadedAttributes")) { 1088 if (_json.containsKey("uploadedAttributes")) {
1116 uploadedAttributes = new Attributes.fromJson(_json["uploadedAttributes"]); 1089 uploadedAttributes = new Attributes.fromJson(_json["uploadedAttributes"]);
1117 } 1090 }
1118 } 1091 }
1119 1092
1120 core.Map<core.String, core.Object> toJson() { 1093 core.Map<core.String, core.Object> toJson() {
1121 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 1094 final core.Map<core.String, core.Object> _json =
1095 new core.Map<core.String, core.Object>();
1122 if (contentLanguage != null) { 1096 if (contentLanguage != null) {
1123 _json["contentLanguage"] = contentLanguage; 1097 _json["contentLanguage"] = contentLanguage;
1124 } 1098 }
1125 if (finalAttributes != null) { 1099 if (finalAttributes != null) {
1126 _json["finalAttributes"] = (finalAttributes).toJson(); 1100 _json["finalAttributes"] = (finalAttributes).toJson();
1127 } 1101 }
1128 if (issues != null) { 1102 if (issues != null) {
1129 _json["issues"] = issues.map((value) => (value).toJson()).toList(); 1103 _json["issues"] = issues.map((value) => (value).toJson()).toList();
1130 } 1104 }
1131 if (manuallyDeletedAttributes != null) { 1105 if (manuallyDeletedAttributes != null) {
1132 _json["manuallyDeletedAttributes"] = manuallyDeletedAttributes; 1106 _json["manuallyDeletedAttributes"] = manuallyDeletedAttributes;
1133 } 1107 }
1134 if (manuallyProvidedAttributes != null) { 1108 if (manuallyProvidedAttributes != null) {
1135 _json["manuallyProvidedAttributes"] = (manuallyProvidedAttributes).toJson( ); 1109 _json["manuallyProvidedAttributes"] =
1110 (manuallyProvidedAttributes).toJson();
1136 } 1111 }
1137 if (name != null) { 1112 if (name != null) {
1138 _json["name"] = name; 1113 _json["name"] = name;
1139 } 1114 }
1140 if (parent != null) { 1115 if (parent != null) {
1141 _json["parent"] = parent; 1116 _json["parent"] = parent;
1142 } 1117 }
1143 if (productId != null) { 1118 if (productId != null) {
1144 _json["productId"] = productId; 1119 _json["productId"] = productId;
1145 } 1120 }
1146 if (targetCountry != null) { 1121 if (targetCountry != null) {
1147 _json["targetCountry"] = targetCountry; 1122 _json["targetCountry"] = targetCountry;
1148 } 1123 }
1149 if (uploadedAttributes != null) { 1124 if (uploadedAttributes != null) {
1150 _json["uploadedAttributes"] = (uploadedAttributes).toJson(); 1125 _json["uploadedAttributes"] = (uploadedAttributes).toJson();
1151 } 1126 }
1152 return _json; 1127 return _json;
1153 } 1128 }
1154 } 1129 }
1155 1130
1156 /** 1131 /// A product detail of the product. For more information, see
1157 * A product detail of the product. For more information, see 1132 /// https://support.google.com/manufacturers/answer/6124116#productdetail.
1158 * https://support.google.com/manufacturers/answer/6124116#productdetail.
1159 */
1160 class ProductDetail { 1133 class ProductDetail {
1161 /** The name of the attribute. */ 1134 /// The name of the attribute.
1162 core.String attributeName; 1135 core.String attributeName;
1163 /** The value of the attribute. */ 1136
1137 /// The value of the attribute.
1164 core.String attributeValue; 1138 core.String attributeValue;
1165 /** 1139
1166 * A short section name that can be reused between multiple product details. 1140 /// A short section name that can be reused between multiple product details.
1167 */
1168 core.String sectionName; 1141 core.String sectionName;
1169 1142
1170 ProductDetail(); 1143 ProductDetail();
1171 1144
1172 ProductDetail.fromJson(core.Map _json) { 1145 ProductDetail.fromJson(core.Map _json) {
1173 if (_json.containsKey("attributeName")) { 1146 if (_json.containsKey("attributeName")) {
1174 attributeName = _json["attributeName"]; 1147 attributeName = _json["attributeName"];
1175 } 1148 }
1176 if (_json.containsKey("attributeValue")) { 1149 if (_json.containsKey("attributeValue")) {
1177 attributeValue = _json["attributeValue"]; 1150 attributeValue = _json["attributeValue"];
1178 } 1151 }
1179 if (_json.containsKey("sectionName")) { 1152 if (_json.containsKey("sectionName")) {
1180 sectionName = _json["sectionName"]; 1153 sectionName = _json["sectionName"];
1181 } 1154 }
1182 } 1155 }
1183 1156
1184 core.Map<core.String, core.Object> toJson() { 1157 core.Map<core.String, core.Object> toJson() {
1185 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 1158 final core.Map<core.String, core.Object> _json =
1159 new core.Map<core.String, core.Object>();
1186 if (attributeName != null) { 1160 if (attributeName != null) {
1187 _json["attributeName"] = attributeName; 1161 _json["attributeName"] = attributeName;
1188 } 1162 }
1189 if (attributeValue != null) { 1163 if (attributeValue != null) {
1190 _json["attributeValue"] = attributeValue; 1164 _json["attributeValue"] = attributeValue;
1191 } 1165 }
1192 if (sectionName != null) { 1166 if (sectionName != null) {
1193 _json["sectionName"] = sectionName; 1167 _json["sectionName"] = sectionName;
1194 } 1168 }
1195 return _json; 1169 return _json;
1196 } 1170 }
1197 } 1171 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/logging/v2.dart ('k') | generated/googleapis/lib/mirror/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698