| OLD | NEW |
| 1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
| 2 | 2 |
| 3 library googleapis.content.v2; | 3 library googleapis.content.v2; |
| 4 | 4 |
| 5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
| 6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
| 7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
| 8 | 8 |
| 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
| 10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
| (...skipping 6329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6340 | 6340 |
| 6341 class OrderCancellation { | 6341 class OrderCancellation { |
| 6342 /** The actor that created the cancellation. */ | 6342 /** The actor that created the cancellation. */ |
| 6343 core.String actor; | 6343 core.String actor; |
| 6344 /** Date on which the cancellation has been created, in ISO 8601 format. */ | 6344 /** Date on which the cancellation has been created, in ISO 8601 format. */ |
| 6345 core.String creationDate; | 6345 core.String creationDate; |
| 6346 /** The quantity that was canceled. */ | 6346 /** The quantity that was canceled. */ |
| 6347 core.int quantity; | 6347 core.int quantity; |
| 6348 /** | 6348 /** |
| 6349 * The reason for the cancellation. Orders that are cancelled with a | 6349 * The reason for the cancellation. Orders that are cancelled with a |
| 6350 * noIventory reason will lead to the removal of the product from POG until | 6350 * noInventory reason will lead to the removal of the product from POG until |
| 6351 * you make an update to that product. This will not affect your Shopping ads. | 6351 * you make an update to that product. This will not affect your Shopping ads. |
| 6352 */ | 6352 */ |
| 6353 core.String reason; | 6353 core.String reason; |
| 6354 /** The explanation of the reason. */ | 6354 /** The explanation of the reason. */ |
| 6355 core.String reasonText; | 6355 core.String reasonText; |
| 6356 | 6356 |
| 6357 OrderCancellation(); | 6357 OrderCancellation(); |
| 6358 | 6358 |
| 6359 OrderCancellation.fromJson(core.Map _json) { | 6359 OrderCancellation.fromJson(core.Map _json) { |
| 6360 if (_json.containsKey("actor")) { | 6360 if (_json.containsKey("actor")) { |
| (...skipping 4325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10686 var _json = new core.Map(); | 10686 var _json = new core.Map(); |
| 10687 if (unit != null) { | 10687 if (unit != null) { |
| 10688 _json["unit"] = unit; | 10688 _json["unit"] = unit; |
| 10689 } | 10689 } |
| 10690 if (value != null) { | 10690 if (value != null) { |
| 10691 _json["value"] = value; | 10691 _json["value"] = value; |
| 10692 } | 10692 } |
| 10693 return _json; | 10693 return _json; |
| 10694 } | 10694 } |
| 10695 } | 10695 } |
| OLD | NEW |