| 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.slides.v1; | 3 library googleapis.slides.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; |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1219 if (objectId != null) { | 1219 if (objectId != null) { |
| 1220 _json["objectId"] = objectId; | 1220 _json["objectId"] = objectId; |
| 1221 } | 1221 } |
| 1222 return _json; | 1222 return _json; |
| 1223 } | 1223 } |
| 1224 } | 1224 } |
| 1225 | 1225 |
| 1226 /** | 1226 /** |
| 1227 * Creates an embedded Google Sheets chart. | 1227 * Creates an embedded Google Sheets chart. |
| 1228 * | 1228 * |
| 1229 * NOTE: Chart creation requires at least one of the spreadsheets.readonly, | 1229 * NOTE: Chart creation requires at least one of the spreadsheets.readonly, |
| 1230 * spreadsheets, drive.readonly, or drive OAuth scopes. | 1230 * spreadsheets, drive.readonly, or drive OAuth scopes. |
| 1231 */ | 1231 */ |
| 1232 class CreateSheetsChartRequest { | 1232 class CreateSheetsChartRequest { |
| 1233 /** The ID of the specific chart in the Google Sheets spreadsheet. */ | 1233 /** The ID of the specific chart in the Google Sheets spreadsheet. */ |
| 1234 core.int chartId; | 1234 core.int chartId; |
| 1235 /** | 1235 /** |
| 1236 * The element properties for the chart. | 1236 * The element properties for the chart. |
| 1237 * | 1237 * |
| 1238 * When the aspect ratio of the provided size does not match the chart aspect | 1238 * When the aspect ratio of the provided size does not match the chart aspect |
| 1239 * ratio, the chart is scaled and centered with respect to the size in order | 1239 * ratio, the chart is scaled and centered with respect to the size in order |
| (...skipping 2901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4141 CreateSheetsChartResponse createSheetsChart; | 4141 CreateSheetsChartResponse createSheetsChart; |
| 4142 /** The result of creating a slide. */ | 4142 /** The result of creating a slide. */ |
| 4143 CreateSlideResponse createSlide; | 4143 CreateSlideResponse createSlide; |
| 4144 /** The result of creating a table. */ | 4144 /** The result of creating a table. */ |
| 4145 CreateTableResponse createTable; | 4145 CreateTableResponse createTable; |
| 4146 /** The result of creating a video. */ | 4146 /** The result of creating a video. */ |
| 4147 CreateVideoResponse createVideo; | 4147 CreateVideoResponse createVideo; |
| 4148 /** The result of duplicating an object. */ | 4148 /** The result of duplicating an object. */ |
| 4149 DuplicateObjectResponse duplicateObject; | 4149 DuplicateObjectResponse duplicateObject; |
| 4150 /** | 4150 /** |
| 4151 * The result of replacing all shapes containing the specified text with | 4151 * The result of replacing all shapes matching some criteria with an |
| 4152 * an image. | 4152 * image. |
| 4153 */ | 4153 */ |
| 4154 ReplaceAllShapesWithImageResponse replaceAllShapesWithImage; | 4154 ReplaceAllShapesWithImageResponse replaceAllShapesWithImage; |
| 4155 /** The result of replacing text. */ | 4155 /** The result of replacing text. */ |
| 4156 ReplaceAllTextResponse replaceAllText; | 4156 ReplaceAllTextResponse replaceAllText; |
| 4157 | 4157 |
| 4158 Response(); | 4158 Response(); |
| 4159 | 4159 |
| 4160 Response.fromJson(core.Map _json) { | 4160 Response.fromJson(core.Map _json) { |
| 4161 if (_json.containsKey("createImage")) { | 4161 if (_json.containsKey("createImage")) { |
| 4162 createImage = new CreateImageResponse.fromJson(_json["createImage"]); | 4162 createImage = new CreateImageResponse.fromJson(_json["createImage"]); |
| (...skipping 2295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6458 } | 6458 } |
| 6459 | 6459 |
| 6460 core.Map toJson() { | 6460 core.Map toJson() { |
| 6461 var _json = new core.Map(); | 6461 var _json = new core.Map(); |
| 6462 if (renderedText != null) { | 6462 if (renderedText != null) { |
| 6463 _json["renderedText"] = renderedText; | 6463 _json["renderedText"] = renderedText; |
| 6464 } | 6464 } |
| 6465 return _json; | 6465 return _json; |
| 6466 } | 6466 } |
| 6467 } | 6467 } |
| OLD | NEW |