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; |
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 slides/v1'; | 15 const core.String USER_AGENT = 'dart-api-client slides/v1'; |
16 | 16 |
17 /** An API for creating and editing Google Slides presentations. */ | 17 /// An API for creating and editing Google Slides presentations. |
18 class SlidesApi { | 18 class SlidesApi { |
19 /** View and manage the files in your Google Drive */ | 19 /// View and manage the files in your Google Drive |
20 static const DriveScope = "https://www.googleapis.com/auth/drive"; | 20 static const DriveScope = "https://www.googleapis.com/auth/drive"; |
21 | 21 |
22 /** View the files in your Google Drive */ | 22 /// View the files in your Google Drive |
23 static const DriveReadonlyScope = "https://www.googleapis.com/auth/drive.reado
nly"; | 23 static const DriveReadonlyScope = |
| 24 "https://www.googleapis.com/auth/drive.readonly"; |
24 | 25 |
25 /** View and manage your Google Slides presentations */ | 26 /// View and manage your Google Slides presentations |
26 static const PresentationsScope = "https://www.googleapis.com/auth/presentatio
ns"; | 27 static const PresentationsScope = |
| 28 "https://www.googleapis.com/auth/presentations"; |
27 | 29 |
28 /** View your Google Slides presentations */ | 30 /// View your Google Slides presentations |
29 static const PresentationsReadonlyScope = "https://www.googleapis.com/auth/pre
sentations.readonly"; | 31 static const PresentationsReadonlyScope = |
| 32 "https://www.googleapis.com/auth/presentations.readonly"; |
30 | 33 |
31 /** View and manage your spreadsheets in Google Drive */ | 34 /// View and manage your spreadsheets in Google Drive |
32 static const SpreadsheetsScope = "https://www.googleapis.com/auth/spreadsheets
"; | 35 static const SpreadsheetsScope = |
| 36 "https://www.googleapis.com/auth/spreadsheets"; |
33 | 37 |
34 /** View your Google Spreadsheets */ | 38 /// View your Google Spreadsheets |
35 static const SpreadsheetsReadonlyScope = "https://www.googleapis.com/auth/spre
adsheets.readonly"; | 39 static const SpreadsheetsReadonlyScope = |
36 | 40 "https://www.googleapis.com/auth/spreadsheets.readonly"; |
37 | 41 |
38 final commons.ApiRequester _requester; | 42 final commons.ApiRequester _requester; |
39 | 43 |
40 PresentationsResourceApi get presentations => new PresentationsResourceApi(_re
quester); | 44 PresentationsResourceApi get presentations => |
| 45 new PresentationsResourceApi(_requester); |
41 | 46 |
42 SlidesApi(http.Client client, {core.String rootUrl: "https://slides.googleapis
.com/", core.String servicePath: ""}) : | 47 SlidesApi(http.Client client, |
43 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A
GENT); | 48 {core.String rootUrl: "https://slides.googleapis.com/", |
| 49 core.String servicePath: ""}) |
| 50 : _requester = |
| 51 new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT); |
44 } | 52 } |
45 | 53 |
46 | |
47 class PresentationsResourceApi { | 54 class PresentationsResourceApi { |
48 final commons.ApiRequester _requester; | 55 final commons.ApiRequester _requester; |
49 | 56 |
50 PresentationsPagesResourceApi get pages => new PresentationsPagesResourceApi(_
requester); | 57 PresentationsPagesResourceApi get pages => |
| 58 new PresentationsPagesResourceApi(_requester); |
51 | 59 |
52 PresentationsResourceApi(commons.ApiRequester client) : | 60 PresentationsResourceApi(commons.ApiRequester client) : _requester = client; |
53 _requester = client; | |
54 | 61 |
55 /** | 62 /// Applies one or more updates to the presentation. |
56 * Applies one or more updates to the presentation. | 63 /// |
57 * | 64 /// Each request is validated before |
58 * Each request is validated before | 65 /// being applied. If any request is not valid, then the entire request will |
59 * being applied. If any request is not valid, then the entire request will | 66 /// fail and nothing will be applied. |
60 * fail and nothing will be applied. | 67 /// |
61 * | 68 /// Some requests have replies to |
62 * Some requests have replies to | 69 /// give you some information about how they are applied. Other requests do |
63 * give you some information about how they are applied. Other requests do | 70 /// not need to return information; these each return an empty reply. |
64 * not need to return information; these each return an empty reply. | 71 /// The order of replies matches that of the requests. |
65 * The order of replies matches that of the requests. | 72 /// |
66 * | 73 /// For example, suppose you call batchUpdate with four updates, and only the |
67 * For example, suppose you call batchUpdate with four updates, and only the | 74 /// third one returns information. The response would have two empty replies: |
68 * third one returns information. The response would have two empty replies: | 75 /// the reply to the third request, and another empty reply, in that order. |
69 * the reply to the third request, and another empty reply, in that order. | 76 /// |
70 * | 77 /// Because other users may be editing the presentation, the presentation |
71 * Because other users may be editing the presentation, the presentation | 78 /// might not exactly reflect your changes: your changes may |
72 * might not exactly reflect your changes: your changes may | 79 /// be altered with respect to collaborator changes. If there are no |
73 * be altered with respect to collaborator changes. If there are no | 80 /// collaborators, the presentation should reflect your changes. In any case, |
74 * collaborators, the presentation should reflect your changes. In any case, | 81 /// the updates in your request are guaranteed to be applied together |
75 * the updates in your request are guaranteed to be applied together | 82 /// atomically. |
76 * atomically. | 83 /// |
77 * | 84 /// [request] - The metadata request object. |
78 * [request] - The metadata request object. | 85 /// |
79 * | 86 /// Request parameters: |
80 * Request parameters: | 87 /// |
81 * | 88 /// [presentationId] - The presentation to apply the updates to. |
82 * [presentationId] - The presentation to apply the updates to. | 89 /// |
83 * | 90 /// Completes with a [BatchUpdatePresentationResponse]. |
84 * Completes with a [BatchUpdatePresentationResponse]. | 91 /// |
85 * | 92 /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
86 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 93 /// an error. |
87 * error. | 94 /// |
88 * | 95 /// If the used [http.Client] completes with an error when making a REST |
89 * If the used [http.Client] completes with an error when making a REST call, | 96 /// call, this method will complete with the same error. |
90 * this method will complete with the same error. | 97 async.Future<BatchUpdatePresentationResponse> batchUpdate( |
91 */ | 98 BatchUpdatePresentationRequest request, core.String presentationId) { |
92 async.Future<BatchUpdatePresentationResponse> batchUpdate(BatchUpdatePresentat
ionRequest request, core.String presentationId) { | |
93 var _url = null; | 99 var _url = null; |
94 var _queryParams = new core.Map(); | 100 var _queryParams = new core.Map(); |
95 var _uploadMedia = null; | 101 var _uploadMedia = null; |
96 var _uploadOptions = null; | 102 var _uploadOptions = null; |
97 var _downloadOptions = commons.DownloadOptions.Metadata; | 103 var _downloadOptions = commons.DownloadOptions.Metadata; |
98 var _body = null; | 104 var _body = null; |
99 | 105 |
100 if (request != null) { | 106 if (request != null) { |
101 _body = convert.JSON.encode((request).toJson()); | 107 _body = convert.JSON.encode((request).toJson()); |
102 } | 108 } |
103 if (presentationId == null) { | 109 if (presentationId == null) { |
104 throw new core.ArgumentError("Parameter presentationId is required."); | 110 throw new core.ArgumentError("Parameter presentationId is required."); |
105 } | 111 } |
106 | 112 |
107 _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId'
) + ':batchUpdate'; | 113 _url = 'v1/presentations/' + |
| 114 commons.Escaper.ecapeVariable('$presentationId') + |
| 115 ':batchUpdate'; |
108 | 116 |
109 var _response = _requester.request(_url, | 117 var _response = _requester.request(_url, "POST", |
110 "POST", | 118 body: _body, |
111 body: _body, | 119 queryParams: _queryParams, |
112 queryParams: _queryParams, | 120 uploadOptions: _uploadOptions, |
113 uploadOptions: _uploadOptions, | 121 uploadMedia: _uploadMedia, |
114 uploadMedia: _uploadMedia, | 122 downloadOptions: _downloadOptions); |
115 downloadOptions: _downloadOptions); | 123 return _response |
116 return _response.then((data) => new BatchUpdatePresentationResponse.fromJson
(data)); | 124 .then((data) => new BatchUpdatePresentationResponse.fromJson(data)); |
117 } | 125 } |
118 | 126 |
119 /** | 127 /// Creates a new presentation using the title given in the request. Other |
120 * Creates a new presentation using the title given in the request. Other | 128 /// fields in the request are ignored. |
121 * fields in the request are ignored. | 129 /// Returns the created presentation. |
122 * Returns the created presentation. | 130 /// |
123 * | 131 /// [request] - The metadata request object. |
124 * [request] - The metadata request object. | 132 /// |
125 * | 133 /// Request parameters: |
126 * Request parameters: | 134 /// |
127 * | 135 /// Completes with a [Presentation]. |
128 * Completes with a [Presentation]. | 136 /// |
129 * | 137 /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
130 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 138 /// an error. |
131 * error. | 139 /// |
132 * | 140 /// If the used [http.Client] completes with an error when making a REST |
133 * If the used [http.Client] completes with an error when making a REST call, | 141 /// call, this method will complete with the same error. |
134 * this method will complete with the same error. | |
135 */ | |
136 async.Future<Presentation> create(Presentation request) { | 142 async.Future<Presentation> create(Presentation request) { |
137 var _url = null; | 143 var _url = null; |
138 var _queryParams = new core.Map(); | 144 var _queryParams = new core.Map(); |
139 var _uploadMedia = null; | 145 var _uploadMedia = null; |
140 var _uploadOptions = null; | 146 var _uploadOptions = null; |
141 var _downloadOptions = commons.DownloadOptions.Metadata; | 147 var _downloadOptions = commons.DownloadOptions.Metadata; |
142 var _body = null; | 148 var _body = null; |
143 | 149 |
144 if (request != null) { | 150 if (request != null) { |
145 _body = convert.JSON.encode((request).toJson()); | 151 _body = convert.JSON.encode((request).toJson()); |
146 } | 152 } |
147 | 153 |
148 _url = 'v1/presentations'; | 154 _url = 'v1/presentations'; |
149 | 155 |
150 var _response = _requester.request(_url, | 156 var _response = _requester.request(_url, "POST", |
151 "POST", | 157 body: _body, |
152 body: _body, | 158 queryParams: _queryParams, |
153 queryParams: _queryParams, | 159 uploadOptions: _uploadOptions, |
154 uploadOptions: _uploadOptions, | 160 uploadMedia: _uploadMedia, |
155 uploadMedia: _uploadMedia, | 161 downloadOptions: _downloadOptions); |
156 downloadOptions: _downloadOptions); | |
157 return _response.then((data) => new Presentation.fromJson(data)); | 162 return _response.then((data) => new Presentation.fromJson(data)); |
158 } | 163 } |
159 | 164 |
160 /** | 165 /// Gets the latest version of the specified presentation. |
161 * Gets the latest version of the specified presentation. | 166 /// |
162 * | 167 /// Request parameters: |
163 * Request parameters: | 168 /// |
164 * | 169 /// [presentationId] - The ID of the presentation to retrieve. |
165 * [presentationId] - The ID of the presentation to retrieve. | 170 /// Value must have pattern "^[^/]+$". |
166 * Value must have pattern "^[^/]+$". | 171 /// |
167 * | 172 /// Completes with a [Presentation]. |
168 * Completes with a [Presentation]. | 173 /// |
169 * | 174 /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
170 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 175 /// an error. |
171 * error. | 176 /// |
172 * | 177 /// If the used [http.Client] completes with an error when making a REST |
173 * If the used [http.Client] completes with an error when making a REST call, | 178 /// call, this method will complete with the same error. |
174 * this method will complete with the same error. | |
175 */ | |
176 async.Future<Presentation> get(core.String presentationId) { | 179 async.Future<Presentation> get(core.String presentationId) { |
177 var _url = null; | 180 var _url = null; |
178 var _queryParams = new core.Map(); | 181 var _queryParams = new core.Map(); |
179 var _uploadMedia = null; | 182 var _uploadMedia = null; |
180 var _uploadOptions = null; | 183 var _uploadOptions = null; |
181 var _downloadOptions = commons.DownloadOptions.Metadata; | 184 var _downloadOptions = commons.DownloadOptions.Metadata; |
182 var _body = null; | 185 var _body = null; |
183 | 186 |
184 if (presentationId == null) { | 187 if (presentationId == null) { |
185 throw new core.ArgumentError("Parameter presentationId is required."); | 188 throw new core.ArgumentError("Parameter presentationId is required."); |
186 } | 189 } |
187 | 190 |
188 _url = 'v1/presentations/' + commons.Escaper.ecapeVariableReserved('$present
ationId'); | 191 _url = 'v1/presentations/' + |
| 192 commons.Escaper.ecapeVariableReserved('$presentationId'); |
189 | 193 |
190 var _response = _requester.request(_url, | 194 var _response = _requester.request(_url, "GET", |
191 "GET", | 195 body: _body, |
192 body: _body, | 196 queryParams: _queryParams, |
193 queryParams: _queryParams, | 197 uploadOptions: _uploadOptions, |
194 uploadOptions: _uploadOptions, | 198 uploadMedia: _uploadMedia, |
195 uploadMedia: _uploadMedia, | 199 downloadOptions: _downloadOptions); |
196 downloadOptions: _downloadOptions); | |
197 return _response.then((data) => new Presentation.fromJson(data)); | 200 return _response.then((data) => new Presentation.fromJson(data)); |
198 } | 201 } |
199 | |
200 } | 202 } |
201 | 203 |
202 | |
203 class PresentationsPagesResourceApi { | 204 class PresentationsPagesResourceApi { |
204 final commons.ApiRequester _requester; | 205 final commons.ApiRequester _requester; |
205 | 206 |
206 PresentationsPagesResourceApi(commons.ApiRequester client) : | 207 PresentationsPagesResourceApi(commons.ApiRequester client) |
207 _requester = client; | 208 : _requester = client; |
208 | 209 |
209 /** | 210 /// Gets the latest version of the specified page in the presentation. |
210 * Gets the latest version of the specified page in the presentation. | 211 /// |
211 * | 212 /// Request parameters: |
212 * Request parameters: | 213 /// |
213 * | 214 /// [presentationId] - The ID of the presentation to retrieve. |
214 * [presentationId] - The ID of the presentation to retrieve. | 215 /// |
215 * | 216 /// [pageObjectId] - The object ID of the page to retrieve. |
216 * [pageObjectId] - The object ID of the page to retrieve. | 217 /// |
217 * | 218 /// Completes with a [Page]. |
218 * Completes with a [Page]. | 219 /// |
219 * | 220 /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
220 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 221 /// an error. |
221 * error. | 222 /// |
222 * | 223 /// If the used [http.Client] completes with an error when making a REST |
223 * If the used [http.Client] completes with an error when making a REST call, | 224 /// call, this method will complete with the same error. |
224 * this method will complete with the same error. | |
225 */ | |
226 async.Future<Page> get(core.String presentationId, core.String pageObjectId) { | 225 async.Future<Page> get(core.String presentationId, core.String pageObjectId) { |
227 var _url = null; | 226 var _url = null; |
228 var _queryParams = new core.Map(); | 227 var _queryParams = new core.Map(); |
229 var _uploadMedia = null; | 228 var _uploadMedia = null; |
230 var _uploadOptions = null; | 229 var _uploadOptions = null; |
231 var _downloadOptions = commons.DownloadOptions.Metadata; | 230 var _downloadOptions = commons.DownloadOptions.Metadata; |
232 var _body = null; | 231 var _body = null; |
233 | 232 |
234 if (presentationId == null) { | 233 if (presentationId == null) { |
235 throw new core.ArgumentError("Parameter presentationId is required."); | 234 throw new core.ArgumentError("Parameter presentationId is required."); |
236 } | 235 } |
237 if (pageObjectId == null) { | 236 if (pageObjectId == null) { |
238 throw new core.ArgumentError("Parameter pageObjectId is required."); | 237 throw new core.ArgumentError("Parameter pageObjectId is required."); |
239 } | 238 } |
240 | 239 |
241 _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId'
) + '/pages/' + commons.Escaper.ecapeVariable('$pageObjectId'); | 240 _url = 'v1/presentations/' + |
| 241 commons.Escaper.ecapeVariable('$presentationId') + |
| 242 '/pages/' + |
| 243 commons.Escaper.ecapeVariable('$pageObjectId'); |
242 | 244 |
243 var _response = _requester.request(_url, | 245 var _response = _requester.request(_url, "GET", |
244 "GET", | 246 body: _body, |
245 body: _body, | 247 queryParams: _queryParams, |
246 queryParams: _queryParams, | 248 uploadOptions: _uploadOptions, |
247 uploadOptions: _uploadOptions, | 249 uploadMedia: _uploadMedia, |
248 uploadMedia: _uploadMedia, | 250 downloadOptions: _downloadOptions); |
249 downloadOptions: _downloadOptions); | |
250 return _response.then((data) => new Page.fromJson(data)); | 251 return _response.then((data) => new Page.fromJson(data)); |
251 } | 252 } |
252 | 253 |
253 /** | 254 /// Generates a thumbnail of the latest version of the specified page in the |
254 * Generates a thumbnail of the latest version of the specified page in the | 255 /// presentation and returns a URL to the thumbnail image. |
255 * presentation and returns a URL to the thumbnail image. | 256 /// |
256 * | 257 /// Request parameters: |
257 * Request parameters: | 258 /// |
258 * | 259 /// [presentationId] - The ID of the presentation to retrieve. |
259 * [presentationId] - The ID of the presentation to retrieve. | 260 /// |
260 * | 261 /// [pageObjectId] - The object ID of the page whose thumbnail to retrieve. |
261 * [pageObjectId] - The object ID of the page whose thumbnail to retrieve. | 262 /// |
262 * | 263 /// [thumbnailProperties_thumbnailSize] - The optional thumbnail image size. |
263 * [thumbnailProperties_thumbnailSize] - The optional thumbnail image size. | 264 /// |
264 * | 265 /// If you don't specify the size, the server chooses a default size of the |
265 * If you don't specify the size, the server chooses a default size of the | 266 /// image. |
266 * image. | 267 /// Possible string values are: |
267 * Possible string values are: | 268 /// - "THUMBNAIL_SIZE_UNSPECIFIED" : A THUMBNAIL_SIZE_UNSPECIFIED. |
268 * - "THUMBNAIL_SIZE_UNSPECIFIED" : A THUMBNAIL_SIZE_UNSPECIFIED. | 269 /// - "LARGE" : A LARGE. |
269 * - "LARGE" : A LARGE. | 270 /// |
270 * | 271 /// [thumbnailProperties_mimeType] - The optional mime type of the thumbnail |
271 * [thumbnailProperties_mimeType] - The optional mime type of the thumbnail | 272 /// image. |
272 * image. | 273 /// |
273 * | 274 /// If you don't specify the mime type, the default mime type will be PNG. |
274 * If you don't specify the mime type, the default mime type will be PNG. | 275 /// Possible string values are: |
275 * Possible string values are: | 276 /// - "PNG" : A PNG. |
276 * - "PNG" : A PNG. | 277 /// |
277 * | 278 /// Completes with a [Thumbnail]. |
278 * Completes with a [Thumbnail]. | 279 /// |
279 * | 280 /// Completes with a [commons.ApiRequestError] if the API endpoint returned |
280 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 281 /// an error. |
281 * error. | 282 /// |
282 * | 283 /// If the used [http.Client] completes with an error when making a REST |
283 * If the used [http.Client] completes with an error when making a REST call, | 284 /// call, this method will complete with the same error. |
284 * this method will complete with the same error. | 285 async.Future<Thumbnail> getThumbnail( |
285 */ | 286 core.String presentationId, core.String pageObjectId, |
286 async.Future<Thumbnail> getThumbnail(core.String presentationId, core.String p
ageObjectId, {core.String thumbnailProperties_thumbnailSize, core.String thumbna
ilProperties_mimeType}) { | 287 {core.String thumbnailProperties_thumbnailSize, |
| 288 core.String thumbnailProperties_mimeType}) { |
287 var _url = null; | 289 var _url = null; |
288 var _queryParams = new core.Map(); | 290 var _queryParams = new core.Map(); |
289 var _uploadMedia = null; | 291 var _uploadMedia = null; |
290 var _uploadOptions = null; | 292 var _uploadOptions = null; |
291 var _downloadOptions = commons.DownloadOptions.Metadata; | 293 var _downloadOptions = commons.DownloadOptions.Metadata; |
292 var _body = null; | 294 var _body = null; |
293 | 295 |
294 if (presentationId == null) { | 296 if (presentationId == null) { |
295 throw new core.ArgumentError("Parameter presentationId is required."); | 297 throw new core.ArgumentError("Parameter presentationId is required."); |
296 } | 298 } |
297 if (pageObjectId == null) { | 299 if (pageObjectId == null) { |
298 throw new core.ArgumentError("Parameter pageObjectId is required."); | 300 throw new core.ArgumentError("Parameter pageObjectId is required."); |
299 } | 301 } |
300 if (thumbnailProperties_thumbnailSize != null) { | 302 if (thumbnailProperties_thumbnailSize != null) { |
301 _queryParams["thumbnailProperties.thumbnailSize"] = [thumbnailProperties_t
humbnailSize]; | 303 _queryParams["thumbnailProperties.thumbnailSize"] = [ |
| 304 thumbnailProperties_thumbnailSize |
| 305 ]; |
302 } | 306 } |
303 if (thumbnailProperties_mimeType != null) { | 307 if (thumbnailProperties_mimeType != null) { |
304 _queryParams["thumbnailProperties.mimeType"] = [thumbnailProperties_mimeTy
pe]; | 308 _queryParams["thumbnailProperties.mimeType"] = [ |
| 309 thumbnailProperties_mimeType |
| 310 ]; |
305 } | 311 } |
306 | 312 |
307 _url = 'v1/presentations/' + commons.Escaper.ecapeVariable('$presentationId'
) + '/pages/' + commons.Escaper.ecapeVariable('$pageObjectId') + '/thumbnail'; | 313 _url = 'v1/presentations/' + |
| 314 commons.Escaper.ecapeVariable('$presentationId') + |
| 315 '/pages/' + |
| 316 commons.Escaper.ecapeVariable('$pageObjectId') + |
| 317 '/thumbnail'; |
308 | 318 |
309 var _response = _requester.request(_url, | 319 var _response = _requester.request(_url, "GET", |
310 "GET", | 320 body: _body, |
311 body: _body, | 321 queryParams: _queryParams, |
312 queryParams: _queryParams, | 322 uploadOptions: _uploadOptions, |
313 uploadOptions: _uploadOptions, | 323 uploadMedia: _uploadMedia, |
314 uploadMedia: _uploadMedia, | 324 downloadOptions: _downloadOptions); |
315 downloadOptions: _downloadOptions); | |
316 return _response.then((data) => new Thumbnail.fromJson(data)); | 325 return _response.then((data) => new Thumbnail.fromJson(data)); |
317 } | 326 } |
318 | |
319 } | 327 } |
320 | 328 |
| 329 /// AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] |
| 330 /// to transform source coordinates (x,y) into destination coordinates (x', y') |
| 331 /// according to: |
| 332 /// |
| 333 /// x' x = shear_y scale_y translate_y |
| 334 /// 1 [ 1 ] |
| 335 /// |
| 336 /// After transformation, |
| 337 /// |
| 338 /// x' = scale_x * x + shear_x * y + translate_x; |
| 339 /// y' = scale_y * y + shear_y * x + translate_y; |
| 340 /// |
| 341 /// This message is therefore composed of these six matrix elements. |
| 342 class AffineTransform { |
| 343 /// The X coordinate scaling element. |
| 344 core.double scaleX; |
321 | 345 |
| 346 /// The Y coordinate scaling element. |
| 347 core.double scaleY; |
322 | 348 |
323 /** | 349 /// The X coordinate shearing element. |
324 * AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] | |
325 * to transform source coordinates (x,y) into destination coordinates (x', y') | |
326 * according to: | |
327 * | |
328 * x' x = shear_y scale_y translate_y | |
329 * 1 [ 1 ] | |
330 * | |
331 * After transformation, | |
332 * | |
333 * x' = scale_x * x + shear_x * y + translate_x; | |
334 * y' = scale_y * y + shear_y * x + translate_y; | |
335 * | |
336 * This message is therefore composed of these six matrix elements. | |
337 */ | |
338 class AffineTransform { | |
339 /** The X coordinate scaling element. */ | |
340 core.double scaleX; | |
341 /** The Y coordinate scaling element. */ | |
342 core.double scaleY; | |
343 /** The X coordinate shearing element. */ | |
344 core.double shearX; | 350 core.double shearX; |
345 /** The Y coordinate shearing element. */ | 351 |
| 352 /// The Y coordinate shearing element. |
346 core.double shearY; | 353 core.double shearY; |
347 /** The X coordinate translation element. */ | 354 |
| 355 /// The X coordinate translation element. |
348 core.double translateX; | 356 core.double translateX; |
349 /** The Y coordinate translation element. */ | 357 |
| 358 /// The Y coordinate translation element. |
350 core.double translateY; | 359 core.double translateY; |
351 /** | 360 |
352 * The units for translate elements. | 361 /// The units for translate elements. |
353 * Possible string values are: | 362 /// Possible string values are: |
354 * - "UNIT_UNSPECIFIED" : The units are unknown. | 363 /// - "UNIT_UNSPECIFIED" : The units are unknown. |
355 * - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a | 364 /// - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a |
356 * centimeter | 365 /// centimeter |
357 * and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point. | 366 /// and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point. |
358 * - "PT" : A point, 1/72 of an inch. | 367 /// - "PT" : A point, 1/72 of an inch. |
359 */ | |
360 core.String unit; | 368 core.String unit; |
361 | 369 |
362 AffineTransform(); | 370 AffineTransform(); |
363 | 371 |
364 AffineTransform.fromJson(core.Map _json) { | 372 AffineTransform.fromJson(core.Map _json) { |
365 if (_json.containsKey("scaleX")) { | 373 if (_json.containsKey("scaleX")) { |
366 scaleX = _json["scaleX"]; | 374 scaleX = _json["scaleX"]; |
367 } | 375 } |
368 if (_json.containsKey("scaleY")) { | 376 if (_json.containsKey("scaleY")) { |
369 scaleY = _json["scaleY"]; | 377 scaleY = _json["scaleY"]; |
370 } | 378 } |
371 if (_json.containsKey("shearX")) { | 379 if (_json.containsKey("shearX")) { |
372 shearX = _json["shearX"]; | 380 shearX = _json["shearX"]; |
373 } | 381 } |
374 if (_json.containsKey("shearY")) { | 382 if (_json.containsKey("shearY")) { |
375 shearY = _json["shearY"]; | 383 shearY = _json["shearY"]; |
376 } | 384 } |
377 if (_json.containsKey("translateX")) { | 385 if (_json.containsKey("translateX")) { |
378 translateX = _json["translateX"]; | 386 translateX = _json["translateX"]; |
379 } | 387 } |
380 if (_json.containsKey("translateY")) { | 388 if (_json.containsKey("translateY")) { |
381 translateY = _json["translateY"]; | 389 translateY = _json["translateY"]; |
382 } | 390 } |
383 if (_json.containsKey("unit")) { | 391 if (_json.containsKey("unit")) { |
384 unit = _json["unit"]; | 392 unit = _json["unit"]; |
385 } | 393 } |
386 } | 394 } |
387 | 395 |
388 core.Map<core.String, core.Object> toJson() { | 396 core.Map<core.String, core.Object> toJson() { |
389 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 397 final core.Map<core.String, core.Object> _json = |
| 398 new core.Map<core.String, core.Object>(); |
390 if (scaleX != null) { | 399 if (scaleX != null) { |
391 _json["scaleX"] = scaleX; | 400 _json["scaleX"] = scaleX; |
392 } | 401 } |
393 if (scaleY != null) { | 402 if (scaleY != null) { |
394 _json["scaleY"] = scaleY; | 403 _json["scaleY"] = scaleY; |
395 } | 404 } |
396 if (shearX != null) { | 405 if (shearX != null) { |
397 _json["shearX"] = shearX; | 406 _json["shearX"] = shearX; |
398 } | 407 } |
399 if (shearY != null) { | 408 if (shearY != null) { |
400 _json["shearY"] = shearY; | 409 _json["shearY"] = shearY; |
401 } | 410 } |
402 if (translateX != null) { | 411 if (translateX != null) { |
403 _json["translateX"] = translateX; | 412 _json["translateX"] = translateX; |
404 } | 413 } |
405 if (translateY != null) { | 414 if (translateY != null) { |
406 _json["translateY"] = translateY; | 415 _json["translateY"] = translateY; |
407 } | 416 } |
408 if (unit != null) { | 417 if (unit != null) { |
409 _json["unit"] = unit; | 418 _json["unit"] = unit; |
410 } | 419 } |
411 return _json; | 420 return _json; |
412 } | 421 } |
413 } | 422 } |
414 | 423 |
415 /** A TextElement kind that represents auto text. */ | 424 /// A TextElement kind that represents auto text. |
416 class AutoText { | 425 class AutoText { |
417 /** The rendered content of this auto text, if available. */ | 426 /// The rendered content of this auto text, if available. |
418 core.String content; | 427 core.String content; |
419 /** The styling applied to this auto text. */ | 428 |
| 429 /// The styling applied to this auto text. |
420 TextStyle style; | 430 TextStyle style; |
421 /** | 431 |
422 * The type of this auto text. | 432 /// The type of this auto text. |
423 * Possible string values are: | 433 /// Possible string values are: |
424 * - "TYPE_UNSPECIFIED" : An unspecified autotext type. | 434 /// - "TYPE_UNSPECIFIED" : An unspecified autotext type. |
425 * - "SLIDE_NUMBER" : Type for autotext that represents the current slide | 435 /// - "SLIDE_NUMBER" : Type for autotext that represents the current slide |
426 * number. | 436 /// number. |
427 */ | |
428 core.String type; | 437 core.String type; |
429 | 438 |
430 AutoText(); | 439 AutoText(); |
431 | 440 |
432 AutoText.fromJson(core.Map _json) { | 441 AutoText.fromJson(core.Map _json) { |
433 if (_json.containsKey("content")) { | 442 if (_json.containsKey("content")) { |
434 content = _json["content"]; | 443 content = _json["content"]; |
435 } | 444 } |
436 if (_json.containsKey("style")) { | 445 if (_json.containsKey("style")) { |
437 style = new TextStyle.fromJson(_json["style"]); | 446 style = new TextStyle.fromJson(_json["style"]); |
438 } | 447 } |
439 if (_json.containsKey("type")) { | 448 if (_json.containsKey("type")) { |
440 type = _json["type"]; | 449 type = _json["type"]; |
441 } | 450 } |
442 } | 451 } |
443 | 452 |
444 core.Map<core.String, core.Object> toJson() { | 453 core.Map<core.String, core.Object> toJson() { |
445 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 454 final core.Map<core.String, core.Object> _json = |
| 455 new core.Map<core.String, core.Object>(); |
446 if (content != null) { | 456 if (content != null) { |
447 _json["content"] = content; | 457 _json["content"] = content; |
448 } | 458 } |
449 if (style != null) { | 459 if (style != null) { |
450 _json["style"] = (style).toJson(); | 460 _json["style"] = (style).toJson(); |
451 } | 461 } |
452 if (type != null) { | 462 if (type != null) { |
453 _json["type"] = type; | 463 _json["type"] = type; |
454 } | 464 } |
455 return _json; | 465 return _json; |
456 } | 466 } |
457 } | 467 } |
458 | 468 |
459 /** Request message for PresentationsService.BatchUpdatePresentation. */ | 469 /// Request message for PresentationsService.BatchUpdatePresentation. |
460 class BatchUpdatePresentationRequest { | 470 class BatchUpdatePresentationRequest { |
461 /** A list of updates to apply to the presentation. */ | 471 /// A list of updates to apply to the presentation. |
462 core.List<Request> requests; | 472 core.List<Request> requests; |
463 /** Provides control over how write requests are executed. */ | 473 |
| 474 /// Provides control over how write requests are executed. |
464 WriteControl writeControl; | 475 WriteControl writeControl; |
465 | 476 |
466 BatchUpdatePresentationRequest(); | 477 BatchUpdatePresentationRequest(); |
467 | 478 |
468 BatchUpdatePresentationRequest.fromJson(core.Map _json) { | 479 BatchUpdatePresentationRequest.fromJson(core.Map _json) { |
469 if (_json.containsKey("requests")) { | 480 if (_json.containsKey("requests")) { |
470 requests = _json["requests"].map((value) => new Request.fromJson(value)).t
oList(); | 481 requests = _json["requests"] |
| 482 .map((value) => new Request.fromJson(value)) |
| 483 .toList(); |
471 } | 484 } |
472 if (_json.containsKey("writeControl")) { | 485 if (_json.containsKey("writeControl")) { |
473 writeControl = new WriteControl.fromJson(_json["writeControl"]); | 486 writeControl = new WriteControl.fromJson(_json["writeControl"]); |
474 } | 487 } |
475 } | 488 } |
476 | 489 |
477 core.Map<core.String, core.Object> toJson() { | 490 core.Map<core.String, core.Object> toJson() { |
478 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 491 final core.Map<core.String, core.Object> _json = |
| 492 new core.Map<core.String, core.Object>(); |
479 if (requests != null) { | 493 if (requests != null) { |
480 _json["requests"] = requests.map((value) => (value).toJson()).toList(); | 494 _json["requests"] = requests.map((value) => (value).toJson()).toList(); |
481 } | 495 } |
482 if (writeControl != null) { | 496 if (writeControl != null) { |
483 _json["writeControl"] = (writeControl).toJson(); | 497 _json["writeControl"] = (writeControl).toJson(); |
484 } | 498 } |
485 return _json; | 499 return _json; |
486 } | 500 } |
487 } | 501 } |
488 | 502 |
489 /** Response message from a batch update. */ | 503 /// Response message from a batch update. |
490 class BatchUpdatePresentationResponse { | 504 class BatchUpdatePresentationResponse { |
491 /** The presentation the updates were applied to. */ | 505 /// The presentation the updates were applied to. |
492 core.String presentationId; | 506 core.String presentationId; |
493 /** | 507 |
494 * The reply of the updates. This maps 1:1 with the updates, although | 508 /// The reply of the updates. This maps 1:1 with the updates, although |
495 * replies to some requests may be empty. | 509 /// replies to some requests may be empty. |
496 */ | |
497 core.List<Response> replies; | 510 core.List<Response> replies; |
498 | 511 |
499 BatchUpdatePresentationResponse(); | 512 BatchUpdatePresentationResponse(); |
500 | 513 |
501 BatchUpdatePresentationResponse.fromJson(core.Map _json) { | 514 BatchUpdatePresentationResponse.fromJson(core.Map _json) { |
502 if (_json.containsKey("presentationId")) { | 515 if (_json.containsKey("presentationId")) { |
503 presentationId = _json["presentationId"]; | 516 presentationId = _json["presentationId"]; |
504 } | 517 } |
505 if (_json.containsKey("replies")) { | 518 if (_json.containsKey("replies")) { |
506 replies = _json["replies"].map((value) => new Response.fromJson(value)).to
List(); | 519 replies = _json["replies"] |
| 520 .map((value) => new Response.fromJson(value)) |
| 521 .toList(); |
507 } | 522 } |
508 } | 523 } |
509 | 524 |
510 core.Map<core.String, core.Object> toJson() { | 525 core.Map<core.String, core.Object> toJson() { |
511 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 526 final core.Map<core.String, core.Object> _json = |
| 527 new core.Map<core.String, core.Object>(); |
512 if (presentationId != null) { | 528 if (presentationId != null) { |
513 _json["presentationId"] = presentationId; | 529 _json["presentationId"] = presentationId; |
514 } | 530 } |
515 if (replies != null) { | 531 if (replies != null) { |
516 _json["replies"] = replies.map((value) => (value).toJson()).toList(); | 532 _json["replies"] = replies.map((value) => (value).toJson()).toList(); |
517 } | 533 } |
518 return _json; | 534 return _json; |
519 } | 535 } |
520 } | 536 } |
521 | 537 |
522 /** Describes the bullet of a paragraph. */ | 538 /// Describes the bullet of a paragraph. |
523 class Bullet { | 539 class Bullet { |
524 /** The paragraph specific text style applied to this bullet. */ | 540 /// The paragraph specific text style applied to this bullet. |
525 TextStyle bulletStyle; | 541 TextStyle bulletStyle; |
526 /** The rendered bullet glyph for this paragraph. */ | 542 |
| 543 /// The rendered bullet glyph for this paragraph. |
527 core.String glyph; | 544 core.String glyph; |
528 /** The ID of the list this paragraph belongs to. */ | 545 |
| 546 /// The ID of the list this paragraph belongs to. |
529 core.String listId; | 547 core.String listId; |
530 /** The nesting level of this paragraph in the list. */ | 548 |
| 549 /// The nesting level of this paragraph in the list. |
531 core.int nestingLevel; | 550 core.int nestingLevel; |
532 | 551 |
533 Bullet(); | 552 Bullet(); |
534 | 553 |
535 Bullet.fromJson(core.Map _json) { | 554 Bullet.fromJson(core.Map _json) { |
536 if (_json.containsKey("bulletStyle")) { | 555 if (_json.containsKey("bulletStyle")) { |
537 bulletStyle = new TextStyle.fromJson(_json["bulletStyle"]); | 556 bulletStyle = new TextStyle.fromJson(_json["bulletStyle"]); |
538 } | 557 } |
539 if (_json.containsKey("glyph")) { | 558 if (_json.containsKey("glyph")) { |
540 glyph = _json["glyph"]; | 559 glyph = _json["glyph"]; |
541 } | 560 } |
542 if (_json.containsKey("listId")) { | 561 if (_json.containsKey("listId")) { |
543 listId = _json["listId"]; | 562 listId = _json["listId"]; |
544 } | 563 } |
545 if (_json.containsKey("nestingLevel")) { | 564 if (_json.containsKey("nestingLevel")) { |
546 nestingLevel = _json["nestingLevel"]; | 565 nestingLevel = _json["nestingLevel"]; |
547 } | 566 } |
548 } | 567 } |
549 | 568 |
550 core.Map<core.String, core.Object> toJson() { | 569 core.Map<core.String, core.Object> toJson() { |
551 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 570 final core.Map<core.String, core.Object> _json = |
| 571 new core.Map<core.String, core.Object>(); |
552 if (bulletStyle != null) { | 572 if (bulletStyle != null) { |
553 _json["bulletStyle"] = (bulletStyle).toJson(); | 573 _json["bulletStyle"] = (bulletStyle).toJson(); |
554 } | 574 } |
555 if (glyph != null) { | 575 if (glyph != null) { |
556 _json["glyph"] = glyph; | 576 _json["glyph"] = glyph; |
557 } | 577 } |
558 if (listId != null) { | 578 if (listId != null) { |
559 _json["listId"] = listId; | 579 _json["listId"] = listId; |
560 } | 580 } |
561 if (nestingLevel != null) { | 581 if (nestingLevel != null) { |
562 _json["nestingLevel"] = nestingLevel; | 582 _json["nestingLevel"] = nestingLevel; |
563 } | 583 } |
564 return _json; | 584 return _json; |
565 } | 585 } |
566 } | 586 } |
567 | 587 |
568 /** The palette of predefined colors for a page. */ | 588 /// The palette of predefined colors for a page. |
569 class ColorScheme { | 589 class ColorScheme { |
570 /** The ThemeColorType and corresponding concrete color pairs. */ | 590 /// The ThemeColorType and corresponding concrete color pairs. |
571 core.List<ThemeColorPair> colors; | 591 core.List<ThemeColorPair> colors; |
572 | 592 |
573 ColorScheme(); | 593 ColorScheme(); |
574 | 594 |
575 ColorScheme.fromJson(core.Map _json) { | 595 ColorScheme.fromJson(core.Map _json) { |
576 if (_json.containsKey("colors")) { | 596 if (_json.containsKey("colors")) { |
577 colors = _json["colors"].map((value) => new ThemeColorPair.fromJson(value)
).toList(); | 597 colors = _json["colors"] |
| 598 .map((value) => new ThemeColorPair.fromJson(value)) |
| 599 .toList(); |
578 } | 600 } |
579 } | 601 } |
580 | 602 |
581 core.Map<core.String, core.Object> toJson() { | 603 core.Map<core.String, core.Object> toJson() { |
582 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 604 final core.Map<core.String, core.Object> _json = |
| 605 new core.Map<core.String, core.Object>(); |
583 if (colors != null) { | 606 if (colors != null) { |
584 _json["colors"] = colors.map((value) => (value).toJson()).toList(); | 607 _json["colors"] = colors.map((value) => (value).toJson()).toList(); |
585 } | 608 } |
586 return _json; | 609 return _json; |
587 } | 610 } |
588 } | 611 } |
589 | 612 |
590 /** A color and position in a gradient band. */ | 613 /// A color and position in a gradient band. |
591 class ColorStop { | 614 class ColorStop { |
592 /** | 615 /// The alpha value of this color in the gradient band. Defaults to 1.0, |
593 * The alpha value of this color in the gradient band. Defaults to 1.0, | 616 /// fully opaque. |
594 * fully opaque. | |
595 */ | |
596 core.double alpha; | 617 core.double alpha; |
597 /** The color of the gradient stop. */ | 618 |
| 619 /// The color of the gradient stop. |
598 OpaqueColor color; | 620 OpaqueColor color; |
599 /** | 621 |
600 * The relative position of the color stop in the gradient band measured | 622 /// The relative position of the color stop in the gradient band measured |
601 * in percentage. The value should be in the interval [0.0, 1.0]. | 623 /// in percentage. The value should be in the interval [0.0, 1.0]. |
602 */ | |
603 core.double position; | 624 core.double position; |
604 | 625 |
605 ColorStop(); | 626 ColorStop(); |
606 | 627 |
607 ColorStop.fromJson(core.Map _json) { | 628 ColorStop.fromJson(core.Map _json) { |
608 if (_json.containsKey("alpha")) { | 629 if (_json.containsKey("alpha")) { |
609 alpha = _json["alpha"]; | 630 alpha = _json["alpha"]; |
610 } | 631 } |
611 if (_json.containsKey("color")) { | 632 if (_json.containsKey("color")) { |
612 color = new OpaqueColor.fromJson(_json["color"]); | 633 color = new OpaqueColor.fromJson(_json["color"]); |
613 } | 634 } |
614 if (_json.containsKey("position")) { | 635 if (_json.containsKey("position")) { |
615 position = _json["position"]; | 636 position = _json["position"]; |
616 } | 637 } |
617 } | 638 } |
618 | 639 |
619 core.Map<core.String, core.Object> toJson() { | 640 core.Map<core.String, core.Object> toJson() { |
620 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 641 final core.Map<core.String, core.Object> _json = |
| 642 new core.Map<core.String, core.Object>(); |
621 if (alpha != null) { | 643 if (alpha != null) { |
622 _json["alpha"] = alpha; | 644 _json["alpha"] = alpha; |
623 } | 645 } |
624 if (color != null) { | 646 if (color != null) { |
625 _json["color"] = (color).toJson(); | 647 _json["color"] = (color).toJson(); |
626 } | 648 } |
627 if (position != null) { | 649 if (position != null) { |
628 _json["position"] = position; | 650 _json["position"] = position; |
629 } | 651 } |
630 return _json; | 652 return _json; |
631 } | 653 } |
632 } | 654 } |
633 | 655 |
634 /** Creates an image. */ | 656 /// Creates an image. |
635 class CreateImageRequest { | 657 class CreateImageRequest { |
636 /** | 658 /// The element properties for the image. |
637 * The element properties for the image. | 659 /// |
638 * | 660 /// When the aspect ratio of the provided size does not match the image |
639 * When the aspect ratio of the provided size does not match the image aspect | 661 /// aspect |
640 * ratio, the image is scaled and centered with respect to the size in order | 662 /// ratio, the image is scaled and centered with respect to the size in order |
641 * to maintain aspect ratio. The provided transform is applied after this | 663 /// to maintain aspect ratio. The provided transform is applied after this |
642 * operation. | 664 /// operation. |
643 */ | |
644 PageElementProperties elementProperties; | 665 PageElementProperties elementProperties; |
645 /** | 666 |
646 * A user-supplied object ID. | 667 /// A user-supplied object ID. |
647 * | 668 /// |
648 * If you specify an ID, it must be unique among all pages and page elements | 669 /// If you specify an ID, it must be unique among all pages and page elements |
649 * in the presentation. The ID must start with an alphanumeric character or an | 670 /// in the presentation. The ID must start with an alphanumeric character or |
650 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 671 /// an |
651 * may include those as well as a hyphen or colon (matches regex | 672 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
652 * `[a-zA-Z0-9_-:]`). | 673 /// may include those as well as a hyphen or colon (matches regex |
653 * The length of the ID must not be less than 5 or greater than 50. | 674 /// `[a-zA-Z0-9_-:]`). |
654 * | 675 /// The length of the ID must not be less than 5 or greater than 50. |
655 * If you don't specify an ID, a unique one is generated. | 676 /// |
656 */ | 677 /// If you don't specify an ID, a unique one is generated. |
657 core.String objectId; | 678 core.String objectId; |
658 /** | 679 |
659 * The image URL. | 680 /// The image URL. |
660 * | 681 /// |
661 * The image is fetched once at insertion time and a copy is stored for | 682 /// The image is fetched once at insertion time and a copy is stored for |
662 * display inside the presentation. Images must be less than 50MB in size, | 683 /// display inside the presentation. Images must be less than 50MB in size, |
663 * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF | 684 /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF |
664 * format. | 685 /// format. |
665 */ | 686 /// |
| 687 /// The provided URL can be at maximum 2K bytes large. |
666 core.String url; | 688 core.String url; |
667 | 689 |
668 CreateImageRequest(); | 690 CreateImageRequest(); |
669 | 691 |
670 CreateImageRequest.fromJson(core.Map _json) { | 692 CreateImageRequest.fromJson(core.Map _json) { |
671 if (_json.containsKey("elementProperties")) { | 693 if (_json.containsKey("elementProperties")) { |
672 elementProperties = new PageElementProperties.fromJson(_json["elementPrope
rties"]); | 694 elementProperties = |
| 695 new PageElementProperties.fromJson(_json["elementProperties"]); |
673 } | 696 } |
674 if (_json.containsKey("objectId")) { | 697 if (_json.containsKey("objectId")) { |
675 objectId = _json["objectId"]; | 698 objectId = _json["objectId"]; |
676 } | 699 } |
677 if (_json.containsKey("url")) { | 700 if (_json.containsKey("url")) { |
678 url = _json["url"]; | 701 url = _json["url"]; |
679 } | 702 } |
680 } | 703 } |
681 | 704 |
682 core.Map<core.String, core.Object> toJson() { | 705 core.Map<core.String, core.Object> toJson() { |
683 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 706 final core.Map<core.String, core.Object> _json = |
| 707 new core.Map<core.String, core.Object>(); |
684 if (elementProperties != null) { | 708 if (elementProperties != null) { |
685 _json["elementProperties"] = (elementProperties).toJson(); | 709 _json["elementProperties"] = (elementProperties).toJson(); |
686 } | 710 } |
687 if (objectId != null) { | 711 if (objectId != null) { |
688 _json["objectId"] = objectId; | 712 _json["objectId"] = objectId; |
689 } | 713 } |
690 if (url != null) { | 714 if (url != null) { |
691 _json["url"] = url; | 715 _json["url"] = url; |
692 } | 716 } |
693 return _json; | 717 return _json; |
694 } | 718 } |
695 } | 719 } |
696 | 720 |
697 /** The result of creating an image. */ | 721 /// The result of creating an image. |
698 class CreateImageResponse { | 722 class CreateImageResponse { |
699 /** The object ID of the created image. */ | 723 /// The object ID of the created image. |
700 core.String objectId; | 724 core.String objectId; |
701 | 725 |
702 CreateImageResponse(); | 726 CreateImageResponse(); |
703 | 727 |
704 CreateImageResponse.fromJson(core.Map _json) { | 728 CreateImageResponse.fromJson(core.Map _json) { |
705 if (_json.containsKey("objectId")) { | 729 if (_json.containsKey("objectId")) { |
706 objectId = _json["objectId"]; | 730 objectId = _json["objectId"]; |
707 } | 731 } |
708 } | 732 } |
709 | 733 |
710 core.Map<core.String, core.Object> toJson() { | 734 core.Map<core.String, core.Object> toJson() { |
711 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 735 final core.Map<core.String, core.Object> _json = |
| 736 new core.Map<core.String, core.Object>(); |
712 if (objectId != null) { | 737 if (objectId != null) { |
713 _json["objectId"] = objectId; | 738 _json["objectId"] = objectId; |
714 } | 739 } |
715 return _json; | 740 return _json; |
716 } | 741 } |
717 } | 742 } |
718 | 743 |
719 /** Creates a line. */ | 744 /// Creates a line. |
720 class CreateLineRequest { | 745 class CreateLineRequest { |
721 /** The element properties for the line. */ | 746 /// The element properties for the line. |
722 PageElementProperties elementProperties; | 747 PageElementProperties elementProperties; |
723 /** | 748 |
724 * The category of line to be created. | 749 /// The category of line to be created. |
725 * Possible string values are: | 750 /// Possible string values are: |
726 * - "STRAIGHT" : Straight connectors, including straight connector 1. The is | 751 /// - "STRAIGHT" : Straight connectors, including straight connector 1. The |
727 * the default | 752 /// is the default |
728 * category when one is not specified. | 753 /// category when one is not specified. |
729 * - "BENT" : Bent connectors, including bent connector 2 to 5. | 754 /// - "BENT" : Bent connectors, including bent connector 2 to 5. |
730 * - "CURVED" : Curved connectors, including curved connector 2 to 5. | 755 /// - "CURVED" : Curved connectors, including curved connector 2 to 5. |
731 */ | |
732 core.String lineCategory; | 756 core.String lineCategory; |
733 /** | 757 |
734 * A user-supplied object ID. | 758 /// A user-supplied object ID. |
735 * | 759 /// |
736 * If you specify an ID, it must be unique among all pages and page elements | 760 /// If you specify an ID, it must be unique among all pages and page elements |
737 * in the presentation. The ID must start with an alphanumeric character or an | 761 /// in the presentation. The ID must start with an alphanumeric character or |
738 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 762 /// an |
739 * may include those as well as a hyphen or colon (matches regex | 763 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
740 * `[a-zA-Z0-9_-:]`). | 764 /// may include those as well as a hyphen or colon (matches regex |
741 * The length of the ID must not be less than 5 or greater than 50. | 765 /// `[a-zA-Z0-9_-:]`). |
742 * | 766 /// The length of the ID must not be less than 5 or greater than 50. |
743 * If you don't specify an ID, a unique one is generated. | 767 /// |
744 */ | 768 /// If you don't specify an ID, a unique one is generated. |
745 core.String objectId; | 769 core.String objectId; |
746 | 770 |
747 CreateLineRequest(); | 771 CreateLineRequest(); |
748 | 772 |
749 CreateLineRequest.fromJson(core.Map _json) { | 773 CreateLineRequest.fromJson(core.Map _json) { |
750 if (_json.containsKey("elementProperties")) { | 774 if (_json.containsKey("elementProperties")) { |
751 elementProperties = new PageElementProperties.fromJson(_json["elementPrope
rties"]); | 775 elementProperties = |
| 776 new PageElementProperties.fromJson(_json["elementProperties"]); |
752 } | 777 } |
753 if (_json.containsKey("lineCategory")) { | 778 if (_json.containsKey("lineCategory")) { |
754 lineCategory = _json["lineCategory"]; | 779 lineCategory = _json["lineCategory"]; |
755 } | 780 } |
756 if (_json.containsKey("objectId")) { | 781 if (_json.containsKey("objectId")) { |
757 objectId = _json["objectId"]; | 782 objectId = _json["objectId"]; |
758 } | 783 } |
759 } | 784 } |
760 | 785 |
761 core.Map<core.String, core.Object> toJson() { | 786 core.Map<core.String, core.Object> toJson() { |
762 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 787 final core.Map<core.String, core.Object> _json = |
| 788 new core.Map<core.String, core.Object>(); |
763 if (elementProperties != null) { | 789 if (elementProperties != null) { |
764 _json["elementProperties"] = (elementProperties).toJson(); | 790 _json["elementProperties"] = (elementProperties).toJson(); |
765 } | 791 } |
766 if (lineCategory != null) { | 792 if (lineCategory != null) { |
767 _json["lineCategory"] = lineCategory; | 793 _json["lineCategory"] = lineCategory; |
768 } | 794 } |
769 if (objectId != null) { | 795 if (objectId != null) { |
770 _json["objectId"] = objectId; | 796 _json["objectId"] = objectId; |
771 } | 797 } |
772 return _json; | 798 return _json; |
773 } | 799 } |
774 } | 800 } |
775 | 801 |
776 /** The result of creating a line. */ | 802 /// The result of creating a line. |
777 class CreateLineResponse { | 803 class CreateLineResponse { |
778 /** The object ID of the created line. */ | 804 /// The object ID of the created line. |
779 core.String objectId; | 805 core.String objectId; |
780 | 806 |
781 CreateLineResponse(); | 807 CreateLineResponse(); |
782 | 808 |
783 CreateLineResponse.fromJson(core.Map _json) { | 809 CreateLineResponse.fromJson(core.Map _json) { |
784 if (_json.containsKey("objectId")) { | 810 if (_json.containsKey("objectId")) { |
785 objectId = _json["objectId"]; | 811 objectId = _json["objectId"]; |
786 } | 812 } |
787 } | 813 } |
788 | 814 |
789 core.Map<core.String, core.Object> toJson() { | 815 core.Map<core.String, core.Object> toJson() { |
790 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 816 final core.Map<core.String, core.Object> _json = |
| 817 new core.Map<core.String, core.Object>(); |
791 if (objectId != null) { | 818 if (objectId != null) { |
792 _json["objectId"] = objectId; | 819 _json["objectId"] = objectId; |
793 } | 820 } |
794 return _json; | 821 return _json; |
795 } | 822 } |
796 } | 823 } |
797 | 824 |
798 /** | 825 /// Creates bullets for all of the paragraphs that overlap with the given |
799 * Creates bullets for all of the paragraphs that overlap with the given | 826 /// text index range. |
800 * text index range. | 827 /// |
801 * | 828 /// The nesting level of each paragraph will be determined by counting leading |
802 * The nesting level of each paragraph will be determined by counting leading | 829 /// tabs in front of each paragraph. To avoid excess space between the bullet |
803 * tabs in front of each paragraph. To avoid excess space between the bullet and | 830 /// and |
804 * the corresponding paragraph, these leading tabs are removed by this request. | 831 /// the corresponding paragraph, these leading tabs are removed by this |
805 * This may change the indices of parts of the text. | 832 /// request. |
806 * | 833 /// This may change the indices of parts of the text. |
807 * If the paragraph immediately before paragraphs being updated is in a list | 834 /// |
808 * with a matching preset, the paragraphs being updated are added to that | 835 /// If the paragraph immediately before paragraphs being updated is in a list |
809 * preceding list. | 836 /// with a matching preset, the paragraphs being updated are added to that |
810 */ | 837 /// preceding list. |
811 class CreateParagraphBulletsRequest { | 838 class CreateParagraphBulletsRequest { |
812 /** | 839 /// The kinds of bullet glyphs to be used. Defaults to the |
813 * The kinds of bullet glyphs to be used. Defaults to the | 840 /// `BULLET_DISC_CIRCLE_SQUARE` preset. |
814 * `BULLET_DISC_CIRCLE_SQUARE` preset. | 841 /// Possible string values are: |
815 * Possible string values are: | 842 /// - "BULLET_DISC_CIRCLE_SQUARE" : A bulleted list with a `DISC`, `CIRCLE` |
816 * - "BULLET_DISC_CIRCLE_SQUARE" : A bulleted list with a `DISC`, `CIRCLE` and | 843 /// and `SQUARE` bullet glyph for the |
817 * `SQUARE` bullet glyph for the | 844 /// first 3 list nesting levels. |
818 * first 3 list nesting levels. | 845 /// - "BULLET_DIAMONDX_ARROW3D_SQUARE" : A bulleted list with a `DIAMONDX`, |
819 * - "BULLET_DIAMONDX_ARROW3D_SQUARE" : A bulleted list with a `DIAMONDX`, | 846 /// `ARROW3D` and `SQUARE` bullet glyph for |
820 * `ARROW3D` and `SQUARE` bullet glyph for | 847 /// the first 3 list nesting levels. |
821 * the first 3 list nesting levels. | 848 /// - "BULLET_CHECKBOX" : A bulleted list with `CHECKBOX` bullet glyphs for |
822 * - "BULLET_CHECKBOX" : A bulleted list with `CHECKBOX` bullet glyphs for all | 849 /// all list nesting levels. |
823 * list nesting levels. | 850 /// - "BULLET_ARROW_DIAMOND_DISC" : A bulleted list with a `ARROW`, `DIAMOND` |
824 * - "BULLET_ARROW_DIAMOND_DISC" : A bulleted list with a `ARROW`, `DIAMOND` | 851 /// and `DISC` bullet glyph for |
825 * and `DISC` bullet glyph for | 852 /// the first 3 list nesting levels. |
826 * the first 3 list nesting levels. | 853 /// - "BULLET_STAR_CIRCLE_SQUARE" : A bulleted list with a `STAR`, `CIRCLE` |
827 * - "BULLET_STAR_CIRCLE_SQUARE" : A bulleted list with a `STAR`, `CIRCLE` and | 854 /// and `SQUARE` bullet glyph for |
828 * `SQUARE` bullet glyph for | 855 /// the first 3 list nesting levels. |
829 * the first 3 list nesting levels. | 856 /// - "BULLET_ARROW3D_CIRCLE_SQUARE" : A bulleted list with a `ARROW3D`, |
830 * - "BULLET_ARROW3D_CIRCLE_SQUARE" : A bulleted list with a `ARROW3D`, | 857 /// `CIRCLE` and `SQUARE` bullet glyph for |
831 * `CIRCLE` and `SQUARE` bullet glyph for | 858 /// the first 3 list nesting levels. |
832 * the first 3 list nesting levels. | 859 /// - "BULLET_LEFTTRIANGLE_DIAMOND_DISC" : A bulleted list with a |
833 * - "BULLET_LEFTTRIANGLE_DIAMOND_DISC" : A bulleted list with a | 860 /// `LEFTTRIANGLE`, `DIAMOND` and `DISC` bullet glyph |
834 * `LEFTTRIANGLE`, `DIAMOND` and `DISC` bullet glyph | 861 /// for the first 3 list nesting levels. |
835 * for the first 3 list nesting levels. | 862 /// - "BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE" : A bulleted list with a |
836 * - "BULLET_DIAMONDX_HOLLOWDIAMOND_SQUARE" : A bulleted list with a | 863 /// `DIAMONDX`, `HOLLOWDIAMOND` and `SQUARE` bullet |
837 * `DIAMONDX`, `HOLLOWDIAMOND` and `SQUARE` bullet | 864 /// glyph for the first 3 list nesting levels. |
838 * glyph for the first 3 list nesting levels. | 865 /// - "BULLET_DIAMOND_CIRCLE_SQUARE" : A bulleted list with a `DIAMOND`, |
839 * - "BULLET_DIAMOND_CIRCLE_SQUARE" : A bulleted list with a `DIAMOND`, | 866 /// `CIRCLE` and `SQUARE` bullet glyph |
840 * `CIRCLE` and `SQUARE` bullet glyph | 867 /// for the first 3 list nesting levels. |
841 * for the first 3 list nesting levels. | 868 /// - "NUMBERED_DIGIT_ALPHA_ROMAN" : A numbered list with `DIGIT`, `ALPHA` |
842 * - "NUMBERED_DIGIT_ALPHA_ROMAN" : A numbered list with `DIGIT`, `ALPHA` and | 869 /// and `ROMAN` numeric glyphs for |
843 * `ROMAN` numeric glyphs for | 870 /// the first 3 list nesting levels, followed by periods. |
844 * the first 3 list nesting levels, followed by periods. | 871 /// - "NUMBERED_DIGIT_ALPHA_ROMAN_PARENS" : A numbered list with `DIGIT`, |
845 * - "NUMBERED_DIGIT_ALPHA_ROMAN_PARENS" : A numbered list with `DIGIT`, | 872 /// `ALPHA` and `ROMAN` numeric glyphs for |
846 * `ALPHA` and `ROMAN` numeric glyphs for | 873 /// the first 3 list nesting levels, followed by parenthesis. |
847 * the first 3 list nesting levels, followed by parenthesis. | 874 /// - "NUMBERED_DIGIT_NESTED" : A numbered list with `DIGIT` numeric glyphs |
848 * - "NUMBERED_DIGIT_NESTED" : A numbered list with `DIGIT` numeric glyphs | 875 /// separated by periods, where |
849 * separated by periods, where | 876 /// each nesting level uses the previous nesting level's glyph as a prefix. |
850 * each nesting level uses the previous nesting level's glyph as a prefix. | 877 /// For example: '1.', '1.1.', '2.', '2.2.'. |
851 * For example: '1.', '1.1.', '2.', '2.2.'. | 878 /// - "NUMBERED_UPPERALPHA_ALPHA_ROMAN" : A numbered list with `UPPERALPHA`, |
852 * - "NUMBERED_UPPERALPHA_ALPHA_ROMAN" : A numbered list with `UPPERALPHA`, | 879 /// `ALPHA` and `ROMAN` numeric glyphs for |
853 * `ALPHA` and `ROMAN` numeric glyphs for | 880 /// the first 3 list nesting levels, followed by periods. |
854 * the first 3 list nesting levels, followed by periods. | 881 /// - "NUMBERED_UPPERROMAN_UPPERALPHA_DIGIT" : A numbered list with |
855 * - "NUMBERED_UPPERROMAN_UPPERALPHA_DIGIT" : A numbered list with | 882 /// `UPPERROMAN`, `UPPERALPHA` and `DIGIT` numeric glyphs |
856 * `UPPERROMAN`, `UPPERALPHA` and `DIGIT` numeric glyphs | 883 /// for the first 3 list nesting levels, followed by periods. |
857 * for the first 3 list nesting levels, followed by periods. | 884 /// - "NUMBERED_ZERODIGIT_ALPHA_ROMAN" : A numbered list with `ZERODIGIT`, |
858 * - "NUMBERED_ZERODIGIT_ALPHA_ROMAN" : A numbered list with `ZERODIGIT`, | 885 /// `ALPHA` and `ROMAN` numeric glyphs for |
859 * `ALPHA` and `ROMAN` numeric glyphs for | 886 /// the first 3 list nesting levels, followed by periods. |
860 * the first 3 list nesting levels, followed by periods. | |
861 */ | |
862 core.String bulletPreset; | 887 core.String bulletPreset; |
863 /** | 888 |
864 * The optional table cell location if the text to be modified is in a table | 889 /// The optional table cell location if the text to be modified is in a table |
865 * cell. If present, the object_id must refer to a table. | 890 /// cell. If present, the object_id must refer to a table. |
866 */ | |
867 TableCellLocation cellLocation; | 891 TableCellLocation cellLocation; |
868 /** | 892 |
869 * The object ID of the shape or table containing the text to add bullets to. | 893 /// The object ID of the shape or table containing the text to add bullets |
870 */ | 894 /// to. |
871 core.String objectId; | 895 core.String objectId; |
872 /** | 896 |
873 * The range of text to apply the bullet presets to, based on TextElement | 897 /// The range of text to apply the bullet presets to, based on TextElement |
874 * indexes. | 898 /// indexes. |
875 */ | |
876 Range textRange; | 899 Range textRange; |
877 | 900 |
878 CreateParagraphBulletsRequest(); | 901 CreateParagraphBulletsRequest(); |
879 | 902 |
880 CreateParagraphBulletsRequest.fromJson(core.Map _json) { | 903 CreateParagraphBulletsRequest.fromJson(core.Map _json) { |
881 if (_json.containsKey("bulletPreset")) { | 904 if (_json.containsKey("bulletPreset")) { |
882 bulletPreset = _json["bulletPreset"]; | 905 bulletPreset = _json["bulletPreset"]; |
883 } | 906 } |
884 if (_json.containsKey("cellLocation")) { | 907 if (_json.containsKey("cellLocation")) { |
885 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 908 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
886 } | 909 } |
887 if (_json.containsKey("objectId")) { | 910 if (_json.containsKey("objectId")) { |
888 objectId = _json["objectId"]; | 911 objectId = _json["objectId"]; |
889 } | 912 } |
890 if (_json.containsKey("textRange")) { | 913 if (_json.containsKey("textRange")) { |
891 textRange = new Range.fromJson(_json["textRange"]); | 914 textRange = new Range.fromJson(_json["textRange"]); |
892 } | 915 } |
893 } | 916 } |
894 | 917 |
895 core.Map<core.String, core.Object> toJson() { | 918 core.Map<core.String, core.Object> toJson() { |
896 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 919 final core.Map<core.String, core.Object> _json = |
| 920 new core.Map<core.String, core.Object>(); |
897 if (bulletPreset != null) { | 921 if (bulletPreset != null) { |
898 _json["bulletPreset"] = bulletPreset; | 922 _json["bulletPreset"] = bulletPreset; |
899 } | 923 } |
900 if (cellLocation != null) { | 924 if (cellLocation != null) { |
901 _json["cellLocation"] = (cellLocation).toJson(); | 925 _json["cellLocation"] = (cellLocation).toJson(); |
902 } | 926 } |
903 if (objectId != null) { | 927 if (objectId != null) { |
904 _json["objectId"] = objectId; | 928 _json["objectId"] = objectId; |
905 } | 929 } |
906 if (textRange != null) { | 930 if (textRange != null) { |
907 _json["textRange"] = (textRange).toJson(); | 931 _json["textRange"] = (textRange).toJson(); |
908 } | 932 } |
909 return _json; | 933 return _json; |
910 } | 934 } |
911 } | 935 } |
912 | 936 |
913 /** Creates a new shape. */ | 937 /// Creates a new shape. |
914 class CreateShapeRequest { | 938 class CreateShapeRequest { |
915 /** The element properties for the shape. */ | 939 /// The element properties for the shape. |
916 PageElementProperties elementProperties; | 940 PageElementProperties elementProperties; |
917 /** | 941 |
918 * A user-supplied object ID. | 942 /// A user-supplied object ID. |
919 * | 943 /// |
920 * If you specify an ID, it must be unique among all pages and page elements | 944 /// If you specify an ID, it must be unique among all pages and page elements |
921 * in the presentation. The ID must start with an alphanumeric character or an | 945 /// in the presentation. The ID must start with an alphanumeric character or |
922 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 946 /// an |
923 * may include those as well as a hyphen or colon (matches regex | 947 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
924 * `[a-zA-Z0-9_-:]`). | 948 /// may include those as well as a hyphen or colon (matches regex |
925 * The length of the ID must not be less than 5 or greater than 50. | 949 /// `[a-zA-Z0-9_-:]`). |
926 * If empty, a unique identifier will be generated. | 950 /// The length of the ID must not be less than 5 or greater than 50. |
927 */ | 951 /// If empty, a unique identifier will be generated. |
928 core.String objectId; | 952 core.String objectId; |
929 /** | 953 |
930 * The shape type. | 954 /// The shape type. |
931 * Possible string values are: | 955 /// Possible string values are: |
932 * - "TYPE_UNSPECIFIED" : The shape type that is not predefined. | 956 /// - "TYPE_UNSPECIFIED" : The shape type that is not predefined. |
933 * - "TEXT_BOX" : Text box shape. | 957 /// - "TEXT_BOX" : Text box shape. |
934 * - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType | 958 /// - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType |
935 * 'rect'. | 959 /// 'rect'. |
936 * - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to ECMA-376 | 960 /// - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to |
937 * ST_ShapeType | 961 /// ECMA-376 ST_ShapeType |
938 * 'roundRect' | 962 /// 'roundRect' |
939 * - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse' | 963 /// - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType |
940 * - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc' | 964 /// 'ellipse' |
941 * - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType | 965 /// - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc' |
942 * 'bentArrow' | 966 /// - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType |
943 * - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376 | 967 /// 'bentArrow' |
944 * ST_ShapeType 'bentUpArrow' | 968 /// - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376 |
945 * - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel' | 969 /// ST_ShapeType 'bentUpArrow' |
946 * - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType | 970 /// - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel' |
947 * 'blockArc' | 971 /// - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType |
948 * - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType | 972 /// 'blockArc' |
949 * 'bracePair' | 973 /// - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType |
950 * - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType | 974 /// 'bracePair' |
951 * 'bracketPair' | 975 /// - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376 |
952 * - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can' | 976 /// ST_ShapeType 'bracketPair' |
953 * - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron' | 977 /// - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can' |
954 * - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord' | 978 /// - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType |
955 * - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud' | 979 /// 'chevron' |
956 * - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner' | 980 /// - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord' |
957 * - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube' | 981 /// - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud' |
958 * - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376 | 982 /// - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner' |
959 * ST_ShapeType | 983 /// - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube' |
960 * 'curvedDownArrow' | 984 /// - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376 |
961 * - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376 | 985 /// ST_ShapeType |
962 * ST_ShapeType | 986 /// 'curvedDownArrow' |
963 * 'curvedLeftArrow' | 987 /// - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376 |
964 * - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to ECMA-376 | 988 /// ST_ShapeType |
965 * ST_ShapeType | 989 /// 'curvedLeftArrow' |
966 * 'curvedRightArrow' | 990 /// - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to |
967 * - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376 | 991 /// ECMA-376 ST_ShapeType |
968 * ST_ShapeType | 992 /// 'curvedRightArrow' |
969 * 'curvedUpArrow' | 993 /// - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376 |
970 * - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon' | 994 /// ST_ShapeType |
971 * - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376 | 995 /// 'curvedUpArrow' |
972 * ST_ShapeType 'diagStripe' | 996 /// - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType |
973 * - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond' | 997 /// 'decagon' |
974 * - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType | 998 /// - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376 |
975 * 'dodecagon' | 999 /// ST_ShapeType 'diagStripe' |
976 * - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut' | 1000 /// - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType |
977 * - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType | 1001 /// 'diamond' |
978 * 'doubleWave' | 1002 /// - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType |
979 * - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType | 1003 /// 'dodecagon' |
980 * 'downArrow' | 1004 /// - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut' |
981 * - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to ECMA-376 | 1005 /// - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType |
982 * ST_ShapeType | 1006 /// 'doubleWave' |
983 * 'downArrowCallout' | 1007 /// - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType |
984 * - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376 | 1008 /// 'downArrow' |
985 * ST_ShapeType 'foldedCorner' | 1009 /// - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to |
986 * - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame' | 1010 /// ECMA-376 ST_ShapeType |
987 * - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType | 1011 /// 'downArrowCallout' |
988 * 'halfFrame' | 1012 /// - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376 |
989 * - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart' | 1013 /// ST_ShapeType 'foldedCorner' |
990 * - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType | 1014 /// - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame' |
991 * 'heptagon' | 1015 /// - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType |
992 * - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon' | 1016 /// 'halfFrame' |
993 * - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType | 1017 /// - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart' |
994 * 'homePlate' | 1018 /// - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType |
995 * - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376 | 1019 /// 'heptagon' |
996 * ST_ShapeType | 1020 /// - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType |
997 * 'horizontalScroll' | 1021 /// 'hexagon' |
998 * - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376 | 1022 /// - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType |
999 * ST_ShapeType | 1023 /// 'homePlate' |
1000 * 'irregularSeal1' | 1024 /// - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376 |
1001 * - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376 | 1025 /// ST_ShapeType |
1002 * ST_ShapeType | 1026 /// 'horizontalScroll' |
1003 * 'irregularSeal2' | 1027 /// - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376 |
1004 * - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType | 1028 /// ST_ShapeType |
1005 * 'leftArrow' | 1029 /// 'irregularSeal1' |
1006 * - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to ECMA-376 | 1030 /// - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376 |
1007 * ST_ShapeType | 1031 /// ST_ShapeType |
1008 * 'leftArrowCallout' | 1032 /// 'irregularSeal2' |
1009 * - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType | 1033 /// - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType |
1010 * 'leftBrace' | 1034 /// 'leftArrow' |
1011 * - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376 ST_ShapeType | 1035 /// - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to |
1012 * 'leftBracket' | 1036 /// ECMA-376 ST_ShapeType |
1013 * - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376 | 1037 /// 'leftArrowCallout' |
1014 * ST_ShapeType | 1038 /// - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType |
1015 * 'leftRightArrow' | 1039 /// 'leftBrace' |
1016 * - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape. Corresponds | 1040 /// - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376 |
1017 * to ECMA-376 ST_ShapeType | 1041 /// ST_ShapeType 'leftBracket' |
1018 * 'leftRightArrowCallout' | 1042 /// - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376 |
1019 * - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to | 1043 /// ST_ShapeType |
1020 * ECMA-376 ST_ShapeType | 1044 /// 'leftRightArrow' |
1021 * 'leftRightUpArrow' | 1045 /// - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape. |
1022 * - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376 | 1046 /// Corresponds to ECMA-376 ST_ShapeType |
1023 * ST_ShapeType 'leftUpArrow' | 1047 /// 'leftRightArrowCallout' |
1024 * - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376 | 1048 /// - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to |
1025 * ST_ShapeType | 1049 /// ECMA-376 ST_ShapeType |
1026 * 'lightningBolt' | 1050 /// 'leftRightUpArrow' |
1027 * - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType | 1051 /// - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376 |
1028 * 'mathDivide' | 1052 /// ST_ShapeType 'leftUpArrow' |
1029 * - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType | 1053 /// - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376 |
1030 * 'mathEqual' | 1054 /// ST_ShapeType |
1031 * - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType | 1055 /// 'lightningBolt' |
1032 * 'mathMinus' | 1056 /// - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType |
1033 * - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376 | 1057 /// 'mathDivide' |
1034 * ST_ShapeType 'mathMultiply' | 1058 /// - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType |
1035 * - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376 | 1059 /// 'mathEqual' |
1036 * ST_ShapeType 'mathNotEqual' | 1060 /// - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType |
1037 * - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType | 1061 /// 'mathMinus' |
1038 * 'mathPlus' | 1062 /// - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376 |
1039 * - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon' | 1063 /// ST_ShapeType 'mathMultiply' |
1040 * - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType | 1064 /// - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376 |
1041 * 'noSmoking' | 1065 /// ST_ShapeType 'mathNotEqual' |
1042 * - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to | 1066 /// - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType |
1043 * ECMA-376 ST_ShapeType | 1067 /// 'mathPlus' |
1044 * 'notchedRightArrow' | 1068 /// - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon' |
1045 * - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon' | 1069 /// - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType |
1046 * - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376 | 1070 /// 'noSmoking' |
1047 * ST_ShapeType 'parallelogram' | 1071 /// - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to |
1048 * - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType | 1072 /// ECMA-376 ST_ShapeType |
1049 * 'pentagon' | 1073 /// 'notchedRightArrow' |
1050 * - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie' | 1074 /// - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType |
1051 * - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque' | 1075 /// 'octagon' |
1052 * - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus' | 1076 /// - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376 |
1053 * - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType | 1077 /// ST_ShapeType 'parallelogram' |
1054 * 'quadArrow' | 1078 /// - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType |
1055 * - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to ECMA-376 | 1079 /// 'pentagon' |
1056 * ST_ShapeType | 1080 /// - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie' |
1057 * 'quadArrowCallout' | 1081 /// - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque' |
1058 * - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon' | 1082 /// - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus' |
1059 * - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType | 1083 /// - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType |
1060 * 'ribbon2' | 1084 /// 'quadArrow' |
1061 * - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType | 1085 /// - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to |
1062 * 'rightArrow' | 1086 /// ECMA-376 ST_ShapeType |
1063 * - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to | 1087 /// 'quadArrowCallout' |
1064 * ECMA-376 ST_ShapeType | 1088 /// - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon' |
1065 * 'rightArrowCallout' | 1089 /// - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType |
1066 * - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType | 1090 /// 'ribbon2' |
1067 * 'rightBrace' | 1091 /// - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType |
1068 * - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376 | 1092 /// 'rightArrow' |
1069 * ST_ShapeType 'rightBracket' | 1093 /// - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to |
1070 * - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to | 1094 /// ECMA-376 ST_ShapeType |
1071 * ECMA-376 ST_ShapeType | 1095 /// 'rightArrowCallout' |
1072 * 'round1Rect' | 1096 /// - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType |
1073 * - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle shape. | 1097 /// 'rightBrace' |
1074 * Corresponds to ECMA-376 | 1098 /// - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376 |
1075 * ST_ShapeType 'round2DiagRect' | 1099 /// ST_ShapeType 'rightBracket' |
1076 * - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape. | 1100 /// - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to |
1077 * Corresponds to ECMA-376 | 1101 /// ECMA-376 ST_ShapeType |
1078 * ST_ShapeType 'round2SameRect' | 1102 /// 'round1Rect' |
1079 * - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376 | 1103 /// - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle |
1080 * ST_ShapeType 'rtTriangle' | 1104 /// shape. Corresponds to ECMA-376 |
1081 * - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType | 1105 /// ST_ShapeType 'round2DiagRect' |
1082 * 'smileyFace' | 1106 /// - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape. |
1083 * - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to | 1107 /// Corresponds to ECMA-376 |
1084 * ECMA-376 ST_ShapeType | 1108 /// ST_ShapeType 'round2SameRect' |
1085 * 'snip1Rect' | 1109 /// - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376 |
1086 * - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape. | 1110 /// ST_ShapeType 'rtTriangle' |
1087 * Corresponds to ECMA-376 | 1111 /// - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType |
1088 * ST_ShapeType 'snip2DiagRect' | 1112 /// 'smileyFace' |
1089 * - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape. | 1113 /// - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to |
1090 * Corresponds to ECMA-376 | 1114 /// ECMA-376 ST_ShapeType |
1091 * ST_ShapeType 'snip2SameRect' | 1115 /// 'snip1Rect' |
1092 * - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape. | 1116 /// - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape. |
1093 * Corresponds to ECMA-376 | 1117 /// Corresponds to ECMA-376 |
1094 * ST_ShapeType 'snipRoundRect' | 1118 /// ST_ShapeType 'snip2DiagRect' |
1095 * - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 1119 /// - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape. |
1096 * 'star10' | 1120 /// Corresponds to ECMA-376 |
1097 * - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376 | 1121 /// ST_ShapeType 'snip2SameRect' |
1098 * ST_ShapeType 'star12' | 1122 /// - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape. |
1099 * - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376 | 1123 /// Corresponds to ECMA-376 |
1100 * ST_ShapeType 'star16' | 1124 /// ST_ShapeType 'snipRoundRect' |
1101 * - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376 | 1125 /// - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376 |
1102 * ST_ShapeType | 1126 /// ST_ShapeType 'star10' |
1103 * 'star24' | 1127 /// - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376 |
1104 * - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376 | 1128 /// ST_ShapeType 'star12' |
1105 * ST_ShapeType | 1129 /// - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376 |
1106 * 'star32' | 1130 /// ST_ShapeType 'star16' |
1107 * - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 1131 /// - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376 |
1108 * 'star4' | 1132 /// ST_ShapeType |
1109 * - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 1133 /// 'star24' |
1110 * 'star5' | 1134 /// - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376 |
1111 * - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 1135 /// ST_ShapeType |
1112 * 'star6' | 1136 /// 'star32' |
1113 * - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 1137 /// - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376 |
1114 * 'star7' | 1138 /// ST_ShapeType 'star4' |
1115 * - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 1139 /// - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376 |
1116 * 'star8' | 1140 /// ST_ShapeType 'star5' |
1117 * - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to | 1141 /// - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType |
1118 * ECMA-376 ST_ShapeType | 1142 /// 'star6' |
1119 * 'stripedRightArrow' | 1143 /// - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376 |
1120 * - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun' | 1144 /// ST_ShapeType 'star7' |
1121 * - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType | 1145 /// - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376 |
1122 * 'trapezoid' | 1146 /// ST_ShapeType 'star8' |
1123 * - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType | 1147 /// - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to |
1124 * 'triangle' | 1148 /// ECMA-376 ST_ShapeType |
1125 * - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType | 1149 /// 'stripedRightArrow' |
1126 * 'upArrow' | 1150 /// - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun' |
1127 * - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376 | 1151 /// - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType |
1128 * ST_ShapeType | 1152 /// 'trapezoid' |
1129 * 'upArrowCallout' | 1153 /// - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType |
1130 * - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376 | 1154 /// 'triangle' |
1131 * ST_ShapeType 'upDownArrow' | 1155 /// - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType |
1132 * - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType | 1156 /// 'upArrow' |
1133 * 'uturnArrow' | 1157 /// - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376 |
1134 * - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376 | 1158 /// ST_ShapeType |
1135 * ST_ShapeType | 1159 /// 'upArrowCallout' |
1136 * 'verticalScroll' | 1160 /// - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376 |
1137 * - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave' | 1161 /// ST_ShapeType 'upDownArrow' |
1138 * - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to | 1162 /// - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376 |
1139 * ECMA-376 ST_ShapeType | 1163 /// ST_ShapeType 'uturnArrow' |
1140 * 'wedgeEllipseCallout' | 1164 /// - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376 |
1141 * - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds to | 1165 /// ST_ShapeType |
1142 * ECMA-376 ST_ShapeType | 1166 /// 'verticalScroll' |
1143 * 'wedgeRectCallout' | 1167 /// - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave' |
1144 * - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape. | 1168 /// - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to |
1145 * Corresponds to ECMA-376 ST_ShapeType | 1169 /// ECMA-376 ST_ShapeType |
1146 * 'wedgeRoundRectCallout' | 1170 /// 'wedgeEllipseCallout' |
1147 * - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape. | 1171 /// - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds |
1148 * Corresponds to ECMA-376 ST_ShapeType | 1172 /// to ECMA-376 ST_ShapeType |
1149 * 'flowChartAlternateProcess' | 1173 /// 'wedgeRectCallout' |
1150 * - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376 | 1174 /// - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape. |
1151 * ST_ShapeType | 1175 /// Corresponds to ECMA-376 ST_ShapeType |
1152 * 'flowChartCollate' | 1176 /// 'wedgeRoundRectCallout' |
1153 * - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376 | 1177 /// - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape. |
1154 * ST_ShapeType | 1178 /// Corresponds to ECMA-376 ST_ShapeType |
1155 * 'flowChartConnector' | 1179 /// 'flowChartAlternateProcess' |
1156 * - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376 | 1180 /// - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376 |
1157 * ST_ShapeType | 1181 /// ST_ShapeType |
1158 * 'flowChartDecision' | 1182 /// 'flowChartCollate' |
1159 * - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376 | 1183 /// - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376 |
1160 * ST_ShapeType 'flowChartDelay' | 1184 /// ST_ShapeType |
1161 * - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376 | 1185 /// 'flowChartConnector' |
1162 * ST_ShapeType | 1186 /// - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376 |
1163 * 'flowChartDisplay' | 1187 /// ST_ShapeType |
1164 * - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376 | 1188 /// 'flowChartDecision' |
1165 * ST_ShapeType | 1189 /// - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376 |
1166 * 'flowChartDocument' | 1190 /// ST_ShapeType 'flowChartDelay' |
1167 * - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376 | 1191 /// - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376 |
1168 * ST_ShapeType | 1192 /// ST_ShapeType |
1169 * 'flowChartExtract' | 1193 /// 'flowChartDisplay' |
1170 * - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to | 1194 /// - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376 |
1171 * ECMA-376 ST_ShapeType | 1195 /// ST_ShapeType |
1172 * 'flowChartInputOutput' | 1196 /// 'flowChartDocument' |
1173 * - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape. Corresponds | 1197 /// - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376 |
1174 * to ECMA-376 ST_ShapeType | 1198 /// ST_ShapeType |
1175 * 'flowChartInternalStorage' | 1199 /// 'flowChartExtract' |
1176 * - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to | 1200 /// - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to |
1177 * ECMA-376 ST_ShapeType | 1201 /// ECMA-376 ST_ShapeType |
1178 * 'flowChartMagneticDisk' | 1202 /// 'flowChartInputOutput' |
1179 * - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to | 1203 /// - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape. |
1180 * ECMA-376 ST_ShapeType | 1204 /// Corresponds to ECMA-376 ST_ShapeType |
1181 * 'flowChartMagneticDrum' | 1205 /// 'flowChartInternalStorage' |
1182 * - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to | 1206 /// - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to |
1183 * ECMA-376 ST_ShapeType | 1207 /// ECMA-376 ST_ShapeType |
1184 * 'flowChartMagneticTape' | 1208 /// 'flowChartMagneticDisk' |
1185 * - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to | 1209 /// - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to |
1186 * ECMA-376 ST_ShapeType | 1210 /// ECMA-376 ST_ShapeType |
1187 * 'flowChartManualInput' | 1211 /// 'flowChartMagneticDrum' |
1188 * - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape. Corresponds | 1212 /// - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to |
1189 * to ECMA-376 ST_ShapeType | 1213 /// ECMA-376 ST_ShapeType |
1190 * 'flowChartManualOperation' | 1214 /// 'flowChartMagneticTape' |
1191 * - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376 | 1215 /// - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to |
1192 * ST_ShapeType 'flowChartMerge' | 1216 /// ECMA-376 ST_ShapeType |
1193 * - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to | 1217 /// 'flowChartManualInput' |
1194 * ECMA-376 ST_ShapeType | 1218 /// - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape. |
1195 * 'flowChartMultidocument' | 1219 /// Corresponds to ECMA-376 ST_ShapeType |
1196 * - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds to | 1220 /// 'flowChartManualOperation' |
1197 * ECMA-376 ST_ShapeType | 1221 /// - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376 |
1198 * 'flowChartOfflineStorage' | 1222 /// ST_ShapeType 'flowChartMerge' |
1199 * - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape. | 1223 /// - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to |
1200 * Corresponds to ECMA-376 ST_ShapeType | 1224 /// ECMA-376 ST_ShapeType |
1201 * 'flowChartOffpageConnector' | 1225 /// 'flowChartMultidocument' |
1202 * - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to | 1226 /// - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds |
1203 * ECMA-376 ST_ShapeType | 1227 /// to ECMA-376 ST_ShapeType |
1204 * 'flowChartOnlineStorage' | 1228 /// 'flowChartOfflineStorage' |
1205 * - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType | 1229 /// - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape. |
1206 * 'flowChartOr' | 1230 /// Corresponds to ECMA-376 ST_ShapeType |
1207 * - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape. | 1231 /// 'flowChartOffpageConnector' |
1208 * Corresponds to ECMA-376 ST_ShapeType | 1232 /// - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to |
1209 * 'flowChartPredefinedProcess' | 1233 /// ECMA-376 ST_ShapeType |
1210 * - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to | 1234 /// 'flowChartOnlineStorage' |
1211 * ECMA-376 ST_ShapeType | 1235 /// - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType |
1212 * 'flowChartPreparation' | 1236 /// 'flowChartOr' |
1213 * - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376 | 1237 /// - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape. |
1214 * ST_ShapeType | 1238 /// Corresponds to ECMA-376 ST_ShapeType |
1215 * 'flowChartProcess' | 1239 /// 'flowChartPredefinedProcess' |
1216 * - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to | 1240 /// - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to |
1217 * ECMA-376 ST_ShapeType | 1241 /// ECMA-376 ST_ShapeType |
1218 * 'flowChartPunchedCard' | 1242 /// 'flowChartPreparation' |
1219 * - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to | 1243 /// - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376 |
1220 * ECMA-376 ST_ShapeType | 1244 /// ST_ShapeType |
1221 * 'flowChartPunchedTape' | 1245 /// 'flowChartProcess' |
1222 * - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376 ST_ShapeType | 1246 /// - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to |
1223 * 'flowChartSort' | 1247 /// ECMA-376 ST_ShapeType |
1224 * - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape. Corresponds | 1248 /// 'flowChartPunchedCard' |
1225 * to ECMA-376 ST_ShapeType | 1249 /// - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to |
1226 * 'flowChartSummingJunction' | 1250 /// ECMA-376 ST_ShapeType |
1227 * - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to ECMA-376 | 1251 /// 'flowChartPunchedTape' |
1228 * ST_ShapeType | 1252 /// - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376 |
1229 * 'flowChartTerminator' | 1253 /// ST_ShapeType 'flowChartSort' |
1230 * - "ARROW_EAST" : East arrow shape. | 1254 /// - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape. |
1231 * - "ARROW_NORTH_EAST" : Northeast arrow shape. | 1255 /// Corresponds to ECMA-376 ST_ShapeType |
1232 * - "ARROW_NORTH" : North arrow shape. | 1256 /// 'flowChartSummingJunction' |
1233 * - "SPEECH" : Speech shape. | 1257 /// - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to |
1234 * - "STARBURST" : Star burst shape. | 1258 /// ECMA-376 ST_ShapeType |
1235 * - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType | 1259 /// 'flowChartTerminator' |
1236 * 'teardrop' | 1260 /// - "ARROW_EAST" : East arrow shape. |
1237 * - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376 | 1261 /// - "ARROW_NORTH_EAST" : Northeast arrow shape. |
1238 * ST_ShapeType | 1262 /// - "ARROW_NORTH" : North arrow shape. |
1239 * 'ellipseRibbon' | 1263 /// - "SPEECH" : Speech shape. |
1240 * - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376 | 1264 /// - "STARBURST" : Star burst shape. |
1241 * ST_ShapeType | 1265 /// - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType |
1242 * 'ellipseRibbon2' | 1266 /// 'teardrop' |
1243 * - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376 | 1267 /// - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376 |
1244 * ST_ShapeType 'cloudCallout' | 1268 /// ST_ShapeType |
1245 * - "CUSTOM" : Custom shape. | 1269 /// 'ellipseRibbon' |
1246 */ | 1270 /// - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376 |
| 1271 /// ST_ShapeType |
| 1272 /// 'ellipseRibbon2' |
| 1273 /// - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376 |
| 1274 /// ST_ShapeType 'cloudCallout' |
| 1275 /// - "CUSTOM" : Custom shape. |
1247 core.String shapeType; | 1276 core.String shapeType; |
1248 | 1277 |
1249 CreateShapeRequest(); | 1278 CreateShapeRequest(); |
1250 | 1279 |
1251 CreateShapeRequest.fromJson(core.Map _json) { | 1280 CreateShapeRequest.fromJson(core.Map _json) { |
1252 if (_json.containsKey("elementProperties")) { | 1281 if (_json.containsKey("elementProperties")) { |
1253 elementProperties = new PageElementProperties.fromJson(_json["elementPrope
rties"]); | 1282 elementProperties = |
| 1283 new PageElementProperties.fromJson(_json["elementProperties"]); |
1254 } | 1284 } |
1255 if (_json.containsKey("objectId")) { | 1285 if (_json.containsKey("objectId")) { |
1256 objectId = _json["objectId"]; | 1286 objectId = _json["objectId"]; |
1257 } | 1287 } |
1258 if (_json.containsKey("shapeType")) { | 1288 if (_json.containsKey("shapeType")) { |
1259 shapeType = _json["shapeType"]; | 1289 shapeType = _json["shapeType"]; |
1260 } | 1290 } |
1261 } | 1291 } |
1262 | 1292 |
1263 core.Map<core.String, core.Object> toJson() { | 1293 core.Map<core.String, core.Object> toJson() { |
1264 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1294 final core.Map<core.String, core.Object> _json = |
| 1295 new core.Map<core.String, core.Object>(); |
1265 if (elementProperties != null) { | 1296 if (elementProperties != null) { |
1266 _json["elementProperties"] = (elementProperties).toJson(); | 1297 _json["elementProperties"] = (elementProperties).toJson(); |
1267 } | 1298 } |
1268 if (objectId != null) { | 1299 if (objectId != null) { |
1269 _json["objectId"] = objectId; | 1300 _json["objectId"] = objectId; |
1270 } | 1301 } |
1271 if (shapeType != null) { | 1302 if (shapeType != null) { |
1272 _json["shapeType"] = shapeType; | 1303 _json["shapeType"] = shapeType; |
1273 } | 1304 } |
1274 return _json; | 1305 return _json; |
1275 } | 1306 } |
1276 } | 1307 } |
1277 | 1308 |
1278 /** The result of creating a shape. */ | 1309 /// The result of creating a shape. |
1279 class CreateShapeResponse { | 1310 class CreateShapeResponse { |
1280 /** The object ID of the created shape. */ | 1311 /// The object ID of the created shape. |
1281 core.String objectId; | 1312 core.String objectId; |
1282 | 1313 |
1283 CreateShapeResponse(); | 1314 CreateShapeResponse(); |
1284 | 1315 |
1285 CreateShapeResponse.fromJson(core.Map _json) { | 1316 CreateShapeResponse.fromJson(core.Map _json) { |
1286 if (_json.containsKey("objectId")) { | 1317 if (_json.containsKey("objectId")) { |
1287 objectId = _json["objectId"]; | 1318 objectId = _json["objectId"]; |
1288 } | 1319 } |
1289 } | 1320 } |
1290 | 1321 |
1291 core.Map<core.String, core.Object> toJson() { | 1322 core.Map<core.String, core.Object> toJson() { |
1292 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1323 final core.Map<core.String, core.Object> _json = |
| 1324 new core.Map<core.String, core.Object>(); |
1293 if (objectId != null) { | 1325 if (objectId != null) { |
1294 _json["objectId"] = objectId; | 1326 _json["objectId"] = objectId; |
1295 } | 1327 } |
1296 return _json; | 1328 return _json; |
1297 } | 1329 } |
1298 } | 1330 } |
1299 | 1331 |
1300 /** | 1332 /// Creates an embedded Google Sheets chart. |
1301 * Creates an embedded Google Sheets chart. | 1333 /// |
1302 * | 1334 /// NOTE: Chart creation requires at least one of the spreadsheets.readonly, |
1303 * NOTE: Chart creation requires at least one of the spreadsheets.readonly, | 1335 /// spreadsheets, drive.readonly, or drive OAuth scopes. |
1304 * spreadsheets, drive.readonly, or drive OAuth scopes. | |
1305 */ | |
1306 class CreateSheetsChartRequest { | 1336 class CreateSheetsChartRequest { |
1307 /** The ID of the specific chart in the Google Sheets spreadsheet. */ | 1337 /// The ID of the specific chart in the Google Sheets spreadsheet. |
1308 core.int chartId; | 1338 core.int chartId; |
1309 /** | 1339 |
1310 * The element properties for the chart. | 1340 /// The element properties for the chart. |
1311 * | 1341 /// |
1312 * When the aspect ratio of the provided size does not match the chart aspect | 1342 /// When the aspect ratio of the provided size does not match the chart |
1313 * ratio, the chart is scaled and centered with respect to the size in order | 1343 /// aspect |
1314 * to maintain aspect ratio. The provided transform is applied after this | 1344 /// ratio, the chart is scaled and centered with respect to the size in order |
1315 * operation. | 1345 /// to maintain aspect ratio. The provided transform is applied after this |
1316 */ | 1346 /// operation. |
1317 PageElementProperties elementProperties; | 1347 PageElementProperties elementProperties; |
1318 /** | 1348 |
1319 * The mode with which the chart is linked to the source spreadsheet. When | 1349 /// The mode with which the chart is linked to the source spreadsheet. When |
1320 * not specified, the chart will be an image that is not linked. | 1350 /// not specified, the chart will be an image that is not linked. |
1321 * Possible string values are: | 1351 /// Possible string values are: |
1322 * - "NOT_LINKED_IMAGE" : The chart is not associated with the source | 1352 /// - "NOT_LINKED_IMAGE" : The chart is not associated with the source |
1323 * spreadsheet and cannot be | 1353 /// spreadsheet and cannot be |
1324 * updated. A chart that is not linked will be inserted as an image. | 1354 /// updated. A chart that is not linked will be inserted as an image. |
1325 * - "LINKED" : Linking the chart allows it to be updated, and other | 1355 /// - "LINKED" : Linking the chart allows it to be updated, and other |
1326 * collaborators will | 1356 /// collaborators will |
1327 * see a link to the spreadsheet. | 1357 /// see a link to the spreadsheet. |
1328 */ | |
1329 core.String linkingMode; | 1358 core.String linkingMode; |
1330 /** | 1359 |
1331 * A user-supplied object ID. | 1360 /// A user-supplied object ID. |
1332 * | 1361 /// |
1333 * If specified, the ID must be unique among all pages and page elements in | 1362 /// If specified, the ID must be unique among all pages and page elements in |
1334 * the presentation. The ID should start with a word character [a-zA-Z0-9_] | 1363 /// the presentation. The ID should start with a word character [a-zA-Z0-9_] |
1335 * and then followed by any number of the following characters [a-zA-Z0-9_-:]. | 1364 /// and then followed by any number of the following characters |
1336 * The length of the ID should not be less than 5 or greater than 50. | 1365 /// [a-zA-Z0-9_-:]. |
1337 * If empty, a unique identifier will be generated. | 1366 /// The length of the ID should not be less than 5 or greater than 50. |
1338 */ | 1367 /// If empty, a unique identifier will be generated. |
1339 core.String objectId; | 1368 core.String objectId; |
1340 /** The ID of the Google Sheets spreadsheet that contains the chart. */ | 1369 |
| 1370 /// The ID of the Google Sheets spreadsheet that contains the chart. |
1341 core.String spreadsheetId; | 1371 core.String spreadsheetId; |
1342 | 1372 |
1343 CreateSheetsChartRequest(); | 1373 CreateSheetsChartRequest(); |
1344 | 1374 |
1345 CreateSheetsChartRequest.fromJson(core.Map _json) { | 1375 CreateSheetsChartRequest.fromJson(core.Map _json) { |
1346 if (_json.containsKey("chartId")) { | 1376 if (_json.containsKey("chartId")) { |
1347 chartId = _json["chartId"]; | 1377 chartId = _json["chartId"]; |
1348 } | 1378 } |
1349 if (_json.containsKey("elementProperties")) { | 1379 if (_json.containsKey("elementProperties")) { |
1350 elementProperties = new PageElementProperties.fromJson(_json["elementPrope
rties"]); | 1380 elementProperties = |
| 1381 new PageElementProperties.fromJson(_json["elementProperties"]); |
1351 } | 1382 } |
1352 if (_json.containsKey("linkingMode")) { | 1383 if (_json.containsKey("linkingMode")) { |
1353 linkingMode = _json["linkingMode"]; | 1384 linkingMode = _json["linkingMode"]; |
1354 } | 1385 } |
1355 if (_json.containsKey("objectId")) { | 1386 if (_json.containsKey("objectId")) { |
1356 objectId = _json["objectId"]; | 1387 objectId = _json["objectId"]; |
1357 } | 1388 } |
1358 if (_json.containsKey("spreadsheetId")) { | 1389 if (_json.containsKey("spreadsheetId")) { |
1359 spreadsheetId = _json["spreadsheetId"]; | 1390 spreadsheetId = _json["spreadsheetId"]; |
1360 } | 1391 } |
1361 } | 1392 } |
1362 | 1393 |
1363 core.Map<core.String, core.Object> toJson() { | 1394 core.Map<core.String, core.Object> toJson() { |
1364 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1395 final core.Map<core.String, core.Object> _json = |
| 1396 new core.Map<core.String, core.Object>(); |
1365 if (chartId != null) { | 1397 if (chartId != null) { |
1366 _json["chartId"] = chartId; | 1398 _json["chartId"] = chartId; |
1367 } | 1399 } |
1368 if (elementProperties != null) { | 1400 if (elementProperties != null) { |
1369 _json["elementProperties"] = (elementProperties).toJson(); | 1401 _json["elementProperties"] = (elementProperties).toJson(); |
1370 } | 1402 } |
1371 if (linkingMode != null) { | 1403 if (linkingMode != null) { |
1372 _json["linkingMode"] = linkingMode; | 1404 _json["linkingMode"] = linkingMode; |
1373 } | 1405 } |
1374 if (objectId != null) { | 1406 if (objectId != null) { |
1375 _json["objectId"] = objectId; | 1407 _json["objectId"] = objectId; |
1376 } | 1408 } |
1377 if (spreadsheetId != null) { | 1409 if (spreadsheetId != null) { |
1378 _json["spreadsheetId"] = spreadsheetId; | 1410 _json["spreadsheetId"] = spreadsheetId; |
1379 } | 1411 } |
1380 return _json; | 1412 return _json; |
1381 } | 1413 } |
1382 } | 1414 } |
1383 | 1415 |
1384 /** The result of creating an embedded Google Sheets chart. */ | 1416 /// The result of creating an embedded Google Sheets chart. |
1385 class CreateSheetsChartResponse { | 1417 class CreateSheetsChartResponse { |
1386 /** The object ID of the created chart. */ | 1418 /// The object ID of the created chart. |
1387 core.String objectId; | 1419 core.String objectId; |
1388 | 1420 |
1389 CreateSheetsChartResponse(); | 1421 CreateSheetsChartResponse(); |
1390 | 1422 |
1391 CreateSheetsChartResponse.fromJson(core.Map _json) { | 1423 CreateSheetsChartResponse.fromJson(core.Map _json) { |
1392 if (_json.containsKey("objectId")) { | 1424 if (_json.containsKey("objectId")) { |
1393 objectId = _json["objectId"]; | 1425 objectId = _json["objectId"]; |
1394 } | 1426 } |
1395 } | 1427 } |
1396 | 1428 |
1397 core.Map<core.String, core.Object> toJson() { | 1429 core.Map<core.String, core.Object> toJson() { |
1398 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1430 final core.Map<core.String, core.Object> _json = |
| 1431 new core.Map<core.String, core.Object>(); |
1399 if (objectId != null) { | 1432 if (objectId != null) { |
1400 _json["objectId"] = objectId; | 1433 _json["objectId"] = objectId; |
1401 } | 1434 } |
1402 return _json; | 1435 return _json; |
1403 } | 1436 } |
1404 } | 1437 } |
1405 | 1438 |
1406 /** Creates a new slide. */ | 1439 /// Creates a new slide. |
1407 class CreateSlideRequest { | 1440 class CreateSlideRequest { |
1408 /** | 1441 /// The optional zero-based index indicating where to insert the slides. |
1409 * The optional zero-based index indicating where to insert the slides. | 1442 /// |
1410 * | 1443 /// If you don't specify an index, the new slide is created at the end. |
1411 * If you don't specify an index, the new slide is created at the end. | |
1412 */ | |
1413 core.int insertionIndex; | 1444 core.int insertionIndex; |
1414 /** | 1445 |
1415 * A user-supplied object ID. | 1446 /// A user-supplied object ID. |
1416 * | 1447 /// |
1417 * If you specify an ID, it must be unique among all pages and page elements | 1448 /// If you specify an ID, it must be unique among all pages and page elements |
1418 * in the presentation. The ID must start with an alphanumeric character or an | 1449 /// in the presentation. The ID must start with an alphanumeric character or |
1419 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 1450 /// an |
1420 * may include those as well as a hyphen or colon (matches regex | 1451 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
1421 * `[a-zA-Z0-9_-:]`). | 1452 /// may include those as well as a hyphen or colon (matches regex |
1422 * The length of the ID must not be less than 5 or greater than 50. | 1453 /// `[a-zA-Z0-9_-:]`). |
1423 * | 1454 /// The length of the ID must not be less than 5 or greater than 50. |
1424 * If you don't specify an ID, a unique one is generated. | 1455 /// |
1425 */ | 1456 /// If you don't specify an ID, a unique one is generated. |
1426 core.String objectId; | 1457 core.String objectId; |
1427 /** | 1458 |
1428 * An optional list of object ID mappings from the placeholder(s) on the | 1459 /// An optional list of object ID mappings from the placeholder(s) on the |
1429 * layout to the placeholder(s) | 1460 /// layout to the placeholder(s) |
1430 * that will be created on the new slide from that specified layout. Can only | 1461 /// that will be created on the new slide from that specified layout. Can |
1431 * be used when `slide_layout_reference` is specified. | 1462 /// only |
1432 */ | 1463 /// be used when `slide_layout_reference` is specified. |
1433 core.List<LayoutPlaceholderIdMapping> placeholderIdMappings; | 1464 core.List<LayoutPlaceholderIdMapping> placeholderIdMappings; |
1434 /** | 1465 |
1435 * Layout reference of the slide to be inserted, based on the *current | 1466 /// Layout reference of the slide to be inserted, based on the *current |
1436 * master*, which is one of the following: | 1467 /// master*, which is one of the following: |
1437 * | 1468 /// |
1438 * - The master of the previous slide index. | 1469 /// - The master of the previous slide index. |
1439 * - The master of the first slide, if the insertion_index is zero. | 1470 /// - The master of the first slide, if the insertion_index is zero. |
1440 * - The first master in the presentation, if there are no slides. | 1471 /// - The first master in the presentation, if there are no slides. |
1441 * | 1472 /// |
1442 * If the LayoutReference is not found in the current master, a 400 bad | 1473 /// If the LayoutReference is not found in the current master, a 400 bad |
1443 * request error is returned. | 1474 /// request error is returned. |
1444 * | 1475 /// |
1445 * If you don't specify a layout reference, then the new slide will use the | 1476 /// If you don't specify a layout reference, then the new slide will use the |
1446 * predefined layout `BLANK`. | 1477 /// predefined layout `BLANK`. |
1447 */ | |
1448 LayoutReference slideLayoutReference; | 1478 LayoutReference slideLayoutReference; |
1449 | 1479 |
1450 CreateSlideRequest(); | 1480 CreateSlideRequest(); |
1451 | 1481 |
1452 CreateSlideRequest.fromJson(core.Map _json) { | 1482 CreateSlideRequest.fromJson(core.Map _json) { |
1453 if (_json.containsKey("insertionIndex")) { | 1483 if (_json.containsKey("insertionIndex")) { |
1454 insertionIndex = _json["insertionIndex"]; | 1484 insertionIndex = _json["insertionIndex"]; |
1455 } | 1485 } |
1456 if (_json.containsKey("objectId")) { | 1486 if (_json.containsKey("objectId")) { |
1457 objectId = _json["objectId"]; | 1487 objectId = _json["objectId"]; |
1458 } | 1488 } |
1459 if (_json.containsKey("placeholderIdMappings")) { | 1489 if (_json.containsKey("placeholderIdMappings")) { |
1460 placeholderIdMappings = _json["placeholderIdMappings"].map((value) => new
LayoutPlaceholderIdMapping.fromJson(value)).toList(); | 1490 placeholderIdMappings = _json["placeholderIdMappings"] |
| 1491 .map((value) => new LayoutPlaceholderIdMapping.fromJson(value)) |
| 1492 .toList(); |
1461 } | 1493 } |
1462 if (_json.containsKey("slideLayoutReference")) { | 1494 if (_json.containsKey("slideLayoutReference")) { |
1463 slideLayoutReference = new LayoutReference.fromJson(_json["slideLayoutRefe
rence"]); | 1495 slideLayoutReference = |
| 1496 new LayoutReference.fromJson(_json["slideLayoutReference"]); |
1464 } | 1497 } |
1465 } | 1498 } |
1466 | 1499 |
1467 core.Map<core.String, core.Object> toJson() { | 1500 core.Map<core.String, core.Object> toJson() { |
1468 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1501 final core.Map<core.String, core.Object> _json = |
| 1502 new core.Map<core.String, core.Object>(); |
1469 if (insertionIndex != null) { | 1503 if (insertionIndex != null) { |
1470 _json["insertionIndex"] = insertionIndex; | 1504 _json["insertionIndex"] = insertionIndex; |
1471 } | 1505 } |
1472 if (objectId != null) { | 1506 if (objectId != null) { |
1473 _json["objectId"] = objectId; | 1507 _json["objectId"] = objectId; |
1474 } | 1508 } |
1475 if (placeholderIdMappings != null) { | 1509 if (placeholderIdMappings != null) { |
1476 _json["placeholderIdMappings"] = placeholderIdMappings.map((value) => (val
ue).toJson()).toList(); | 1510 _json["placeholderIdMappings"] = |
| 1511 placeholderIdMappings.map((value) => (value).toJson()).toList(); |
1477 } | 1512 } |
1478 if (slideLayoutReference != null) { | 1513 if (slideLayoutReference != null) { |
1479 _json["slideLayoutReference"] = (slideLayoutReference).toJson(); | 1514 _json["slideLayoutReference"] = (slideLayoutReference).toJson(); |
1480 } | 1515 } |
1481 return _json; | 1516 return _json; |
1482 } | 1517 } |
1483 } | 1518 } |
1484 | 1519 |
1485 /** The result of creating a slide. */ | 1520 /// The result of creating a slide. |
1486 class CreateSlideResponse { | 1521 class CreateSlideResponse { |
1487 /** The object ID of the created slide. */ | 1522 /// The object ID of the created slide. |
1488 core.String objectId; | 1523 core.String objectId; |
1489 | 1524 |
1490 CreateSlideResponse(); | 1525 CreateSlideResponse(); |
1491 | 1526 |
1492 CreateSlideResponse.fromJson(core.Map _json) { | 1527 CreateSlideResponse.fromJson(core.Map _json) { |
1493 if (_json.containsKey("objectId")) { | 1528 if (_json.containsKey("objectId")) { |
1494 objectId = _json["objectId"]; | 1529 objectId = _json["objectId"]; |
1495 } | 1530 } |
1496 } | 1531 } |
1497 | 1532 |
1498 core.Map<core.String, core.Object> toJson() { | 1533 core.Map<core.String, core.Object> toJson() { |
1499 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1534 final core.Map<core.String, core.Object> _json = |
| 1535 new core.Map<core.String, core.Object>(); |
1500 if (objectId != null) { | 1536 if (objectId != null) { |
1501 _json["objectId"] = objectId; | 1537 _json["objectId"] = objectId; |
1502 } | 1538 } |
1503 return _json; | 1539 return _json; |
1504 } | 1540 } |
1505 } | 1541 } |
1506 | 1542 |
1507 /** Creates a new table. */ | 1543 /// Creates a new table. |
1508 class CreateTableRequest { | 1544 class CreateTableRequest { |
1509 /** Number of columns in the table. */ | 1545 /// Number of columns in the table. |
1510 core.int columns; | 1546 core.int columns; |
1511 /** | 1547 |
1512 * The element properties for the table. | 1548 /// The element properties for the table. |
1513 * | 1549 /// |
1514 * The table will be created at the provided size, subject to a minimum size. | 1550 /// The table will be created at the provided size, subject to a minimum |
1515 * If no size is provided, the table will be automatically sized. | 1551 /// size. |
1516 * | 1552 /// If no size is provided, the table will be automatically sized. |
1517 * Table transforms must have a scale of 1 and no shear components. If no | 1553 /// |
1518 * transform is provided, the table will be centered on the page. | 1554 /// Table transforms must have a scale of 1 and no shear components. If no |
1519 */ | 1555 /// transform is provided, the table will be centered on the page. |
1520 PageElementProperties elementProperties; | 1556 PageElementProperties elementProperties; |
1521 /** | 1557 |
1522 * A user-supplied object ID. | 1558 /// A user-supplied object ID. |
1523 * | 1559 /// |
1524 * If you specify an ID, it must be unique among all pages and page elements | 1560 /// If you specify an ID, it must be unique among all pages and page elements |
1525 * in the presentation. The ID must start with an alphanumeric character or an | 1561 /// in the presentation. The ID must start with an alphanumeric character or |
1526 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 1562 /// an |
1527 * may include those as well as a hyphen or colon (matches regex | 1563 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
1528 * `[a-zA-Z0-9_-:]`). | 1564 /// may include those as well as a hyphen or colon (matches regex |
1529 * The length of the ID must not be less than 5 or greater than 50. | 1565 /// `[a-zA-Z0-9_-:]`). |
1530 * | 1566 /// The length of the ID must not be less than 5 or greater than 50. |
1531 * If you don't specify an ID, a unique one is generated. | 1567 /// |
1532 */ | 1568 /// If you don't specify an ID, a unique one is generated. |
1533 core.String objectId; | 1569 core.String objectId; |
1534 /** Number of rows in the table. */ | 1570 |
| 1571 /// Number of rows in the table. |
1535 core.int rows; | 1572 core.int rows; |
1536 | 1573 |
1537 CreateTableRequest(); | 1574 CreateTableRequest(); |
1538 | 1575 |
1539 CreateTableRequest.fromJson(core.Map _json) { | 1576 CreateTableRequest.fromJson(core.Map _json) { |
1540 if (_json.containsKey("columns")) { | 1577 if (_json.containsKey("columns")) { |
1541 columns = _json["columns"]; | 1578 columns = _json["columns"]; |
1542 } | 1579 } |
1543 if (_json.containsKey("elementProperties")) { | 1580 if (_json.containsKey("elementProperties")) { |
1544 elementProperties = new PageElementProperties.fromJson(_json["elementPrope
rties"]); | 1581 elementProperties = |
| 1582 new PageElementProperties.fromJson(_json["elementProperties"]); |
1545 } | 1583 } |
1546 if (_json.containsKey("objectId")) { | 1584 if (_json.containsKey("objectId")) { |
1547 objectId = _json["objectId"]; | 1585 objectId = _json["objectId"]; |
1548 } | 1586 } |
1549 if (_json.containsKey("rows")) { | 1587 if (_json.containsKey("rows")) { |
1550 rows = _json["rows"]; | 1588 rows = _json["rows"]; |
1551 } | 1589 } |
1552 } | 1590 } |
1553 | 1591 |
1554 core.Map<core.String, core.Object> toJson() { | 1592 core.Map<core.String, core.Object> toJson() { |
1555 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1593 final core.Map<core.String, core.Object> _json = |
| 1594 new core.Map<core.String, core.Object>(); |
1556 if (columns != null) { | 1595 if (columns != null) { |
1557 _json["columns"] = columns; | 1596 _json["columns"] = columns; |
1558 } | 1597 } |
1559 if (elementProperties != null) { | 1598 if (elementProperties != null) { |
1560 _json["elementProperties"] = (elementProperties).toJson(); | 1599 _json["elementProperties"] = (elementProperties).toJson(); |
1561 } | 1600 } |
1562 if (objectId != null) { | 1601 if (objectId != null) { |
1563 _json["objectId"] = objectId; | 1602 _json["objectId"] = objectId; |
1564 } | 1603 } |
1565 if (rows != null) { | 1604 if (rows != null) { |
1566 _json["rows"] = rows; | 1605 _json["rows"] = rows; |
1567 } | 1606 } |
1568 return _json; | 1607 return _json; |
1569 } | 1608 } |
1570 } | 1609 } |
1571 | 1610 |
1572 /** The result of creating a table. */ | 1611 /// The result of creating a table. |
1573 class CreateTableResponse { | 1612 class CreateTableResponse { |
1574 /** The object ID of the created table. */ | 1613 /// The object ID of the created table. |
1575 core.String objectId; | 1614 core.String objectId; |
1576 | 1615 |
1577 CreateTableResponse(); | 1616 CreateTableResponse(); |
1578 | 1617 |
1579 CreateTableResponse.fromJson(core.Map _json) { | 1618 CreateTableResponse.fromJson(core.Map _json) { |
1580 if (_json.containsKey("objectId")) { | 1619 if (_json.containsKey("objectId")) { |
1581 objectId = _json["objectId"]; | 1620 objectId = _json["objectId"]; |
1582 } | 1621 } |
1583 } | 1622 } |
1584 | 1623 |
1585 core.Map<core.String, core.Object> toJson() { | 1624 core.Map<core.String, core.Object> toJson() { |
1586 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1625 final core.Map<core.String, core.Object> _json = |
| 1626 new core.Map<core.String, core.Object>(); |
1587 if (objectId != null) { | 1627 if (objectId != null) { |
1588 _json["objectId"] = objectId; | 1628 _json["objectId"] = objectId; |
1589 } | 1629 } |
1590 return _json; | 1630 return _json; |
1591 } | 1631 } |
1592 } | 1632 } |
1593 | 1633 |
1594 /** Creates a video. */ | 1634 /// Creates a video. |
1595 class CreateVideoRequest { | 1635 class CreateVideoRequest { |
1596 /** The element properties for the video. */ | 1636 /// The element properties for the video. |
1597 PageElementProperties elementProperties; | 1637 PageElementProperties elementProperties; |
1598 /** | 1638 |
1599 * The video source's unique identifier for this video. | 1639 /// The video source's unique identifier for this video. |
1600 * | 1640 /// |
1601 * e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, | 1641 /// e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, |
1602 * the ID is 7U3axjORYZ0. | 1642 /// the ID is 7U3axjORYZ0. |
1603 */ | |
1604 core.String id; | 1643 core.String id; |
1605 /** | 1644 |
1606 * A user-supplied object ID. | 1645 /// A user-supplied object ID. |
1607 * | 1646 /// |
1608 * If you specify an ID, it must be unique among all pages and page elements | 1647 /// If you specify an ID, it must be unique among all pages and page elements |
1609 * in the presentation. The ID must start with an alphanumeric character or an | 1648 /// in the presentation. The ID must start with an alphanumeric character or |
1610 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 1649 /// an |
1611 * may include those as well as a hyphen or colon (matches regex | 1650 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
1612 * `[a-zA-Z0-9_-:]`). | 1651 /// may include those as well as a hyphen or colon (matches regex |
1613 * The length of the ID must not be less than 5 or greater than 50. | 1652 /// `[a-zA-Z0-9_-:]`). |
1614 * | 1653 /// The length of the ID must not be less than 5 or greater than 50. |
1615 * If you don't specify an ID, a unique one is generated. | 1654 /// |
1616 */ | 1655 /// If you don't specify an ID, a unique one is generated. |
1617 core.String objectId; | 1656 core.String objectId; |
1618 /** | 1657 |
1619 * The video source. | 1658 /// The video source. |
1620 * Possible string values are: | 1659 /// Possible string values are: |
1621 * - "SOURCE_UNSPECIFIED" : The video source is unspecified. | 1660 /// - "SOURCE_UNSPECIFIED" : The video source is unspecified. |
1622 * - "YOUTUBE" : The video source is YouTube. | 1661 /// - "YOUTUBE" : The video source is YouTube. |
1623 */ | |
1624 core.String source; | 1662 core.String source; |
1625 | 1663 |
1626 CreateVideoRequest(); | 1664 CreateVideoRequest(); |
1627 | 1665 |
1628 CreateVideoRequest.fromJson(core.Map _json) { | 1666 CreateVideoRequest.fromJson(core.Map _json) { |
1629 if (_json.containsKey("elementProperties")) { | 1667 if (_json.containsKey("elementProperties")) { |
1630 elementProperties = new PageElementProperties.fromJson(_json["elementPrope
rties"]); | 1668 elementProperties = |
| 1669 new PageElementProperties.fromJson(_json["elementProperties"]); |
1631 } | 1670 } |
1632 if (_json.containsKey("id")) { | 1671 if (_json.containsKey("id")) { |
1633 id = _json["id"]; | 1672 id = _json["id"]; |
1634 } | 1673 } |
1635 if (_json.containsKey("objectId")) { | 1674 if (_json.containsKey("objectId")) { |
1636 objectId = _json["objectId"]; | 1675 objectId = _json["objectId"]; |
1637 } | 1676 } |
1638 if (_json.containsKey("source")) { | 1677 if (_json.containsKey("source")) { |
1639 source = _json["source"]; | 1678 source = _json["source"]; |
1640 } | 1679 } |
1641 } | 1680 } |
1642 | 1681 |
1643 core.Map<core.String, core.Object> toJson() { | 1682 core.Map<core.String, core.Object> toJson() { |
1644 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1683 final core.Map<core.String, core.Object> _json = |
| 1684 new core.Map<core.String, core.Object>(); |
1645 if (elementProperties != null) { | 1685 if (elementProperties != null) { |
1646 _json["elementProperties"] = (elementProperties).toJson(); | 1686 _json["elementProperties"] = (elementProperties).toJson(); |
1647 } | 1687 } |
1648 if (id != null) { | 1688 if (id != null) { |
1649 _json["id"] = id; | 1689 _json["id"] = id; |
1650 } | 1690 } |
1651 if (objectId != null) { | 1691 if (objectId != null) { |
1652 _json["objectId"] = objectId; | 1692 _json["objectId"] = objectId; |
1653 } | 1693 } |
1654 if (source != null) { | 1694 if (source != null) { |
1655 _json["source"] = source; | 1695 _json["source"] = source; |
1656 } | 1696 } |
1657 return _json; | 1697 return _json; |
1658 } | 1698 } |
1659 } | 1699 } |
1660 | 1700 |
1661 /** The result of creating a video. */ | 1701 /// The result of creating a video. |
1662 class CreateVideoResponse { | 1702 class CreateVideoResponse { |
1663 /** The object ID of the created video. */ | 1703 /// The object ID of the created video. |
1664 core.String objectId; | 1704 core.String objectId; |
1665 | 1705 |
1666 CreateVideoResponse(); | 1706 CreateVideoResponse(); |
1667 | 1707 |
1668 CreateVideoResponse.fromJson(core.Map _json) { | 1708 CreateVideoResponse.fromJson(core.Map _json) { |
1669 if (_json.containsKey("objectId")) { | 1709 if (_json.containsKey("objectId")) { |
1670 objectId = _json["objectId"]; | 1710 objectId = _json["objectId"]; |
1671 } | 1711 } |
1672 } | 1712 } |
1673 | 1713 |
1674 core.Map<core.String, core.Object> toJson() { | 1714 core.Map<core.String, core.Object> toJson() { |
1675 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1715 final core.Map<core.String, core.Object> _json = |
| 1716 new core.Map<core.String, core.Object>(); |
1676 if (objectId != null) { | 1717 if (objectId != null) { |
1677 _json["objectId"] = objectId; | 1718 _json["objectId"] = objectId; |
1678 } | 1719 } |
1679 return _json; | 1720 return _json; |
1680 } | 1721 } |
1681 } | 1722 } |
1682 | 1723 |
1683 /** | 1724 /// The crop properties of an object enclosed in a container. For example, an |
1684 * The crop properties of an object enclosed in a container. For example, an | 1725 /// Image. |
1685 * Image. | 1726 /// |
1686 * | 1727 /// The crop properties is represented by the offsets of four edges which |
1687 * The crop properties is represented by the offsets of four edges which define | 1728 /// define |
1688 * a crop rectangle. The offsets are measured in percentage from the | 1729 /// a crop rectangle. The offsets are measured in percentage from the |
1689 * corresponding edges of the object's original bounding rectangle towards | 1730 /// corresponding edges of the object's original bounding rectangle towards |
1690 * inside, relative to the object's original dimensions. | 1731 /// inside, relative to the object's original dimensions. |
1691 * | 1732 /// |
1692 * - If the offset is in the interval (0, 1), the corresponding edge of crop | 1733 /// - If the offset is in the interval (0, 1), the corresponding edge of crop |
1693 * rectangle is positioned inside of the object's original bounding rectangle. | 1734 /// rectangle is positioned inside of the object's original bounding rectangle. |
1694 * - If the offset is negative or greater than 1, the corresponding edge of crop | 1735 /// - If the offset is negative or greater than 1, the corresponding edge of |
1695 * rectangle is positioned outside of the object's original bounding rectangle. | 1736 /// crop |
1696 * - If the left edge of the crop rectangle is on the right side of its right | 1737 /// rectangle is positioned outside of the object's original bounding |
1697 * edge, the object will be flipped horizontally. | 1738 /// rectangle. |
1698 * - If the top edge of the crop rectangle is below its bottom edge, the object | 1739 /// - If the left edge of the crop rectangle is on the right side of its right |
1699 * will be flipped vertically. | 1740 /// edge, the object will be flipped horizontally. |
1700 * - If all offsets and rotation angle is 0, the object is not cropped. | 1741 /// - If the top edge of the crop rectangle is below its bottom edge, the |
1701 * | 1742 /// object |
1702 * After cropping, the content in the crop rectangle will be stretched to fit | 1743 /// will be flipped vertically. |
1703 * its container. | 1744 /// - If all offsets and rotation angle is 0, the object is not cropped. |
1704 */ | 1745 /// |
| 1746 /// After cropping, the content in the crop rectangle will be stretched to fit |
| 1747 /// its container. |
1705 class CropProperties { | 1748 class CropProperties { |
1706 /** | 1749 /// The rotation angle of the crop window around its center, in radians. |
1707 * The rotation angle of the crop window around its center, in radians. | 1750 /// Rotation angle is applied after the offset. |
1708 * Rotation angle is applied after the offset. | |
1709 */ | |
1710 core.double angle; | 1751 core.double angle; |
1711 /** | 1752 |
1712 * The offset specifies the bottom edge of the crop rectangle that is located | 1753 /// The offset specifies the bottom edge of the crop rectangle that is |
1713 * above the original bounding rectangle bottom edge, relative to the object's | 1754 /// located |
1714 * original height. | 1755 /// above the original bounding rectangle bottom edge, relative to the |
1715 */ | 1756 /// object's |
| 1757 /// original height. |
1716 core.double bottomOffset; | 1758 core.double bottomOffset; |
1717 /** | 1759 |
1718 * The offset specifies the left edge of the crop rectangle that is located to | 1760 /// The offset specifies the left edge of the crop rectangle that is located |
1719 * the right of the original bounding rectangle left edge, relative to the | 1761 /// to |
1720 * object's original width. | 1762 /// the right of the original bounding rectangle left edge, relative to the |
1721 */ | 1763 /// object's original width. |
1722 core.double leftOffset; | 1764 core.double leftOffset; |
1723 /** | 1765 |
1724 * The offset specifies the right edge of the crop rectangle that is located | 1766 /// The offset specifies the right edge of the crop rectangle that is located |
1725 * to the left of the original bounding rectangle right edge, relative to the | 1767 /// to the left of the original bounding rectangle right edge, relative to |
1726 * object's original width. | 1768 /// the |
1727 */ | 1769 /// object's original width. |
1728 core.double rightOffset; | 1770 core.double rightOffset; |
1729 /** | 1771 |
1730 * The offset specifies the top edge of the crop rectangle that is located | 1772 /// The offset specifies the top edge of the crop rectangle that is located |
1731 * below the original bounding rectangle top edge, relative to the object's | 1773 /// below the original bounding rectangle top edge, relative to the object's |
1732 * original height. | 1774 /// original height. |
1733 */ | |
1734 core.double topOffset; | 1775 core.double topOffset; |
1735 | 1776 |
1736 CropProperties(); | 1777 CropProperties(); |
1737 | 1778 |
1738 CropProperties.fromJson(core.Map _json) { | 1779 CropProperties.fromJson(core.Map _json) { |
1739 if (_json.containsKey("angle")) { | 1780 if (_json.containsKey("angle")) { |
1740 angle = _json["angle"]; | 1781 angle = _json["angle"]; |
1741 } | 1782 } |
1742 if (_json.containsKey("bottomOffset")) { | 1783 if (_json.containsKey("bottomOffset")) { |
1743 bottomOffset = _json["bottomOffset"]; | 1784 bottomOffset = _json["bottomOffset"]; |
1744 } | 1785 } |
1745 if (_json.containsKey("leftOffset")) { | 1786 if (_json.containsKey("leftOffset")) { |
1746 leftOffset = _json["leftOffset"]; | 1787 leftOffset = _json["leftOffset"]; |
1747 } | 1788 } |
1748 if (_json.containsKey("rightOffset")) { | 1789 if (_json.containsKey("rightOffset")) { |
1749 rightOffset = _json["rightOffset"]; | 1790 rightOffset = _json["rightOffset"]; |
1750 } | 1791 } |
1751 if (_json.containsKey("topOffset")) { | 1792 if (_json.containsKey("topOffset")) { |
1752 topOffset = _json["topOffset"]; | 1793 topOffset = _json["topOffset"]; |
1753 } | 1794 } |
1754 } | 1795 } |
1755 | 1796 |
1756 core.Map<core.String, core.Object> toJson() { | 1797 core.Map<core.String, core.Object> toJson() { |
1757 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1798 final core.Map<core.String, core.Object> _json = |
| 1799 new core.Map<core.String, core.Object>(); |
1758 if (angle != null) { | 1800 if (angle != null) { |
1759 _json["angle"] = angle; | 1801 _json["angle"] = angle; |
1760 } | 1802 } |
1761 if (bottomOffset != null) { | 1803 if (bottomOffset != null) { |
1762 _json["bottomOffset"] = bottomOffset; | 1804 _json["bottomOffset"] = bottomOffset; |
1763 } | 1805 } |
1764 if (leftOffset != null) { | 1806 if (leftOffset != null) { |
1765 _json["leftOffset"] = leftOffset; | 1807 _json["leftOffset"] = leftOffset; |
1766 } | 1808 } |
1767 if (rightOffset != null) { | 1809 if (rightOffset != null) { |
1768 _json["rightOffset"] = rightOffset; | 1810 _json["rightOffset"] = rightOffset; |
1769 } | 1811 } |
1770 if (topOffset != null) { | 1812 if (topOffset != null) { |
1771 _json["topOffset"] = topOffset; | 1813 _json["topOffset"] = topOffset; |
1772 } | 1814 } |
1773 return _json; | 1815 return _json; |
1774 } | 1816 } |
1775 } | 1817 } |
1776 | 1818 |
1777 /** | 1819 /// Deletes an object, either pages or |
1778 * Deletes an object, either pages or | 1820 /// page elements, from the |
1779 * page elements, from the | 1821 /// presentation. |
1780 * presentation. | |
1781 */ | |
1782 class DeleteObjectRequest { | 1822 class DeleteObjectRequest { |
1783 /** | 1823 /// The object ID of the page or page element to delete. |
1784 * The object ID of the page or page element to delete. | 1824 /// |
1785 * | 1825 /// If after a delete operation a group contains |
1786 * If after a delete operation a group contains | 1826 /// only 1 or no page elements, the group is also deleted. |
1787 * only 1 or no page elements, the group is also deleted. | 1827 /// |
1788 * | 1828 /// If a placeholder is deleted on a layout, any empty inheriting shapes are |
1789 * If a placeholder is deleted on a layout, any empty inheriting shapes are | 1829 /// also deleted. |
1790 * also deleted. | |
1791 */ | |
1792 core.String objectId; | 1830 core.String objectId; |
1793 | 1831 |
1794 DeleteObjectRequest(); | 1832 DeleteObjectRequest(); |
1795 | 1833 |
1796 DeleteObjectRequest.fromJson(core.Map _json) { | 1834 DeleteObjectRequest.fromJson(core.Map _json) { |
1797 if (_json.containsKey("objectId")) { | 1835 if (_json.containsKey("objectId")) { |
1798 objectId = _json["objectId"]; | 1836 objectId = _json["objectId"]; |
1799 } | 1837 } |
1800 } | 1838 } |
1801 | 1839 |
1802 core.Map<core.String, core.Object> toJson() { | 1840 core.Map<core.String, core.Object> toJson() { |
1803 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1841 final core.Map<core.String, core.Object> _json = |
| 1842 new core.Map<core.String, core.Object>(); |
1804 if (objectId != null) { | 1843 if (objectId != null) { |
1805 _json["objectId"] = objectId; | 1844 _json["objectId"] = objectId; |
1806 } | 1845 } |
1807 return _json; | 1846 return _json; |
1808 } | 1847 } |
1809 } | 1848 } |
1810 | 1849 |
1811 /** | 1850 /// Deletes bullets from all of the paragraphs that overlap with the given text |
1812 * Deletes bullets from all of the paragraphs that overlap with the given text | 1851 /// index range. |
1813 * index range. | 1852 /// |
1814 * | 1853 /// The nesting level of each paragraph will be visually preserved by adding |
1815 * The nesting level of each paragraph will be visually preserved by adding | 1854 /// indent to the start of the corresponding paragraph. |
1816 * indent to the start of the corresponding paragraph. | |
1817 */ | |
1818 class DeleteParagraphBulletsRequest { | 1855 class DeleteParagraphBulletsRequest { |
1819 /** | 1856 /// The optional table cell location if the text to be modified is in a table |
1820 * The optional table cell location if the text to be modified is in a table | 1857 /// cell. If present, the object_id must refer to a table. |
1821 * cell. If present, the object_id must refer to a table. | |
1822 */ | |
1823 TableCellLocation cellLocation; | 1858 TableCellLocation cellLocation; |
1824 /** | 1859 |
1825 * The object ID of the shape or table containing the text to delete bullets | 1860 /// The object ID of the shape or table containing the text to delete bullets |
1826 * from. | 1861 /// from. |
1827 */ | |
1828 core.String objectId; | 1862 core.String objectId; |
1829 /** | 1863 |
1830 * The range of text to delete bullets from, based on TextElement indexes. | 1864 /// The range of text to delete bullets from, based on TextElement indexes. |
1831 */ | |
1832 Range textRange; | 1865 Range textRange; |
1833 | 1866 |
1834 DeleteParagraphBulletsRequest(); | 1867 DeleteParagraphBulletsRequest(); |
1835 | 1868 |
1836 DeleteParagraphBulletsRequest.fromJson(core.Map _json) { | 1869 DeleteParagraphBulletsRequest.fromJson(core.Map _json) { |
1837 if (_json.containsKey("cellLocation")) { | 1870 if (_json.containsKey("cellLocation")) { |
1838 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 1871 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
1839 } | 1872 } |
1840 if (_json.containsKey("objectId")) { | 1873 if (_json.containsKey("objectId")) { |
1841 objectId = _json["objectId"]; | 1874 objectId = _json["objectId"]; |
1842 } | 1875 } |
1843 if (_json.containsKey("textRange")) { | 1876 if (_json.containsKey("textRange")) { |
1844 textRange = new Range.fromJson(_json["textRange"]); | 1877 textRange = new Range.fromJson(_json["textRange"]); |
1845 } | 1878 } |
1846 } | 1879 } |
1847 | 1880 |
1848 core.Map<core.String, core.Object> toJson() { | 1881 core.Map<core.String, core.Object> toJson() { |
1849 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1882 final core.Map<core.String, core.Object> _json = |
| 1883 new core.Map<core.String, core.Object>(); |
1850 if (cellLocation != null) { | 1884 if (cellLocation != null) { |
1851 _json["cellLocation"] = (cellLocation).toJson(); | 1885 _json["cellLocation"] = (cellLocation).toJson(); |
1852 } | 1886 } |
1853 if (objectId != null) { | 1887 if (objectId != null) { |
1854 _json["objectId"] = objectId; | 1888 _json["objectId"] = objectId; |
1855 } | 1889 } |
1856 if (textRange != null) { | 1890 if (textRange != null) { |
1857 _json["textRange"] = (textRange).toJson(); | 1891 _json["textRange"] = (textRange).toJson(); |
1858 } | 1892 } |
1859 return _json; | 1893 return _json; |
1860 } | 1894 } |
1861 } | 1895 } |
1862 | 1896 |
1863 /** Deletes a column from a table. */ | 1897 /// Deletes a column from a table. |
1864 class DeleteTableColumnRequest { | 1898 class DeleteTableColumnRequest { |
1865 /** | 1899 /// The reference table cell location from which a column will be deleted. |
1866 * The reference table cell location from which a column will be deleted. | 1900 /// |
1867 * | 1901 /// The column this cell spans will be deleted. If this is a merged cell, |
1868 * The column this cell spans will be deleted. If this is a merged cell, | 1902 /// multiple columns will be deleted. If no columns remain in the table after |
1869 * multiple columns will be deleted. If no columns remain in the table after | 1903 /// this deletion, the whole table is deleted. |
1870 * this deletion, the whole table is deleted. | |
1871 */ | |
1872 TableCellLocation cellLocation; | 1904 TableCellLocation cellLocation; |
1873 /** The table to delete columns from. */ | 1905 |
| 1906 /// The table to delete columns from. |
1874 core.String tableObjectId; | 1907 core.String tableObjectId; |
1875 | 1908 |
1876 DeleteTableColumnRequest(); | 1909 DeleteTableColumnRequest(); |
1877 | 1910 |
1878 DeleteTableColumnRequest.fromJson(core.Map _json) { | 1911 DeleteTableColumnRequest.fromJson(core.Map _json) { |
1879 if (_json.containsKey("cellLocation")) { | 1912 if (_json.containsKey("cellLocation")) { |
1880 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 1913 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
1881 } | 1914 } |
1882 if (_json.containsKey("tableObjectId")) { | 1915 if (_json.containsKey("tableObjectId")) { |
1883 tableObjectId = _json["tableObjectId"]; | 1916 tableObjectId = _json["tableObjectId"]; |
1884 } | 1917 } |
1885 } | 1918 } |
1886 | 1919 |
1887 core.Map<core.String, core.Object> toJson() { | 1920 core.Map<core.String, core.Object> toJson() { |
1888 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1921 final core.Map<core.String, core.Object> _json = |
| 1922 new core.Map<core.String, core.Object>(); |
1889 if (cellLocation != null) { | 1923 if (cellLocation != null) { |
1890 _json["cellLocation"] = (cellLocation).toJson(); | 1924 _json["cellLocation"] = (cellLocation).toJson(); |
1891 } | 1925 } |
1892 if (tableObjectId != null) { | 1926 if (tableObjectId != null) { |
1893 _json["tableObjectId"] = tableObjectId; | 1927 _json["tableObjectId"] = tableObjectId; |
1894 } | 1928 } |
1895 return _json; | 1929 return _json; |
1896 } | 1930 } |
1897 } | 1931 } |
1898 | 1932 |
1899 /** Deletes a row from a table. */ | 1933 /// Deletes a row from a table. |
1900 class DeleteTableRowRequest { | 1934 class DeleteTableRowRequest { |
1901 /** | 1935 /// The reference table cell location from which a row will be deleted. |
1902 * The reference table cell location from which a row will be deleted. | 1936 /// |
1903 * | 1937 /// The row this cell spans will be deleted. If this is a merged cell, |
1904 * The row this cell spans will be deleted. If this is a merged cell, multiple | 1938 /// multiple |
1905 * rows will be deleted. If no rows remain in the table after this deletion, | 1939 /// rows will be deleted. If no rows remain in the table after this deletion, |
1906 * the whole table is deleted. | 1940 /// the whole table is deleted. |
1907 */ | |
1908 TableCellLocation cellLocation; | 1941 TableCellLocation cellLocation; |
1909 /** The table to delete rows from. */ | 1942 |
| 1943 /// The table to delete rows from. |
1910 core.String tableObjectId; | 1944 core.String tableObjectId; |
1911 | 1945 |
1912 DeleteTableRowRequest(); | 1946 DeleteTableRowRequest(); |
1913 | 1947 |
1914 DeleteTableRowRequest.fromJson(core.Map _json) { | 1948 DeleteTableRowRequest.fromJson(core.Map _json) { |
1915 if (_json.containsKey("cellLocation")) { | 1949 if (_json.containsKey("cellLocation")) { |
1916 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 1950 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
1917 } | 1951 } |
1918 if (_json.containsKey("tableObjectId")) { | 1952 if (_json.containsKey("tableObjectId")) { |
1919 tableObjectId = _json["tableObjectId"]; | 1953 tableObjectId = _json["tableObjectId"]; |
1920 } | 1954 } |
1921 } | 1955 } |
1922 | 1956 |
1923 core.Map<core.String, core.Object> toJson() { | 1957 core.Map<core.String, core.Object> toJson() { |
1924 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1958 final core.Map<core.String, core.Object> _json = |
| 1959 new core.Map<core.String, core.Object>(); |
1925 if (cellLocation != null) { | 1960 if (cellLocation != null) { |
1926 _json["cellLocation"] = (cellLocation).toJson(); | 1961 _json["cellLocation"] = (cellLocation).toJson(); |
1927 } | 1962 } |
1928 if (tableObjectId != null) { | 1963 if (tableObjectId != null) { |
1929 _json["tableObjectId"] = tableObjectId; | 1964 _json["tableObjectId"] = tableObjectId; |
1930 } | 1965 } |
1931 return _json; | 1966 return _json; |
1932 } | 1967 } |
1933 } | 1968 } |
1934 | 1969 |
1935 /** Deletes text from a shape or a table cell. */ | 1970 /// Deletes text from a shape or a table cell. |
1936 class DeleteTextRequest { | 1971 class DeleteTextRequest { |
1937 /** | 1972 /// The optional table cell location if the text is to be deleted from a |
1938 * The optional table cell location if the text is to be deleted from a table | 1973 /// table |
1939 * cell. If present, the object_id must refer to a table. | 1974 /// cell. If present, the object_id must refer to a table. |
1940 */ | |
1941 TableCellLocation cellLocation; | 1975 TableCellLocation cellLocation; |
1942 /** | 1976 |
1943 * The object ID of the shape or table from which the text will be deleted. | 1977 /// The object ID of the shape or table from which the text will be deleted. |
1944 */ | |
1945 core.String objectId; | 1978 core.String objectId; |
1946 /** | 1979 |
1947 * The range of text to delete, based on TextElement indexes. | 1980 /// The range of text to delete, based on TextElement indexes. |
1948 * | 1981 /// |
1949 * There is always an implicit newline character at the end of a shape's or | 1982 /// There is always an implicit newline character at the end of a shape's or |
1950 * table cell's text that cannot be deleted. `Range.Type.ALL` will use the | 1983 /// table cell's text that cannot be deleted. `Range.Type.ALL` will use the |
1951 * correct bounds, but care must be taken when specifying explicit bounds for | 1984 /// correct bounds, but care must be taken when specifying explicit bounds |
1952 * range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the text | 1985 /// for |
1953 * is "ABC", followed by an implicit newline, then the maximum value is 2 for | 1986 /// range types `FROM_START_INDEX` and `FIXED_RANGE`. For example, if the |
1954 * `text_range.start_index` and 3 for `text_range.end_index`. | 1987 /// text |
1955 * | 1988 /// is "ABC", followed by an implicit newline, then the maximum value is 2 |
1956 * Deleting text that crosses a paragraph boundary may result in changes | 1989 /// for |
1957 * to paragraph styles and lists as the two paragraphs are merged. | 1990 /// `text_range.start_index` and 3 for `text_range.end_index`. |
1958 * | 1991 /// |
1959 * Ranges that include only one code unit of a surrogate pair are expanded to | 1992 /// Deleting text that crosses a paragraph boundary may result in changes |
1960 * include both code units. | 1993 /// to paragraph styles and lists as the two paragraphs are merged. |
1961 */ | 1994 /// |
| 1995 /// Ranges that include only one code unit of a surrogate pair are expanded |
| 1996 /// to |
| 1997 /// include both code units. |
1962 Range textRange; | 1998 Range textRange; |
1963 | 1999 |
1964 DeleteTextRequest(); | 2000 DeleteTextRequest(); |
1965 | 2001 |
1966 DeleteTextRequest.fromJson(core.Map _json) { | 2002 DeleteTextRequest.fromJson(core.Map _json) { |
1967 if (_json.containsKey("cellLocation")) { | 2003 if (_json.containsKey("cellLocation")) { |
1968 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 2004 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
1969 } | 2005 } |
1970 if (_json.containsKey("objectId")) { | 2006 if (_json.containsKey("objectId")) { |
1971 objectId = _json["objectId"]; | 2007 objectId = _json["objectId"]; |
1972 } | 2008 } |
1973 if (_json.containsKey("textRange")) { | 2009 if (_json.containsKey("textRange")) { |
1974 textRange = new Range.fromJson(_json["textRange"]); | 2010 textRange = new Range.fromJson(_json["textRange"]); |
1975 } | 2011 } |
1976 } | 2012 } |
1977 | 2013 |
1978 core.Map<core.String, core.Object> toJson() { | 2014 core.Map<core.String, core.Object> toJson() { |
1979 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2015 final core.Map<core.String, core.Object> _json = |
| 2016 new core.Map<core.String, core.Object>(); |
1980 if (cellLocation != null) { | 2017 if (cellLocation != null) { |
1981 _json["cellLocation"] = (cellLocation).toJson(); | 2018 _json["cellLocation"] = (cellLocation).toJson(); |
1982 } | 2019 } |
1983 if (objectId != null) { | 2020 if (objectId != null) { |
1984 _json["objectId"] = objectId; | 2021 _json["objectId"] = objectId; |
1985 } | 2022 } |
1986 if (textRange != null) { | 2023 if (textRange != null) { |
1987 _json["textRange"] = (textRange).toJson(); | 2024 _json["textRange"] = (textRange).toJson(); |
1988 } | 2025 } |
1989 return _json; | 2026 return _json; |
1990 } | 2027 } |
1991 } | 2028 } |
1992 | 2029 |
1993 /** A magnitude in a single direction in the specified units. */ | 2030 /// A magnitude in a single direction in the specified units. |
1994 class Dimension { | 2031 class Dimension { |
1995 /** The magnitude. */ | 2032 /// The magnitude. |
1996 core.double magnitude; | 2033 core.double magnitude; |
1997 /** | 2034 |
1998 * The units for magnitude. | 2035 /// The units for magnitude. |
1999 * Possible string values are: | 2036 /// Possible string values are: |
2000 * - "UNIT_UNSPECIFIED" : The units are unknown. | 2037 /// - "UNIT_UNSPECIFIED" : The units are unknown. |
2001 * - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a | 2038 /// - "EMU" : An English Metric Unit (EMU) is defined as 1/360,000 of a |
2002 * centimeter | 2039 /// centimeter |
2003 * and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point. | 2040 /// and thus there are 914,400 EMUs per inch, and 12,700 EMUs per point. |
2004 * - "PT" : A point, 1/72 of an inch. | 2041 /// - "PT" : A point, 1/72 of an inch. |
2005 */ | |
2006 core.String unit; | 2042 core.String unit; |
2007 | 2043 |
2008 Dimension(); | 2044 Dimension(); |
2009 | 2045 |
2010 Dimension.fromJson(core.Map _json) { | 2046 Dimension.fromJson(core.Map _json) { |
2011 if (_json.containsKey("magnitude")) { | 2047 if (_json.containsKey("magnitude")) { |
2012 magnitude = _json["magnitude"]; | 2048 magnitude = _json["magnitude"]; |
2013 } | 2049 } |
2014 if (_json.containsKey("unit")) { | 2050 if (_json.containsKey("unit")) { |
2015 unit = _json["unit"]; | 2051 unit = _json["unit"]; |
2016 } | 2052 } |
2017 } | 2053 } |
2018 | 2054 |
2019 core.Map<core.String, core.Object> toJson() { | 2055 core.Map<core.String, core.Object> toJson() { |
2020 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2056 final core.Map<core.String, core.Object> _json = |
| 2057 new core.Map<core.String, core.Object>(); |
2021 if (magnitude != null) { | 2058 if (magnitude != null) { |
2022 _json["magnitude"] = magnitude; | 2059 _json["magnitude"] = magnitude; |
2023 } | 2060 } |
2024 if (unit != null) { | 2061 if (unit != null) { |
2025 _json["unit"] = unit; | 2062 _json["unit"] = unit; |
2026 } | 2063 } |
2027 return _json; | 2064 return _json; |
2028 } | 2065 } |
2029 } | 2066 } |
2030 | 2067 |
2031 /** | 2068 /// Duplicates a slide or page element. |
2032 * Duplicates a slide or page element. | 2069 /// |
2033 * | 2070 /// When duplicating a slide, the duplicate slide will be created immediately |
2034 * When duplicating a slide, the duplicate slide will be created immediately | 2071 /// following the specified slide. When duplicating a page element, the |
2035 * following the specified slide. When duplicating a page element, the duplicate | 2072 /// duplicate |
2036 * will be placed on the same page at the same position as the original. | 2073 /// will be placed on the same page at the same position as the original. |
2037 */ | |
2038 class DuplicateObjectRequest { | 2074 class DuplicateObjectRequest { |
2039 /** The ID of the object to duplicate. */ | 2075 /// The ID of the object to duplicate. |
2040 core.String objectId; | 2076 core.String objectId; |
2041 /** | 2077 |
2042 * The object being duplicated may contain other objects, for example when | 2078 /// The object being duplicated may contain other objects, for example when |
2043 * duplicating a slide or a group page element. This map defines how the IDs | 2079 /// duplicating a slide or a group page element. This map defines how the IDs |
2044 * of duplicated objects are generated: the keys are the IDs of the original | 2080 /// of duplicated objects are generated: the keys are the IDs of the original |
2045 * objects and its values are the IDs that will be assigned to the | 2081 /// objects and its values are the IDs that will be assigned to the |
2046 * corresponding duplicate object. The ID of the source object's duplicate | 2082 /// corresponding duplicate object. The ID of the source object's duplicate |
2047 * may be specified in this map as well, using the same value of the | 2083 /// may be specified in this map as well, using the same value of the |
2048 * `object_id` field as a key and the newly desired ID as the value. | 2084 /// `object_id` field as a key and the newly desired ID as the value. |
2049 * | 2085 /// |
2050 * All keys must correspond to existing IDs in the presentation. All values | 2086 /// All keys must correspond to existing IDs in the presentation. All values |
2051 * must be unique in the presentation and must start with an alphanumeric | 2087 /// must be unique in the presentation and must start with an alphanumeric |
2052 * character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining | 2088 /// character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining |
2053 * characters may include those as well as a hyphen or colon (matches regex | 2089 /// characters may include those as well as a hyphen or colon (matches regex |
2054 * `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or | 2090 /// `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or |
2055 * greater than 50. | 2091 /// greater than 50. |
2056 * | 2092 /// |
2057 * If any IDs of source objects are omitted from the map, a new random ID will | 2093 /// If any IDs of source objects are omitted from the map, a new random ID |
2058 * be assigned. If the map is empty or unset, all duplicate objects will | 2094 /// will |
2059 * receive a new random ID. | 2095 /// be assigned. If the map is empty or unset, all duplicate objects will |
2060 */ | 2096 /// receive a new random ID. |
2061 core.Map<core.String, core.String> objectIds; | 2097 core.Map<core.String, core.String> objectIds; |
2062 | 2098 |
2063 DuplicateObjectRequest(); | 2099 DuplicateObjectRequest(); |
2064 | 2100 |
2065 DuplicateObjectRequest.fromJson(core.Map _json) { | 2101 DuplicateObjectRequest.fromJson(core.Map _json) { |
2066 if (_json.containsKey("objectId")) { | 2102 if (_json.containsKey("objectId")) { |
2067 objectId = _json["objectId"]; | 2103 objectId = _json["objectId"]; |
2068 } | 2104 } |
2069 if (_json.containsKey("objectIds")) { | 2105 if (_json.containsKey("objectIds")) { |
2070 objectIds = _json["objectIds"]; | 2106 objectIds = _json["objectIds"]; |
2071 } | 2107 } |
2072 } | 2108 } |
2073 | 2109 |
2074 core.Map<core.String, core.Object> toJson() { | 2110 core.Map<core.String, core.Object> toJson() { |
2075 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2111 final core.Map<core.String, core.Object> _json = |
| 2112 new core.Map<core.String, core.Object>(); |
2076 if (objectId != null) { | 2113 if (objectId != null) { |
2077 _json["objectId"] = objectId; | 2114 _json["objectId"] = objectId; |
2078 } | 2115 } |
2079 if (objectIds != null) { | 2116 if (objectIds != null) { |
2080 _json["objectIds"] = objectIds; | 2117 _json["objectIds"] = objectIds; |
2081 } | 2118 } |
2082 return _json; | 2119 return _json; |
2083 } | 2120 } |
2084 } | 2121 } |
2085 | 2122 |
2086 /** The response of duplicating an object. */ | 2123 /// The response of duplicating an object. |
2087 class DuplicateObjectResponse { | 2124 class DuplicateObjectResponse { |
2088 /** The ID of the new duplicate object. */ | 2125 /// The ID of the new duplicate object. |
2089 core.String objectId; | 2126 core.String objectId; |
2090 | 2127 |
2091 DuplicateObjectResponse(); | 2128 DuplicateObjectResponse(); |
2092 | 2129 |
2093 DuplicateObjectResponse.fromJson(core.Map _json) { | 2130 DuplicateObjectResponse.fromJson(core.Map _json) { |
2094 if (_json.containsKey("objectId")) { | 2131 if (_json.containsKey("objectId")) { |
2095 objectId = _json["objectId"]; | 2132 objectId = _json["objectId"]; |
2096 } | 2133 } |
2097 } | 2134 } |
2098 | 2135 |
2099 core.Map<core.String, core.Object> toJson() { | 2136 core.Map<core.String, core.Object> toJson() { |
2100 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2137 final core.Map<core.String, core.Object> _json = |
| 2138 new core.Map<core.String, core.Object>(); |
2101 if (objectId != null) { | 2139 if (objectId != null) { |
2102 _json["objectId"] = objectId; | 2140 _json["objectId"] = objectId; |
2103 } | 2141 } |
2104 return _json; | 2142 return _json; |
2105 } | 2143 } |
2106 } | 2144 } |
2107 | 2145 |
2108 /** | 2146 /// A PageElement kind representing a |
2109 * A PageElement kind representing a | 2147 /// joined collection of PageElements. |
2110 * joined collection of PageElements. | |
2111 */ | |
2112 class Group { | 2148 class Group { |
2113 /** | 2149 /// The collection of elements in the group. The minimum size of a group is |
2114 * The collection of elements in the group. The minimum size of a group is 2. | 2150 /// 2. |
2115 */ | |
2116 core.List<PageElement> children; | 2151 core.List<PageElement> children; |
2117 | 2152 |
2118 Group(); | 2153 Group(); |
2119 | 2154 |
2120 Group.fromJson(core.Map _json) { | 2155 Group.fromJson(core.Map _json) { |
2121 if (_json.containsKey("children")) { | 2156 if (_json.containsKey("children")) { |
2122 children = _json["children"].map((value) => new PageElement.fromJson(value
)).toList(); | 2157 children = _json["children"] |
| 2158 .map((value) => new PageElement.fromJson(value)) |
| 2159 .toList(); |
2123 } | 2160 } |
2124 } | 2161 } |
2125 | 2162 |
2126 core.Map<core.String, core.Object> toJson() { | 2163 core.Map<core.String, core.Object> toJson() { |
2127 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2164 final core.Map<core.String, core.Object> _json = |
| 2165 new core.Map<core.String, core.Object>(); |
2128 if (children != null) { | 2166 if (children != null) { |
2129 _json["children"] = children.map((value) => (value).toJson()).toList(); | 2167 _json["children"] = children.map((value) => (value).toJson()).toList(); |
2130 } | 2168 } |
2131 return _json; | 2169 return _json; |
2132 } | 2170 } |
2133 } | 2171 } |
2134 | 2172 |
2135 /** | 2173 /// A PageElement kind representing an |
2136 * A PageElement kind representing an | 2174 /// image. |
2137 * image. | |
2138 */ | |
2139 class Image { | 2175 class Image { |
2140 /** | 2176 /// An URL to an image with a default lifetime of 30 minutes. |
2141 * An URL to an image with a default lifetime of 30 minutes. | 2177 /// This URL is tagged with the account of the requester. Anyone with the URL |
2142 * This URL is tagged with the account of the requester. Anyone with the URL | 2178 /// effectively accesses the image as the original requester. Access to the |
2143 * effectively accesses the image as the original requester. Access to the | 2179 /// image may be lost if the presentation's sharing settings change. |
2144 * image may be lost if the presentation's sharing settings change. | |
2145 */ | |
2146 core.String contentUrl; | 2180 core.String contentUrl; |
2147 /** The properties of the image. */ | 2181 |
| 2182 /// The properties of the image. |
2148 ImageProperties imageProperties; | 2183 ImageProperties imageProperties; |
2149 | 2184 |
2150 Image(); | 2185 Image(); |
2151 | 2186 |
2152 Image.fromJson(core.Map _json) { | 2187 Image.fromJson(core.Map _json) { |
2153 if (_json.containsKey("contentUrl")) { | 2188 if (_json.containsKey("contentUrl")) { |
2154 contentUrl = _json["contentUrl"]; | 2189 contentUrl = _json["contentUrl"]; |
2155 } | 2190 } |
2156 if (_json.containsKey("imageProperties")) { | 2191 if (_json.containsKey("imageProperties")) { |
2157 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]); | 2192 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]); |
2158 } | 2193 } |
2159 } | 2194 } |
2160 | 2195 |
2161 core.Map<core.String, core.Object> toJson() { | 2196 core.Map<core.String, core.Object> toJson() { |
2162 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2197 final core.Map<core.String, core.Object> _json = |
| 2198 new core.Map<core.String, core.Object>(); |
2163 if (contentUrl != null) { | 2199 if (contentUrl != null) { |
2164 _json["contentUrl"] = contentUrl; | 2200 _json["contentUrl"] = contentUrl; |
2165 } | 2201 } |
2166 if (imageProperties != null) { | 2202 if (imageProperties != null) { |
2167 _json["imageProperties"] = (imageProperties).toJson(); | 2203 _json["imageProperties"] = (imageProperties).toJson(); |
2168 } | 2204 } |
2169 return _json; | 2205 return _json; |
2170 } | 2206 } |
2171 } | 2207 } |
2172 | 2208 |
2173 /** The properties of the Image. */ | 2209 /// The properties of the Image. |
2174 class ImageProperties { | 2210 class ImageProperties { |
2175 /** | 2211 /// The brightness effect of the image. The value should be in the interval |
2176 * The brightness effect of the image. The value should be in the interval | 2212 /// [-1.0, 1.0], where 0 means no effect. This property is read-only. |
2177 * [-1.0, 1.0], where 0 means no effect. This property is read-only. | |
2178 */ | |
2179 core.double brightness; | 2213 core.double brightness; |
2180 /** | 2214 |
2181 * The contrast effect of the image. The value should be in the interval | 2215 /// The contrast effect of the image. The value should be in the interval |
2182 * [-1.0, 1.0], where 0 means no effect. This property is read-only. | 2216 /// [-1.0, 1.0], where 0 means no effect. This property is read-only. |
2183 */ | |
2184 core.double contrast; | 2217 core.double contrast; |
2185 /** | 2218 |
2186 * The crop properties of the image. If not set, the image is not cropped. | 2219 /// The crop properties of the image. If not set, the image is not cropped. |
2187 * This property is read-only. | 2220 /// This property is read-only. |
2188 */ | |
2189 CropProperties cropProperties; | 2221 CropProperties cropProperties; |
2190 /** The hyperlink destination of the image. If unset, there is no link. */ | 2222 |
| 2223 /// The hyperlink destination of the image. If unset, there is no link. |
2191 Link link; | 2224 Link link; |
2192 /** The outline of the image. If not set, the the image has no outline. */ | 2225 |
| 2226 /// The outline of the image. If not set, the the image has no outline. |
2193 Outline outline; | 2227 Outline outline; |
2194 /** | 2228 |
2195 * The recolor effect of the image. If not set, the image is not recolored. | 2229 /// The recolor effect of the image. If not set, the image is not recolored. |
2196 * This property is read-only. | 2230 /// This property is read-only. |
2197 */ | |
2198 Recolor recolor; | 2231 Recolor recolor; |
2199 /** | 2232 |
2200 * The shadow of the image. If not set, the image has no shadow. This property | 2233 /// The shadow of the image. If not set, the image has no shadow. This |
2201 * is read-only. | 2234 /// property |
2202 */ | 2235 /// is read-only. |
2203 Shadow shadow; | 2236 Shadow shadow; |
2204 /** | 2237 |
2205 * The transparency effect of the image. The value should be in the interval | 2238 /// The transparency effect of the image. The value should be in the interval |
2206 * [0.0, 1.0], where 0 means no effect and 1 means completely transparent. | 2239 /// [0.0, 1.0], where 0 means no effect and 1 means completely transparent. |
2207 * This property is read-only. | 2240 /// This property is read-only. |
2208 */ | |
2209 core.double transparency; | 2241 core.double transparency; |
2210 | 2242 |
2211 ImageProperties(); | 2243 ImageProperties(); |
2212 | 2244 |
2213 ImageProperties.fromJson(core.Map _json) { | 2245 ImageProperties.fromJson(core.Map _json) { |
2214 if (_json.containsKey("brightness")) { | 2246 if (_json.containsKey("brightness")) { |
2215 brightness = _json["brightness"]; | 2247 brightness = _json["brightness"]; |
2216 } | 2248 } |
2217 if (_json.containsKey("contrast")) { | 2249 if (_json.containsKey("contrast")) { |
2218 contrast = _json["contrast"]; | 2250 contrast = _json["contrast"]; |
(...skipping 12 matching lines...) Expand all Loading... |
2231 } | 2263 } |
2232 if (_json.containsKey("shadow")) { | 2264 if (_json.containsKey("shadow")) { |
2233 shadow = new Shadow.fromJson(_json["shadow"]); | 2265 shadow = new Shadow.fromJson(_json["shadow"]); |
2234 } | 2266 } |
2235 if (_json.containsKey("transparency")) { | 2267 if (_json.containsKey("transparency")) { |
2236 transparency = _json["transparency"]; | 2268 transparency = _json["transparency"]; |
2237 } | 2269 } |
2238 } | 2270 } |
2239 | 2271 |
2240 core.Map<core.String, core.Object> toJson() { | 2272 core.Map<core.String, core.Object> toJson() { |
2241 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2273 final core.Map<core.String, core.Object> _json = |
| 2274 new core.Map<core.String, core.Object>(); |
2242 if (brightness != null) { | 2275 if (brightness != null) { |
2243 _json["brightness"] = brightness; | 2276 _json["brightness"] = brightness; |
2244 } | 2277 } |
2245 if (contrast != null) { | 2278 if (contrast != null) { |
2246 _json["contrast"] = contrast; | 2279 _json["contrast"] = contrast; |
2247 } | 2280 } |
2248 if (cropProperties != null) { | 2281 if (cropProperties != null) { |
2249 _json["cropProperties"] = (cropProperties).toJson(); | 2282 _json["cropProperties"] = (cropProperties).toJson(); |
2250 } | 2283 } |
2251 if (link != null) { | 2284 if (link != null) { |
2252 _json["link"] = (link).toJson(); | 2285 _json["link"] = (link).toJson(); |
2253 } | 2286 } |
2254 if (outline != null) { | 2287 if (outline != null) { |
2255 _json["outline"] = (outline).toJson(); | 2288 _json["outline"] = (outline).toJson(); |
2256 } | 2289 } |
2257 if (recolor != null) { | 2290 if (recolor != null) { |
2258 _json["recolor"] = (recolor).toJson(); | 2291 _json["recolor"] = (recolor).toJson(); |
2259 } | 2292 } |
2260 if (shadow != null) { | 2293 if (shadow != null) { |
2261 _json["shadow"] = (shadow).toJson(); | 2294 _json["shadow"] = (shadow).toJson(); |
2262 } | 2295 } |
2263 if (transparency != null) { | 2296 if (transparency != null) { |
2264 _json["transparency"] = transparency; | 2297 _json["transparency"] = transparency; |
2265 } | 2298 } |
2266 return _json; | 2299 return _json; |
2267 } | 2300 } |
2268 } | 2301 } |
2269 | 2302 |
2270 /** | 2303 /// Inserts columns into a table. |
2271 * Inserts columns into a table. | 2304 /// |
2272 * | 2305 /// Other columns in the table will be resized to fit the new column. |
2273 * Other columns in the table will be resized to fit the new column. | |
2274 */ | |
2275 class InsertTableColumnsRequest { | 2306 class InsertTableColumnsRequest { |
2276 /** | 2307 /// The reference table cell location from which columns will be inserted. |
2277 * The reference table cell location from which columns will be inserted. | 2308 /// |
2278 * | 2309 /// A new column will be inserted to the left (or right) of the column where |
2279 * A new column will be inserted to the left (or right) of the column where | 2310 /// the reference cell is. If the reference cell is a merged cell, a new |
2280 * the reference cell is. If the reference cell is a merged cell, a new | 2311 /// column will be inserted to the left (or right) of the merged cell. |
2281 * column will be inserted to the left (or right) of the merged cell. | |
2282 */ | |
2283 TableCellLocation cellLocation; | 2312 TableCellLocation cellLocation; |
2284 /** | 2313 |
2285 * Whether to insert new columns to the right of the reference cell location. | 2314 /// Whether to insert new columns to the right of the reference cell |
2286 * | 2315 /// location. |
2287 * - `True`: insert to the right. | 2316 /// |
2288 * - `False`: insert to the left. | 2317 /// - `True`: insert to the right. |
2289 */ | 2318 /// - `False`: insert to the left. |
2290 core.bool insertRight; | 2319 core.bool insertRight; |
2291 /** The number of columns to be inserted. Maximum 20 per request. */ | 2320 |
| 2321 /// The number of columns to be inserted. Maximum 20 per request. |
2292 core.int number; | 2322 core.int number; |
2293 /** The table to insert columns into. */ | 2323 |
| 2324 /// The table to insert columns into. |
2294 core.String tableObjectId; | 2325 core.String tableObjectId; |
2295 | 2326 |
2296 InsertTableColumnsRequest(); | 2327 InsertTableColumnsRequest(); |
2297 | 2328 |
2298 InsertTableColumnsRequest.fromJson(core.Map _json) { | 2329 InsertTableColumnsRequest.fromJson(core.Map _json) { |
2299 if (_json.containsKey("cellLocation")) { | 2330 if (_json.containsKey("cellLocation")) { |
2300 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 2331 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
2301 } | 2332 } |
2302 if (_json.containsKey("insertRight")) { | 2333 if (_json.containsKey("insertRight")) { |
2303 insertRight = _json["insertRight"]; | 2334 insertRight = _json["insertRight"]; |
2304 } | 2335 } |
2305 if (_json.containsKey("number")) { | 2336 if (_json.containsKey("number")) { |
2306 number = _json["number"]; | 2337 number = _json["number"]; |
2307 } | 2338 } |
2308 if (_json.containsKey("tableObjectId")) { | 2339 if (_json.containsKey("tableObjectId")) { |
2309 tableObjectId = _json["tableObjectId"]; | 2340 tableObjectId = _json["tableObjectId"]; |
2310 } | 2341 } |
2311 } | 2342 } |
2312 | 2343 |
2313 core.Map<core.String, core.Object> toJson() { | 2344 core.Map<core.String, core.Object> toJson() { |
2314 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2345 final core.Map<core.String, core.Object> _json = |
| 2346 new core.Map<core.String, core.Object>(); |
2315 if (cellLocation != null) { | 2347 if (cellLocation != null) { |
2316 _json["cellLocation"] = (cellLocation).toJson(); | 2348 _json["cellLocation"] = (cellLocation).toJson(); |
2317 } | 2349 } |
2318 if (insertRight != null) { | 2350 if (insertRight != null) { |
2319 _json["insertRight"] = insertRight; | 2351 _json["insertRight"] = insertRight; |
2320 } | 2352 } |
2321 if (number != null) { | 2353 if (number != null) { |
2322 _json["number"] = number; | 2354 _json["number"] = number; |
2323 } | 2355 } |
2324 if (tableObjectId != null) { | 2356 if (tableObjectId != null) { |
2325 _json["tableObjectId"] = tableObjectId; | 2357 _json["tableObjectId"] = tableObjectId; |
2326 } | 2358 } |
2327 return _json; | 2359 return _json; |
2328 } | 2360 } |
2329 } | 2361 } |
2330 | 2362 |
2331 /** Inserts rows into a table. */ | 2363 /// Inserts rows into a table. |
2332 class InsertTableRowsRequest { | 2364 class InsertTableRowsRequest { |
2333 /** | 2365 /// The reference table cell location from which rows will be inserted. |
2334 * The reference table cell location from which rows will be inserted. | 2366 /// |
2335 * | 2367 /// A new row will be inserted above (or below) the row where the reference |
2336 * A new row will be inserted above (or below) the row where the reference | 2368 /// cell is. If the reference cell is a merged cell, a new row will be |
2337 * cell is. If the reference cell is a merged cell, a new row will be | 2369 /// inserted above (or below) the merged cell. |
2338 * inserted above (or below) the merged cell. | |
2339 */ | |
2340 TableCellLocation cellLocation; | 2370 TableCellLocation cellLocation; |
2341 /** | 2371 |
2342 * Whether to insert new rows below the reference cell location. | 2372 /// Whether to insert new rows below the reference cell location. |
2343 * | 2373 /// |
2344 * - `True`: insert below the cell. | 2374 /// - `True`: insert below the cell. |
2345 * - `False`: insert above the cell. | 2375 /// - `False`: insert above the cell. |
2346 */ | |
2347 core.bool insertBelow; | 2376 core.bool insertBelow; |
2348 /** The number of rows to be inserted. Maximum 20 per request. */ | 2377 |
| 2378 /// The number of rows to be inserted. Maximum 20 per request. |
2349 core.int number; | 2379 core.int number; |
2350 /** The table to insert rows into. */ | 2380 |
| 2381 /// The table to insert rows into. |
2351 core.String tableObjectId; | 2382 core.String tableObjectId; |
2352 | 2383 |
2353 InsertTableRowsRequest(); | 2384 InsertTableRowsRequest(); |
2354 | 2385 |
2355 InsertTableRowsRequest.fromJson(core.Map _json) { | 2386 InsertTableRowsRequest.fromJson(core.Map _json) { |
2356 if (_json.containsKey("cellLocation")) { | 2387 if (_json.containsKey("cellLocation")) { |
2357 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 2388 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
2358 } | 2389 } |
2359 if (_json.containsKey("insertBelow")) { | 2390 if (_json.containsKey("insertBelow")) { |
2360 insertBelow = _json["insertBelow"]; | 2391 insertBelow = _json["insertBelow"]; |
2361 } | 2392 } |
2362 if (_json.containsKey("number")) { | 2393 if (_json.containsKey("number")) { |
2363 number = _json["number"]; | 2394 number = _json["number"]; |
2364 } | 2395 } |
2365 if (_json.containsKey("tableObjectId")) { | 2396 if (_json.containsKey("tableObjectId")) { |
2366 tableObjectId = _json["tableObjectId"]; | 2397 tableObjectId = _json["tableObjectId"]; |
2367 } | 2398 } |
2368 } | 2399 } |
2369 | 2400 |
2370 core.Map<core.String, core.Object> toJson() { | 2401 core.Map<core.String, core.Object> toJson() { |
2371 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2402 final core.Map<core.String, core.Object> _json = |
| 2403 new core.Map<core.String, core.Object>(); |
2372 if (cellLocation != null) { | 2404 if (cellLocation != null) { |
2373 _json["cellLocation"] = (cellLocation).toJson(); | 2405 _json["cellLocation"] = (cellLocation).toJson(); |
2374 } | 2406 } |
2375 if (insertBelow != null) { | 2407 if (insertBelow != null) { |
2376 _json["insertBelow"] = insertBelow; | 2408 _json["insertBelow"] = insertBelow; |
2377 } | 2409 } |
2378 if (number != null) { | 2410 if (number != null) { |
2379 _json["number"] = number; | 2411 _json["number"] = number; |
2380 } | 2412 } |
2381 if (tableObjectId != null) { | 2413 if (tableObjectId != null) { |
2382 _json["tableObjectId"] = tableObjectId; | 2414 _json["tableObjectId"] = tableObjectId; |
2383 } | 2415 } |
2384 return _json; | 2416 return _json; |
2385 } | 2417 } |
2386 } | 2418 } |
2387 | 2419 |
2388 /** Inserts text into a shape or a table cell. */ | 2420 /// Inserts text into a shape or a table cell. |
2389 class InsertTextRequest { | 2421 class InsertTextRequest { |
2390 /** | 2422 /// The optional table cell location if the text is to be inserted into a |
2391 * The optional table cell location if the text is to be inserted into a table | 2423 /// table |
2392 * cell. If present, the object_id must refer to a table. | 2424 /// cell. If present, the object_id must refer to a table. |
2393 */ | |
2394 TableCellLocation cellLocation; | 2425 TableCellLocation cellLocation; |
2395 /** | 2426 |
2396 * The index where the text will be inserted, in Unicode code units, based | 2427 /// The index where the text will be inserted, in Unicode code units, based |
2397 * on TextElement indexes. | 2428 /// on TextElement indexes. |
2398 * | 2429 /// |
2399 * The index is zero-based and is computed from the start of the string. | 2430 /// The index is zero-based and is computed from the start of the string. |
2400 * The index may be adjusted to prevent insertions inside Unicode grapheme | 2431 /// The index may be adjusted to prevent insertions inside Unicode grapheme |
2401 * clusters. In these cases, the text will be inserted immediately after the | 2432 /// clusters. In these cases, the text will be inserted immediately after the |
2402 * grapheme cluster. | 2433 /// grapheme cluster. |
2403 */ | |
2404 core.int insertionIndex; | 2434 core.int insertionIndex; |
2405 /** The object ID of the shape or table where the text will be inserted. */ | 2435 |
| 2436 /// The object ID of the shape or table where the text will be inserted. |
2406 core.String objectId; | 2437 core.String objectId; |
2407 /** | 2438 |
2408 * The text to be inserted. | 2439 /// The text to be inserted. |
2409 * | 2440 /// |
2410 * Inserting a newline character will implicitly create a new | 2441 /// Inserting a newline character will implicitly create a new |
2411 * ParagraphMarker at that index. | 2442 /// ParagraphMarker at that index. |
2412 * The paragraph style of the new paragraph will be copied from the paragraph | 2443 /// The paragraph style of the new paragraph will be copied from the |
2413 * at the current insertion index, including lists and bullets. | 2444 /// paragraph |
2414 * | 2445 /// at the current insertion index, including lists and bullets. |
2415 * Text styles for inserted text will be determined automatically, generally | 2446 /// |
2416 * preserving the styling of neighboring text. In most cases, the text will be | 2447 /// Text styles for inserted text will be determined automatically, generally |
2417 * added to the TextRun that exists at the | 2448 /// preserving the styling of neighboring text. In most cases, the text will |
2418 * insertion index. | 2449 /// be |
2419 * | 2450 /// added to the TextRun that exists at the |
2420 * Some control characters (U+0000-U+0008, U+000C-U+001F) and characters | 2451 /// insertion index. |
2421 * from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) | 2452 /// |
2422 * will be stripped out of the inserted text. | 2453 /// Some control characters (U+0000-U+0008, U+000C-U+001F) and characters |
2423 */ | 2454 /// from the Unicode Basic Multilingual Plane Private Use Area |
| 2455 /// (U+E000-U+F8FF) |
| 2456 /// will be stripped out of the inserted text. |
2424 core.String text; | 2457 core.String text; |
2425 | 2458 |
2426 InsertTextRequest(); | 2459 InsertTextRequest(); |
2427 | 2460 |
2428 InsertTextRequest.fromJson(core.Map _json) { | 2461 InsertTextRequest.fromJson(core.Map _json) { |
2429 if (_json.containsKey("cellLocation")) { | 2462 if (_json.containsKey("cellLocation")) { |
2430 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 2463 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
2431 } | 2464 } |
2432 if (_json.containsKey("insertionIndex")) { | 2465 if (_json.containsKey("insertionIndex")) { |
2433 insertionIndex = _json["insertionIndex"]; | 2466 insertionIndex = _json["insertionIndex"]; |
2434 } | 2467 } |
2435 if (_json.containsKey("objectId")) { | 2468 if (_json.containsKey("objectId")) { |
2436 objectId = _json["objectId"]; | 2469 objectId = _json["objectId"]; |
2437 } | 2470 } |
2438 if (_json.containsKey("text")) { | 2471 if (_json.containsKey("text")) { |
2439 text = _json["text"]; | 2472 text = _json["text"]; |
2440 } | 2473 } |
2441 } | 2474 } |
2442 | 2475 |
2443 core.Map<core.String, core.Object> toJson() { | 2476 core.Map<core.String, core.Object> toJson() { |
2444 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2477 final core.Map<core.String, core.Object> _json = |
| 2478 new core.Map<core.String, core.Object>(); |
2445 if (cellLocation != null) { | 2479 if (cellLocation != null) { |
2446 _json["cellLocation"] = (cellLocation).toJson(); | 2480 _json["cellLocation"] = (cellLocation).toJson(); |
2447 } | 2481 } |
2448 if (insertionIndex != null) { | 2482 if (insertionIndex != null) { |
2449 _json["insertionIndex"] = insertionIndex; | 2483 _json["insertionIndex"] = insertionIndex; |
2450 } | 2484 } |
2451 if (objectId != null) { | 2485 if (objectId != null) { |
2452 _json["objectId"] = objectId; | 2486 _json["objectId"] = objectId; |
2453 } | 2487 } |
2454 if (text != null) { | 2488 if (text != null) { |
2455 _json["text"] = text; | 2489 _json["text"] = text; |
2456 } | 2490 } |
2457 return _json; | 2491 return _json; |
2458 } | 2492 } |
2459 } | 2493 } |
2460 | 2494 |
2461 /** | 2495 /// The user-specified ID mapping for a placeholder that will be created on a |
2462 * The user-specified ID mapping for a placeholder that will be created on a | 2496 /// slide from a specified layout. |
2463 * slide from a specified layout. | |
2464 */ | |
2465 class LayoutPlaceholderIdMapping { | 2497 class LayoutPlaceholderIdMapping { |
2466 /** | 2498 /// The placeholder on a layout that will be applied to a slide. Only type |
2467 * The placeholder on a layout that will be applied to a slide. Only type and | 2499 /// and index are needed. For example, a |
2468 * index are needed. For example, a | 2500 /// predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder |
2469 * predefined `TITLE_AND_BODY` layout may usually have a TITLE placeholder | 2501 /// with index 0 and a BODY placeholder with index 0. |
2470 * with index 0 and a BODY placeholder with index 0. | |
2471 */ | |
2472 Placeholder layoutPlaceholder; | 2502 Placeholder layoutPlaceholder; |
2473 /** | 2503 |
2474 * The object ID of the placeholder on a layout that will be applied | 2504 /// The object ID of the placeholder on a layout that will be applied |
2475 * to a slide. | 2505 /// to a slide. |
2476 */ | |
2477 core.String layoutPlaceholderObjectId; | 2506 core.String layoutPlaceholderObjectId; |
2478 /** | 2507 |
2479 * A user-supplied object ID for the placeholder identified above that to be | 2508 /// A user-supplied object ID for the placeholder identified above that to be |
2480 * created onto a slide. | 2509 /// created onto a slide. |
2481 * | 2510 /// |
2482 * If you specify an ID, it must be unique among all pages and page elements | 2511 /// If you specify an ID, it must be unique among all pages and page elements |
2483 * in the presentation. The ID must start with an alphanumeric character or an | 2512 /// in the presentation. The ID must start with an alphanumeric character or |
2484 * underscore (matches regex `[a-zA-Z0-9_]`); remaining characters | 2513 /// an |
2485 * may include those as well as a hyphen or colon (matches regex | 2514 /// underscore (matches regex `[a-zA-Z0-9_]`); remaining characters |
2486 * `[a-zA-Z0-9_-:]`). | 2515 /// may include those as well as a hyphen or colon (matches regex |
2487 * The length of the ID must not be less than 5 or greater than 50. | 2516 /// `[a-zA-Z0-9_-:]`). |
2488 * | 2517 /// The length of the ID must not be less than 5 or greater than 50. |
2489 * If you don't specify an ID, a unique one is generated. | 2518 /// |
2490 */ | 2519 /// If you don't specify an ID, a unique one is generated. |
2491 core.String objectId; | 2520 core.String objectId; |
2492 | 2521 |
2493 LayoutPlaceholderIdMapping(); | 2522 LayoutPlaceholderIdMapping(); |
2494 | 2523 |
2495 LayoutPlaceholderIdMapping.fromJson(core.Map _json) { | 2524 LayoutPlaceholderIdMapping.fromJson(core.Map _json) { |
2496 if (_json.containsKey("layoutPlaceholder")) { | 2525 if (_json.containsKey("layoutPlaceholder")) { |
2497 layoutPlaceholder = new Placeholder.fromJson(_json["layoutPlaceholder"]); | 2526 layoutPlaceholder = new Placeholder.fromJson(_json["layoutPlaceholder"]); |
2498 } | 2527 } |
2499 if (_json.containsKey("layoutPlaceholderObjectId")) { | 2528 if (_json.containsKey("layoutPlaceholderObjectId")) { |
2500 layoutPlaceholderObjectId = _json["layoutPlaceholderObjectId"]; | 2529 layoutPlaceholderObjectId = _json["layoutPlaceholderObjectId"]; |
2501 } | 2530 } |
2502 if (_json.containsKey("objectId")) { | 2531 if (_json.containsKey("objectId")) { |
2503 objectId = _json["objectId"]; | 2532 objectId = _json["objectId"]; |
2504 } | 2533 } |
2505 } | 2534 } |
2506 | 2535 |
2507 core.Map<core.String, core.Object> toJson() { | 2536 core.Map<core.String, core.Object> toJson() { |
2508 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2537 final core.Map<core.String, core.Object> _json = |
| 2538 new core.Map<core.String, core.Object>(); |
2509 if (layoutPlaceholder != null) { | 2539 if (layoutPlaceholder != null) { |
2510 _json["layoutPlaceholder"] = (layoutPlaceholder).toJson(); | 2540 _json["layoutPlaceholder"] = (layoutPlaceholder).toJson(); |
2511 } | 2541 } |
2512 if (layoutPlaceholderObjectId != null) { | 2542 if (layoutPlaceholderObjectId != null) { |
2513 _json["layoutPlaceholderObjectId"] = layoutPlaceholderObjectId; | 2543 _json["layoutPlaceholderObjectId"] = layoutPlaceholderObjectId; |
2514 } | 2544 } |
2515 if (objectId != null) { | 2545 if (objectId != null) { |
2516 _json["objectId"] = objectId; | 2546 _json["objectId"] = objectId; |
2517 } | 2547 } |
2518 return _json; | 2548 return _json; |
2519 } | 2549 } |
2520 } | 2550 } |
2521 | 2551 |
2522 /** | 2552 /// The properties of Page are only |
2523 * The properties of Page are only | 2553 /// relevant for pages with page_type LAYOUT. |
2524 * relevant for pages with page_type LAYOUT. | |
2525 */ | |
2526 class LayoutProperties { | 2554 class LayoutProperties { |
2527 /** The human-readable name of the layout. */ | 2555 /// The human-readable name of the layout. |
2528 core.String displayName; | 2556 core.String displayName; |
2529 /** The object ID of the master that this layout is based on. */ | 2557 |
| 2558 /// The object ID of the master that this layout is based on. |
2530 core.String masterObjectId; | 2559 core.String masterObjectId; |
2531 /** The name of the layout. */ | 2560 |
| 2561 /// The name of the layout. |
2532 core.String name; | 2562 core.String name; |
2533 | 2563 |
2534 LayoutProperties(); | 2564 LayoutProperties(); |
2535 | 2565 |
2536 LayoutProperties.fromJson(core.Map _json) { | 2566 LayoutProperties.fromJson(core.Map _json) { |
2537 if (_json.containsKey("displayName")) { | 2567 if (_json.containsKey("displayName")) { |
2538 displayName = _json["displayName"]; | 2568 displayName = _json["displayName"]; |
2539 } | 2569 } |
2540 if (_json.containsKey("masterObjectId")) { | 2570 if (_json.containsKey("masterObjectId")) { |
2541 masterObjectId = _json["masterObjectId"]; | 2571 masterObjectId = _json["masterObjectId"]; |
2542 } | 2572 } |
2543 if (_json.containsKey("name")) { | 2573 if (_json.containsKey("name")) { |
2544 name = _json["name"]; | 2574 name = _json["name"]; |
2545 } | 2575 } |
2546 } | 2576 } |
2547 | 2577 |
2548 core.Map<core.String, core.Object> toJson() { | 2578 core.Map<core.String, core.Object> toJson() { |
2549 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2579 final core.Map<core.String, core.Object> _json = |
| 2580 new core.Map<core.String, core.Object>(); |
2550 if (displayName != null) { | 2581 if (displayName != null) { |
2551 _json["displayName"] = displayName; | 2582 _json["displayName"] = displayName; |
2552 } | 2583 } |
2553 if (masterObjectId != null) { | 2584 if (masterObjectId != null) { |
2554 _json["masterObjectId"] = masterObjectId; | 2585 _json["masterObjectId"] = masterObjectId; |
2555 } | 2586 } |
2556 if (name != null) { | 2587 if (name != null) { |
2557 _json["name"] = name; | 2588 _json["name"] = name; |
2558 } | 2589 } |
2559 return _json; | 2590 return _json; |
2560 } | 2591 } |
2561 } | 2592 } |
2562 | 2593 |
2563 /** | 2594 /// Slide layout reference. This may reference either: |
2564 * Slide layout reference. This may reference either: | 2595 /// |
2565 * | 2596 /// - A predefined layout |
2566 * - A predefined layout | 2597 /// - One of the layouts in the presentation. |
2567 * - One of the layouts in the presentation. | |
2568 */ | |
2569 class LayoutReference { | 2598 class LayoutReference { |
2570 /** Layout ID: the object ID of one of the layouts in the presentation. */ | 2599 /// Layout ID: the object ID of one of the layouts in the presentation. |
2571 core.String layoutId; | 2600 core.String layoutId; |
2572 /** | 2601 |
2573 * Predefined layout. | 2602 /// Predefined layout. |
2574 * Possible string values are: | 2603 /// Possible string values are: |
2575 * - "PREDEFINED_LAYOUT_UNSPECIFIED" : Unspecified layout. | 2604 /// - "PREDEFINED_LAYOUT_UNSPECIFIED" : Unspecified layout. |
2576 * - "BLANK" : Blank layout, with no placeholders. | 2605 /// - "BLANK" : Blank layout, with no placeholders. |
2577 * - "CAPTION_ONLY" : Layout with a caption at the bottom. | 2606 /// - "CAPTION_ONLY" : Layout with a caption at the bottom. |
2578 * - "TITLE" : Layout with a title and a subtitle. | 2607 /// - "TITLE" : Layout with a title and a subtitle. |
2579 * - "TITLE_AND_BODY" : Layout with a title and body. | 2608 /// - "TITLE_AND_BODY" : Layout with a title and body. |
2580 * - "TITLE_AND_TWO_COLUMNS" : Layout with a title and two columns. | 2609 /// - "TITLE_AND_TWO_COLUMNS" : Layout with a title and two columns. |
2581 * - "TITLE_ONLY" : Layout with only a title. | 2610 /// - "TITLE_ONLY" : Layout with only a title. |
2582 * - "SECTION_HEADER" : Layout with a section title. | 2611 /// - "SECTION_HEADER" : Layout with a section title. |
2583 * - "SECTION_TITLE_AND_DESCRIPTION" : Layout with a title and subtitle on one | 2612 /// - "SECTION_TITLE_AND_DESCRIPTION" : Layout with a title and subtitle on |
2584 * side and description on the other. | 2613 /// one side and description on the other. |
2585 * - "ONE_COLUMN_TEXT" : Layout with one title and one body, arranged in a | 2614 /// - "ONE_COLUMN_TEXT" : Layout with one title and one body, arranged in a |
2586 * single column. | 2615 /// single column. |
2587 * - "MAIN_POINT" : Layout with a main point. | 2616 /// - "MAIN_POINT" : Layout with a main point. |
2588 * - "BIG_NUMBER" : Layout with a big number heading. | 2617 /// - "BIG_NUMBER" : Layout with a big number heading. |
2589 */ | |
2590 core.String predefinedLayout; | 2618 core.String predefinedLayout; |
2591 | 2619 |
2592 LayoutReference(); | 2620 LayoutReference(); |
2593 | 2621 |
2594 LayoutReference.fromJson(core.Map _json) { | 2622 LayoutReference.fromJson(core.Map _json) { |
2595 if (_json.containsKey("layoutId")) { | 2623 if (_json.containsKey("layoutId")) { |
2596 layoutId = _json["layoutId"]; | 2624 layoutId = _json["layoutId"]; |
2597 } | 2625 } |
2598 if (_json.containsKey("predefinedLayout")) { | 2626 if (_json.containsKey("predefinedLayout")) { |
2599 predefinedLayout = _json["predefinedLayout"]; | 2627 predefinedLayout = _json["predefinedLayout"]; |
2600 } | 2628 } |
2601 } | 2629 } |
2602 | 2630 |
2603 core.Map<core.String, core.Object> toJson() { | 2631 core.Map<core.String, core.Object> toJson() { |
2604 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2632 final core.Map<core.String, core.Object> _json = |
| 2633 new core.Map<core.String, core.Object>(); |
2605 if (layoutId != null) { | 2634 if (layoutId != null) { |
2606 _json["layoutId"] = layoutId; | 2635 _json["layoutId"] = layoutId; |
2607 } | 2636 } |
2608 if (predefinedLayout != null) { | 2637 if (predefinedLayout != null) { |
2609 _json["predefinedLayout"] = predefinedLayout; | 2638 _json["predefinedLayout"] = predefinedLayout; |
2610 } | 2639 } |
2611 return _json; | 2640 return _json; |
2612 } | 2641 } |
2613 } | 2642 } |
2614 | 2643 |
2615 /** | 2644 /// A PageElement kind representing a |
2616 * A PageElement kind representing a | 2645 /// line, curved connector, or bent connector. |
2617 * line, curved connector, or bent connector. | |
2618 */ | |
2619 class Line { | 2646 class Line { |
2620 /** The properties of the line. */ | 2647 /// The properties of the line. |
2621 LineProperties lineProperties; | 2648 LineProperties lineProperties; |
2622 /** | 2649 |
2623 * The type of the line. | 2650 /// The type of the line. |
2624 * Possible string values are: | 2651 /// Possible string values are: |
2625 * - "TYPE_UNSPECIFIED" : An unspecified line type. | 2652 /// - "TYPE_UNSPECIFIED" : An unspecified line type. |
2626 * - "STRAIGHT_CONNECTOR_1" : Straight connector 1 form. Corresponds to | 2653 /// - "STRAIGHT_CONNECTOR_1" : Straight connector 1 form. Corresponds to |
2627 * ECMA-376 ST_ShapeType | 2654 /// ECMA-376 ST_ShapeType |
2628 * 'straightConnector1'. | 2655 /// 'straightConnector1'. |
2629 * - "BENT_CONNECTOR_2" : Bent connector 2 form. Corresponds to ECMA-376 | 2656 /// - "BENT_CONNECTOR_2" : Bent connector 2 form. Corresponds to ECMA-376 |
2630 * ST_ShapeType | 2657 /// ST_ShapeType |
2631 * 'bentConnector2'. | 2658 /// 'bentConnector2'. |
2632 * - "BENT_CONNECTOR_3" : Bent connector 3 form. Corresponds to ECMA-376 | 2659 /// - "BENT_CONNECTOR_3" : Bent connector 3 form. Corresponds to ECMA-376 |
2633 * ST_ShapeType | 2660 /// ST_ShapeType |
2634 * 'bentConnector3'. | 2661 /// 'bentConnector3'. |
2635 * - "BENT_CONNECTOR_4" : Bent connector 4 form. Corresponds to ECMA-376 | 2662 /// - "BENT_CONNECTOR_4" : Bent connector 4 form. Corresponds to ECMA-376 |
2636 * ST_ShapeType | 2663 /// ST_ShapeType |
2637 * 'bentConnector4'. | 2664 /// 'bentConnector4'. |
2638 * - "BENT_CONNECTOR_5" : Bent connector 5 form. Corresponds to ECMA-376 | 2665 /// - "BENT_CONNECTOR_5" : Bent connector 5 form. Corresponds to ECMA-376 |
2639 * ST_ShapeType | 2666 /// ST_ShapeType |
2640 * 'bentConnector5'. | 2667 /// 'bentConnector5'. |
2641 * - "CURVED_CONNECTOR_2" : Curved connector 2 form. Corresponds to ECMA-376 | 2668 /// - "CURVED_CONNECTOR_2" : Curved connector 2 form. Corresponds to ECMA-376 |
2642 * ST_ShapeType | 2669 /// ST_ShapeType |
2643 * 'curvedConnector2'. | 2670 /// 'curvedConnector2'. |
2644 * - "CURVED_CONNECTOR_3" : Curved connector 3 form. Corresponds to ECMA-376 | 2671 /// - "CURVED_CONNECTOR_3" : Curved connector 3 form. Corresponds to ECMA-376 |
2645 * ST_ShapeType | 2672 /// ST_ShapeType |
2646 * 'curvedConnector3'. | 2673 /// 'curvedConnector3'. |
2647 * - "CURVED_CONNECTOR_4" : Curved connector 4 form. Corresponds to ECMA-376 | 2674 /// - "CURVED_CONNECTOR_4" : Curved connector 4 form. Corresponds to ECMA-376 |
2648 * ST_ShapeType | 2675 /// ST_ShapeType |
2649 * 'curvedConnector4'. | 2676 /// 'curvedConnector4'. |
2650 * - "CURVED_CONNECTOR_5" : Curved connector 5 form. Corresponds to ECMA-376 | 2677 /// - "CURVED_CONNECTOR_5" : Curved connector 5 form. Corresponds to ECMA-376 |
2651 * ST_ShapeType | 2678 /// ST_ShapeType |
2652 * 'curvedConnector5'. | 2679 /// 'curvedConnector5'. |
2653 */ | |
2654 core.String lineType; | 2680 core.String lineType; |
2655 | 2681 |
2656 Line(); | 2682 Line(); |
2657 | 2683 |
2658 Line.fromJson(core.Map _json) { | 2684 Line.fromJson(core.Map _json) { |
2659 if (_json.containsKey("lineProperties")) { | 2685 if (_json.containsKey("lineProperties")) { |
2660 lineProperties = new LineProperties.fromJson(_json["lineProperties"]); | 2686 lineProperties = new LineProperties.fromJson(_json["lineProperties"]); |
2661 } | 2687 } |
2662 if (_json.containsKey("lineType")) { | 2688 if (_json.containsKey("lineType")) { |
2663 lineType = _json["lineType"]; | 2689 lineType = _json["lineType"]; |
2664 } | 2690 } |
2665 } | 2691 } |
2666 | 2692 |
2667 core.Map<core.String, core.Object> toJson() { | 2693 core.Map<core.String, core.Object> toJson() { |
2668 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2694 final core.Map<core.String, core.Object> _json = |
| 2695 new core.Map<core.String, core.Object>(); |
2669 if (lineProperties != null) { | 2696 if (lineProperties != null) { |
2670 _json["lineProperties"] = (lineProperties).toJson(); | 2697 _json["lineProperties"] = (lineProperties).toJson(); |
2671 } | 2698 } |
2672 if (lineType != null) { | 2699 if (lineType != null) { |
2673 _json["lineType"] = lineType; | 2700 _json["lineType"] = lineType; |
2674 } | 2701 } |
2675 return _json; | 2702 return _json; |
2676 } | 2703 } |
2677 } | 2704 } |
2678 | 2705 |
2679 /** The fill of the line. */ | 2706 /// The fill of the line. |
2680 class LineFill { | 2707 class LineFill { |
2681 /** Solid color fill. */ | 2708 /// Solid color fill. |
2682 SolidFill solidFill; | 2709 SolidFill solidFill; |
2683 | 2710 |
2684 LineFill(); | 2711 LineFill(); |
2685 | 2712 |
2686 LineFill.fromJson(core.Map _json) { | 2713 LineFill.fromJson(core.Map _json) { |
2687 if (_json.containsKey("solidFill")) { | 2714 if (_json.containsKey("solidFill")) { |
2688 solidFill = new SolidFill.fromJson(_json["solidFill"]); | 2715 solidFill = new SolidFill.fromJson(_json["solidFill"]); |
2689 } | 2716 } |
2690 } | 2717 } |
2691 | 2718 |
2692 core.Map<core.String, core.Object> toJson() { | 2719 core.Map<core.String, core.Object> toJson() { |
2693 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2720 final core.Map<core.String, core.Object> _json = |
| 2721 new core.Map<core.String, core.Object>(); |
2694 if (solidFill != null) { | 2722 if (solidFill != null) { |
2695 _json["solidFill"] = (solidFill).toJson(); | 2723 _json["solidFill"] = (solidFill).toJson(); |
2696 } | 2724 } |
2697 return _json; | 2725 return _json; |
2698 } | 2726 } |
2699 } | 2727 } |
2700 | 2728 |
2701 /** | 2729 /// The properties of the Line. |
2702 * The properties of the Line. | 2730 /// |
2703 * | 2731 /// When unset, these fields default to values that match the appearance of |
2704 * When unset, these fields default to values that match the appearance of | 2732 /// new lines created in the Slides editor. |
2705 * new lines created in the Slides editor. | |
2706 */ | |
2707 class LineProperties { | 2733 class LineProperties { |
2708 /** | 2734 /// The dash style of the line. |
2709 * The dash style of the line. | 2735 /// Possible string values are: |
2710 * Possible string values are: | 2736 /// - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style. |
2711 * - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style. | 2737 /// - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal |
2712 * - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value | 2738 /// value 'solid'. |
2713 * 'solid'. | 2739 /// This is the default dash style. |
2714 * This is the default dash style. | 2740 /// - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value |
2715 * - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value | 2741 /// 'dot'. |
2716 * 'dot'. | 2742 /// - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal |
2717 * - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value | 2743 /// value 'dash'. |
2718 * 'dash'. | 2744 /// - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376 |
2719 * - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376 | 2745 /// ST_PresetLineDashVal |
2720 * ST_PresetLineDashVal | 2746 /// value 'dashDot'. |
2721 * value 'dashDot'. | 2747 /// - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376 |
2722 * - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376 | 2748 /// ST_PresetLineDashVal |
2723 * ST_PresetLineDashVal | 2749 /// value 'lgDash'. |
2724 * value 'lgDash'. | 2750 /// - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to |
2725 * - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to | 2751 /// ECMA-376 |
2726 * ECMA-376 | 2752 /// ST_PresetLineDashVal value 'lgDashDot'. |
2727 * ST_PresetLineDashVal value 'lgDashDot'. | |
2728 */ | |
2729 core.String dashStyle; | 2753 core.String dashStyle; |
2730 /** | 2754 |
2731 * The style of the arrow at the end of the line. | 2755 /// The style of the arrow at the end of the line. |
2732 * Possible string values are: | 2756 /// Possible string values are: |
2733 * - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style. | 2757 /// - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style. |
2734 * - "NONE" : No arrow. | 2758 /// - "NONE" : No arrow. |
2735 * - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376 | 2759 /// - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376 |
2736 * ST_LineEndType value | 2760 /// ST_LineEndType value |
2737 * 'stealth'. | 2761 /// 'stealth'. |
2738 * - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType value | 2762 /// - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType |
2739 * 'triangle'. | 2763 /// value 'triangle'. |
2740 * - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType | 2764 /// - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType |
2741 * value 'oval'. | 2765 /// value 'oval'. |
2742 * - "FILL_SQUARE" : Filled square. | 2766 /// - "FILL_SQUARE" : Filled square. |
2743 * - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType | 2767 /// - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType |
2744 * value 'diamond'. | 2768 /// value 'diamond'. |
2745 * - "OPEN_ARROW" : Hollow arrow. | 2769 /// - "OPEN_ARROW" : Hollow arrow. |
2746 * - "OPEN_CIRCLE" : Hollow circle. | 2770 /// - "OPEN_CIRCLE" : Hollow circle. |
2747 * - "OPEN_SQUARE" : Hollow square. | 2771 /// - "OPEN_SQUARE" : Hollow square. |
2748 * - "OPEN_DIAMOND" : Hollow diamond. | 2772 /// - "OPEN_DIAMOND" : Hollow diamond. |
2749 */ | |
2750 core.String endArrow; | 2773 core.String endArrow; |
2751 /** | 2774 |
2752 * The fill of the line. The default line fill matches the defaults for new | 2775 /// The fill of the line. The default line fill matches the defaults for new |
2753 * lines created in the Slides editor. | 2776 /// lines created in the Slides editor. |
2754 */ | |
2755 LineFill lineFill; | 2777 LineFill lineFill; |
2756 /** The hyperlink destination of the line. If unset, there is no link. */ | 2778 |
| 2779 /// The hyperlink destination of the line. If unset, there is no link. |
2757 Link link; | 2780 Link link; |
2758 /** | 2781 |
2759 * The style of the arrow at the beginning of the line. | 2782 /// The style of the arrow at the beginning of the line. |
2760 * Possible string values are: | 2783 /// Possible string values are: |
2761 * - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style. | 2784 /// - "ARROW_STYLE_UNSPECIFIED" : An unspecified arrow style. |
2762 * - "NONE" : No arrow. | 2785 /// - "NONE" : No arrow. |
2763 * - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376 | 2786 /// - "STEALTH_ARROW" : Arrow with notched back. Corresponds to ECMA-376 |
2764 * ST_LineEndType value | 2787 /// ST_LineEndType value |
2765 * 'stealth'. | 2788 /// 'stealth'. |
2766 * - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType value | 2789 /// - "FILL_ARROW" : Filled arrow. Corresponds to ECMA-376 ST_LineEndType |
2767 * 'triangle'. | 2790 /// value 'triangle'. |
2768 * - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType | 2791 /// - "FILL_CIRCLE" : Filled circle. Corresponds to ECMA-376 ST_LineEndType |
2769 * value 'oval'. | 2792 /// value 'oval'. |
2770 * - "FILL_SQUARE" : Filled square. | 2793 /// - "FILL_SQUARE" : Filled square. |
2771 * - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType | 2794 /// - "FILL_DIAMOND" : Filled diamond. Corresponds to ECMA-376 ST_LineEndType |
2772 * value 'diamond'. | 2795 /// value 'diamond'. |
2773 * - "OPEN_ARROW" : Hollow arrow. | 2796 /// - "OPEN_ARROW" : Hollow arrow. |
2774 * - "OPEN_CIRCLE" : Hollow circle. | 2797 /// - "OPEN_CIRCLE" : Hollow circle. |
2775 * - "OPEN_SQUARE" : Hollow square. | 2798 /// - "OPEN_SQUARE" : Hollow square. |
2776 * - "OPEN_DIAMOND" : Hollow diamond. | 2799 /// - "OPEN_DIAMOND" : Hollow diamond. |
2777 */ | |
2778 core.String startArrow; | 2800 core.String startArrow; |
2779 /** The thickness of the line. */ | 2801 |
| 2802 /// The thickness of the line. |
2780 Dimension weight; | 2803 Dimension weight; |
2781 | 2804 |
2782 LineProperties(); | 2805 LineProperties(); |
2783 | 2806 |
2784 LineProperties.fromJson(core.Map _json) { | 2807 LineProperties.fromJson(core.Map _json) { |
2785 if (_json.containsKey("dashStyle")) { | 2808 if (_json.containsKey("dashStyle")) { |
2786 dashStyle = _json["dashStyle"]; | 2809 dashStyle = _json["dashStyle"]; |
2787 } | 2810 } |
2788 if (_json.containsKey("endArrow")) { | 2811 if (_json.containsKey("endArrow")) { |
2789 endArrow = _json["endArrow"]; | 2812 endArrow = _json["endArrow"]; |
2790 } | 2813 } |
2791 if (_json.containsKey("lineFill")) { | 2814 if (_json.containsKey("lineFill")) { |
2792 lineFill = new LineFill.fromJson(_json["lineFill"]); | 2815 lineFill = new LineFill.fromJson(_json["lineFill"]); |
2793 } | 2816 } |
2794 if (_json.containsKey("link")) { | 2817 if (_json.containsKey("link")) { |
2795 link = new Link.fromJson(_json["link"]); | 2818 link = new Link.fromJson(_json["link"]); |
2796 } | 2819 } |
2797 if (_json.containsKey("startArrow")) { | 2820 if (_json.containsKey("startArrow")) { |
2798 startArrow = _json["startArrow"]; | 2821 startArrow = _json["startArrow"]; |
2799 } | 2822 } |
2800 if (_json.containsKey("weight")) { | 2823 if (_json.containsKey("weight")) { |
2801 weight = new Dimension.fromJson(_json["weight"]); | 2824 weight = new Dimension.fromJson(_json["weight"]); |
2802 } | 2825 } |
2803 } | 2826 } |
2804 | 2827 |
2805 core.Map<core.String, core.Object> toJson() { | 2828 core.Map<core.String, core.Object> toJson() { |
2806 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2829 final core.Map<core.String, core.Object> _json = |
| 2830 new core.Map<core.String, core.Object>(); |
2807 if (dashStyle != null) { | 2831 if (dashStyle != null) { |
2808 _json["dashStyle"] = dashStyle; | 2832 _json["dashStyle"] = dashStyle; |
2809 } | 2833 } |
2810 if (endArrow != null) { | 2834 if (endArrow != null) { |
2811 _json["endArrow"] = endArrow; | 2835 _json["endArrow"] = endArrow; |
2812 } | 2836 } |
2813 if (lineFill != null) { | 2837 if (lineFill != null) { |
2814 _json["lineFill"] = (lineFill).toJson(); | 2838 _json["lineFill"] = (lineFill).toJson(); |
2815 } | 2839 } |
2816 if (link != null) { | 2840 if (link != null) { |
2817 _json["link"] = (link).toJson(); | 2841 _json["link"] = (link).toJson(); |
2818 } | 2842 } |
2819 if (startArrow != null) { | 2843 if (startArrow != null) { |
2820 _json["startArrow"] = startArrow; | 2844 _json["startArrow"] = startArrow; |
2821 } | 2845 } |
2822 if (weight != null) { | 2846 if (weight != null) { |
2823 _json["weight"] = (weight).toJson(); | 2847 _json["weight"] = (weight).toJson(); |
2824 } | 2848 } |
2825 return _json; | 2849 return _json; |
2826 } | 2850 } |
2827 } | 2851 } |
2828 | 2852 |
2829 /** A hypertext link. */ | 2853 /// A hypertext link. |
2830 class Link { | 2854 class Link { |
2831 /** | 2855 /// If set, indicates this is a link to the specific page in this |
2832 * If set, indicates this is a link to the specific page in this | 2856 /// presentation with this ID. A page with this ID may not exist. |
2833 * presentation with this ID. A page with this ID may not exist. | |
2834 */ | |
2835 core.String pageObjectId; | 2857 core.String pageObjectId; |
2836 /** | 2858 |
2837 * If set, indicates this is a link to a slide in this presentation, | 2859 /// If set, indicates this is a link to a slide in this presentation, |
2838 * addressed by its position. | 2860 /// addressed by its position. |
2839 * Possible string values are: | 2861 /// Possible string values are: |
2840 * - "RELATIVE_SLIDE_LINK_UNSPECIFIED" : An unspecified relative slide link. | 2862 /// - "RELATIVE_SLIDE_LINK_UNSPECIFIED" : An unspecified relative slide link. |
2841 * - "NEXT_SLIDE" : A link to the next slide. | 2863 /// - "NEXT_SLIDE" : A link to the next slide. |
2842 * - "PREVIOUS_SLIDE" : A link to the previous slide. | 2864 /// - "PREVIOUS_SLIDE" : A link to the previous slide. |
2843 * - "FIRST_SLIDE" : A link to the first slide in the presentation. | 2865 /// - "FIRST_SLIDE" : A link to the first slide in the presentation. |
2844 * - "LAST_SLIDE" : A link to the last slide in the presentation. | 2866 /// - "LAST_SLIDE" : A link to the last slide in the presentation. |
2845 */ | |
2846 core.String relativeLink; | 2867 core.String relativeLink; |
2847 /** | 2868 |
2848 * If set, indicates this is a link to the slide at this zero-based index | 2869 /// If set, indicates this is a link to the slide at this zero-based index |
2849 * in the presentation. There may not be a slide at this index. | 2870 /// in the presentation. There may not be a slide at this index. |
2850 */ | |
2851 core.int slideIndex; | 2871 core.int slideIndex; |
2852 /** If set, indicates this is a link to the external web page at this URL. */ | 2872 |
| 2873 /// If set, indicates this is a link to the external web page at this URL. |
2853 core.String url; | 2874 core.String url; |
2854 | 2875 |
2855 Link(); | 2876 Link(); |
2856 | 2877 |
2857 Link.fromJson(core.Map _json) { | 2878 Link.fromJson(core.Map _json) { |
2858 if (_json.containsKey("pageObjectId")) { | 2879 if (_json.containsKey("pageObjectId")) { |
2859 pageObjectId = _json["pageObjectId"]; | 2880 pageObjectId = _json["pageObjectId"]; |
2860 } | 2881 } |
2861 if (_json.containsKey("relativeLink")) { | 2882 if (_json.containsKey("relativeLink")) { |
2862 relativeLink = _json["relativeLink"]; | 2883 relativeLink = _json["relativeLink"]; |
2863 } | 2884 } |
2864 if (_json.containsKey("slideIndex")) { | 2885 if (_json.containsKey("slideIndex")) { |
2865 slideIndex = _json["slideIndex"]; | 2886 slideIndex = _json["slideIndex"]; |
2866 } | 2887 } |
2867 if (_json.containsKey("url")) { | 2888 if (_json.containsKey("url")) { |
2868 url = _json["url"]; | 2889 url = _json["url"]; |
2869 } | 2890 } |
2870 } | 2891 } |
2871 | 2892 |
2872 core.Map<core.String, core.Object> toJson() { | 2893 core.Map<core.String, core.Object> toJson() { |
2873 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2894 final core.Map<core.String, core.Object> _json = |
| 2895 new core.Map<core.String, core.Object>(); |
2874 if (pageObjectId != null) { | 2896 if (pageObjectId != null) { |
2875 _json["pageObjectId"] = pageObjectId; | 2897 _json["pageObjectId"] = pageObjectId; |
2876 } | 2898 } |
2877 if (relativeLink != null) { | 2899 if (relativeLink != null) { |
2878 _json["relativeLink"] = relativeLink; | 2900 _json["relativeLink"] = relativeLink; |
2879 } | 2901 } |
2880 if (slideIndex != null) { | 2902 if (slideIndex != null) { |
2881 _json["slideIndex"] = slideIndex; | 2903 _json["slideIndex"] = slideIndex; |
2882 } | 2904 } |
2883 if (url != null) { | 2905 if (url != null) { |
2884 _json["url"] = url; | 2906 _json["url"] = url; |
2885 } | 2907 } |
2886 return _json; | 2908 return _json; |
2887 } | 2909 } |
2888 } | 2910 } |
2889 | 2911 |
2890 /** | 2912 /// A List describes the look and feel of bullets belonging to paragraphs |
2891 * A List describes the look and feel of bullets belonging to paragraphs | 2913 /// associated with a list. A paragraph that is part of a list has an implicit |
2892 * associated with a list. A paragraph that is part of a list has an implicit | 2914 /// reference to that list's ID. |
2893 * reference to that list's ID. | |
2894 */ | |
2895 class List { | 2915 class List { |
2896 /** The ID of the list. */ | 2916 /// The ID of the list. |
2897 core.String listId; | 2917 core.String listId; |
2898 /** | 2918 |
2899 * A map of nesting levels to the properties of bullets at the associated | 2919 /// A map of nesting levels to the properties of bullets at the associated |
2900 * level. A list has at most nine levels of nesting, so the possible values | 2920 /// level. A list has at most nine levels of nesting, so the possible values |
2901 * for the keys of this map are 0 through 8, inclusive. | 2921 /// for the keys of this map are 0 through 8, inclusive. |
2902 */ | |
2903 core.Map<core.String, NestingLevel> nestingLevel; | 2922 core.Map<core.String, NestingLevel> nestingLevel; |
2904 | 2923 |
2905 List(); | 2924 List(); |
2906 | 2925 |
2907 List.fromJson(core.Map _json) { | 2926 List.fromJson(core.Map _json) { |
2908 if (_json.containsKey("listId")) { | 2927 if (_json.containsKey("listId")) { |
2909 listId = _json["listId"]; | 2928 listId = _json["listId"]; |
2910 } | 2929 } |
2911 if (_json.containsKey("nestingLevel")) { | 2930 if (_json.containsKey("nestingLevel")) { |
2912 nestingLevel = commons.mapMap<core.Map<core.String, core.Object>, NestingL
evel>(_json["nestingLevel"], (core.Map<core.String, core.Object> item) => new Ne
stingLevel.fromJson(item)); | 2931 nestingLevel = |
| 2932 commons.mapMap<core.Map<core.String, core.Object>, NestingLevel>( |
| 2933 _json["nestingLevel"], |
| 2934 (core.Map<core.String, core.Object> item) => |
| 2935 new NestingLevel.fromJson(item)); |
2913 } | 2936 } |
2914 } | 2937 } |
2915 | 2938 |
2916 core.Map<core.String, core.Object> toJson() { | 2939 core.Map<core.String, core.Object> toJson() { |
2917 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2940 final core.Map<core.String, core.Object> _json = |
| 2941 new core.Map<core.String, core.Object>(); |
2918 if (listId != null) { | 2942 if (listId != null) { |
2919 _json["listId"] = listId; | 2943 _json["listId"] = listId; |
2920 } | 2944 } |
2921 if (nestingLevel != null) { | 2945 if (nestingLevel != null) { |
2922 _json["nestingLevel"] = commons.mapMap<NestingLevel, core.Map<core.String,
core.Object>>(nestingLevel, (NestingLevel item) => (item).toJson()); | 2946 _json["nestingLevel"] = |
| 2947 commons.mapMap<NestingLevel, core.Map<core.String, core.Object>>( |
| 2948 nestingLevel, (NestingLevel item) => (item).toJson()); |
2923 } | 2949 } |
2924 return _json; | 2950 return _json; |
2925 } | 2951 } |
2926 } | 2952 } |
2927 | 2953 |
2928 /** | 2954 /// The properties of Page that are only |
2929 * The properties of Page that are only | 2955 /// relevant for pages with page_type MASTER. |
2930 * relevant for pages with page_type MASTER. | |
2931 */ | |
2932 class MasterProperties { | 2956 class MasterProperties { |
2933 /** The human-readable name of the master. */ | 2957 /// The human-readable name of the master. |
2934 core.String displayName; | 2958 core.String displayName; |
2935 | 2959 |
2936 MasterProperties(); | 2960 MasterProperties(); |
2937 | 2961 |
2938 MasterProperties.fromJson(core.Map _json) { | 2962 MasterProperties.fromJson(core.Map _json) { |
2939 if (_json.containsKey("displayName")) { | 2963 if (_json.containsKey("displayName")) { |
2940 displayName = _json["displayName"]; | 2964 displayName = _json["displayName"]; |
2941 } | 2965 } |
2942 } | 2966 } |
2943 | 2967 |
2944 core.Map<core.String, core.Object> toJson() { | 2968 core.Map<core.String, core.Object> toJson() { |
2945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2969 final core.Map<core.String, core.Object> _json = |
| 2970 new core.Map<core.String, core.Object>(); |
2946 if (displayName != null) { | 2971 if (displayName != null) { |
2947 _json["displayName"] = displayName; | 2972 _json["displayName"] = displayName; |
2948 } | 2973 } |
2949 return _json; | 2974 return _json; |
2950 } | 2975 } |
2951 } | 2976 } |
2952 | 2977 |
2953 /** | 2978 /// Contains properties describing the look and feel of a list bullet at a |
2954 * Contains properties describing the look and feel of a list bullet at a given | 2979 /// given |
2955 * level of nesting. | 2980 /// level of nesting. |
2956 */ | |
2957 class NestingLevel { | 2981 class NestingLevel { |
2958 /** The style of a bullet at this level of nesting. */ | 2982 /// The style of a bullet at this level of nesting. |
2959 TextStyle bulletStyle; | 2983 TextStyle bulletStyle; |
2960 | 2984 |
2961 NestingLevel(); | 2985 NestingLevel(); |
2962 | 2986 |
2963 NestingLevel.fromJson(core.Map _json) { | 2987 NestingLevel.fromJson(core.Map _json) { |
2964 if (_json.containsKey("bulletStyle")) { | 2988 if (_json.containsKey("bulletStyle")) { |
2965 bulletStyle = new TextStyle.fromJson(_json["bulletStyle"]); | 2989 bulletStyle = new TextStyle.fromJson(_json["bulletStyle"]); |
2966 } | 2990 } |
2967 } | 2991 } |
2968 | 2992 |
2969 core.Map<core.String, core.Object> toJson() { | 2993 core.Map<core.String, core.Object> toJson() { |
2970 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2994 final core.Map<core.String, core.Object> _json = |
| 2995 new core.Map<core.String, core.Object>(); |
2971 if (bulletStyle != null) { | 2996 if (bulletStyle != null) { |
2972 _json["bulletStyle"] = (bulletStyle).toJson(); | 2997 _json["bulletStyle"] = (bulletStyle).toJson(); |
2973 } | 2998 } |
2974 return _json; | 2999 return _json; |
2975 } | 3000 } |
2976 } | 3001 } |
2977 | 3002 |
2978 /** | 3003 /// The properties of Page that are only |
2979 * The properties of Page that are only | 3004 /// relevant for pages with page_type NOTES. |
2980 * relevant for pages with page_type NOTES. | |
2981 */ | |
2982 class NotesProperties { | 3005 class NotesProperties { |
2983 /** | 3006 /// The object ID of the shape on this notes page that contains the speaker |
2984 * The object ID of the shape on this notes page that contains the speaker | 3007 /// notes for the corresponding slide. |
2985 * notes for the corresponding slide. | 3008 /// The actual shape may not always exist on the notes page. Inserting text |
2986 * The actual shape may not always exist on the notes page. Inserting text | 3009 /// using this object ID will automatically create the shape. In this case, |
2987 * using this object ID will automatically create the shape. In this case, the | 3010 /// the |
2988 * actual shape may have different object ID. The `GetPresentation` or | 3011 /// actual shape may have different object ID. The `GetPresentation` or |
2989 * `GetPage` action will always return the latest object ID. | 3012 /// `GetPage` action will always return the latest object ID. |
2990 */ | |
2991 core.String speakerNotesObjectId; | 3013 core.String speakerNotesObjectId; |
2992 | 3014 |
2993 NotesProperties(); | 3015 NotesProperties(); |
2994 | 3016 |
2995 NotesProperties.fromJson(core.Map _json) { | 3017 NotesProperties.fromJson(core.Map _json) { |
2996 if (_json.containsKey("speakerNotesObjectId")) { | 3018 if (_json.containsKey("speakerNotesObjectId")) { |
2997 speakerNotesObjectId = _json["speakerNotesObjectId"]; | 3019 speakerNotesObjectId = _json["speakerNotesObjectId"]; |
2998 } | 3020 } |
2999 } | 3021 } |
3000 | 3022 |
3001 core.Map<core.String, core.Object> toJson() { | 3023 core.Map<core.String, core.Object> toJson() { |
3002 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3024 final core.Map<core.String, core.Object> _json = |
| 3025 new core.Map<core.String, core.Object>(); |
3003 if (speakerNotesObjectId != null) { | 3026 if (speakerNotesObjectId != null) { |
3004 _json["speakerNotesObjectId"] = speakerNotesObjectId; | 3027 _json["speakerNotesObjectId"] = speakerNotesObjectId; |
3005 } | 3028 } |
3006 return _json; | 3029 return _json; |
3007 } | 3030 } |
3008 } | 3031 } |
3009 | 3032 |
3010 /** A themeable solid color value. */ | 3033 /// A themeable solid color value. |
3011 class OpaqueColor { | 3034 class OpaqueColor { |
3012 /** An opaque RGB color. */ | 3035 /// An opaque RGB color. |
3013 RgbColor rgbColor; | 3036 RgbColor rgbColor; |
3014 /** | 3037 |
3015 * An opaque theme color. | 3038 /// An opaque theme color. |
3016 * Possible string values are: | 3039 /// Possible string values are: |
3017 * - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value | 3040 /// - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value |
3018 * should not be used. | 3041 /// should not be used. |
3019 * - "DARK1" : Represents the first dark color. | 3042 /// - "DARK1" : Represents the first dark color. |
3020 * - "LIGHT1" : Represents the first light color. | 3043 /// - "LIGHT1" : Represents the first light color. |
3021 * - "DARK2" : Represents the second dark color. | 3044 /// - "DARK2" : Represents the second dark color. |
3022 * - "LIGHT2" : Represents the second light color. | 3045 /// - "LIGHT2" : Represents the second light color. |
3023 * - "ACCENT1" : Represents the first accent color. | 3046 /// - "ACCENT1" : Represents the first accent color. |
3024 * - "ACCENT2" : Represents the second accent color. | 3047 /// - "ACCENT2" : Represents the second accent color. |
3025 * - "ACCENT3" : Represents the third accent color. | 3048 /// - "ACCENT3" : Represents the third accent color. |
3026 * - "ACCENT4" : Represents the fourth accent color. | 3049 /// - "ACCENT4" : Represents the fourth accent color. |
3027 * - "ACCENT5" : Represents the fifth accent color. | 3050 /// - "ACCENT5" : Represents the fifth accent color. |
3028 * - "ACCENT6" : Represents the sixth accent color. | 3051 /// - "ACCENT6" : Represents the sixth accent color. |
3029 * - "HYPERLINK" : Represents the color to use for hyperlinks. | 3052 /// - "HYPERLINK" : Represents the color to use for hyperlinks. |
3030 * - "FOLLOWED_HYPERLINK" : Represents the color to use for visited | 3053 /// - "FOLLOWED_HYPERLINK" : Represents the color to use for visited |
3031 * hyperlinks. | 3054 /// hyperlinks. |
3032 * - "TEXT1" : Represents the first text color. | 3055 /// - "TEXT1" : Represents the first text color. |
3033 * - "BACKGROUND1" : Represents the first background color. | 3056 /// - "BACKGROUND1" : Represents the first background color. |
3034 * - "TEXT2" : Represents the second text color. | 3057 /// - "TEXT2" : Represents the second text color. |
3035 * - "BACKGROUND2" : Represents the second background color. | 3058 /// - "BACKGROUND2" : Represents the second background color. |
3036 */ | |
3037 core.String themeColor; | 3059 core.String themeColor; |
3038 | 3060 |
3039 OpaqueColor(); | 3061 OpaqueColor(); |
3040 | 3062 |
3041 OpaqueColor.fromJson(core.Map _json) { | 3063 OpaqueColor.fromJson(core.Map _json) { |
3042 if (_json.containsKey("rgbColor")) { | 3064 if (_json.containsKey("rgbColor")) { |
3043 rgbColor = new RgbColor.fromJson(_json["rgbColor"]); | 3065 rgbColor = new RgbColor.fromJson(_json["rgbColor"]); |
3044 } | 3066 } |
3045 if (_json.containsKey("themeColor")) { | 3067 if (_json.containsKey("themeColor")) { |
3046 themeColor = _json["themeColor"]; | 3068 themeColor = _json["themeColor"]; |
3047 } | 3069 } |
3048 } | 3070 } |
3049 | 3071 |
3050 core.Map<core.String, core.Object> toJson() { | 3072 core.Map<core.String, core.Object> toJson() { |
3051 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3073 final core.Map<core.String, core.Object> _json = |
| 3074 new core.Map<core.String, core.Object>(); |
3052 if (rgbColor != null) { | 3075 if (rgbColor != null) { |
3053 _json["rgbColor"] = (rgbColor).toJson(); | 3076 _json["rgbColor"] = (rgbColor).toJson(); |
3054 } | 3077 } |
3055 if (themeColor != null) { | 3078 if (themeColor != null) { |
3056 _json["themeColor"] = themeColor; | 3079 _json["themeColor"] = themeColor; |
3057 } | 3080 } |
3058 return _json; | 3081 return _json; |
3059 } | 3082 } |
3060 } | 3083 } |
3061 | 3084 |
3062 /** A color that can either be fully opaque or fully transparent. */ | 3085 /// A color that can either be fully opaque or fully transparent. |
3063 class OptionalColor { | 3086 class OptionalColor { |
3064 /** | 3087 /// If set, this will be used as an opaque color. If unset, this represents |
3065 * If set, this will be used as an opaque color. If unset, this represents | 3088 /// a transparent color. |
3066 * a transparent color. | |
3067 */ | |
3068 OpaqueColor opaqueColor; | 3089 OpaqueColor opaqueColor; |
3069 | 3090 |
3070 OptionalColor(); | 3091 OptionalColor(); |
3071 | 3092 |
3072 OptionalColor.fromJson(core.Map _json) { | 3093 OptionalColor.fromJson(core.Map _json) { |
3073 if (_json.containsKey("opaqueColor")) { | 3094 if (_json.containsKey("opaqueColor")) { |
3074 opaqueColor = new OpaqueColor.fromJson(_json["opaqueColor"]); | 3095 opaqueColor = new OpaqueColor.fromJson(_json["opaqueColor"]); |
3075 } | 3096 } |
3076 } | 3097 } |
3077 | 3098 |
3078 core.Map<core.String, core.Object> toJson() { | 3099 core.Map<core.String, core.Object> toJson() { |
3079 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3100 final core.Map<core.String, core.Object> _json = |
| 3101 new core.Map<core.String, core.Object>(); |
3080 if (opaqueColor != null) { | 3102 if (opaqueColor != null) { |
3081 _json["opaqueColor"] = (opaqueColor).toJson(); | 3103 _json["opaqueColor"] = (opaqueColor).toJson(); |
3082 } | 3104 } |
3083 return _json; | 3105 return _json; |
3084 } | 3106 } |
3085 } | 3107 } |
3086 | 3108 |
3087 /** | 3109 /// The outline of a PageElement. |
3088 * The outline of a PageElement. | 3110 /// |
3089 * | 3111 /// If these fields are unset, they may be inherited from a parent placeholder |
3090 * If these fields are unset, they may be inherited from a parent placeholder | 3112 /// if it exists. If there is no parent, the fields will default to the value |
3091 * if it exists. If there is no parent, the fields will default to the value | 3113 /// used for new page elements created in the Slides editor, which may depend |
3092 * used for new page elements created in the Slides editor, which may depend on | 3114 /// on |
3093 * the page element kind. | 3115 /// the page element kind. |
3094 */ | |
3095 class Outline { | 3116 class Outline { |
3096 /** | 3117 /// The dash style of the outline. |
3097 * The dash style of the outline. | 3118 /// Possible string values are: |
3098 * Possible string values are: | 3119 /// - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style. |
3099 * - "DASH_STYLE_UNSPECIFIED" : Unspecified dash style. | 3120 /// - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal |
3100 * - "SOLID" : Solid line. Corresponds to ECMA-376 ST_PresetLineDashVal value | 3121 /// value 'solid'. |
3101 * 'solid'. | 3122 /// This is the default dash style. |
3102 * This is the default dash style. | 3123 /// - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value |
3103 * - "DOT" : Dotted line. Corresponds to ECMA-376 ST_PresetLineDashVal value | 3124 /// 'dot'. |
3104 * 'dot'. | 3125 /// - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal |
3105 * - "DASH" : Dashed line. Corresponds to ECMA-376 ST_PresetLineDashVal value | 3126 /// value 'dash'. |
3106 * 'dash'. | 3127 /// - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376 |
3107 * - "DASH_DOT" : Alternating dashes and dots. Corresponds to ECMA-376 | 3128 /// ST_PresetLineDashVal |
3108 * ST_PresetLineDashVal | 3129 /// value 'dashDot'. |
3109 * value 'dashDot'. | 3130 /// - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376 |
3110 * - "LONG_DASH" : Line with large dashes. Corresponds to ECMA-376 | 3131 /// ST_PresetLineDashVal |
3111 * ST_PresetLineDashVal | 3132 /// value 'lgDash'. |
3112 * value 'lgDash'. | 3133 /// - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to |
3113 * - "LONG_DASH_DOT" : Alternating large dashes and dots. Corresponds to | 3134 /// ECMA-376 |
3114 * ECMA-376 | 3135 /// ST_PresetLineDashVal value 'lgDashDot'. |
3115 * ST_PresetLineDashVal value 'lgDashDot'. | |
3116 */ | |
3117 core.String dashStyle; | 3136 core.String dashStyle; |
3118 /** The fill of the outline. */ | 3137 |
| 3138 /// The fill of the outline. |
3119 OutlineFill outlineFill; | 3139 OutlineFill outlineFill; |
3120 /** | 3140 |
3121 * The outline property state. | 3141 /// The outline property state. |
3122 * | 3142 /// |
3123 * Updating the the outline on a page element will implicitly update this | 3143 /// Updating the the outline on a page element will implicitly update this |
3124 * field to`RENDERED`, unless another value is specified in the same request. | 3144 /// field to`RENDERED`, unless another value is specified in the same |
3125 * To have no outline on a page element, set this field to `NOT_RENDERED`. In | 3145 /// request. |
3126 * this case, any other outline fields set in the same request will be | 3146 /// To have no outline on a page element, set this field to `NOT_RENDERED`. |
3127 * ignored. | 3147 /// In |
3128 * Possible string values are: | 3148 /// this case, any other outline fields set in the same request will be |
3129 * - "RENDERED" : If a property's state is RENDERED, then the element has the | 3149 /// ignored. |
3130 * corresponding | 3150 /// Possible string values are: |
3131 * property when rendered on a page. If the element is a placeholder shape as | 3151 /// - "RENDERED" : If a property's state is RENDERED, then the element has |
3132 * determined by the placeholder | 3152 /// the corresponding |
3133 * field, and it inherits from a placeholder shape, the corresponding field | 3153 /// property when rendered on a page. If the element is a placeholder shape |
3134 * may be unset, meaning that the property value is inherited from a parent | 3154 /// as |
3135 * placeholder. If the element does not inherit, then the field will contain | 3155 /// determined by the placeholder |
3136 * the rendered value. This is the default value. | 3156 /// field, and it inherits from a placeholder shape, the corresponding field |
3137 * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element | 3157 /// may be unset, meaning that the property value is inherited from a parent |
3138 * does not have the | 3158 /// placeholder. If the element does not inherit, then the field will contain |
3139 * corresponding property when rendered on a page. However, the field may | 3159 /// the rendered value. This is the default value. |
3140 * still be set so it can be inherited by child shapes. To remove a property | 3160 /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the |
3141 * from a rendered element, set its property_state to NOT_RENDERED. | 3161 /// element does not have the |
3142 * - "INHERIT" : If a property's state is INHERIT, then the property state | 3162 /// corresponding property when rendered on a page. However, the field may |
3143 * uses the value of | 3163 /// still be set so it can be inherited by child shapes. To remove a property |
3144 * corresponding `property_state` field on the parent shape. Elements that do | 3164 /// from a rendered element, set its property_state to NOT_RENDERED. |
3145 * not inherit will never have an INHERIT property state. | 3165 /// - "INHERIT" : If a property's state is INHERIT, then the property state |
3146 */ | 3166 /// uses the value of |
| 3167 /// corresponding `property_state` field on the parent shape. Elements that |
| 3168 /// do |
| 3169 /// not inherit will never have an INHERIT property state. |
3147 core.String propertyState; | 3170 core.String propertyState; |
3148 /** The thickness of the outline. */ | 3171 |
| 3172 /// The thickness of the outline. |
3149 Dimension weight; | 3173 Dimension weight; |
3150 | 3174 |
3151 Outline(); | 3175 Outline(); |
3152 | 3176 |
3153 Outline.fromJson(core.Map _json) { | 3177 Outline.fromJson(core.Map _json) { |
3154 if (_json.containsKey("dashStyle")) { | 3178 if (_json.containsKey("dashStyle")) { |
3155 dashStyle = _json["dashStyle"]; | 3179 dashStyle = _json["dashStyle"]; |
3156 } | 3180 } |
3157 if (_json.containsKey("outlineFill")) { | 3181 if (_json.containsKey("outlineFill")) { |
3158 outlineFill = new OutlineFill.fromJson(_json["outlineFill"]); | 3182 outlineFill = new OutlineFill.fromJson(_json["outlineFill"]); |
3159 } | 3183 } |
3160 if (_json.containsKey("propertyState")) { | 3184 if (_json.containsKey("propertyState")) { |
3161 propertyState = _json["propertyState"]; | 3185 propertyState = _json["propertyState"]; |
3162 } | 3186 } |
3163 if (_json.containsKey("weight")) { | 3187 if (_json.containsKey("weight")) { |
3164 weight = new Dimension.fromJson(_json["weight"]); | 3188 weight = new Dimension.fromJson(_json["weight"]); |
3165 } | 3189 } |
3166 } | 3190 } |
3167 | 3191 |
3168 core.Map<core.String, core.Object> toJson() { | 3192 core.Map<core.String, core.Object> toJson() { |
3169 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3193 final core.Map<core.String, core.Object> _json = |
| 3194 new core.Map<core.String, core.Object>(); |
3170 if (dashStyle != null) { | 3195 if (dashStyle != null) { |
3171 _json["dashStyle"] = dashStyle; | 3196 _json["dashStyle"] = dashStyle; |
3172 } | 3197 } |
3173 if (outlineFill != null) { | 3198 if (outlineFill != null) { |
3174 _json["outlineFill"] = (outlineFill).toJson(); | 3199 _json["outlineFill"] = (outlineFill).toJson(); |
3175 } | 3200 } |
3176 if (propertyState != null) { | 3201 if (propertyState != null) { |
3177 _json["propertyState"] = propertyState; | 3202 _json["propertyState"] = propertyState; |
3178 } | 3203 } |
3179 if (weight != null) { | 3204 if (weight != null) { |
3180 _json["weight"] = (weight).toJson(); | 3205 _json["weight"] = (weight).toJson(); |
3181 } | 3206 } |
3182 return _json; | 3207 return _json; |
3183 } | 3208 } |
3184 } | 3209 } |
3185 | 3210 |
3186 /** The fill of the outline. */ | 3211 /// The fill of the outline. |
3187 class OutlineFill { | 3212 class OutlineFill { |
3188 /** Solid color fill. */ | 3213 /// Solid color fill. |
3189 SolidFill solidFill; | 3214 SolidFill solidFill; |
3190 | 3215 |
3191 OutlineFill(); | 3216 OutlineFill(); |
3192 | 3217 |
3193 OutlineFill.fromJson(core.Map _json) { | 3218 OutlineFill.fromJson(core.Map _json) { |
3194 if (_json.containsKey("solidFill")) { | 3219 if (_json.containsKey("solidFill")) { |
3195 solidFill = new SolidFill.fromJson(_json["solidFill"]); | 3220 solidFill = new SolidFill.fromJson(_json["solidFill"]); |
3196 } | 3221 } |
3197 } | 3222 } |
3198 | 3223 |
3199 core.Map<core.String, core.Object> toJson() { | 3224 core.Map<core.String, core.Object> toJson() { |
3200 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3225 final core.Map<core.String, core.Object> _json = |
| 3226 new core.Map<core.String, core.Object>(); |
3201 if (solidFill != null) { | 3227 if (solidFill != null) { |
3202 _json["solidFill"] = (solidFill).toJson(); | 3228 _json["solidFill"] = (solidFill).toJson(); |
3203 } | 3229 } |
3204 return _json; | 3230 return _json; |
3205 } | 3231 } |
3206 } | 3232 } |
3207 | 3233 |
3208 /** A page in a presentation. */ | 3234 /// A page in a presentation. |
3209 class Page { | 3235 class Page { |
3210 /** Layout specific properties. Only set if page_type = LAYOUT. */ | 3236 /// Layout specific properties. Only set if page_type = LAYOUT. |
3211 LayoutProperties layoutProperties; | 3237 LayoutProperties layoutProperties; |
3212 /** Master specific properties. Only set if page_type = MASTER. */ | 3238 |
| 3239 /// Master specific properties. Only set if page_type = MASTER. |
3213 MasterProperties masterProperties; | 3240 MasterProperties masterProperties; |
3214 /** Notes specific properties. Only set if page_type = NOTES. */ | 3241 |
| 3242 /// Notes specific properties. Only set if page_type = NOTES. |
3215 NotesProperties notesProperties; | 3243 NotesProperties notesProperties; |
3216 /** | 3244 |
3217 * The object ID for this page. Object IDs used by | 3245 /// The object ID for this page. Object IDs used by |
3218 * Page and | 3246 /// Page and |
3219 * PageElement share the same namespace. | 3247 /// PageElement share the same namespace. |
3220 */ | |
3221 core.String objectId; | 3248 core.String objectId; |
3222 /** The page elements rendered on the page. */ | 3249 |
| 3250 /// The page elements rendered on the page. |
3223 core.List<PageElement> pageElements; | 3251 core.List<PageElement> pageElements; |
3224 /** The properties of the page. */ | 3252 |
| 3253 /// The properties of the page. |
3225 PageProperties pageProperties; | 3254 PageProperties pageProperties; |
3226 /** | 3255 |
3227 * The type of the page. | 3256 /// The type of the page. |
3228 * Possible string values are: | 3257 /// Possible string values are: |
3229 * - "SLIDE" : A slide page. | 3258 /// - "SLIDE" : A slide page. |
3230 * - "MASTER" : A master slide page. | 3259 /// - "MASTER" : A master slide page. |
3231 * - "LAYOUT" : A layout page. | 3260 /// - "LAYOUT" : A layout page. |
3232 * - "NOTES" : A notes page. | 3261 /// - "NOTES" : A notes page. |
3233 * - "NOTES_MASTER" : A notes master page. | 3262 /// - "NOTES_MASTER" : A notes master page. |
3234 */ | |
3235 core.String pageType; | 3263 core.String pageType; |
3236 /** | 3264 |
3237 * The revision ID of the presentation containing this page. Can be used in | 3265 /// The revision ID of the presentation containing this page. Can be used in |
3238 * update requests to assert that the presentation revision hasn't changed | 3266 /// update requests to assert that the presentation revision hasn't changed |
3239 * since the last read operation. Only populated if the user has edit access | 3267 /// since the last read operation. Only populated if the user has edit access |
3240 * to the presentation. | 3268 /// to the presentation. |
3241 * | 3269 /// |
3242 * The format of the revision ID may change over time, so it should be treated | 3270 /// The format of the revision ID may change over time, so it should be |
3243 * opaquely. A returned revision ID is only guaranteed to be valid for 24 | 3271 /// treated |
3244 * hours after it has been returned and cannot be shared across users. If the | 3272 /// opaquely. A returned revision ID is only guaranteed to be valid for 24 |
3245 * revision ID is unchanged between calls, then the presentation has not | 3273 /// hours after it has been returned and cannot be shared across users. If |
3246 * changed. Conversely, a changed ID (for the same presentation and user) | 3274 /// the |
3247 * usually means the presentation has been updated; however, a changed ID can | 3275 /// revision ID is unchanged between calls, then the presentation has not |
3248 * also be due to internal factors such as ID format changes. | 3276 /// changed. Conversely, a changed ID (for the same presentation and user) |
3249 */ | 3277 /// usually means the presentation has been updated; however, a changed ID |
| 3278 /// can |
| 3279 /// also be due to internal factors such as ID format changes. |
3250 core.String revisionId; | 3280 core.String revisionId; |
3251 /** Slide specific properties. Only set if page_type = SLIDE. */ | 3281 |
| 3282 /// Slide specific properties. Only set if page_type = SLIDE. |
3252 SlideProperties slideProperties; | 3283 SlideProperties slideProperties; |
3253 | 3284 |
3254 Page(); | 3285 Page(); |
3255 | 3286 |
3256 Page.fromJson(core.Map _json) { | 3287 Page.fromJson(core.Map _json) { |
3257 if (_json.containsKey("layoutProperties")) { | 3288 if (_json.containsKey("layoutProperties")) { |
3258 layoutProperties = new LayoutProperties.fromJson(_json["layoutProperties"]
); | 3289 layoutProperties = |
| 3290 new LayoutProperties.fromJson(_json["layoutProperties"]); |
3259 } | 3291 } |
3260 if (_json.containsKey("masterProperties")) { | 3292 if (_json.containsKey("masterProperties")) { |
3261 masterProperties = new MasterProperties.fromJson(_json["masterProperties"]
); | 3293 masterProperties = |
| 3294 new MasterProperties.fromJson(_json["masterProperties"]); |
3262 } | 3295 } |
3263 if (_json.containsKey("notesProperties")) { | 3296 if (_json.containsKey("notesProperties")) { |
3264 notesProperties = new NotesProperties.fromJson(_json["notesProperties"]); | 3297 notesProperties = new NotesProperties.fromJson(_json["notesProperties"]); |
3265 } | 3298 } |
3266 if (_json.containsKey("objectId")) { | 3299 if (_json.containsKey("objectId")) { |
3267 objectId = _json["objectId"]; | 3300 objectId = _json["objectId"]; |
3268 } | 3301 } |
3269 if (_json.containsKey("pageElements")) { | 3302 if (_json.containsKey("pageElements")) { |
3270 pageElements = _json["pageElements"].map((value) => new PageElement.fromJs
on(value)).toList(); | 3303 pageElements = _json["pageElements"] |
| 3304 .map((value) => new PageElement.fromJson(value)) |
| 3305 .toList(); |
3271 } | 3306 } |
3272 if (_json.containsKey("pageProperties")) { | 3307 if (_json.containsKey("pageProperties")) { |
3273 pageProperties = new PageProperties.fromJson(_json["pageProperties"]); | 3308 pageProperties = new PageProperties.fromJson(_json["pageProperties"]); |
3274 } | 3309 } |
3275 if (_json.containsKey("pageType")) { | 3310 if (_json.containsKey("pageType")) { |
3276 pageType = _json["pageType"]; | 3311 pageType = _json["pageType"]; |
3277 } | 3312 } |
3278 if (_json.containsKey("revisionId")) { | 3313 if (_json.containsKey("revisionId")) { |
3279 revisionId = _json["revisionId"]; | 3314 revisionId = _json["revisionId"]; |
3280 } | 3315 } |
3281 if (_json.containsKey("slideProperties")) { | 3316 if (_json.containsKey("slideProperties")) { |
3282 slideProperties = new SlideProperties.fromJson(_json["slideProperties"]); | 3317 slideProperties = new SlideProperties.fromJson(_json["slideProperties"]); |
3283 } | 3318 } |
3284 } | 3319 } |
3285 | 3320 |
3286 core.Map<core.String, core.Object> toJson() { | 3321 core.Map<core.String, core.Object> toJson() { |
3287 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3322 final core.Map<core.String, core.Object> _json = |
| 3323 new core.Map<core.String, core.Object>(); |
3288 if (layoutProperties != null) { | 3324 if (layoutProperties != null) { |
3289 _json["layoutProperties"] = (layoutProperties).toJson(); | 3325 _json["layoutProperties"] = (layoutProperties).toJson(); |
3290 } | 3326 } |
3291 if (masterProperties != null) { | 3327 if (masterProperties != null) { |
3292 _json["masterProperties"] = (masterProperties).toJson(); | 3328 _json["masterProperties"] = (masterProperties).toJson(); |
3293 } | 3329 } |
3294 if (notesProperties != null) { | 3330 if (notesProperties != null) { |
3295 _json["notesProperties"] = (notesProperties).toJson(); | 3331 _json["notesProperties"] = (notesProperties).toJson(); |
3296 } | 3332 } |
3297 if (objectId != null) { | 3333 if (objectId != null) { |
3298 _json["objectId"] = objectId; | 3334 _json["objectId"] = objectId; |
3299 } | 3335 } |
3300 if (pageElements != null) { | 3336 if (pageElements != null) { |
3301 _json["pageElements"] = pageElements.map((value) => (value).toJson()).toLi
st(); | 3337 _json["pageElements"] = |
| 3338 pageElements.map((value) => (value).toJson()).toList(); |
3302 } | 3339 } |
3303 if (pageProperties != null) { | 3340 if (pageProperties != null) { |
3304 _json["pageProperties"] = (pageProperties).toJson(); | 3341 _json["pageProperties"] = (pageProperties).toJson(); |
3305 } | 3342 } |
3306 if (pageType != null) { | 3343 if (pageType != null) { |
3307 _json["pageType"] = pageType; | 3344 _json["pageType"] = pageType; |
3308 } | 3345 } |
3309 if (revisionId != null) { | 3346 if (revisionId != null) { |
3310 _json["revisionId"] = revisionId; | 3347 _json["revisionId"] = revisionId; |
3311 } | 3348 } |
3312 if (slideProperties != null) { | 3349 if (slideProperties != null) { |
3313 _json["slideProperties"] = (slideProperties).toJson(); | 3350 _json["slideProperties"] = (slideProperties).toJson(); |
3314 } | 3351 } |
3315 return _json; | 3352 return _json; |
3316 } | 3353 } |
3317 } | 3354 } |
3318 | 3355 |
3319 /** The page background fill. */ | 3356 /// The page background fill. |
3320 class PageBackgroundFill { | 3357 class PageBackgroundFill { |
3321 /** | 3358 /// The background fill property state. |
3322 * The background fill property state. | 3359 /// |
3323 * | 3360 /// Updating the fill on a page will implicitly update this field to |
3324 * Updating the the fill on a page will implicitly update this field to | 3361 /// `RENDERED`, unless another value is specified in the same request. To |
3325 * `RENDERED`, unless another value is specified in the same request. To | 3362 /// have no fill on a page, set this field to `NOT_RENDERED`. In this case, |
3326 * have no fill on a page, set this field to `NOT_RENDERED`. In this case, | 3363 /// any other fill fields set in the same request will be ignored. |
3327 * any other fill fields set in the same request will be ignored. | 3364 /// Possible string values are: |
3328 * Possible string values are: | 3365 /// - "RENDERED" : If a property's state is RENDERED, then the element has |
3329 * - "RENDERED" : If a property's state is RENDERED, then the element has the | 3366 /// the corresponding |
3330 * corresponding | 3367 /// property when rendered on a page. If the element is a placeholder shape |
3331 * property when rendered on a page. If the element is a placeholder shape as | 3368 /// as |
3332 * determined by the placeholder | 3369 /// determined by the placeholder |
3333 * field, and it inherits from a placeholder shape, the corresponding field | 3370 /// field, and it inherits from a placeholder shape, the corresponding field |
3334 * may be unset, meaning that the property value is inherited from a parent | 3371 /// may be unset, meaning that the property value is inherited from a parent |
3335 * placeholder. If the element does not inherit, then the field will contain | 3372 /// placeholder. If the element does not inherit, then the field will contain |
3336 * the rendered value. This is the default value. | 3373 /// the rendered value. This is the default value. |
3337 * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element | 3374 /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the |
3338 * does not have the | 3375 /// element does not have the |
3339 * corresponding property when rendered on a page. However, the field may | 3376 /// corresponding property when rendered on a page. However, the field may |
3340 * still be set so it can be inherited by child shapes. To remove a property | 3377 /// still be set so it can be inherited by child shapes. To remove a property |
3341 * from a rendered element, set its property_state to NOT_RENDERED. | 3378 /// from a rendered element, set its property_state to NOT_RENDERED. |
3342 * - "INHERIT" : If a property's state is INHERIT, then the property state | 3379 /// - "INHERIT" : If a property's state is INHERIT, then the property state |
3343 * uses the value of | 3380 /// uses the value of |
3344 * corresponding `property_state` field on the parent shape. Elements that do | 3381 /// corresponding `property_state` field on the parent shape. Elements that |
3345 * not inherit will never have an INHERIT property state. | 3382 /// do |
3346 */ | 3383 /// not inherit will never have an INHERIT property state. |
3347 core.String propertyState; | 3384 core.String propertyState; |
3348 /** Solid color fill. */ | 3385 |
| 3386 /// Solid color fill. |
3349 SolidFill solidFill; | 3387 SolidFill solidFill; |
3350 /** Stretched picture fill. */ | 3388 |
| 3389 /// Stretched picture fill. |
3351 StretchedPictureFill stretchedPictureFill; | 3390 StretchedPictureFill stretchedPictureFill; |
3352 | 3391 |
3353 PageBackgroundFill(); | 3392 PageBackgroundFill(); |
3354 | 3393 |
3355 PageBackgroundFill.fromJson(core.Map _json) { | 3394 PageBackgroundFill.fromJson(core.Map _json) { |
3356 if (_json.containsKey("propertyState")) { | 3395 if (_json.containsKey("propertyState")) { |
3357 propertyState = _json["propertyState"]; | 3396 propertyState = _json["propertyState"]; |
3358 } | 3397 } |
3359 if (_json.containsKey("solidFill")) { | 3398 if (_json.containsKey("solidFill")) { |
3360 solidFill = new SolidFill.fromJson(_json["solidFill"]); | 3399 solidFill = new SolidFill.fromJson(_json["solidFill"]); |
3361 } | 3400 } |
3362 if (_json.containsKey("stretchedPictureFill")) { | 3401 if (_json.containsKey("stretchedPictureFill")) { |
3363 stretchedPictureFill = new StretchedPictureFill.fromJson(_json["stretchedP
ictureFill"]); | 3402 stretchedPictureFill = |
| 3403 new StretchedPictureFill.fromJson(_json["stretchedPictureFill"]); |
3364 } | 3404 } |
3365 } | 3405 } |
3366 | 3406 |
3367 core.Map<core.String, core.Object> toJson() { | 3407 core.Map<core.String, core.Object> toJson() { |
3368 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3408 final core.Map<core.String, core.Object> _json = |
| 3409 new core.Map<core.String, core.Object>(); |
3369 if (propertyState != null) { | 3410 if (propertyState != null) { |
3370 _json["propertyState"] = propertyState; | 3411 _json["propertyState"] = propertyState; |
3371 } | 3412 } |
3372 if (solidFill != null) { | 3413 if (solidFill != null) { |
3373 _json["solidFill"] = (solidFill).toJson(); | 3414 _json["solidFill"] = (solidFill).toJson(); |
3374 } | 3415 } |
3375 if (stretchedPictureFill != null) { | 3416 if (stretchedPictureFill != null) { |
3376 _json["stretchedPictureFill"] = (stretchedPictureFill).toJson(); | 3417 _json["stretchedPictureFill"] = (stretchedPictureFill).toJson(); |
3377 } | 3418 } |
3378 return _json; | 3419 return _json; |
3379 } | 3420 } |
3380 } | 3421 } |
3381 | 3422 |
3382 /** A visual element rendered on a page. */ | 3423 /// A visual element rendered on a page. |
3383 class PageElement { | 3424 class PageElement { |
3384 /** | 3425 /// The description of the page element. Combined with title to display alt |
3385 * The description of the page element. Combined with title to display alt | 3426 /// text. |
3386 * text. | |
3387 */ | |
3388 core.String description; | 3427 core.String description; |
3389 /** A collection of page elements joined as a single unit. */ | 3428 |
| 3429 /// A collection of page elements joined as a single unit. |
3390 Group elementGroup; | 3430 Group elementGroup; |
3391 /** An image page element. */ | 3431 |
| 3432 /// An image page element. |
3392 Image image; | 3433 Image image; |
3393 /** A line page element. */ | 3434 |
| 3435 /// A line page element. |
3394 Line line; | 3436 Line line; |
3395 /** | 3437 |
3396 * The object ID for this page element. Object IDs used by | 3438 /// The object ID for this page element. Object IDs used by |
3397 * google.apps.slides.v1.Page and | 3439 /// google.apps.slides.v1.Page and |
3398 * google.apps.slides.v1.PageElement share the same namespace. | 3440 /// google.apps.slides.v1.PageElement share the same namespace. |
3399 */ | |
3400 core.String objectId; | 3441 core.String objectId; |
3401 /** A generic shape. */ | 3442 |
| 3443 /// A generic shape. |
3402 Shape shape; | 3444 Shape shape; |
3403 /** | 3445 |
3404 * A linked chart embedded from Google Sheets. Unlinked charts are | 3446 /// A linked chart embedded from Google Sheets. Unlinked charts are |
3405 * represented as images. | 3447 /// represented as images. |
3406 */ | |
3407 SheetsChart sheetsChart; | 3448 SheetsChart sheetsChart; |
3408 /** The size of the page element. */ | 3449 |
| 3450 /// The size of the page element. |
3409 Size size; | 3451 Size size; |
3410 /** A table page element. */ | 3452 |
| 3453 /// A table page element. |
3411 Table table; | 3454 Table table; |
3412 /** | 3455 |
3413 * The title of the page element. Combined with description to display alt | 3456 /// The title of the page element. Combined with description to display alt |
3414 * text. | 3457 /// text. |
3415 */ | |
3416 core.String title; | 3458 core.String title; |
3417 /** The transform of the page element. */ | 3459 |
| 3460 /// The transform of the page element. |
| 3461 /// |
| 3462 /// The visual appearance of the page element is determined by its absolute |
| 3463 /// transform. To compute the absolute transform, preconcatenate a page |
| 3464 /// element's transform with the transforms of all of its parent groups. If |
| 3465 /// the |
| 3466 /// page element is not in a group, its absolute transform is the same as the |
| 3467 /// value in this field. |
| 3468 /// |
| 3469 /// The initial transform for the newly created Group is always the identity |
| 3470 /// transform. |
3418 AffineTransform transform; | 3471 AffineTransform transform; |
3419 /** A video page element. */ | 3472 |
| 3473 /// A video page element. |
3420 Video video; | 3474 Video video; |
3421 /** A word art page element. */ | 3475 |
| 3476 /// A word art page element. |
3422 WordArt wordArt; | 3477 WordArt wordArt; |
3423 | 3478 |
3424 PageElement(); | 3479 PageElement(); |
3425 | 3480 |
3426 PageElement.fromJson(core.Map _json) { | 3481 PageElement.fromJson(core.Map _json) { |
3427 if (_json.containsKey("description")) { | 3482 if (_json.containsKey("description")) { |
3428 description = _json["description"]; | 3483 description = _json["description"]; |
3429 } | 3484 } |
3430 if (_json.containsKey("elementGroup")) { | 3485 if (_json.containsKey("elementGroup")) { |
3431 elementGroup = new Group.fromJson(_json["elementGroup"]); | 3486 elementGroup = new Group.fromJson(_json["elementGroup"]); |
(...skipping 27 matching lines...) Expand all Loading... |
3459 } | 3514 } |
3460 if (_json.containsKey("video")) { | 3515 if (_json.containsKey("video")) { |
3461 video = new Video.fromJson(_json["video"]); | 3516 video = new Video.fromJson(_json["video"]); |
3462 } | 3517 } |
3463 if (_json.containsKey("wordArt")) { | 3518 if (_json.containsKey("wordArt")) { |
3464 wordArt = new WordArt.fromJson(_json["wordArt"]); | 3519 wordArt = new WordArt.fromJson(_json["wordArt"]); |
3465 } | 3520 } |
3466 } | 3521 } |
3467 | 3522 |
3468 core.Map<core.String, core.Object> toJson() { | 3523 core.Map<core.String, core.Object> toJson() { |
3469 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3524 final core.Map<core.String, core.Object> _json = |
| 3525 new core.Map<core.String, core.Object>(); |
3470 if (description != null) { | 3526 if (description != null) { |
3471 _json["description"] = description; | 3527 _json["description"] = description; |
3472 } | 3528 } |
3473 if (elementGroup != null) { | 3529 if (elementGroup != null) { |
3474 _json["elementGroup"] = (elementGroup).toJson(); | 3530 _json["elementGroup"] = (elementGroup).toJson(); |
3475 } | 3531 } |
3476 if (image != null) { | 3532 if (image != null) { |
3477 _json["image"] = (image).toJson(); | 3533 _json["image"] = (image).toJson(); |
3478 } | 3534 } |
3479 if (line != null) { | 3535 if (line != null) { |
(...skipping 23 matching lines...) Expand all Loading... |
3503 if (video != null) { | 3559 if (video != null) { |
3504 _json["video"] = (video).toJson(); | 3560 _json["video"] = (video).toJson(); |
3505 } | 3561 } |
3506 if (wordArt != null) { | 3562 if (wordArt != null) { |
3507 _json["wordArt"] = (wordArt).toJson(); | 3563 _json["wordArt"] = (wordArt).toJson(); |
3508 } | 3564 } |
3509 return _json; | 3565 return _json; |
3510 } | 3566 } |
3511 } | 3567 } |
3512 | 3568 |
3513 /** | 3569 /// Common properties for a page element. |
3514 * Common properties for a page element. | 3570 /// |
3515 * | 3571 /// Note: When you initially create a |
3516 * Note: When you initially create a | 3572 /// PageElement, the API may modify |
3517 * PageElement, the API may modify | 3573 /// the values of both `size` and `transform`, but the |
3518 * the values of both `size` and `transform`, but the | 3574 /// visual size will be unchanged. |
3519 * visual size will be unchanged. | |
3520 */ | |
3521 class PageElementProperties { | 3575 class PageElementProperties { |
3522 /** The object ID of the page where the element is located. */ | 3576 /// The object ID of the page where the element is located. |
3523 core.String pageObjectId; | 3577 core.String pageObjectId; |
3524 /** The size of the element. */ | 3578 |
| 3579 /// The size of the element. |
3525 Size size; | 3580 Size size; |
3526 /** The transform for the element. */ | 3581 |
| 3582 /// The transform for the element. |
3527 AffineTransform transform; | 3583 AffineTransform transform; |
3528 | 3584 |
3529 PageElementProperties(); | 3585 PageElementProperties(); |
3530 | 3586 |
3531 PageElementProperties.fromJson(core.Map _json) { | 3587 PageElementProperties.fromJson(core.Map _json) { |
3532 if (_json.containsKey("pageObjectId")) { | 3588 if (_json.containsKey("pageObjectId")) { |
3533 pageObjectId = _json["pageObjectId"]; | 3589 pageObjectId = _json["pageObjectId"]; |
3534 } | 3590 } |
3535 if (_json.containsKey("size")) { | 3591 if (_json.containsKey("size")) { |
3536 size = new Size.fromJson(_json["size"]); | 3592 size = new Size.fromJson(_json["size"]); |
3537 } | 3593 } |
3538 if (_json.containsKey("transform")) { | 3594 if (_json.containsKey("transform")) { |
3539 transform = new AffineTransform.fromJson(_json["transform"]); | 3595 transform = new AffineTransform.fromJson(_json["transform"]); |
3540 } | 3596 } |
3541 } | 3597 } |
3542 | 3598 |
3543 core.Map<core.String, core.Object> toJson() { | 3599 core.Map<core.String, core.Object> toJson() { |
3544 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3600 final core.Map<core.String, core.Object> _json = |
| 3601 new core.Map<core.String, core.Object>(); |
3545 if (pageObjectId != null) { | 3602 if (pageObjectId != null) { |
3546 _json["pageObjectId"] = pageObjectId; | 3603 _json["pageObjectId"] = pageObjectId; |
3547 } | 3604 } |
3548 if (size != null) { | 3605 if (size != null) { |
3549 _json["size"] = (size).toJson(); | 3606 _json["size"] = (size).toJson(); |
3550 } | 3607 } |
3551 if (transform != null) { | 3608 if (transform != null) { |
3552 _json["transform"] = (transform).toJson(); | 3609 _json["transform"] = (transform).toJson(); |
3553 } | 3610 } |
3554 return _json; | 3611 return _json; |
3555 } | 3612 } |
3556 } | 3613 } |
3557 | 3614 |
3558 /** | 3615 /// The properties of the Page. |
3559 * The properties of the Page. | 3616 /// |
3560 * | 3617 /// The page will inherit properties from the parent page. Depending on the |
3561 * The page will inherit properties from the parent page. Depending on the page | 3618 /// page |
3562 * type the hierarchy is defined in either | 3619 /// type the hierarchy is defined in either |
3563 * SlideProperties or | 3620 /// SlideProperties or |
3564 * LayoutProperties. | 3621 /// LayoutProperties. |
3565 */ | |
3566 class PageProperties { | 3622 class PageProperties { |
3567 /** | 3623 /// The color scheme of the page. If unset, the color scheme is inherited |
3568 * The color scheme of the page. If unset, the color scheme is inherited from | 3624 /// from |
3569 * a parent page. If the page has no parent, the color scheme uses a default | 3625 /// a parent page. If the page has no parent, the color scheme uses a default |
3570 * Slides color scheme. This field is read-only. | 3626 /// Slides color scheme. This field is read-only. |
3571 */ | |
3572 ColorScheme colorScheme; | 3627 ColorScheme colorScheme; |
3573 /** | 3628 |
3574 * The background fill of the page. If unset, the background fill is inherited | 3629 /// The background fill of the page. If unset, the background fill is |
3575 * from a parent page if it exists. If the page has no parent, then the | 3630 /// inherited |
3576 * background fill defaults to the corresponding fill in the Slides editor. | 3631 /// from a parent page if it exists. If the page has no parent, then the |
3577 */ | 3632 /// background fill defaults to the corresponding fill in the Slides editor. |
3578 PageBackgroundFill pageBackgroundFill; | 3633 PageBackgroundFill pageBackgroundFill; |
3579 | 3634 |
3580 PageProperties(); | 3635 PageProperties(); |
3581 | 3636 |
3582 PageProperties.fromJson(core.Map _json) { | 3637 PageProperties.fromJson(core.Map _json) { |
3583 if (_json.containsKey("colorScheme")) { | 3638 if (_json.containsKey("colorScheme")) { |
3584 colorScheme = new ColorScheme.fromJson(_json["colorScheme"]); | 3639 colorScheme = new ColorScheme.fromJson(_json["colorScheme"]); |
3585 } | 3640 } |
3586 if (_json.containsKey("pageBackgroundFill")) { | 3641 if (_json.containsKey("pageBackgroundFill")) { |
3587 pageBackgroundFill = new PageBackgroundFill.fromJson(_json["pageBackground
Fill"]); | 3642 pageBackgroundFill = |
| 3643 new PageBackgroundFill.fromJson(_json["pageBackgroundFill"]); |
3588 } | 3644 } |
3589 } | 3645 } |
3590 | 3646 |
3591 core.Map<core.String, core.Object> toJson() { | 3647 core.Map<core.String, core.Object> toJson() { |
3592 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3648 final core.Map<core.String, core.Object> _json = |
| 3649 new core.Map<core.String, core.Object>(); |
3593 if (colorScheme != null) { | 3650 if (colorScheme != null) { |
3594 _json["colorScheme"] = (colorScheme).toJson(); | 3651 _json["colorScheme"] = (colorScheme).toJson(); |
3595 } | 3652 } |
3596 if (pageBackgroundFill != null) { | 3653 if (pageBackgroundFill != null) { |
3597 _json["pageBackgroundFill"] = (pageBackgroundFill).toJson(); | 3654 _json["pageBackgroundFill"] = (pageBackgroundFill).toJson(); |
3598 } | 3655 } |
3599 return _json; | 3656 return _json; |
3600 } | 3657 } |
3601 } | 3658 } |
3602 | 3659 |
3603 /** A TextElement kind that represents the beginning of a new paragraph. */ | 3660 /// A TextElement kind that represents the beginning of a new paragraph. |
3604 class ParagraphMarker { | 3661 class ParagraphMarker { |
3605 /** | 3662 /// The bullet for this paragraph. If not present, the paragraph does not |
3606 * The bullet for this paragraph. If not present, the paragraph does not | 3663 /// belong to a list. |
3607 * belong to a list. | |
3608 */ | |
3609 Bullet bullet; | 3664 Bullet bullet; |
3610 /** The paragraph's style */ | 3665 |
| 3666 /// The paragraph's style |
3611 ParagraphStyle style; | 3667 ParagraphStyle style; |
3612 | 3668 |
3613 ParagraphMarker(); | 3669 ParagraphMarker(); |
3614 | 3670 |
3615 ParagraphMarker.fromJson(core.Map _json) { | 3671 ParagraphMarker.fromJson(core.Map _json) { |
3616 if (_json.containsKey("bullet")) { | 3672 if (_json.containsKey("bullet")) { |
3617 bullet = new Bullet.fromJson(_json["bullet"]); | 3673 bullet = new Bullet.fromJson(_json["bullet"]); |
3618 } | 3674 } |
3619 if (_json.containsKey("style")) { | 3675 if (_json.containsKey("style")) { |
3620 style = new ParagraphStyle.fromJson(_json["style"]); | 3676 style = new ParagraphStyle.fromJson(_json["style"]); |
3621 } | 3677 } |
3622 } | 3678 } |
3623 | 3679 |
3624 core.Map<core.String, core.Object> toJson() { | 3680 core.Map<core.String, core.Object> toJson() { |
3625 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3681 final core.Map<core.String, core.Object> _json = |
| 3682 new core.Map<core.String, core.Object>(); |
3626 if (bullet != null) { | 3683 if (bullet != null) { |
3627 _json["bullet"] = (bullet).toJson(); | 3684 _json["bullet"] = (bullet).toJson(); |
3628 } | 3685 } |
3629 if (style != null) { | 3686 if (style != null) { |
3630 _json["style"] = (style).toJson(); | 3687 _json["style"] = (style).toJson(); |
3631 } | 3688 } |
3632 return _json; | 3689 return _json; |
3633 } | 3690 } |
3634 } | 3691 } |
3635 | 3692 |
3636 /** | 3693 /// Styles that apply to a whole paragraph. |
3637 * Styles that apply to a whole paragraph. | 3694 /// |
3638 * | 3695 /// If this text is contained in a shape with a parent placeholder, then these |
3639 * If this text is contained in a shape with a parent placeholder, then these | 3696 /// paragraph styles may be |
3640 * paragraph styles may be | 3697 /// inherited from the parent. Which paragraph styles are inherited depend on |
3641 * inherited from the parent. Which paragraph styles are inherited depend on the | 3698 /// the |
3642 * nesting level of lists: | 3699 /// nesting level of lists: |
3643 * | 3700 /// |
3644 * * A paragraph not in a list will inherit its paragraph style from the | 3701 /// * A paragraph not in a list will inherit its paragraph style from the |
3645 * paragraph at the 0 nesting level of the list inside the parent placeholder. | 3702 /// paragraph at the 0 nesting level of the list inside the parent placeholder. |
3646 * * A paragraph in a list will inherit its paragraph style from the paragraph | 3703 /// * A paragraph in a list will inherit its paragraph style from the paragraph |
3647 * at its corresponding nesting level of the list inside the parent | 3704 /// at its corresponding nesting level of the list inside the parent |
3648 * placeholder. | 3705 /// placeholder. |
3649 * | 3706 /// |
3650 * Inherited paragraph styles are represented as unset fields in this message. | 3707 /// Inherited paragraph styles are represented as unset fields in this message. |
3651 */ | |
3652 class ParagraphStyle { | 3708 class ParagraphStyle { |
3653 /** | 3709 /// The text alignment for this paragraph. |
3654 * The text alignment for this paragraph. | 3710 /// Possible string values are: |
3655 * Possible string values are: | 3711 /// - "ALIGNMENT_UNSPECIFIED" : The paragraph alignment is inherited from the |
3656 * - "ALIGNMENT_UNSPECIFIED" : The paragraph alignment is inherited from the | 3712 /// parent. |
3657 * parent. | 3713 /// - "START" : The paragraph is aligned to the start of the line. |
3658 * - "START" : The paragraph is aligned to the start of the line. Left-aligned | 3714 /// Left-aligned for |
3659 * for | 3715 /// LTR text, right-aligned otherwise. |
3660 * LTR text, right-aligned otherwise. | 3716 /// - "CENTER" : The paragraph is centered. |
3661 * - "CENTER" : The paragraph is centered. | 3717 /// - "END" : The paragraph is aligned to the end of the line. Right-aligned |
3662 * - "END" : The paragraph is aligned to the end of the line. Right-aligned | 3718 /// for |
3663 * for | 3719 /// LTR text, left-aligned otherwise. |
3664 * LTR text, left-aligned otherwise. | 3720 /// - "JUSTIFIED" : The paragraph is justified. |
3665 * - "JUSTIFIED" : The paragraph is justified. | |
3666 */ | |
3667 core.String alignment; | 3721 core.String alignment; |
3668 /** | 3722 |
3669 * The text direction of this paragraph. If unset, the value defaults to | 3723 /// The text direction of this paragraph. If unset, the value defaults to |
3670 * LEFT_TO_RIGHT since | 3724 /// LEFT_TO_RIGHT since |
3671 * text direction is not inherited. | 3725 /// text direction is not inherited. |
3672 * Possible string values are: | 3726 /// Possible string values are: |
3673 * - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the | 3727 /// - "TEXT_DIRECTION_UNSPECIFIED" : The text direction is inherited from the |
3674 * parent. | 3728 /// parent. |
3675 * - "LEFT_TO_RIGHT" : The text goes from left to right. | 3729 /// - "LEFT_TO_RIGHT" : The text goes from left to right. |
3676 * - "RIGHT_TO_LEFT" : The text goes from right to left. | 3730 /// - "RIGHT_TO_LEFT" : The text goes from right to left. |
3677 */ | |
3678 core.String direction; | 3731 core.String direction; |
3679 /** | 3732 |
3680 * The amount indentation for the paragraph on the side that corresponds to | 3733 /// The amount indentation for the paragraph on the side that corresponds to |
3681 * the end of the text, based on the current text direction. If unset, the | 3734 /// the end of the text, based on the current text direction. If unset, the |
3682 * value is inherited from the parent. | 3735 /// value is inherited from the parent. |
3683 */ | |
3684 Dimension indentEnd; | 3736 Dimension indentEnd; |
3685 /** | 3737 |
3686 * The amount of indentation for the start of the first line of the paragraph. | 3738 /// The amount of indentation for the start of the first line of the |
3687 * If unset, the value is inherited from the parent. | 3739 /// paragraph. |
3688 */ | 3740 /// If unset, the value is inherited from the parent. |
3689 Dimension indentFirstLine; | 3741 Dimension indentFirstLine; |
3690 /** | 3742 |
3691 * The amount indentation for the paragraph on the side that corresponds to | 3743 /// The amount indentation for the paragraph on the side that corresponds to |
3692 * the start of the text, based on the current text direction. If unset, the | 3744 /// the start of the text, based on the current text direction. If unset, the |
3693 * value is inherited from the parent. | 3745 /// value is inherited from the parent. |
3694 */ | |
3695 Dimension indentStart; | 3746 Dimension indentStart; |
3696 /** | 3747 |
3697 * The amount of space between lines, as a percentage of normal, where normal | 3748 /// The amount of space between lines, as a percentage of normal, where |
3698 * is represented as 100.0. If unset, the value is inherited from the parent. | 3749 /// normal |
3699 */ | 3750 /// is represented as 100.0. If unset, the value is inherited from the |
| 3751 /// parent. |
3700 core.double lineSpacing; | 3752 core.double lineSpacing; |
3701 /** | 3753 |
3702 * The amount of extra space above the paragraph. If unset, the value is | 3754 /// The amount of extra space above the paragraph. If unset, the value is |
3703 * inherited from the parent. | 3755 /// inherited from the parent. |
3704 */ | |
3705 Dimension spaceAbove; | 3756 Dimension spaceAbove; |
3706 /** | 3757 |
3707 * The amount of extra space above the paragraph. If unset, the value is | 3758 /// The amount of extra space above the paragraph. If unset, the value is |
3708 * inherited from the parent. | 3759 /// inherited from the parent. |
3709 */ | |
3710 Dimension spaceBelow; | 3760 Dimension spaceBelow; |
3711 /** | 3761 |
3712 * The spacing mode for the paragraph. | 3762 /// The spacing mode for the paragraph. |
3713 * Possible string values are: | 3763 /// Possible string values are: |
3714 * - "SPACING_MODE_UNSPECIFIED" : The spacing mode is inherited from the | 3764 /// - "SPACING_MODE_UNSPECIFIED" : The spacing mode is inherited from the |
3715 * parent. | 3765 /// parent. |
3716 * - "NEVER_COLLAPSE" : Paragraph spacing is always rendered. | 3766 /// - "NEVER_COLLAPSE" : Paragraph spacing is always rendered. |
3717 * - "COLLAPSE_LISTS" : Paragraph spacing is skipped between list elements. | 3767 /// - "COLLAPSE_LISTS" : Paragraph spacing is skipped between list elements. |
3718 */ | |
3719 core.String spacingMode; | 3768 core.String spacingMode; |
3720 | 3769 |
3721 ParagraphStyle(); | 3770 ParagraphStyle(); |
3722 | 3771 |
3723 ParagraphStyle.fromJson(core.Map _json) { | 3772 ParagraphStyle.fromJson(core.Map _json) { |
3724 if (_json.containsKey("alignment")) { | 3773 if (_json.containsKey("alignment")) { |
3725 alignment = _json["alignment"]; | 3774 alignment = _json["alignment"]; |
3726 } | 3775 } |
3727 if (_json.containsKey("direction")) { | 3776 if (_json.containsKey("direction")) { |
3728 direction = _json["direction"]; | 3777 direction = _json["direction"]; |
(...skipping 15 matching lines...) Expand all Loading... |
3744 } | 3793 } |
3745 if (_json.containsKey("spaceBelow")) { | 3794 if (_json.containsKey("spaceBelow")) { |
3746 spaceBelow = new Dimension.fromJson(_json["spaceBelow"]); | 3795 spaceBelow = new Dimension.fromJson(_json["spaceBelow"]); |
3747 } | 3796 } |
3748 if (_json.containsKey("spacingMode")) { | 3797 if (_json.containsKey("spacingMode")) { |
3749 spacingMode = _json["spacingMode"]; | 3798 spacingMode = _json["spacingMode"]; |
3750 } | 3799 } |
3751 } | 3800 } |
3752 | 3801 |
3753 core.Map<core.String, core.Object> toJson() { | 3802 core.Map<core.String, core.Object> toJson() { |
3754 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3803 final core.Map<core.String, core.Object> _json = |
| 3804 new core.Map<core.String, core.Object>(); |
3755 if (alignment != null) { | 3805 if (alignment != null) { |
3756 _json["alignment"] = alignment; | 3806 _json["alignment"] = alignment; |
3757 } | 3807 } |
3758 if (direction != null) { | 3808 if (direction != null) { |
3759 _json["direction"] = direction; | 3809 _json["direction"] = direction; |
3760 } | 3810 } |
3761 if (indentEnd != null) { | 3811 if (indentEnd != null) { |
3762 _json["indentEnd"] = (indentEnd).toJson(); | 3812 _json["indentEnd"] = (indentEnd).toJson(); |
3763 } | 3813 } |
3764 if (indentFirstLine != null) { | 3814 if (indentFirstLine != null) { |
(...skipping 11 matching lines...) Expand all Loading... |
3776 if (spaceBelow != null) { | 3826 if (spaceBelow != null) { |
3777 _json["spaceBelow"] = (spaceBelow).toJson(); | 3827 _json["spaceBelow"] = (spaceBelow).toJson(); |
3778 } | 3828 } |
3779 if (spacingMode != null) { | 3829 if (spacingMode != null) { |
3780 _json["spacingMode"] = spacingMode; | 3830 _json["spacingMode"] = spacingMode; |
3781 } | 3831 } |
3782 return _json; | 3832 return _json; |
3783 } | 3833 } |
3784 } | 3834 } |
3785 | 3835 |
3786 /** | 3836 /// The placeholder information that uniquely identifies a placeholder shape. |
3787 * The placeholder information that uniquely identifies a placeholder shape. | |
3788 */ | |
3789 class Placeholder { | 3837 class Placeholder { |
3790 /** | 3838 /// The index of the placeholder. If the same placeholder types are present |
3791 * The index of the placeholder. If the same placeholder types are present in | 3839 /// in |
3792 * the same page, they would have different index values. | 3840 /// the same page, they would have different index values. |
3793 */ | |
3794 core.int index; | 3841 core.int index; |
3795 /** | 3842 |
3796 * The object ID of this shape's parent placeholder. | 3843 /// The object ID of this shape's parent placeholder. |
3797 * If unset, the parent placeholder shape does not exist, so the shape does | 3844 /// If unset, the parent placeholder shape does not exist, so the shape does |
3798 * not inherit properties from any other shape. | 3845 /// not inherit properties from any other shape. |
3799 */ | |
3800 core.String parentObjectId; | 3846 core.String parentObjectId; |
3801 /** | 3847 |
3802 * The type of the placeholder. | 3848 /// The type of the placeholder. |
3803 * Possible string values are: | 3849 /// Possible string values are: |
3804 * - "NONE" : Default value, signifies it is not a placeholder. | 3850 /// - "NONE" : Default value, signifies it is not a placeholder. |
3805 * - "BODY" : Body text. | 3851 /// - "BODY" : Body text. |
3806 * - "CHART" : Chart or graph. | 3852 /// - "CHART" : Chart or graph. |
3807 * - "CLIP_ART" : Clip art image. | 3853 /// - "CLIP_ART" : Clip art image. |
3808 * - "CENTERED_TITLE" : Title centered. | 3854 /// - "CENTERED_TITLE" : Title centered. |
3809 * - "DIAGRAM" : Diagram. | 3855 /// - "DIAGRAM" : Diagram. |
3810 * - "DATE_AND_TIME" : Date and time. | 3856 /// - "DATE_AND_TIME" : Date and time. |
3811 * - "FOOTER" : Footer text. | 3857 /// - "FOOTER" : Footer text. |
3812 * - "HEADER" : Header text. | 3858 /// - "HEADER" : Header text. |
3813 * - "MEDIA" : Multimedia. | 3859 /// - "MEDIA" : Multimedia. |
3814 * - "OBJECT" : Any content type. | 3860 /// - "OBJECT" : Any content type. |
3815 * - "PICTURE" : Picture. | 3861 /// - "PICTURE" : Picture. |
3816 * - "SLIDE_NUMBER" : Number of a slide. | 3862 /// - "SLIDE_NUMBER" : Number of a slide. |
3817 * - "SUBTITLE" : Subtitle. | 3863 /// - "SUBTITLE" : Subtitle. |
3818 * - "TABLE" : Table. | 3864 /// - "TABLE" : Table. |
3819 * - "TITLE" : Slide title. | 3865 /// - "TITLE" : Slide title. |
3820 * - "SLIDE_IMAGE" : Slide image. | 3866 /// - "SLIDE_IMAGE" : Slide image. |
3821 */ | |
3822 core.String type; | 3867 core.String type; |
3823 | 3868 |
3824 Placeholder(); | 3869 Placeholder(); |
3825 | 3870 |
3826 Placeholder.fromJson(core.Map _json) { | 3871 Placeholder.fromJson(core.Map _json) { |
3827 if (_json.containsKey("index")) { | 3872 if (_json.containsKey("index")) { |
3828 index = _json["index"]; | 3873 index = _json["index"]; |
3829 } | 3874 } |
3830 if (_json.containsKey("parentObjectId")) { | 3875 if (_json.containsKey("parentObjectId")) { |
3831 parentObjectId = _json["parentObjectId"]; | 3876 parentObjectId = _json["parentObjectId"]; |
3832 } | 3877 } |
3833 if (_json.containsKey("type")) { | 3878 if (_json.containsKey("type")) { |
3834 type = _json["type"]; | 3879 type = _json["type"]; |
3835 } | 3880 } |
3836 } | 3881 } |
3837 | 3882 |
3838 core.Map<core.String, core.Object> toJson() { | 3883 core.Map<core.String, core.Object> toJson() { |
3839 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 3884 final core.Map<core.String, core.Object> _json = |
| 3885 new core.Map<core.String, core.Object>(); |
3840 if (index != null) { | 3886 if (index != null) { |
3841 _json["index"] = index; | 3887 _json["index"] = index; |
3842 } | 3888 } |
3843 if (parentObjectId != null) { | 3889 if (parentObjectId != null) { |
3844 _json["parentObjectId"] = parentObjectId; | 3890 _json["parentObjectId"] = parentObjectId; |
3845 } | 3891 } |
3846 if (type != null) { | 3892 if (type != null) { |
3847 _json["type"] = type; | 3893 _json["type"] = type; |
3848 } | 3894 } |
3849 return _json; | 3895 return _json; |
3850 } | 3896 } |
3851 } | 3897 } |
3852 | 3898 |
3853 /** A Google Slides presentation. */ | 3899 /// A Google Slides presentation. |
3854 class Presentation { | 3900 class Presentation { |
3855 /** | 3901 /// The layouts in the presentation. A layout is a template that determines |
3856 * The layouts in the presentation. A layout is a template that determines | 3902 /// how content is arranged and styled on the slides that inherit from that |
3857 * how content is arranged and styled on the slides that inherit from that | 3903 /// layout. |
3858 * layout. | |
3859 */ | |
3860 core.List<Page> layouts; | 3904 core.List<Page> layouts; |
3861 /** The locale of the presentation, as an IETF BCP 47 language tag. */ | 3905 |
| 3906 /// The locale of the presentation, as an IETF BCP 47 language tag. |
3862 core.String locale; | 3907 core.String locale; |
3863 /** | 3908 |
3864 * The slide masters in the presentation. A slide master contains all common | 3909 /// The slide masters in the presentation. A slide master contains all common |
3865 * page elements and the common properties for a set of layouts. They serve | 3910 /// page elements and the common properties for a set of layouts. They serve |
3866 * three purposes: | 3911 /// three purposes: |
3867 * | 3912 /// |
3868 * - Placeholder shapes on a master contain the default text styles and shape | 3913 /// - Placeholder shapes on a master contain the default text styles and |
3869 * properties of all placeholder shapes on pages that use that master. | 3914 /// shape |
3870 * - The master page properties define the common page properties inherited by | 3915 /// properties of all placeholder shapes on pages that use that master. |
3871 * its layouts. | 3916 /// - The master page properties define the common page properties inherited |
3872 * - Any other shapes on the master slide will appear on all slides using that | 3917 /// by |
3873 * master, regardless of their layout. | 3918 /// its layouts. |
3874 */ | 3919 /// - Any other shapes on the master slide will appear on all slides using |
| 3920 /// that |
| 3921 /// master, regardless of their layout. |
3875 core.List<Page> masters; | 3922 core.List<Page> masters; |
3876 /** | 3923 |
3877 * The notes master in the presentation. It serves three purposes: | 3924 /// The notes master in the presentation. It serves three purposes: |
3878 * | 3925 /// |
3879 * - Placeholder shapes on a notes master contain the default text styles and | 3926 /// - Placeholder shapes on a notes master contain the default text styles |
3880 * shape properties of all placeholder shapes on notes pages. Specifically, | 3927 /// and |
3881 * a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a | 3928 /// shape properties of all placeholder shapes on notes pages. Specifically, |
3882 * `BODY` placeholder shape contains the speaker notes. | 3929 /// a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a |
3883 * - The notes master page properties define the common page properties | 3930 /// `BODY` placeholder shape contains the speaker notes. |
3884 * inherited by all notes pages. | 3931 /// - The notes master page properties define the common page properties |
3885 * - Any other shapes on the notes master will appear on all notes pages. | 3932 /// inherited by all notes pages. |
3886 * | 3933 /// - Any other shapes on the notes master will appear on all notes pages. |
3887 * The notes master is read-only. | 3934 /// |
3888 */ | 3935 /// The notes master is read-only. |
3889 Page notesMaster; | 3936 Page notesMaster; |
3890 /** The size of pages in the presentation. */ | 3937 |
| 3938 /// The size of pages in the presentation. |
3891 Size pageSize; | 3939 Size pageSize; |
3892 /** The ID of the presentation. */ | 3940 |
| 3941 /// The ID of the presentation. |
3893 core.String presentationId; | 3942 core.String presentationId; |
3894 /** | 3943 |
3895 * The revision ID of the presentation. Can be used in update requests | 3944 /// The revision ID of the presentation. Can be used in update requests |
3896 * to assert that the presentation revision hasn't changed since the last | 3945 /// to assert that the presentation revision hasn't changed since the last |
3897 * read operation. Only populated if the user has edit access to the | 3946 /// read operation. Only populated if the user has edit access to the |
3898 * presentation. | 3947 /// presentation. |
3899 * | 3948 /// |
3900 * The format of the revision ID may change over time, so it should be treated | 3949 /// The format of the revision ID may change over time, so it should be |
3901 * opaquely. A returned revision ID is only guaranteed to be valid for 24 | 3950 /// treated |
3902 * hours after it has been returned and cannot be shared across users. If the | 3951 /// opaquely. A returned revision ID is only guaranteed to be valid for 24 |
3903 * revision ID is unchanged between calls, then the presentation has not | 3952 /// hours after it has been returned and cannot be shared across users. If |
3904 * changed. Conversely, a changed ID (for the same presentation and user) | 3953 /// the |
3905 * usually means the presentation has been updated; however, a changed ID can | 3954 /// revision ID is unchanged between calls, then the presentation has not |
3906 * also be due to internal factors such as ID format changes. | 3955 /// changed. Conversely, a changed ID (for the same presentation and user) |
3907 */ | 3956 /// usually means the presentation has been updated; however, a changed ID |
| 3957 /// can |
| 3958 /// also be due to internal factors such as ID format changes. |
3908 core.String revisionId; | 3959 core.String revisionId; |
3909 /** | 3960 |
3910 * The slides in the presentation. | 3961 /// The slides in the presentation. |
3911 * A slide inherits properties from a slide layout. | 3962 /// A slide inherits properties from a slide layout. |
3912 */ | |
3913 core.List<Page> slides; | 3963 core.List<Page> slides; |
3914 /** The title of the presentation. */ | 3964 |
| 3965 /// The title of the presentation. |
3915 core.String title; | 3966 core.String title; |
3916 | 3967 |
3917 Presentation(); | 3968 Presentation(); |
3918 | 3969 |
3919 Presentation.fromJson(core.Map _json) { | 3970 Presentation.fromJson(core.Map _json) { |
3920 if (_json.containsKey("layouts")) { | 3971 if (_json.containsKey("layouts")) { |
3921 layouts = _json["layouts"].map((value) => new Page.fromJson(value)).toList
(); | 3972 layouts = |
| 3973 _json["layouts"].map((value) => new Page.fromJson(value)).toList(); |
3922 } | 3974 } |
3923 if (_json.containsKey("locale")) { | 3975 if (_json.containsKey("locale")) { |
3924 locale = _json["locale"]; | 3976 locale = _json["locale"]; |
3925 } | 3977 } |
3926 if (_json.containsKey("masters")) { | 3978 if (_json.containsKey("masters")) { |
3927 masters = _json["masters"].map((value) => new Page.fromJson(value)).toList
(); | 3979 masters = |
| 3980 _json["masters"].map((value) => new Page.fromJson(value)).toList(); |
3928 } | 3981 } |
3929 if (_json.containsKey("notesMaster")) { | 3982 if (_json.containsKey("notesMaster")) { |
3930 notesMaster = new Page.fromJson(_json["notesMaster"]); | 3983 notesMaster = new Page.fromJson(_json["notesMaster"]); |
3931 } | 3984 } |
3932 if (_json.containsKey("pageSize")) { | 3985 if (_json.containsKey("pageSize")) { |
3933 pageSize = new Size.fromJson(_json["pageSize"]); | 3986 pageSize = new Size.fromJson(_json["pageSize"]); |
3934 } | 3987 } |
3935 if (_json.containsKey("presentationId")) { | 3988 if (_json.containsKey("presentationId")) { |
3936 presentationId = _json["presentationId"]; | 3989 presentationId = _json["presentationId"]; |
3937 } | 3990 } |
3938 if (_json.containsKey("revisionId")) { | 3991 if (_json.containsKey("revisionId")) { |
3939 revisionId = _json["revisionId"]; | 3992 revisionId = _json["revisionId"]; |
3940 } | 3993 } |
3941 if (_json.containsKey("slides")) { | 3994 if (_json.containsKey("slides")) { |
3942 slides = _json["slides"].map((value) => new Page.fromJson(value)).toList()
; | 3995 slides = |
| 3996 _json["slides"].map((value) => new Page.fromJson(value)).toList(); |
3943 } | 3997 } |
3944 if (_json.containsKey("title")) { | 3998 if (_json.containsKey("title")) { |
3945 title = _json["title"]; | 3999 title = _json["title"]; |
3946 } | 4000 } |
3947 } | 4001 } |
3948 | 4002 |
3949 core.Map<core.String, core.Object> toJson() { | 4003 core.Map<core.String, core.Object> toJson() { |
3950 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4004 final core.Map<core.String, core.Object> _json = |
| 4005 new core.Map<core.String, core.Object>(); |
3951 if (layouts != null) { | 4006 if (layouts != null) { |
3952 _json["layouts"] = layouts.map((value) => (value).toJson()).toList(); | 4007 _json["layouts"] = layouts.map((value) => (value).toJson()).toList(); |
3953 } | 4008 } |
3954 if (locale != null) { | 4009 if (locale != null) { |
3955 _json["locale"] = locale; | 4010 _json["locale"] = locale; |
3956 } | 4011 } |
3957 if (masters != null) { | 4012 if (masters != null) { |
3958 _json["masters"] = masters.map((value) => (value).toJson()).toList(); | 4013 _json["masters"] = masters.map((value) => (value).toJson()).toList(); |
3959 } | 4014 } |
3960 if (notesMaster != null) { | 4015 if (notesMaster != null) { |
(...skipping 11 matching lines...) Expand all Loading... |
3972 if (slides != null) { | 4027 if (slides != null) { |
3973 _json["slides"] = slides.map((value) => (value).toJson()).toList(); | 4028 _json["slides"] = slides.map((value) => (value).toJson()).toList(); |
3974 } | 4029 } |
3975 if (title != null) { | 4030 if (title != null) { |
3976 _json["title"] = title; | 4031 _json["title"] = title; |
3977 } | 4032 } |
3978 return _json; | 4033 return _json; |
3979 } | 4034 } |
3980 } | 4035 } |
3981 | 4036 |
3982 /** | 4037 /// Specifies a contiguous range of an indexed collection, such as characters |
3983 * Specifies a contiguous range of an indexed collection, such as characters in | 4038 /// in |
3984 * text. | 4039 /// text. |
3985 */ | |
3986 class Range { | 4040 class Range { |
3987 /** | 4041 /// The optional zero-based index of the end of the collection. |
3988 * The optional zero-based index of the end of the collection. | 4042 /// Required for `FIXED_RANGE` ranges. |
3989 * Required for `FIXED_RANGE` ranges. | |
3990 */ | |
3991 core.int endIndex; | 4043 core.int endIndex; |
3992 /** | 4044 |
3993 * The optional zero-based index of the beginning of the collection. | 4045 /// The optional zero-based index of the beginning of the collection. |
3994 * Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. | 4046 /// Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. |
3995 */ | |
3996 core.int startIndex; | 4047 core.int startIndex; |
3997 /** | 4048 |
3998 * The type of range. | 4049 /// The type of range. |
3999 * Possible string values are: | 4050 /// Possible string values are: |
4000 * - "RANGE_TYPE_UNSPECIFIED" : Unspecified range type. This value must not be | 4051 /// - "RANGE_TYPE_UNSPECIFIED" : Unspecified range type. This value must not |
4001 * used. | 4052 /// be used. |
4002 * - "FIXED_RANGE" : A fixed range. Both the `start_index` and | 4053 /// - "FIXED_RANGE" : A fixed range. Both the `start_index` and |
4003 * `end_index` must be specified. | 4054 /// `end_index` must be specified. |
4004 * - "FROM_START_INDEX" : Starts the range at `start_index` and continues | 4055 /// - "FROM_START_INDEX" : Starts the range at `start_index` and continues |
4005 * until the | 4056 /// until the |
4006 * end of the collection. The `end_index` must not be specified. | 4057 /// end of the collection. The `end_index` must not be specified. |
4007 * - "ALL" : Sets the range to be the whole length of the collection. Both the | 4058 /// - "ALL" : Sets the range to be the whole length of the collection. Both |
4008 * `start_index` and the `end_index` must not be | 4059 /// the |
4009 * specified. | 4060 /// `start_index` and the `end_index` must not be |
4010 */ | 4061 /// specified. |
4011 core.String type; | 4062 core.String type; |
4012 | 4063 |
4013 Range(); | 4064 Range(); |
4014 | 4065 |
4015 Range.fromJson(core.Map _json) { | 4066 Range.fromJson(core.Map _json) { |
4016 if (_json.containsKey("endIndex")) { | 4067 if (_json.containsKey("endIndex")) { |
4017 endIndex = _json["endIndex"]; | 4068 endIndex = _json["endIndex"]; |
4018 } | 4069 } |
4019 if (_json.containsKey("startIndex")) { | 4070 if (_json.containsKey("startIndex")) { |
4020 startIndex = _json["startIndex"]; | 4071 startIndex = _json["startIndex"]; |
4021 } | 4072 } |
4022 if (_json.containsKey("type")) { | 4073 if (_json.containsKey("type")) { |
4023 type = _json["type"]; | 4074 type = _json["type"]; |
4024 } | 4075 } |
4025 } | 4076 } |
4026 | 4077 |
4027 core.Map<core.String, core.Object> toJson() { | 4078 core.Map<core.String, core.Object> toJson() { |
4028 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4079 final core.Map<core.String, core.Object> _json = |
| 4080 new core.Map<core.String, core.Object>(); |
4029 if (endIndex != null) { | 4081 if (endIndex != null) { |
4030 _json["endIndex"] = endIndex; | 4082 _json["endIndex"] = endIndex; |
4031 } | 4083 } |
4032 if (startIndex != null) { | 4084 if (startIndex != null) { |
4033 _json["startIndex"] = startIndex; | 4085 _json["startIndex"] = startIndex; |
4034 } | 4086 } |
4035 if (type != null) { | 4087 if (type != null) { |
4036 _json["type"] = type; | 4088 _json["type"] = type; |
4037 } | 4089 } |
4038 return _json; | 4090 return _json; |
4039 } | 4091 } |
4040 } | 4092 } |
4041 | 4093 |
4042 /** A recolor effect applied on an image. */ | 4094 /// A recolor effect applied on an image. |
4043 class Recolor { | 4095 class Recolor { |
4044 /** | 4096 /// The name of the recolor effect. |
4045 * The name of the recolor effect. | 4097 /// |
4046 * | 4098 /// The name is determined from the `recolor_stops` by matching the gradient |
4047 * The name is determined from the `recolor_stops` by matching the gradient | 4099 /// against the colors in the page's current color scheme. This property is |
4048 * against the colors in the page's current color scheme. This property is | 4100 /// read-only. |
4049 * read-only. | 4101 /// Possible string values are: |
4050 * Possible string values are: | 4102 /// - "NONE" : No recolor effect. The default value. |
4051 * - "NONE" : No recolor effect. The default value. | 4103 /// - "LIGHT1" : A recolor effect that lightens the image using the page's |
4052 * - "LIGHT1" : A recolor effect that lightens the image using the page's | 4104 /// first available |
4053 * first available | 4105 /// color from its color scheme. |
4054 * color from its color scheme. | 4106 /// - "LIGHT2" : A recolor effect that lightens the image using the page's |
4055 * - "LIGHT2" : A recolor effect that lightens the image using the page's | 4107 /// second |
4056 * second | 4108 /// available color from its color scheme. |
4057 * available color from its color scheme. | 4109 /// - "LIGHT3" : A recolor effect that lightens the image using the page's |
4058 * - "LIGHT3" : A recolor effect that lightens the image using the page's | 4110 /// third available |
4059 * third available | 4111 /// color from its color scheme. |
4060 * color from its color scheme. | 4112 /// - "LIGHT4" : A recolor effect that lightens the image using the page's |
4061 * - "LIGHT4" : A recolor effect that lightens the image using the page's | 4113 /// forth available |
4062 * forth available | 4114 /// color from its color scheme. |
4063 * color from its color scheme. | 4115 /// - "LIGHT5" : A recolor effect that lightens the image using the page's |
4064 * - "LIGHT5" : A recolor effect that lightens the image using the page's | 4116 /// fifth available |
4065 * fifth available | 4117 /// color from its color scheme. |
4066 * color from its color scheme. | 4118 /// - "LIGHT6" : A recolor effect that lightens the image using the page's |
4067 * - "LIGHT6" : A recolor effect that lightens the image using the page's | 4119 /// sixth available |
4068 * sixth available | 4120 /// color from its color scheme. |
4069 * color from its color scheme. | 4121 /// - "LIGHT7" : A recolor effect that lightens the image using the page's |
4070 * - "LIGHT7" : A recolor effect that lightens the image using the page's | 4122 /// seventh |
4071 * seventh | 4123 /// available color from its color scheme.e. |
4072 * available color from its color scheme.e. | 4124 /// - "LIGHT8" : A recolor effect that lightens the image using the page's |
4073 * - "LIGHT8" : A recolor effect that lightens the image using the page's | 4125 /// eighth |
4074 * eighth | 4126 /// available color from its color scheme. |
4075 * available color from its color scheme. | 4127 /// - "LIGHT9" : A recolor effect that lightens the image using the page's |
4076 * - "LIGHT9" : A recolor effect that lightens the image using the page's | 4128 /// ninth available |
4077 * ninth available | 4129 /// color from its color scheme. |
4078 * color from its color scheme. | 4130 /// - "LIGHT10" : A recolor effect that lightens the image using the page's |
4079 * - "LIGHT10" : A recolor effect that lightens the image using the page's | 4131 /// tenth available |
4080 * tenth available | 4132 /// color from its color scheme. |
4081 * color from its color scheme. | 4133 /// - "DARK1" : A recolor effect that darkens the image using the page's |
4082 * - "DARK1" : A recolor effect that darkens the image using the page's first | 4134 /// first available |
4083 * available | 4135 /// color from its color scheme. |
4084 * color from its color scheme. | 4136 /// - "DARK2" : A recolor effect that darkens the image using the page's |
4085 * - "DARK2" : A recolor effect that darkens the image using the page's second | 4137 /// second available |
4086 * available | 4138 /// color from its color scheme. |
4087 * color from its color scheme. | 4139 /// - "DARK3" : A recolor effect that darkens the image using the page's |
4088 * - "DARK3" : A recolor effect that darkens the image using the page's third | 4140 /// third available |
4089 * available | 4141 /// color from its color scheme. |
4090 * color from its color scheme. | 4142 /// - "DARK4" : A recolor effect that darkens the image using the page's |
4091 * - "DARK4" : A recolor effect that darkens the image using the page's fourth | 4143 /// fourth available |
4092 * available | 4144 /// color from its color scheme. |
4093 * color from its color scheme. | 4145 /// - "DARK5" : A recolor effect that darkens the image using the page's |
4094 * - "DARK5" : A recolor effect that darkens the image using the page's fifth | 4146 /// fifth available |
4095 * available | 4147 /// color from its color scheme. |
4096 * color from its color scheme. | 4148 /// - "DARK6" : A recolor effect that darkens the image using the page's |
4097 * - "DARK6" : A recolor effect that darkens the image using the page's sixth | 4149 /// sixth available |
4098 * available | 4150 /// color from its color scheme. |
4099 * color from its color scheme. | 4151 /// - "DARK7" : A recolor effect that darkens the image using the page's |
4100 * - "DARK7" : A recolor effect that darkens the image using the page's | 4152 /// seventh |
4101 * seventh | 4153 /// available color from its color scheme. |
4102 * available color from its color scheme. | 4154 /// - "DARK8" : A recolor effect that darkens the image using the page's |
4103 * - "DARK8" : A recolor effect that darkens the image using the page's eighth | 4155 /// eighth available |
4104 * available | 4156 /// color from its color scheme. |
4105 * color from its color scheme. | 4157 /// - "DARK9" : A recolor effect that darkens the image using the page's |
4106 * - "DARK9" : A recolor effect that darkens the image using the page's ninth | 4158 /// ninth available |
4107 * available | 4159 /// color from its color scheme. |
4108 * color from its color scheme. | 4160 /// - "DARK10" : A recolor effect that darkens the image using the page's |
4109 * - "DARK10" : A recolor effect that darkens the image using the page's tenth | 4161 /// tenth available |
4110 * available | 4162 /// color from its color scheme. |
4111 * color from its color scheme. | 4163 /// - "GRAYSCALE" : A recolor effect that recolors the image to grayscale. |
4112 * - "GRAYSCALE" : A recolor effect that recolors the image to grayscale. | 4164 /// - "NEGATIVE" : A recolor effect that recolors the image to negative |
4113 * - "NEGATIVE" : A recolor effect that recolors the image to negative | 4165 /// grayscale. |
4114 * grayscale. | 4166 /// - "SEPIA" : A recolor effect that recolors the image using the sepia |
4115 * - "SEPIA" : A recolor effect that recolors the image using the sepia color. | 4167 /// color. |
4116 * - "CUSTOM" : Custom recolor effect. Refer to `recolor_stops` for the | 4168 /// - "CUSTOM" : Custom recolor effect. Refer to `recolor_stops` for the |
4117 * concrete | 4169 /// concrete |
4118 * gradient. | 4170 /// gradient. |
4119 */ | |
4120 core.String name; | 4171 core.String name; |
4121 /** | 4172 |
4122 * The recolor effect is represented by a gradient, which is a list of color | 4173 /// The recolor effect is represented by a gradient, which is a list of color |
4123 * stops. | 4174 /// stops. |
4124 * | 4175 /// |
4125 * The colors in the gradient will replace the corresponding colors at | 4176 /// The colors in the gradient will replace the corresponding colors at |
4126 * the same position in the color palette and apply to the image. This | 4177 /// the same position in the color palette and apply to the image. This |
4127 * property is read-only. | 4178 /// property is read-only. |
4128 */ | |
4129 core.List<ColorStop> recolorStops; | 4179 core.List<ColorStop> recolorStops; |
4130 | 4180 |
4131 Recolor(); | 4181 Recolor(); |
4132 | 4182 |
4133 Recolor.fromJson(core.Map _json) { | 4183 Recolor.fromJson(core.Map _json) { |
4134 if (_json.containsKey("name")) { | 4184 if (_json.containsKey("name")) { |
4135 name = _json["name"]; | 4185 name = _json["name"]; |
4136 } | 4186 } |
4137 if (_json.containsKey("recolorStops")) { | 4187 if (_json.containsKey("recolorStops")) { |
4138 recolorStops = _json["recolorStops"].map((value) => new ColorStop.fromJson
(value)).toList(); | 4188 recolorStops = _json["recolorStops"] |
| 4189 .map((value) => new ColorStop.fromJson(value)) |
| 4190 .toList(); |
4139 } | 4191 } |
4140 } | 4192 } |
4141 | 4193 |
4142 core.Map<core.String, core.Object> toJson() { | 4194 core.Map<core.String, core.Object> toJson() { |
4143 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4195 final core.Map<core.String, core.Object> _json = |
| 4196 new core.Map<core.String, core.Object>(); |
4144 if (name != null) { | 4197 if (name != null) { |
4145 _json["name"] = name; | 4198 _json["name"] = name; |
4146 } | 4199 } |
4147 if (recolorStops != null) { | 4200 if (recolorStops != null) { |
4148 _json["recolorStops"] = recolorStops.map((value) => (value).toJson()).toLi
st(); | 4201 _json["recolorStops"] = |
| 4202 recolorStops.map((value) => (value).toJson()).toList(); |
4149 } | 4203 } |
4150 return _json; | 4204 return _json; |
4151 } | 4205 } |
4152 } | 4206 } |
4153 | 4207 |
4154 /** | 4208 /// Refreshes an embedded Google Sheets chart by replacing it with the latest |
4155 * Refreshes an embedded Google Sheets chart by replacing it with the latest | 4209 /// version of the chart from Google Sheets. |
4156 * version of the chart from Google Sheets. | 4210 /// |
4157 * | 4211 /// NOTE: Refreshing charts requires at least one of the |
4158 * NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, | 4212 /// spreadsheets.readonly, |
4159 * spreadsheets, drive.readonly, or drive OAuth scopes. | 4213 /// spreadsheets, drive.readonly, or drive OAuth scopes. |
4160 */ | |
4161 class RefreshSheetsChartRequest { | 4214 class RefreshSheetsChartRequest { |
4162 /** The object ID of the chart to refresh. */ | 4215 /// The object ID of the chart to refresh. |
4163 core.String objectId; | 4216 core.String objectId; |
4164 | 4217 |
4165 RefreshSheetsChartRequest(); | 4218 RefreshSheetsChartRequest(); |
4166 | 4219 |
4167 RefreshSheetsChartRequest.fromJson(core.Map _json) { | 4220 RefreshSheetsChartRequest.fromJson(core.Map _json) { |
4168 if (_json.containsKey("objectId")) { | 4221 if (_json.containsKey("objectId")) { |
4169 objectId = _json["objectId"]; | 4222 objectId = _json["objectId"]; |
4170 } | 4223 } |
4171 } | 4224 } |
4172 | 4225 |
4173 core.Map<core.String, core.Object> toJson() { | 4226 core.Map<core.String, core.Object> toJson() { |
4174 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4227 final core.Map<core.String, core.Object> _json = |
| 4228 new core.Map<core.String, core.Object>(); |
4175 if (objectId != null) { | 4229 if (objectId != null) { |
4176 _json["objectId"] = objectId; | 4230 _json["objectId"] = objectId; |
4177 } | 4231 } |
4178 return _json; | 4232 return _json; |
4179 } | 4233 } |
4180 } | 4234 } |
4181 | 4235 |
4182 /** | 4236 /// Replaces all shapes that match the given criteria with the provided image. |
4183 * Replaces all shapes that match the given criteria with the provided image. | |
4184 */ | |
4185 class ReplaceAllShapesWithImageRequest { | 4237 class ReplaceAllShapesWithImageRequest { |
4186 /** | 4238 /// If set, this request will replace all of the shapes that contain the |
4187 * If set, this request will replace all of the shapes that contain the | 4239 /// given text. |
4188 * given text. | |
4189 */ | |
4190 SubstringMatchCriteria containsText; | 4240 SubstringMatchCriteria containsText; |
4191 /** | 4241 |
4192 * The image URL. | 4242 /// The image URL. |
4193 * | 4243 /// |
4194 * The image is fetched once at insertion time and a copy is stored for | 4244 /// The image is fetched once at insertion time and a copy is stored for |
4195 * display inside the presentation. Images must be less than 50MB in size, | 4245 /// display inside the presentation. Images must be less than 50MB in size, |
4196 * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF | 4246 /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF |
4197 * format. | 4247 /// format. |
4198 */ | 4248 /// |
| 4249 /// The provided URL can be at maximum 2K bytes large. |
4199 core.String imageUrl; | 4250 core.String imageUrl; |
4200 /** | 4251 |
4201 * If non-empty, limits the matches to page elements only on the given pages. | 4252 /// If non-empty, limits the matches to page elements only on the given |
4202 * | 4253 /// pages. |
4203 * Returns a 400 bad request error if given the page object ID of a | 4254 /// |
4204 * notes page or a | 4255 /// Returns a 400 bad request error if given the page object ID of a |
4205 * notes master, or if a | 4256 /// notes page or a |
4206 * page with that object ID doesn't exist in the presentation. | 4257 /// notes master, or if a |
4207 */ | 4258 /// page with that object ID doesn't exist in the presentation. |
4208 core.List<core.String> pageObjectIds; | 4259 core.List<core.String> pageObjectIds; |
4209 /** | 4260 |
4210 * The replace method. | 4261 /// The replace method. |
4211 * Possible string values are: | 4262 /// Possible string values are: |
4212 * - "CENTER_INSIDE" : Scales and centers the image to fit within the bounds | 4263 /// - "CENTER_INSIDE" : Scales and centers the image to fit within the bounds |
4213 * of the original | 4264 /// of the original |
4214 * shape and maintains the image's aspect ratio. The rendered size of the | 4265 /// shape and maintains the image's aspect ratio. The rendered size of the |
4215 * image may be smaller than the size of the shape. This is the default | 4266 /// image may be smaller than the size of the shape. This is the default |
4216 * method when one is not specified. | 4267 /// method when one is not specified. |
4217 * - "CENTER_CROP" : Scales and centers the image to fill the bounds of the | 4268 /// - "CENTER_CROP" : Scales and centers the image to fill the bounds of the |
4218 * original shape. | 4269 /// original shape. |
4219 * The image may be cropped in order to fill the shape. The rendered size of | 4270 /// The image may be cropped in order to fill the shape. The rendered size of |
4220 * the image will be the same as that of the original shape. | 4271 /// the image will be the same as that of the original shape. |
4221 */ | |
4222 core.String replaceMethod; | 4272 core.String replaceMethod; |
4223 | 4273 |
4224 ReplaceAllShapesWithImageRequest(); | 4274 ReplaceAllShapesWithImageRequest(); |
4225 | 4275 |
4226 ReplaceAllShapesWithImageRequest.fromJson(core.Map _json) { | 4276 ReplaceAllShapesWithImageRequest.fromJson(core.Map _json) { |
4227 if (_json.containsKey("containsText")) { | 4277 if (_json.containsKey("containsText")) { |
4228 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); | 4278 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); |
4229 } | 4279 } |
4230 if (_json.containsKey("imageUrl")) { | 4280 if (_json.containsKey("imageUrl")) { |
4231 imageUrl = _json["imageUrl"]; | 4281 imageUrl = _json["imageUrl"]; |
4232 } | 4282 } |
4233 if (_json.containsKey("pageObjectIds")) { | 4283 if (_json.containsKey("pageObjectIds")) { |
4234 pageObjectIds = _json["pageObjectIds"]; | 4284 pageObjectIds = _json["pageObjectIds"]; |
4235 } | 4285 } |
4236 if (_json.containsKey("replaceMethod")) { | 4286 if (_json.containsKey("replaceMethod")) { |
4237 replaceMethod = _json["replaceMethod"]; | 4287 replaceMethod = _json["replaceMethod"]; |
4238 } | 4288 } |
4239 } | 4289 } |
4240 | 4290 |
4241 core.Map<core.String, core.Object> toJson() { | 4291 core.Map<core.String, core.Object> toJson() { |
4242 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4292 final core.Map<core.String, core.Object> _json = |
| 4293 new core.Map<core.String, core.Object>(); |
4243 if (containsText != null) { | 4294 if (containsText != null) { |
4244 _json["containsText"] = (containsText).toJson(); | 4295 _json["containsText"] = (containsText).toJson(); |
4245 } | 4296 } |
4246 if (imageUrl != null) { | 4297 if (imageUrl != null) { |
4247 _json["imageUrl"] = imageUrl; | 4298 _json["imageUrl"] = imageUrl; |
4248 } | 4299 } |
4249 if (pageObjectIds != null) { | 4300 if (pageObjectIds != null) { |
4250 _json["pageObjectIds"] = pageObjectIds; | 4301 _json["pageObjectIds"] = pageObjectIds; |
4251 } | 4302 } |
4252 if (replaceMethod != null) { | 4303 if (replaceMethod != null) { |
4253 _json["replaceMethod"] = replaceMethod; | 4304 _json["replaceMethod"] = replaceMethod; |
4254 } | 4305 } |
4255 return _json; | 4306 return _json; |
4256 } | 4307 } |
4257 } | 4308 } |
4258 | 4309 |
4259 /** The result of replacing shapes with an image. */ | 4310 /// The result of replacing shapes with an image. |
4260 class ReplaceAllShapesWithImageResponse { | 4311 class ReplaceAllShapesWithImageResponse { |
4261 /** The number of shapes replaced with images. */ | 4312 /// The number of shapes replaced with images. |
4262 core.int occurrencesChanged; | 4313 core.int occurrencesChanged; |
4263 | 4314 |
4264 ReplaceAllShapesWithImageResponse(); | 4315 ReplaceAllShapesWithImageResponse(); |
4265 | 4316 |
4266 ReplaceAllShapesWithImageResponse.fromJson(core.Map _json) { | 4317 ReplaceAllShapesWithImageResponse.fromJson(core.Map _json) { |
4267 if (_json.containsKey("occurrencesChanged")) { | 4318 if (_json.containsKey("occurrencesChanged")) { |
4268 occurrencesChanged = _json["occurrencesChanged"]; | 4319 occurrencesChanged = _json["occurrencesChanged"]; |
4269 } | 4320 } |
4270 } | 4321 } |
4271 | 4322 |
4272 core.Map<core.String, core.Object> toJson() { | 4323 core.Map<core.String, core.Object> toJson() { |
4273 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4324 final core.Map<core.String, core.Object> _json = |
| 4325 new core.Map<core.String, core.Object>(); |
4274 if (occurrencesChanged != null) { | 4326 if (occurrencesChanged != null) { |
4275 _json["occurrencesChanged"] = occurrencesChanged; | 4327 _json["occurrencesChanged"] = occurrencesChanged; |
4276 } | 4328 } |
4277 return _json; | 4329 return _json; |
4278 } | 4330 } |
4279 } | 4331 } |
4280 | 4332 |
4281 /** | 4333 /// Replaces all shapes that match the given criteria with the provided Google |
4282 * Replaces all shapes that match the given criteria with the provided Google | 4334 /// Sheets chart. The chart will be scaled and centered to fit within the |
4283 * Sheets chart. The chart will be scaled and centered to fit within the bounds | 4335 /// bounds |
4284 * of the original shape. | 4336 /// of the original shape. |
4285 * | 4337 /// |
4286 * NOTE: Replacing shapes with a chart requires at least one of the | 4338 /// NOTE: Replacing shapes with a chart requires at least one of the |
4287 * spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. | 4339 /// spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. |
4288 */ | |
4289 class ReplaceAllShapesWithSheetsChartRequest { | 4340 class ReplaceAllShapesWithSheetsChartRequest { |
4290 /** The ID of the specific chart in the Google Sheets spreadsheet. */ | 4341 /// The ID of the specific chart in the Google Sheets spreadsheet. |
4291 core.int chartId; | 4342 core.int chartId; |
4292 /** | 4343 |
4293 * The criteria that the shapes must match in order to be replaced. The | 4344 /// The criteria that the shapes must match in order to be replaced. The |
4294 * request will replace all of the shapes that contain the given text. | 4345 /// request will replace all of the shapes that contain the given text. |
4295 */ | |
4296 SubstringMatchCriteria containsText; | 4346 SubstringMatchCriteria containsText; |
4297 /** | 4347 |
4298 * The mode with which the chart is linked to the source spreadsheet. When | 4348 /// The mode with which the chart is linked to the source spreadsheet. When |
4299 * not specified, the chart will be an image that is not linked. | 4349 /// not specified, the chart will be an image that is not linked. |
4300 * Possible string values are: | 4350 /// Possible string values are: |
4301 * - "NOT_LINKED_IMAGE" : The chart is not associated with the source | 4351 /// - "NOT_LINKED_IMAGE" : The chart is not associated with the source |
4302 * spreadsheet and cannot be | 4352 /// spreadsheet and cannot be |
4303 * updated. A chart that is not linked will be inserted as an image. | 4353 /// updated. A chart that is not linked will be inserted as an image. |
4304 * - "LINKED" : Linking the chart allows it to be updated, and other | 4354 /// - "LINKED" : Linking the chart allows it to be updated, and other |
4305 * collaborators will | 4355 /// collaborators will |
4306 * see a link to the spreadsheet. | 4356 /// see a link to the spreadsheet. |
4307 */ | |
4308 core.String linkingMode; | 4357 core.String linkingMode; |
4309 /** | 4358 |
4310 * If non-empty, limits the matches to page elements only on the given pages. | 4359 /// If non-empty, limits the matches to page elements only on the given |
4311 * | 4360 /// pages. |
4312 * Returns a 400 bad request error if given the page object ID of a | 4361 /// |
4313 * notes page or a | 4362 /// Returns a 400 bad request error if given the page object ID of a |
4314 * notes master, or if a | 4363 /// notes page or a |
4315 * page with that object ID doesn't exist in the presentation. | 4364 /// notes master, or if a |
4316 */ | 4365 /// page with that object ID doesn't exist in the presentation. |
4317 core.List<core.String> pageObjectIds; | 4366 core.List<core.String> pageObjectIds; |
4318 /** The ID of the Google Sheets spreadsheet that contains the chart. */ | 4367 |
| 4368 /// The ID of the Google Sheets spreadsheet that contains the chart. |
4319 core.String spreadsheetId; | 4369 core.String spreadsheetId; |
4320 | 4370 |
4321 ReplaceAllShapesWithSheetsChartRequest(); | 4371 ReplaceAllShapesWithSheetsChartRequest(); |
4322 | 4372 |
4323 ReplaceAllShapesWithSheetsChartRequest.fromJson(core.Map _json) { | 4373 ReplaceAllShapesWithSheetsChartRequest.fromJson(core.Map _json) { |
4324 if (_json.containsKey("chartId")) { | 4374 if (_json.containsKey("chartId")) { |
4325 chartId = _json["chartId"]; | 4375 chartId = _json["chartId"]; |
4326 } | 4376 } |
4327 if (_json.containsKey("containsText")) { | 4377 if (_json.containsKey("containsText")) { |
4328 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); | 4378 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); |
4329 } | 4379 } |
4330 if (_json.containsKey("linkingMode")) { | 4380 if (_json.containsKey("linkingMode")) { |
4331 linkingMode = _json["linkingMode"]; | 4381 linkingMode = _json["linkingMode"]; |
4332 } | 4382 } |
4333 if (_json.containsKey("pageObjectIds")) { | 4383 if (_json.containsKey("pageObjectIds")) { |
4334 pageObjectIds = _json["pageObjectIds"]; | 4384 pageObjectIds = _json["pageObjectIds"]; |
4335 } | 4385 } |
4336 if (_json.containsKey("spreadsheetId")) { | 4386 if (_json.containsKey("spreadsheetId")) { |
4337 spreadsheetId = _json["spreadsheetId"]; | 4387 spreadsheetId = _json["spreadsheetId"]; |
4338 } | 4388 } |
4339 } | 4389 } |
4340 | 4390 |
4341 core.Map<core.String, core.Object> toJson() { | 4391 core.Map<core.String, core.Object> toJson() { |
4342 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4392 final core.Map<core.String, core.Object> _json = |
| 4393 new core.Map<core.String, core.Object>(); |
4343 if (chartId != null) { | 4394 if (chartId != null) { |
4344 _json["chartId"] = chartId; | 4395 _json["chartId"] = chartId; |
4345 } | 4396 } |
4346 if (containsText != null) { | 4397 if (containsText != null) { |
4347 _json["containsText"] = (containsText).toJson(); | 4398 _json["containsText"] = (containsText).toJson(); |
4348 } | 4399 } |
4349 if (linkingMode != null) { | 4400 if (linkingMode != null) { |
4350 _json["linkingMode"] = linkingMode; | 4401 _json["linkingMode"] = linkingMode; |
4351 } | 4402 } |
4352 if (pageObjectIds != null) { | 4403 if (pageObjectIds != null) { |
4353 _json["pageObjectIds"] = pageObjectIds; | 4404 _json["pageObjectIds"] = pageObjectIds; |
4354 } | 4405 } |
4355 if (spreadsheetId != null) { | 4406 if (spreadsheetId != null) { |
4356 _json["spreadsheetId"] = spreadsheetId; | 4407 _json["spreadsheetId"] = spreadsheetId; |
4357 } | 4408 } |
4358 return _json; | 4409 return _json; |
4359 } | 4410 } |
4360 } | 4411 } |
4361 | 4412 |
4362 /** The result of replacing shapes with a Google Sheets chart. */ | 4413 /// The result of replacing shapes with a Google Sheets chart. |
4363 class ReplaceAllShapesWithSheetsChartResponse { | 4414 class ReplaceAllShapesWithSheetsChartResponse { |
4364 /** The number of shapes replaced with charts. */ | 4415 /// The number of shapes replaced with charts. |
4365 core.int occurrencesChanged; | 4416 core.int occurrencesChanged; |
4366 | 4417 |
4367 ReplaceAllShapesWithSheetsChartResponse(); | 4418 ReplaceAllShapesWithSheetsChartResponse(); |
4368 | 4419 |
4369 ReplaceAllShapesWithSheetsChartResponse.fromJson(core.Map _json) { | 4420 ReplaceAllShapesWithSheetsChartResponse.fromJson(core.Map _json) { |
4370 if (_json.containsKey("occurrencesChanged")) { | 4421 if (_json.containsKey("occurrencesChanged")) { |
4371 occurrencesChanged = _json["occurrencesChanged"]; | 4422 occurrencesChanged = _json["occurrencesChanged"]; |
4372 } | 4423 } |
4373 } | 4424 } |
4374 | 4425 |
4375 core.Map<core.String, core.Object> toJson() { | 4426 core.Map<core.String, core.Object> toJson() { |
4376 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4427 final core.Map<core.String, core.Object> _json = |
| 4428 new core.Map<core.String, core.Object>(); |
4377 if (occurrencesChanged != null) { | 4429 if (occurrencesChanged != null) { |
4378 _json["occurrencesChanged"] = occurrencesChanged; | 4430 _json["occurrencesChanged"] = occurrencesChanged; |
4379 } | 4431 } |
4380 return _json; | 4432 return _json; |
4381 } | 4433 } |
4382 } | 4434 } |
4383 | 4435 |
4384 /** Replaces all instances of text matching a criteria with replace text. */ | 4436 /// Replaces all instances of text matching a criteria with replace text. |
4385 class ReplaceAllTextRequest { | 4437 class ReplaceAllTextRequest { |
4386 /** Finds text in a shape matching this substring. */ | 4438 /// Finds text in a shape matching this substring. |
4387 SubstringMatchCriteria containsText; | 4439 SubstringMatchCriteria containsText; |
4388 /** | 4440 |
4389 * If non-empty, limits the matches to page elements only on the given pages. | 4441 /// If non-empty, limits the matches to page elements only on the given |
4390 * | 4442 /// pages. |
4391 * Returns a 400 bad request error if given the page object ID of a | 4443 /// |
4392 * notes master, | 4444 /// Returns a 400 bad request error if given the page object ID of a |
4393 * or if a page with that object ID doesn't exist in the presentation. | 4445 /// notes master, |
4394 */ | 4446 /// or if a page with that object ID doesn't exist in the presentation. |
4395 core.List<core.String> pageObjectIds; | 4447 core.List<core.String> pageObjectIds; |
4396 /** The text that will replace the matched text. */ | 4448 |
| 4449 /// The text that will replace the matched text. |
4397 core.String replaceText; | 4450 core.String replaceText; |
4398 | 4451 |
4399 ReplaceAllTextRequest(); | 4452 ReplaceAllTextRequest(); |
4400 | 4453 |
4401 ReplaceAllTextRequest.fromJson(core.Map _json) { | 4454 ReplaceAllTextRequest.fromJson(core.Map _json) { |
4402 if (_json.containsKey("containsText")) { | 4455 if (_json.containsKey("containsText")) { |
4403 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); | 4456 containsText = new SubstringMatchCriteria.fromJson(_json["containsText"]); |
4404 } | 4457 } |
4405 if (_json.containsKey("pageObjectIds")) { | 4458 if (_json.containsKey("pageObjectIds")) { |
4406 pageObjectIds = _json["pageObjectIds"]; | 4459 pageObjectIds = _json["pageObjectIds"]; |
4407 } | 4460 } |
4408 if (_json.containsKey("replaceText")) { | 4461 if (_json.containsKey("replaceText")) { |
4409 replaceText = _json["replaceText"]; | 4462 replaceText = _json["replaceText"]; |
4410 } | 4463 } |
4411 } | 4464 } |
4412 | 4465 |
4413 core.Map<core.String, core.Object> toJson() { | 4466 core.Map<core.String, core.Object> toJson() { |
4414 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4467 final core.Map<core.String, core.Object> _json = |
| 4468 new core.Map<core.String, core.Object>(); |
4415 if (containsText != null) { | 4469 if (containsText != null) { |
4416 _json["containsText"] = (containsText).toJson(); | 4470 _json["containsText"] = (containsText).toJson(); |
4417 } | 4471 } |
4418 if (pageObjectIds != null) { | 4472 if (pageObjectIds != null) { |
4419 _json["pageObjectIds"] = pageObjectIds; | 4473 _json["pageObjectIds"] = pageObjectIds; |
4420 } | 4474 } |
4421 if (replaceText != null) { | 4475 if (replaceText != null) { |
4422 _json["replaceText"] = replaceText; | 4476 _json["replaceText"] = replaceText; |
4423 } | 4477 } |
4424 return _json; | 4478 return _json; |
4425 } | 4479 } |
4426 } | 4480 } |
4427 | 4481 |
4428 /** The result of replacing text. */ | 4482 /// The result of replacing text. |
4429 class ReplaceAllTextResponse { | 4483 class ReplaceAllTextResponse { |
4430 /** The number of occurrences changed by replacing all text. */ | 4484 /// The number of occurrences changed by replacing all text. |
4431 core.int occurrencesChanged; | 4485 core.int occurrencesChanged; |
4432 | 4486 |
4433 ReplaceAllTextResponse(); | 4487 ReplaceAllTextResponse(); |
4434 | 4488 |
4435 ReplaceAllTextResponse.fromJson(core.Map _json) { | 4489 ReplaceAllTextResponse.fromJson(core.Map _json) { |
4436 if (_json.containsKey("occurrencesChanged")) { | 4490 if (_json.containsKey("occurrencesChanged")) { |
4437 occurrencesChanged = _json["occurrencesChanged"]; | 4491 occurrencesChanged = _json["occurrencesChanged"]; |
4438 } | 4492 } |
4439 } | 4493 } |
4440 | 4494 |
4441 core.Map<core.String, core.Object> toJson() { | 4495 core.Map<core.String, core.Object> toJson() { |
4442 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4496 final core.Map<core.String, core.Object> _json = |
| 4497 new core.Map<core.String, core.Object>(); |
4443 if (occurrencesChanged != null) { | 4498 if (occurrencesChanged != null) { |
4444 _json["occurrencesChanged"] = occurrencesChanged; | 4499 _json["occurrencesChanged"] = occurrencesChanged; |
4445 } | 4500 } |
4446 return _json; | 4501 return _json; |
4447 } | 4502 } |
4448 } | 4503 } |
4449 | 4504 |
4450 /** A single kind of update to apply to a presentation. */ | 4505 /// A single kind of update to apply to a presentation. |
4451 class Request { | 4506 class Request { |
4452 /** Creates an image. */ | 4507 /// Creates an image. |
4453 CreateImageRequest createImage; | 4508 CreateImageRequest createImage; |
4454 /** Creates a line. */ | 4509 |
| 4510 /// Creates a line. |
4455 CreateLineRequest createLine; | 4511 CreateLineRequest createLine; |
4456 /** Creates bullets for paragraphs. */ | 4512 |
| 4513 /// Creates bullets for paragraphs. |
4457 CreateParagraphBulletsRequest createParagraphBullets; | 4514 CreateParagraphBulletsRequest createParagraphBullets; |
4458 /** Creates a new shape. */ | 4515 |
| 4516 /// Creates a new shape. |
4459 CreateShapeRequest createShape; | 4517 CreateShapeRequest createShape; |
4460 /** Creates an embedded Google Sheets chart. */ | 4518 |
| 4519 /// Creates an embedded Google Sheets chart. |
4461 CreateSheetsChartRequest createSheetsChart; | 4520 CreateSheetsChartRequest createSheetsChart; |
4462 /** Creates a new slide. */ | 4521 |
| 4522 /// Creates a new slide. |
4463 CreateSlideRequest createSlide; | 4523 CreateSlideRequest createSlide; |
4464 /** Creates a new table. */ | 4524 |
| 4525 /// Creates a new table. |
4465 CreateTableRequest createTable; | 4526 CreateTableRequest createTable; |
4466 /** Creates a video. */ | 4527 |
| 4528 /// Creates a video. |
4467 CreateVideoRequest createVideo; | 4529 CreateVideoRequest createVideo; |
4468 /** Deletes a page or page element from the presentation. */ | 4530 |
| 4531 /// Deletes a page or page element from the presentation. |
4469 DeleteObjectRequest deleteObject; | 4532 DeleteObjectRequest deleteObject; |
4470 /** Deletes bullets from paragraphs. */ | 4533 |
| 4534 /// Deletes bullets from paragraphs. |
4471 DeleteParagraphBulletsRequest deleteParagraphBullets; | 4535 DeleteParagraphBulletsRequest deleteParagraphBullets; |
4472 /** Deletes a column from a table. */ | 4536 |
| 4537 /// Deletes a column from a table. |
4473 DeleteTableColumnRequest deleteTableColumn; | 4538 DeleteTableColumnRequest deleteTableColumn; |
4474 /** Deletes a row from a table. */ | 4539 |
| 4540 /// Deletes a row from a table. |
4475 DeleteTableRowRequest deleteTableRow; | 4541 DeleteTableRowRequest deleteTableRow; |
4476 /** Deletes text from a shape or a table cell. */ | 4542 |
| 4543 /// Deletes text from a shape or a table cell. |
4477 DeleteTextRequest deleteText; | 4544 DeleteTextRequest deleteText; |
4478 /** Duplicates a slide or page element. */ | 4545 |
| 4546 /// Duplicates a slide or page element. |
4479 DuplicateObjectRequest duplicateObject; | 4547 DuplicateObjectRequest duplicateObject; |
4480 /** Inserts columns into a table. */ | 4548 |
| 4549 /// Inserts columns into a table. |
4481 InsertTableColumnsRequest insertTableColumns; | 4550 InsertTableColumnsRequest insertTableColumns; |
4482 /** Inserts rows into a table. */ | 4551 |
| 4552 /// Inserts rows into a table. |
4483 InsertTableRowsRequest insertTableRows; | 4553 InsertTableRowsRequest insertTableRows; |
4484 /** Inserts text into a shape or table cell. */ | 4554 |
| 4555 /// Inserts text into a shape or table cell. |
4485 InsertTextRequest insertText; | 4556 InsertTextRequest insertText; |
4486 /** Refreshes a Google Sheets chart. */ | 4557 |
| 4558 /// Refreshes a Google Sheets chart. |
4487 RefreshSheetsChartRequest refreshSheetsChart; | 4559 RefreshSheetsChartRequest refreshSheetsChart; |
4488 /** Replaces all shapes matching some criteria with an image. */ | 4560 |
| 4561 /// Replaces all shapes matching some criteria with an image. |
4489 ReplaceAllShapesWithImageRequest replaceAllShapesWithImage; | 4562 ReplaceAllShapesWithImageRequest replaceAllShapesWithImage; |
4490 /** Replaces all shapes matching some criteria with a Google Sheets chart. */ | 4563 |
| 4564 /// Replaces all shapes matching some criteria with a Google Sheets chart. |
4491 ReplaceAllShapesWithSheetsChartRequest replaceAllShapesWithSheetsChart; | 4565 ReplaceAllShapesWithSheetsChartRequest replaceAllShapesWithSheetsChart; |
4492 /** Replaces all instances of specified text. */ | 4566 |
| 4567 /// Replaces all instances of specified text. |
4493 ReplaceAllTextRequest replaceAllText; | 4568 ReplaceAllTextRequest replaceAllText; |
4494 /** Updates the properties of an Image. */ | 4569 |
| 4570 /// Updates the properties of an Image. |
4495 UpdateImagePropertiesRequest updateImageProperties; | 4571 UpdateImagePropertiesRequest updateImageProperties; |
4496 /** Updates the properties of a Line. */ | 4572 |
| 4573 /// Updates the properties of a Line. |
4497 UpdateLinePropertiesRequest updateLineProperties; | 4574 UpdateLinePropertiesRequest updateLineProperties; |
4498 /** Updates the transform of a page element. */ | 4575 |
| 4576 /// Updates the transform of a page element. |
4499 UpdatePageElementTransformRequest updatePageElementTransform; | 4577 UpdatePageElementTransformRequest updatePageElementTransform; |
4500 /** Updates the properties of a Page. */ | 4578 |
| 4579 /// Updates the properties of a Page. |
4501 UpdatePagePropertiesRequest updatePageProperties; | 4580 UpdatePagePropertiesRequest updatePageProperties; |
4502 /** Updates the styling of paragraphs within a Shape or Table. */ | 4581 |
| 4582 /// Updates the styling of paragraphs within a Shape or Table. |
4503 UpdateParagraphStyleRequest updateParagraphStyle; | 4583 UpdateParagraphStyleRequest updateParagraphStyle; |
4504 /** Updates the properties of a Shape. */ | 4584 |
| 4585 /// Updates the properties of a Shape. |
4505 UpdateShapePropertiesRequest updateShapeProperties; | 4586 UpdateShapePropertiesRequest updateShapeProperties; |
4506 /** Updates the position of a set of slides in the presentation. */ | 4587 |
| 4588 /// Updates the position of a set of slides in the presentation. |
4507 UpdateSlidesPositionRequest updateSlidesPosition; | 4589 UpdateSlidesPositionRequest updateSlidesPosition; |
4508 /** Updates the properties of a TableCell. */ | 4590 |
| 4591 /// Updates the properties of a TableCell. |
4509 UpdateTableCellPropertiesRequest updateTableCellProperties; | 4592 UpdateTableCellPropertiesRequest updateTableCellProperties; |
4510 /** Updates the styling of text within a Shape or Table. */ | 4593 |
| 4594 /// Updates the styling of text within a Shape or Table. |
4511 UpdateTextStyleRequest updateTextStyle; | 4595 UpdateTextStyleRequest updateTextStyle; |
4512 /** Updates the properties of a Video. */ | 4596 |
| 4597 /// Updates the properties of a Video. |
4513 UpdateVideoPropertiesRequest updateVideoProperties; | 4598 UpdateVideoPropertiesRequest updateVideoProperties; |
4514 | 4599 |
4515 Request(); | 4600 Request(); |
4516 | 4601 |
4517 Request.fromJson(core.Map _json) { | 4602 Request.fromJson(core.Map _json) { |
4518 if (_json.containsKey("createImage")) { | 4603 if (_json.containsKey("createImage")) { |
4519 createImage = new CreateImageRequest.fromJson(_json["createImage"]); | 4604 createImage = new CreateImageRequest.fromJson(_json["createImage"]); |
4520 } | 4605 } |
4521 if (_json.containsKey("createLine")) { | 4606 if (_json.containsKey("createLine")) { |
4522 createLine = new CreateLineRequest.fromJson(_json["createLine"]); | 4607 createLine = new CreateLineRequest.fromJson(_json["createLine"]); |
4523 } | 4608 } |
4524 if (_json.containsKey("createParagraphBullets")) { | 4609 if (_json.containsKey("createParagraphBullets")) { |
4525 createParagraphBullets = new CreateParagraphBulletsRequest.fromJson(_json[
"createParagraphBullets"]); | 4610 createParagraphBullets = new CreateParagraphBulletsRequest.fromJson( |
| 4611 _json["createParagraphBullets"]); |
4526 } | 4612 } |
4527 if (_json.containsKey("createShape")) { | 4613 if (_json.containsKey("createShape")) { |
4528 createShape = new CreateShapeRequest.fromJson(_json["createShape"]); | 4614 createShape = new CreateShapeRequest.fromJson(_json["createShape"]); |
4529 } | 4615 } |
4530 if (_json.containsKey("createSheetsChart")) { | 4616 if (_json.containsKey("createSheetsChart")) { |
4531 createSheetsChart = new CreateSheetsChartRequest.fromJson(_json["createShe
etsChart"]); | 4617 createSheetsChart = |
| 4618 new CreateSheetsChartRequest.fromJson(_json["createSheetsChart"]); |
4532 } | 4619 } |
4533 if (_json.containsKey("createSlide")) { | 4620 if (_json.containsKey("createSlide")) { |
4534 createSlide = new CreateSlideRequest.fromJson(_json["createSlide"]); | 4621 createSlide = new CreateSlideRequest.fromJson(_json["createSlide"]); |
4535 } | 4622 } |
4536 if (_json.containsKey("createTable")) { | 4623 if (_json.containsKey("createTable")) { |
4537 createTable = new CreateTableRequest.fromJson(_json["createTable"]); | 4624 createTable = new CreateTableRequest.fromJson(_json["createTable"]); |
4538 } | 4625 } |
4539 if (_json.containsKey("createVideo")) { | 4626 if (_json.containsKey("createVideo")) { |
4540 createVideo = new CreateVideoRequest.fromJson(_json["createVideo"]); | 4627 createVideo = new CreateVideoRequest.fromJson(_json["createVideo"]); |
4541 } | 4628 } |
4542 if (_json.containsKey("deleteObject")) { | 4629 if (_json.containsKey("deleteObject")) { |
4543 deleteObject = new DeleteObjectRequest.fromJson(_json["deleteObject"]); | 4630 deleteObject = new DeleteObjectRequest.fromJson(_json["deleteObject"]); |
4544 } | 4631 } |
4545 if (_json.containsKey("deleteParagraphBullets")) { | 4632 if (_json.containsKey("deleteParagraphBullets")) { |
4546 deleteParagraphBullets = new DeleteParagraphBulletsRequest.fromJson(_json[
"deleteParagraphBullets"]); | 4633 deleteParagraphBullets = new DeleteParagraphBulletsRequest.fromJson( |
| 4634 _json["deleteParagraphBullets"]); |
4547 } | 4635 } |
4548 if (_json.containsKey("deleteTableColumn")) { | 4636 if (_json.containsKey("deleteTableColumn")) { |
4549 deleteTableColumn = new DeleteTableColumnRequest.fromJson(_json["deleteTab
leColumn"]); | 4637 deleteTableColumn = |
| 4638 new DeleteTableColumnRequest.fromJson(_json["deleteTableColumn"]); |
4550 } | 4639 } |
4551 if (_json.containsKey("deleteTableRow")) { | 4640 if (_json.containsKey("deleteTableRow")) { |
4552 deleteTableRow = new DeleteTableRowRequest.fromJson(_json["deleteTableRow"
]); | 4641 deleteTableRow = |
| 4642 new DeleteTableRowRequest.fromJson(_json["deleteTableRow"]); |
4553 } | 4643 } |
4554 if (_json.containsKey("deleteText")) { | 4644 if (_json.containsKey("deleteText")) { |
4555 deleteText = new DeleteTextRequest.fromJson(_json["deleteText"]); | 4645 deleteText = new DeleteTextRequest.fromJson(_json["deleteText"]); |
4556 } | 4646 } |
4557 if (_json.containsKey("duplicateObject")) { | 4647 if (_json.containsKey("duplicateObject")) { |
4558 duplicateObject = new DuplicateObjectRequest.fromJson(_json["duplicateObje
ct"]); | 4648 duplicateObject = |
| 4649 new DuplicateObjectRequest.fromJson(_json["duplicateObject"]); |
4559 } | 4650 } |
4560 if (_json.containsKey("insertTableColumns")) { | 4651 if (_json.containsKey("insertTableColumns")) { |
4561 insertTableColumns = new InsertTableColumnsRequest.fromJson(_json["insertT
ableColumns"]); | 4652 insertTableColumns = |
| 4653 new InsertTableColumnsRequest.fromJson(_json["insertTableColumns"]); |
4562 } | 4654 } |
4563 if (_json.containsKey("insertTableRows")) { | 4655 if (_json.containsKey("insertTableRows")) { |
4564 insertTableRows = new InsertTableRowsRequest.fromJson(_json["insertTableRo
ws"]); | 4656 insertTableRows = |
| 4657 new InsertTableRowsRequest.fromJson(_json["insertTableRows"]); |
4565 } | 4658 } |
4566 if (_json.containsKey("insertText")) { | 4659 if (_json.containsKey("insertText")) { |
4567 insertText = new InsertTextRequest.fromJson(_json["insertText"]); | 4660 insertText = new InsertTextRequest.fromJson(_json["insertText"]); |
4568 } | 4661 } |
4569 if (_json.containsKey("refreshSheetsChart")) { | 4662 if (_json.containsKey("refreshSheetsChart")) { |
4570 refreshSheetsChart = new RefreshSheetsChartRequest.fromJson(_json["refresh
SheetsChart"]); | 4663 refreshSheetsChart = |
| 4664 new RefreshSheetsChartRequest.fromJson(_json["refreshSheetsChart"]); |
4571 } | 4665 } |
4572 if (_json.containsKey("replaceAllShapesWithImage")) { | 4666 if (_json.containsKey("replaceAllShapesWithImage")) { |
4573 replaceAllShapesWithImage = new ReplaceAllShapesWithImageRequest.fromJson(
_json["replaceAllShapesWithImage"]); | 4667 replaceAllShapesWithImage = new ReplaceAllShapesWithImageRequest.fromJson( |
| 4668 _json["replaceAllShapesWithImage"]); |
4574 } | 4669 } |
4575 if (_json.containsKey("replaceAllShapesWithSheetsChart")) { | 4670 if (_json.containsKey("replaceAllShapesWithSheetsChart")) { |
4576 replaceAllShapesWithSheetsChart = new ReplaceAllShapesWithSheetsChartReque
st.fromJson(_json["replaceAllShapesWithSheetsChart"]); | 4671 replaceAllShapesWithSheetsChart = |
| 4672 new ReplaceAllShapesWithSheetsChartRequest.fromJson( |
| 4673 _json["replaceAllShapesWithSheetsChart"]); |
4577 } | 4674 } |
4578 if (_json.containsKey("replaceAllText")) { | 4675 if (_json.containsKey("replaceAllText")) { |
4579 replaceAllText = new ReplaceAllTextRequest.fromJson(_json["replaceAllText"
]); | 4676 replaceAllText = |
| 4677 new ReplaceAllTextRequest.fromJson(_json["replaceAllText"]); |
4580 } | 4678 } |
4581 if (_json.containsKey("updateImageProperties")) { | 4679 if (_json.containsKey("updateImageProperties")) { |
4582 updateImageProperties = new UpdateImagePropertiesRequest.fromJson(_json["u
pdateImageProperties"]); | 4680 updateImageProperties = new UpdateImagePropertiesRequest.fromJson( |
| 4681 _json["updateImageProperties"]); |
4583 } | 4682 } |
4584 if (_json.containsKey("updateLineProperties")) { | 4683 if (_json.containsKey("updateLineProperties")) { |
4585 updateLineProperties = new UpdateLinePropertiesRequest.fromJson(_json["upd
ateLineProperties"]); | 4684 updateLineProperties = new UpdateLinePropertiesRequest.fromJson( |
| 4685 _json["updateLineProperties"]); |
4586 } | 4686 } |
4587 if (_json.containsKey("updatePageElementTransform")) { | 4687 if (_json.containsKey("updatePageElementTransform")) { |
4588 updatePageElementTransform = new UpdatePageElementTransformRequest.fromJso
n(_json["updatePageElementTransform"]); | 4688 updatePageElementTransform = |
| 4689 new UpdatePageElementTransformRequest.fromJson( |
| 4690 _json["updatePageElementTransform"]); |
4589 } | 4691 } |
4590 if (_json.containsKey("updatePageProperties")) { | 4692 if (_json.containsKey("updatePageProperties")) { |
4591 updatePageProperties = new UpdatePagePropertiesRequest.fromJson(_json["upd
atePageProperties"]); | 4693 updatePageProperties = new UpdatePagePropertiesRequest.fromJson( |
| 4694 _json["updatePageProperties"]); |
4592 } | 4695 } |
4593 if (_json.containsKey("updateParagraphStyle")) { | 4696 if (_json.containsKey("updateParagraphStyle")) { |
4594 updateParagraphStyle = new UpdateParagraphStyleRequest.fromJson(_json["upd
ateParagraphStyle"]); | 4697 updateParagraphStyle = new UpdateParagraphStyleRequest.fromJson( |
| 4698 _json["updateParagraphStyle"]); |
4595 } | 4699 } |
4596 if (_json.containsKey("updateShapeProperties")) { | 4700 if (_json.containsKey("updateShapeProperties")) { |
4597 updateShapeProperties = new UpdateShapePropertiesRequest.fromJson(_json["u
pdateShapeProperties"]); | 4701 updateShapeProperties = new UpdateShapePropertiesRequest.fromJson( |
| 4702 _json["updateShapeProperties"]); |
4598 } | 4703 } |
4599 if (_json.containsKey("updateSlidesPosition")) { | 4704 if (_json.containsKey("updateSlidesPosition")) { |
4600 updateSlidesPosition = new UpdateSlidesPositionRequest.fromJson(_json["upd
ateSlidesPosition"]); | 4705 updateSlidesPosition = new UpdateSlidesPositionRequest.fromJson( |
| 4706 _json["updateSlidesPosition"]); |
4601 } | 4707 } |
4602 if (_json.containsKey("updateTableCellProperties")) { | 4708 if (_json.containsKey("updateTableCellProperties")) { |
4603 updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson(
_json["updateTableCellProperties"]); | 4709 updateTableCellProperties = new UpdateTableCellPropertiesRequest.fromJson( |
| 4710 _json["updateTableCellProperties"]); |
4604 } | 4711 } |
4605 if (_json.containsKey("updateTextStyle")) { | 4712 if (_json.containsKey("updateTextStyle")) { |
4606 updateTextStyle = new UpdateTextStyleRequest.fromJson(_json["updateTextSty
le"]); | 4713 updateTextStyle = |
| 4714 new UpdateTextStyleRequest.fromJson(_json["updateTextStyle"]); |
4607 } | 4715 } |
4608 if (_json.containsKey("updateVideoProperties")) { | 4716 if (_json.containsKey("updateVideoProperties")) { |
4609 updateVideoProperties = new UpdateVideoPropertiesRequest.fromJson(_json["u
pdateVideoProperties"]); | 4717 updateVideoProperties = new UpdateVideoPropertiesRequest.fromJson( |
| 4718 _json["updateVideoProperties"]); |
4610 } | 4719 } |
4611 } | 4720 } |
4612 | 4721 |
4613 core.Map<core.String, core.Object> toJson() { | 4722 core.Map<core.String, core.Object> toJson() { |
4614 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4723 final core.Map<core.String, core.Object> _json = |
| 4724 new core.Map<core.String, core.Object>(); |
4615 if (createImage != null) { | 4725 if (createImage != null) { |
4616 _json["createImage"] = (createImage).toJson(); | 4726 _json["createImage"] = (createImage).toJson(); |
4617 } | 4727 } |
4618 if (createLine != null) { | 4728 if (createLine != null) { |
4619 _json["createLine"] = (createLine).toJson(); | 4729 _json["createLine"] = (createLine).toJson(); |
4620 } | 4730 } |
4621 if (createParagraphBullets != null) { | 4731 if (createParagraphBullets != null) { |
4622 _json["createParagraphBullets"] = (createParagraphBullets).toJson(); | 4732 _json["createParagraphBullets"] = (createParagraphBullets).toJson(); |
4623 } | 4733 } |
4624 if (createShape != null) { | 4734 if (createShape != null) { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4663 if (insertText != null) { | 4773 if (insertText != null) { |
4664 _json["insertText"] = (insertText).toJson(); | 4774 _json["insertText"] = (insertText).toJson(); |
4665 } | 4775 } |
4666 if (refreshSheetsChart != null) { | 4776 if (refreshSheetsChart != null) { |
4667 _json["refreshSheetsChart"] = (refreshSheetsChart).toJson(); | 4777 _json["refreshSheetsChart"] = (refreshSheetsChart).toJson(); |
4668 } | 4778 } |
4669 if (replaceAllShapesWithImage != null) { | 4779 if (replaceAllShapesWithImage != null) { |
4670 _json["replaceAllShapesWithImage"] = (replaceAllShapesWithImage).toJson(); | 4780 _json["replaceAllShapesWithImage"] = (replaceAllShapesWithImage).toJson(); |
4671 } | 4781 } |
4672 if (replaceAllShapesWithSheetsChart != null) { | 4782 if (replaceAllShapesWithSheetsChart != null) { |
4673 _json["replaceAllShapesWithSheetsChart"] = (replaceAllShapesWithSheetsChar
t).toJson(); | 4783 _json["replaceAllShapesWithSheetsChart"] = |
| 4784 (replaceAllShapesWithSheetsChart).toJson(); |
4674 } | 4785 } |
4675 if (replaceAllText != null) { | 4786 if (replaceAllText != null) { |
4676 _json["replaceAllText"] = (replaceAllText).toJson(); | 4787 _json["replaceAllText"] = (replaceAllText).toJson(); |
4677 } | 4788 } |
4678 if (updateImageProperties != null) { | 4789 if (updateImageProperties != null) { |
4679 _json["updateImageProperties"] = (updateImageProperties).toJson(); | 4790 _json["updateImageProperties"] = (updateImageProperties).toJson(); |
4680 } | 4791 } |
4681 if (updateLineProperties != null) { | 4792 if (updateLineProperties != null) { |
4682 _json["updateLineProperties"] = (updateLineProperties).toJson(); | 4793 _json["updateLineProperties"] = (updateLineProperties).toJson(); |
4683 } | 4794 } |
4684 if (updatePageElementTransform != null) { | 4795 if (updatePageElementTransform != null) { |
4685 _json["updatePageElementTransform"] = (updatePageElementTransform).toJson(
); | 4796 _json["updatePageElementTransform"] = |
| 4797 (updatePageElementTransform).toJson(); |
4686 } | 4798 } |
4687 if (updatePageProperties != null) { | 4799 if (updatePageProperties != null) { |
4688 _json["updatePageProperties"] = (updatePageProperties).toJson(); | 4800 _json["updatePageProperties"] = (updatePageProperties).toJson(); |
4689 } | 4801 } |
4690 if (updateParagraphStyle != null) { | 4802 if (updateParagraphStyle != null) { |
4691 _json["updateParagraphStyle"] = (updateParagraphStyle).toJson(); | 4803 _json["updateParagraphStyle"] = (updateParagraphStyle).toJson(); |
4692 } | 4804 } |
4693 if (updateShapeProperties != null) { | 4805 if (updateShapeProperties != null) { |
4694 _json["updateShapeProperties"] = (updateShapeProperties).toJson(); | 4806 _json["updateShapeProperties"] = (updateShapeProperties).toJson(); |
4695 } | 4807 } |
4696 if (updateSlidesPosition != null) { | 4808 if (updateSlidesPosition != null) { |
4697 _json["updateSlidesPosition"] = (updateSlidesPosition).toJson(); | 4809 _json["updateSlidesPosition"] = (updateSlidesPosition).toJson(); |
4698 } | 4810 } |
4699 if (updateTableCellProperties != null) { | 4811 if (updateTableCellProperties != null) { |
4700 _json["updateTableCellProperties"] = (updateTableCellProperties).toJson(); | 4812 _json["updateTableCellProperties"] = (updateTableCellProperties).toJson(); |
4701 } | 4813 } |
4702 if (updateTextStyle != null) { | 4814 if (updateTextStyle != null) { |
4703 _json["updateTextStyle"] = (updateTextStyle).toJson(); | 4815 _json["updateTextStyle"] = (updateTextStyle).toJson(); |
4704 } | 4816 } |
4705 if (updateVideoProperties != null) { | 4817 if (updateVideoProperties != null) { |
4706 _json["updateVideoProperties"] = (updateVideoProperties).toJson(); | 4818 _json["updateVideoProperties"] = (updateVideoProperties).toJson(); |
4707 } | 4819 } |
4708 return _json; | 4820 return _json; |
4709 } | 4821 } |
4710 } | 4822 } |
4711 | 4823 |
4712 /** A single response from an update. */ | 4824 /// A single response from an update. |
4713 class Response { | 4825 class Response { |
4714 /** The result of creating an image. */ | 4826 /// The result of creating an image. |
4715 CreateImageResponse createImage; | 4827 CreateImageResponse createImage; |
4716 /** The result of creating a line. */ | 4828 |
| 4829 /// The result of creating a line. |
4717 CreateLineResponse createLine; | 4830 CreateLineResponse createLine; |
4718 /** The result of creating a shape. */ | 4831 |
| 4832 /// The result of creating a shape. |
4719 CreateShapeResponse createShape; | 4833 CreateShapeResponse createShape; |
4720 /** The result of creating a Google Sheets chart. */ | 4834 |
| 4835 /// The result of creating a Google Sheets chart. |
4721 CreateSheetsChartResponse createSheetsChart; | 4836 CreateSheetsChartResponse createSheetsChart; |
4722 /** The result of creating a slide. */ | 4837 |
| 4838 /// The result of creating a slide. |
4723 CreateSlideResponse createSlide; | 4839 CreateSlideResponse createSlide; |
4724 /** The result of creating a table. */ | 4840 |
| 4841 /// The result of creating a table. |
4725 CreateTableResponse createTable; | 4842 CreateTableResponse createTable; |
4726 /** The result of creating a video. */ | 4843 |
| 4844 /// The result of creating a video. |
4727 CreateVideoResponse createVideo; | 4845 CreateVideoResponse createVideo; |
4728 /** The result of duplicating an object. */ | 4846 |
| 4847 /// The result of duplicating an object. |
4729 DuplicateObjectResponse duplicateObject; | 4848 DuplicateObjectResponse duplicateObject; |
4730 /** | 4849 |
4731 * The result of replacing all shapes matching some criteria with an | 4850 /// The result of replacing all shapes matching some criteria with an |
4732 * image. | 4851 /// image. |
4733 */ | |
4734 ReplaceAllShapesWithImageResponse replaceAllShapesWithImage; | 4852 ReplaceAllShapesWithImageResponse replaceAllShapesWithImage; |
4735 /** | 4853 |
4736 * The result of replacing all shapes matching some criteria with a Google | 4854 /// The result of replacing all shapes matching some criteria with a Google |
4737 * Sheets chart. | 4855 /// Sheets chart. |
4738 */ | |
4739 ReplaceAllShapesWithSheetsChartResponse replaceAllShapesWithSheetsChart; | 4856 ReplaceAllShapesWithSheetsChartResponse replaceAllShapesWithSheetsChart; |
4740 /** The result of replacing text. */ | 4857 |
| 4858 /// The result of replacing text. |
4741 ReplaceAllTextResponse replaceAllText; | 4859 ReplaceAllTextResponse replaceAllText; |
4742 | 4860 |
4743 Response(); | 4861 Response(); |
4744 | 4862 |
4745 Response.fromJson(core.Map _json) { | 4863 Response.fromJson(core.Map _json) { |
4746 if (_json.containsKey("createImage")) { | 4864 if (_json.containsKey("createImage")) { |
4747 createImage = new CreateImageResponse.fromJson(_json["createImage"]); | 4865 createImage = new CreateImageResponse.fromJson(_json["createImage"]); |
4748 } | 4866 } |
4749 if (_json.containsKey("createLine")) { | 4867 if (_json.containsKey("createLine")) { |
4750 createLine = new CreateLineResponse.fromJson(_json["createLine"]); | 4868 createLine = new CreateLineResponse.fromJson(_json["createLine"]); |
4751 } | 4869 } |
4752 if (_json.containsKey("createShape")) { | 4870 if (_json.containsKey("createShape")) { |
4753 createShape = new CreateShapeResponse.fromJson(_json["createShape"]); | 4871 createShape = new CreateShapeResponse.fromJson(_json["createShape"]); |
4754 } | 4872 } |
4755 if (_json.containsKey("createSheetsChart")) { | 4873 if (_json.containsKey("createSheetsChart")) { |
4756 createSheetsChart = new CreateSheetsChartResponse.fromJson(_json["createSh
eetsChart"]); | 4874 createSheetsChart = |
| 4875 new CreateSheetsChartResponse.fromJson(_json["createSheetsChart"]); |
4757 } | 4876 } |
4758 if (_json.containsKey("createSlide")) { | 4877 if (_json.containsKey("createSlide")) { |
4759 createSlide = new CreateSlideResponse.fromJson(_json["createSlide"]); | 4878 createSlide = new CreateSlideResponse.fromJson(_json["createSlide"]); |
4760 } | 4879 } |
4761 if (_json.containsKey("createTable")) { | 4880 if (_json.containsKey("createTable")) { |
4762 createTable = new CreateTableResponse.fromJson(_json["createTable"]); | 4881 createTable = new CreateTableResponse.fromJson(_json["createTable"]); |
4763 } | 4882 } |
4764 if (_json.containsKey("createVideo")) { | 4883 if (_json.containsKey("createVideo")) { |
4765 createVideo = new CreateVideoResponse.fromJson(_json["createVideo"]); | 4884 createVideo = new CreateVideoResponse.fromJson(_json["createVideo"]); |
4766 } | 4885 } |
4767 if (_json.containsKey("duplicateObject")) { | 4886 if (_json.containsKey("duplicateObject")) { |
4768 duplicateObject = new DuplicateObjectResponse.fromJson(_json["duplicateObj
ect"]); | 4887 duplicateObject = |
| 4888 new DuplicateObjectResponse.fromJson(_json["duplicateObject"]); |
4769 } | 4889 } |
4770 if (_json.containsKey("replaceAllShapesWithImage")) { | 4890 if (_json.containsKey("replaceAllShapesWithImage")) { |
4771 replaceAllShapesWithImage = new ReplaceAllShapesWithImageResponse.fromJson
(_json["replaceAllShapesWithImage"]); | 4891 replaceAllShapesWithImage = |
| 4892 new ReplaceAllShapesWithImageResponse.fromJson( |
| 4893 _json["replaceAllShapesWithImage"]); |
4772 } | 4894 } |
4773 if (_json.containsKey("replaceAllShapesWithSheetsChart")) { | 4895 if (_json.containsKey("replaceAllShapesWithSheetsChart")) { |
4774 replaceAllShapesWithSheetsChart = new ReplaceAllShapesWithSheetsChartRespo
nse.fromJson(_json["replaceAllShapesWithSheetsChart"]); | 4896 replaceAllShapesWithSheetsChart = |
| 4897 new ReplaceAllShapesWithSheetsChartResponse.fromJson( |
| 4898 _json["replaceAllShapesWithSheetsChart"]); |
4775 } | 4899 } |
4776 if (_json.containsKey("replaceAllText")) { | 4900 if (_json.containsKey("replaceAllText")) { |
4777 replaceAllText = new ReplaceAllTextResponse.fromJson(_json["replaceAllText
"]); | 4901 replaceAllText = |
| 4902 new ReplaceAllTextResponse.fromJson(_json["replaceAllText"]); |
4778 } | 4903 } |
4779 } | 4904 } |
4780 | 4905 |
4781 core.Map<core.String, core.Object> toJson() { | 4906 core.Map<core.String, core.Object> toJson() { |
4782 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4907 final core.Map<core.String, core.Object> _json = |
| 4908 new core.Map<core.String, core.Object>(); |
4783 if (createImage != null) { | 4909 if (createImage != null) { |
4784 _json["createImage"] = (createImage).toJson(); | 4910 _json["createImage"] = (createImage).toJson(); |
4785 } | 4911 } |
4786 if (createLine != null) { | 4912 if (createLine != null) { |
4787 _json["createLine"] = (createLine).toJson(); | 4913 _json["createLine"] = (createLine).toJson(); |
4788 } | 4914 } |
4789 if (createShape != null) { | 4915 if (createShape != null) { |
4790 _json["createShape"] = (createShape).toJson(); | 4916 _json["createShape"] = (createShape).toJson(); |
4791 } | 4917 } |
4792 if (createSheetsChart != null) { | 4918 if (createSheetsChart != null) { |
4793 _json["createSheetsChart"] = (createSheetsChart).toJson(); | 4919 _json["createSheetsChart"] = (createSheetsChart).toJson(); |
4794 } | 4920 } |
4795 if (createSlide != null) { | 4921 if (createSlide != null) { |
4796 _json["createSlide"] = (createSlide).toJson(); | 4922 _json["createSlide"] = (createSlide).toJson(); |
4797 } | 4923 } |
4798 if (createTable != null) { | 4924 if (createTable != null) { |
4799 _json["createTable"] = (createTable).toJson(); | 4925 _json["createTable"] = (createTable).toJson(); |
4800 } | 4926 } |
4801 if (createVideo != null) { | 4927 if (createVideo != null) { |
4802 _json["createVideo"] = (createVideo).toJson(); | 4928 _json["createVideo"] = (createVideo).toJson(); |
4803 } | 4929 } |
4804 if (duplicateObject != null) { | 4930 if (duplicateObject != null) { |
4805 _json["duplicateObject"] = (duplicateObject).toJson(); | 4931 _json["duplicateObject"] = (duplicateObject).toJson(); |
4806 } | 4932 } |
4807 if (replaceAllShapesWithImage != null) { | 4933 if (replaceAllShapesWithImage != null) { |
4808 _json["replaceAllShapesWithImage"] = (replaceAllShapesWithImage).toJson(); | 4934 _json["replaceAllShapesWithImage"] = (replaceAllShapesWithImage).toJson(); |
4809 } | 4935 } |
4810 if (replaceAllShapesWithSheetsChart != null) { | 4936 if (replaceAllShapesWithSheetsChart != null) { |
4811 _json["replaceAllShapesWithSheetsChart"] = (replaceAllShapesWithSheetsChar
t).toJson(); | 4937 _json["replaceAllShapesWithSheetsChart"] = |
| 4938 (replaceAllShapesWithSheetsChart).toJson(); |
4812 } | 4939 } |
4813 if (replaceAllText != null) { | 4940 if (replaceAllText != null) { |
4814 _json["replaceAllText"] = (replaceAllText).toJson(); | 4941 _json["replaceAllText"] = (replaceAllText).toJson(); |
4815 } | 4942 } |
4816 return _json; | 4943 return _json; |
4817 } | 4944 } |
4818 } | 4945 } |
4819 | 4946 |
4820 /** An RGB color. */ | 4947 /// An RGB color. |
4821 class RgbColor { | 4948 class RgbColor { |
4822 /** The blue component of the color, from 0.0 to 1.0. */ | 4949 /// The blue component of the color, from 0.0 to 1.0. |
4823 core.double blue; | 4950 core.double blue; |
4824 /** The green component of the color, from 0.0 to 1.0. */ | 4951 |
| 4952 /// The green component of the color, from 0.0 to 1.0. |
4825 core.double green; | 4953 core.double green; |
4826 /** The red component of the color, from 0.0 to 1.0. */ | 4954 |
| 4955 /// The red component of the color, from 0.0 to 1.0. |
4827 core.double red; | 4956 core.double red; |
4828 | 4957 |
4829 RgbColor(); | 4958 RgbColor(); |
4830 | 4959 |
4831 RgbColor.fromJson(core.Map _json) { | 4960 RgbColor.fromJson(core.Map _json) { |
4832 if (_json.containsKey("blue")) { | 4961 if (_json.containsKey("blue")) { |
4833 blue = _json["blue"]; | 4962 blue = _json["blue"]; |
4834 } | 4963 } |
4835 if (_json.containsKey("green")) { | 4964 if (_json.containsKey("green")) { |
4836 green = _json["green"]; | 4965 green = _json["green"]; |
4837 } | 4966 } |
4838 if (_json.containsKey("red")) { | 4967 if (_json.containsKey("red")) { |
4839 red = _json["red"]; | 4968 red = _json["red"]; |
4840 } | 4969 } |
4841 } | 4970 } |
4842 | 4971 |
4843 core.Map<core.String, core.Object> toJson() { | 4972 core.Map<core.String, core.Object> toJson() { |
4844 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4973 final core.Map<core.String, core.Object> _json = |
| 4974 new core.Map<core.String, core.Object>(); |
4845 if (blue != null) { | 4975 if (blue != null) { |
4846 _json["blue"] = blue; | 4976 _json["blue"] = blue; |
4847 } | 4977 } |
4848 if (green != null) { | 4978 if (green != null) { |
4849 _json["green"] = green; | 4979 _json["green"] = green; |
4850 } | 4980 } |
4851 if (red != null) { | 4981 if (red != null) { |
4852 _json["red"] = red; | 4982 _json["red"] = red; |
4853 } | 4983 } |
4854 return _json; | 4984 return _json; |
4855 } | 4985 } |
4856 } | 4986 } |
4857 | 4987 |
4858 /** | 4988 /// The shadow properties of a page element. |
4859 * The shadow properties of a page element. | 4989 /// |
4860 * | 4990 /// If these fields are unset, they may be inherited from a parent placeholder |
4861 * If these fields are unset, they may be inherited from a parent placeholder | 4991 /// if it exists. If there is no parent, the fields will default to the value |
4862 * if it exists. If there is no parent, the fields will default to the value | 4992 /// used for new page elements created in the Slides editor, which may depend |
4863 * used for new page elements created in the Slides editor, which may depend on | 4993 /// on |
4864 * the page element kind. | 4994 /// the page element kind. |
4865 */ | |
4866 class Shadow { | 4995 class Shadow { |
4867 /** | 4996 /// The alignment point of the shadow, that sets the origin for translate, |
4868 * The alignment point of the shadow, that sets the origin for translate, | 4997 /// scale and skew of the shadow. |
4869 * scale and skew of the shadow. | 4998 /// Possible string values are: |
4870 * Possible string values are: | 4999 /// - "RECTANGLE_POSITION_UNSPECIFIED" : Unspecified. |
4871 * - "RECTANGLE_POSITION_UNSPECIFIED" : Unspecified. | 5000 /// - "TOP_LEFT" : Top left. |
4872 * - "TOP_LEFT" : Top left. | 5001 /// - "TOP_CENTER" : Top center. |
4873 * - "TOP_CENTER" : Top center. | 5002 /// - "TOP_RIGHT" : Top right. |
4874 * - "TOP_RIGHT" : Top right. | 5003 /// - "LEFT_CENTER" : Left center. |
4875 * - "LEFT_CENTER" : Left center. | 5004 /// - "CENTER" : Center. |
4876 * - "CENTER" : Center. | 5005 /// - "RIGHT_CENTER" : Right center. |
4877 * - "RIGHT_CENTER" : Right center. | 5006 /// - "BOTTOM_LEFT" : Bottom left. |
4878 * - "BOTTOM_LEFT" : Bottom left. | 5007 /// - "BOTTOM_CENTER" : Bottom center. |
4879 * - "BOTTOM_CENTER" : Bottom center. | 5008 /// - "BOTTOM_RIGHT" : Bottom right. |
4880 * - "BOTTOM_RIGHT" : Bottom right. | |
4881 */ | |
4882 core.String alignment; | 5009 core.String alignment; |
4883 /** The alpha of the shadow's color, from 0.0 to 1.0. */ | 5010 |
| 5011 /// The alpha of the shadow's color, from 0.0 to 1.0. |
4884 core.double alpha; | 5012 core.double alpha; |
4885 /** | 5013 |
4886 * The radius of the shadow blur. The larger the radius, the more diffuse the | 5014 /// The radius of the shadow blur. The larger the radius, the more diffuse |
4887 * shadow becomes. | 5015 /// the |
4888 */ | 5016 /// shadow becomes. |
4889 Dimension blurRadius; | 5017 Dimension blurRadius; |
4890 /** The shadow color value. */ | 5018 |
| 5019 /// The shadow color value. |
4891 OpaqueColor color; | 5020 OpaqueColor color; |
4892 /** | 5021 |
4893 * The shadow property state. | 5022 /// The shadow property state. |
4894 * | 5023 /// |
4895 * Updating the the shadow on a page element will implicitly update this field | 5024 /// Updating the the shadow on a page element will implicitly update this |
4896 * to `RENDERED`, unless another value is specified in the same request. To | 5025 /// field |
4897 * have no shadow on a page element, set this field to `NOT_RENDERED`. In this | 5026 /// to `RENDERED`, unless another value is specified in the same request. To |
4898 * case, any other shadow fields set in the same request will be ignored. | 5027 /// have no shadow on a page element, set this field to `NOT_RENDERED`. In |
4899 * Possible string values are: | 5028 /// this |
4900 * - "RENDERED" : If a property's state is RENDERED, then the element has the | 5029 /// case, any other shadow fields set in the same request will be ignored. |
4901 * corresponding | 5030 /// Possible string values are: |
4902 * property when rendered on a page. If the element is a placeholder shape as | 5031 /// - "RENDERED" : If a property's state is RENDERED, then the element has |
4903 * determined by the placeholder | 5032 /// the corresponding |
4904 * field, and it inherits from a placeholder shape, the corresponding field | 5033 /// property when rendered on a page. If the element is a placeholder shape |
4905 * may be unset, meaning that the property value is inherited from a parent | 5034 /// as |
4906 * placeholder. If the element does not inherit, then the field will contain | 5035 /// determined by the placeholder |
4907 * the rendered value. This is the default value. | 5036 /// field, and it inherits from a placeholder shape, the corresponding field |
4908 * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element | 5037 /// may be unset, meaning that the property value is inherited from a parent |
4909 * does not have the | 5038 /// placeholder. If the element does not inherit, then the field will contain |
4910 * corresponding property when rendered on a page. However, the field may | 5039 /// the rendered value. This is the default value. |
4911 * still be set so it can be inherited by child shapes. To remove a property | 5040 /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the |
4912 * from a rendered element, set its property_state to NOT_RENDERED. | 5041 /// element does not have the |
4913 * - "INHERIT" : If a property's state is INHERIT, then the property state | 5042 /// corresponding property when rendered on a page. However, the field may |
4914 * uses the value of | 5043 /// still be set so it can be inherited by child shapes. To remove a property |
4915 * corresponding `property_state` field on the parent shape. Elements that do | 5044 /// from a rendered element, set its property_state to NOT_RENDERED. |
4916 * not inherit will never have an INHERIT property state. | 5045 /// - "INHERIT" : If a property's state is INHERIT, then the property state |
4917 */ | 5046 /// uses the value of |
| 5047 /// corresponding `property_state` field on the parent shape. Elements that |
| 5048 /// do |
| 5049 /// not inherit will never have an INHERIT property state. |
4918 core.String propertyState; | 5050 core.String propertyState; |
4919 /** Whether the shadow should rotate with the shape. */ | 5051 |
| 5052 /// Whether the shadow should rotate with the shape. |
4920 core.bool rotateWithShape; | 5053 core.bool rotateWithShape; |
4921 /** | 5054 |
4922 * Transform that encodes the translate, scale, and skew of the shadow, | 5055 /// Transform that encodes the translate, scale, and skew of the shadow, |
4923 * relative to the alignment position. | 5056 /// relative to the alignment position. |
4924 */ | |
4925 AffineTransform transform; | 5057 AffineTransform transform; |
4926 /** | 5058 |
4927 * The type of the shadow. | 5059 /// The type of the shadow. |
4928 * Possible string values are: | 5060 /// Possible string values are: |
4929 * - "SHADOW_TYPE_UNSPECIFIED" : Unspecified shadow type. | 5061 /// - "SHADOW_TYPE_UNSPECIFIED" : Unspecified shadow type. |
4930 * - "OUTER" : Outer shadow. | 5062 /// - "OUTER" : Outer shadow. |
4931 */ | |
4932 core.String type; | 5063 core.String type; |
4933 | 5064 |
4934 Shadow(); | 5065 Shadow(); |
4935 | 5066 |
4936 Shadow.fromJson(core.Map _json) { | 5067 Shadow.fromJson(core.Map _json) { |
4937 if (_json.containsKey("alignment")) { | 5068 if (_json.containsKey("alignment")) { |
4938 alignment = _json["alignment"]; | 5069 alignment = _json["alignment"]; |
4939 } | 5070 } |
4940 if (_json.containsKey("alpha")) { | 5071 if (_json.containsKey("alpha")) { |
4941 alpha = _json["alpha"]; | 5072 alpha = _json["alpha"]; |
(...skipping 12 matching lines...) Expand all Loading... |
4954 } | 5085 } |
4955 if (_json.containsKey("transform")) { | 5086 if (_json.containsKey("transform")) { |
4956 transform = new AffineTransform.fromJson(_json["transform"]); | 5087 transform = new AffineTransform.fromJson(_json["transform"]); |
4957 } | 5088 } |
4958 if (_json.containsKey("type")) { | 5089 if (_json.containsKey("type")) { |
4959 type = _json["type"]; | 5090 type = _json["type"]; |
4960 } | 5091 } |
4961 } | 5092 } |
4962 | 5093 |
4963 core.Map<core.String, core.Object> toJson() { | 5094 core.Map<core.String, core.Object> toJson() { |
4964 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5095 final core.Map<core.String, core.Object> _json = |
| 5096 new core.Map<core.String, core.Object>(); |
4965 if (alignment != null) { | 5097 if (alignment != null) { |
4966 _json["alignment"] = alignment; | 5098 _json["alignment"] = alignment; |
4967 } | 5099 } |
4968 if (alpha != null) { | 5100 if (alpha != null) { |
4969 _json["alpha"] = alpha; | 5101 _json["alpha"] = alpha; |
4970 } | 5102 } |
4971 if (blurRadius != null) { | 5103 if (blurRadius != null) { |
4972 _json["blurRadius"] = (blurRadius).toJson(); | 5104 _json["blurRadius"] = (blurRadius).toJson(); |
4973 } | 5105 } |
4974 if (color != null) { | 5106 if (color != null) { |
4975 _json["color"] = (color).toJson(); | 5107 _json["color"] = (color).toJson(); |
4976 } | 5108 } |
4977 if (propertyState != null) { | 5109 if (propertyState != null) { |
4978 _json["propertyState"] = propertyState; | 5110 _json["propertyState"] = propertyState; |
4979 } | 5111 } |
4980 if (rotateWithShape != null) { | 5112 if (rotateWithShape != null) { |
4981 _json["rotateWithShape"] = rotateWithShape; | 5113 _json["rotateWithShape"] = rotateWithShape; |
4982 } | 5114 } |
4983 if (transform != null) { | 5115 if (transform != null) { |
4984 _json["transform"] = (transform).toJson(); | 5116 _json["transform"] = (transform).toJson(); |
4985 } | 5117 } |
4986 if (type != null) { | 5118 if (type != null) { |
4987 _json["type"] = type; | 5119 _json["type"] = type; |
4988 } | 5120 } |
4989 return _json; | 5121 return _json; |
4990 } | 5122 } |
4991 } | 5123 } |
4992 | 5124 |
4993 /** | 5125 /// A PageElement kind representing a |
4994 * A PageElement kind representing a | 5126 /// generic shape that does not have a more specific classification. |
4995 * generic shape that does not have a more specific classification. | |
4996 */ | |
4997 class Shape { | 5127 class Shape { |
4998 /** | 5128 /// Placeholders are shapes that are inherit from corresponding placeholders |
4999 * Placeholders are shapes that are inherit from corresponding placeholders on | 5129 /// on |
5000 * layouts and masters. | 5130 /// layouts and masters. |
5001 * | 5131 /// |
5002 * If set, the shape is a placeholder shape and any inherited properties | 5132 /// If set, the shape is a placeholder shape and any inherited properties |
5003 * can be resolved by looking at the parent placeholder identified by the | 5133 /// can be resolved by looking at the parent placeholder identified by the |
5004 * Placeholder.parent_object_id field. | 5134 /// Placeholder.parent_object_id field. |
5005 */ | |
5006 Placeholder placeholder; | 5135 Placeholder placeholder; |
5007 /** The properties of the shape. */ | 5136 |
| 5137 /// The properties of the shape. |
5008 ShapeProperties shapeProperties; | 5138 ShapeProperties shapeProperties; |
5009 /** | 5139 |
5010 * The type of the shape. | 5140 /// The type of the shape. |
5011 * Possible string values are: | 5141 /// Possible string values are: |
5012 * - "TYPE_UNSPECIFIED" : The shape type that is not predefined. | 5142 /// - "TYPE_UNSPECIFIED" : The shape type that is not predefined. |
5013 * - "TEXT_BOX" : Text box shape. | 5143 /// - "TEXT_BOX" : Text box shape. |
5014 * - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType | 5144 /// - "RECTANGLE" : Rectangle shape. Corresponds to ECMA-376 ST_ShapeType |
5015 * 'rect'. | 5145 /// 'rect'. |
5016 * - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to ECMA-376 | 5146 /// - "ROUND_RECTANGLE" : Round corner rectangle shape. Corresponds to |
5017 * ST_ShapeType | 5147 /// ECMA-376 ST_ShapeType |
5018 * 'roundRect' | 5148 /// 'roundRect' |
5019 * - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse' | 5149 /// - "ELLIPSE" : Ellipse shape. Corresponds to ECMA-376 ST_ShapeType |
5020 * - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc' | 5150 /// 'ellipse' |
5021 * - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5151 /// - "ARC" : Curved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc' |
5022 * 'bentArrow' | 5152 /// - "BENT_ARROW" : Bent arrow shape. Corresponds to ECMA-376 ST_ShapeType |
5023 * - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376 | 5153 /// 'bentArrow' |
5024 * ST_ShapeType 'bentUpArrow' | 5154 /// - "BENT_UP_ARROW" : Bent up arrow shape. Corresponds to ECMA-376 |
5025 * - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel' | 5155 /// ST_ShapeType 'bentUpArrow' |
5026 * - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType | 5156 /// - "BEVEL" : Bevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel' |
5027 * 'blockArc' | 5157 /// - "BLOCK_ARC" : Block arc shape. Corresponds to ECMA-376 ST_ShapeType |
5028 * - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType | 5158 /// 'blockArc' |
5029 * 'bracePair' | 5159 /// - "BRACE_PAIR" : Brace pair shape. Corresponds to ECMA-376 ST_ShapeType |
5030 * - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376 ST_ShapeType | 5160 /// 'bracePair' |
5031 * 'bracketPair' | 5161 /// - "BRACKET_PAIR" : Bracket pair shape. Corresponds to ECMA-376 |
5032 * - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can' | 5162 /// ST_ShapeType 'bracketPair' |
5033 * - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron' | 5163 /// - "CAN" : Can shape. Corresponds to ECMA-376 ST_ShapeType 'can' |
5034 * - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord' | 5164 /// - "CHEVRON" : Chevron shape. Corresponds to ECMA-376 ST_ShapeType |
5035 * - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud' | 5165 /// 'chevron' |
5036 * - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner' | 5166 /// - "CHORD" : Chord shape. Corresponds to ECMA-376 ST_ShapeType 'chord' |
5037 * - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube' | 5167 /// - "CLOUD" : Cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud' |
5038 * - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376 | 5168 /// - "CORNER" : Corner shape. Corresponds to ECMA-376 ST_ShapeType 'corner' |
5039 * ST_ShapeType | 5169 /// - "CUBE" : Cube shape. Corresponds to ECMA-376 ST_ShapeType 'cube' |
5040 * 'curvedDownArrow' | 5170 /// - "CURVED_DOWN_ARROW" : Curved down arrow shape. Corresponds to ECMA-376 |
5041 * - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376 | 5171 /// ST_ShapeType |
5042 * ST_ShapeType | 5172 /// 'curvedDownArrow' |
5043 * 'curvedLeftArrow' | 5173 /// - "CURVED_LEFT_ARROW" : Curved left arrow shape. Corresponds to ECMA-376 |
5044 * - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to ECMA-376 | 5174 /// ST_ShapeType |
5045 * ST_ShapeType | 5175 /// 'curvedLeftArrow' |
5046 * 'curvedRightArrow' | 5176 /// - "CURVED_RIGHT_ARROW" : Curved right arrow shape. Corresponds to |
5047 * - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376 | 5177 /// ECMA-376 ST_ShapeType |
5048 * ST_ShapeType | 5178 /// 'curvedRightArrow' |
5049 * 'curvedUpArrow' | 5179 /// - "CURVED_UP_ARROW" : Curved up arrow shape. Corresponds to ECMA-376 |
5050 * - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon' | 5180 /// ST_ShapeType |
5051 * - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376 | 5181 /// 'curvedUpArrow' |
5052 * ST_ShapeType 'diagStripe' | 5182 /// - "DECAGON" : Decagon shape. Corresponds to ECMA-376 ST_ShapeType |
5053 * - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond' | 5183 /// 'decagon' |
5054 * - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType | 5184 /// - "DIAGONAL_STRIPE" : Diagonal stripe shape. Corresponds to ECMA-376 |
5055 * 'dodecagon' | 5185 /// ST_ShapeType 'diagStripe' |
5056 * - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut' | 5186 /// - "DIAMOND" : Diamond shape. Corresponds to ECMA-376 ST_ShapeType |
5057 * - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType | 5187 /// 'diamond' |
5058 * 'doubleWave' | 5188 /// - "DODECAGON" : Dodecagon shape. Corresponds to ECMA-376 ST_ShapeType |
5059 * - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5189 /// 'dodecagon' |
5060 * 'downArrow' | 5190 /// - "DONUT" : Donut shape. Corresponds to ECMA-376 ST_ShapeType 'donut' |
5061 * - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to ECMA-376 | 5191 /// - "DOUBLE_WAVE" : Double wave shape. Corresponds to ECMA-376 ST_ShapeType |
5062 * ST_ShapeType | 5192 /// 'doubleWave' |
5063 * 'downArrowCallout' | 5193 /// - "DOWN_ARROW" : Down arrow shape. Corresponds to ECMA-376 ST_ShapeType |
5064 * - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376 | 5194 /// 'downArrow' |
5065 * ST_ShapeType 'foldedCorner' | 5195 /// - "DOWN_ARROW_CALLOUT" : Callout down arrow shape. Corresponds to |
5066 * - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame' | 5196 /// ECMA-376 ST_ShapeType |
5067 * - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType | 5197 /// 'downArrowCallout' |
5068 * 'halfFrame' | 5198 /// - "FOLDED_CORNER" : Folded corner shape. Corresponds to ECMA-376 |
5069 * - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart' | 5199 /// ST_ShapeType 'foldedCorner' |
5070 * - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType | 5200 /// - "FRAME" : Frame shape. Corresponds to ECMA-376 ST_ShapeType 'frame' |
5071 * 'heptagon' | 5201 /// - "HALF_FRAME" : Half frame shape. Corresponds to ECMA-376 ST_ShapeType |
5072 * - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon' | 5202 /// 'halfFrame' |
5073 * - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType | 5203 /// - "HEART" : Heart shape. Corresponds to ECMA-376 ST_ShapeType 'heart' |
5074 * 'homePlate' | 5204 /// - "HEPTAGON" : Heptagon shape. Corresponds to ECMA-376 ST_ShapeType |
5075 * - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376 | 5205 /// 'heptagon' |
5076 * ST_ShapeType | 5206 /// - "HEXAGON" : Hexagon shape. Corresponds to ECMA-376 ST_ShapeType |
5077 * 'horizontalScroll' | 5207 /// 'hexagon' |
5078 * - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376 | 5208 /// - "HOME_PLATE" : Home plate shape. Corresponds to ECMA-376 ST_ShapeType |
5079 * ST_ShapeType | 5209 /// 'homePlate' |
5080 * 'irregularSeal1' | 5210 /// - "HORIZONTAL_SCROLL" : Horizontal scroll shape. Corresponds to ECMA-376 |
5081 * - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376 | 5211 /// ST_ShapeType |
5082 * ST_ShapeType | 5212 /// 'horizontalScroll' |
5083 * 'irregularSeal2' | 5213 /// - "IRREGULAR_SEAL_1" : Irregular seal 1 shape. Corresponds to ECMA-376 |
5084 * - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5214 /// ST_ShapeType |
5085 * 'leftArrow' | 5215 /// 'irregularSeal1' |
5086 * - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to ECMA-376 | 5216 /// - "IRREGULAR_SEAL_2" : Irregular seal 2 shape. Corresponds to ECMA-376 |
5087 * ST_ShapeType | 5217 /// ST_ShapeType |
5088 * 'leftArrowCallout' | 5218 /// 'irregularSeal2' |
5089 * - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType | 5219 /// - "LEFT_ARROW" : Left arrow shape. Corresponds to ECMA-376 ST_ShapeType |
5090 * 'leftBrace' | 5220 /// 'leftArrow' |
5091 * - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376 ST_ShapeType | 5221 /// - "LEFT_ARROW_CALLOUT" : Callout left arrow shape. Corresponds to |
5092 * 'leftBracket' | 5222 /// ECMA-376 ST_ShapeType |
5093 * - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376 | 5223 /// 'leftArrowCallout' |
5094 * ST_ShapeType | 5224 /// - "LEFT_BRACE" : Left brace shape. Corresponds to ECMA-376 ST_ShapeType |
5095 * 'leftRightArrow' | 5225 /// 'leftBrace' |
5096 * - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape. Corresponds | 5226 /// - "LEFT_BRACKET" : Left bracket shape. Corresponds to ECMA-376 |
5097 * to ECMA-376 ST_ShapeType | 5227 /// ST_ShapeType 'leftBracket' |
5098 * 'leftRightArrowCallout' | 5228 /// - "LEFT_RIGHT_ARROW" : Left right arrow shape. Corresponds to ECMA-376 |
5099 * - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to | 5229 /// ST_ShapeType |
5100 * ECMA-376 ST_ShapeType | 5230 /// 'leftRightArrow' |
5101 * 'leftRightUpArrow' | 5231 /// - "LEFT_RIGHT_ARROW_CALLOUT" : Callout left right arrow shape. |
5102 * - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376 | 5232 /// Corresponds to ECMA-376 ST_ShapeType |
5103 * ST_ShapeType 'leftUpArrow' | 5233 /// 'leftRightArrowCallout' |
5104 * - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376 | 5234 /// - "LEFT_RIGHT_UP_ARROW" : Left right up arrow shape. Corresponds to |
5105 * ST_ShapeType | 5235 /// ECMA-376 ST_ShapeType |
5106 * 'lightningBolt' | 5236 /// 'leftRightUpArrow' |
5107 * - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType | 5237 /// - "LEFT_UP_ARROW" : Left up arrow shape. Corresponds to ECMA-376 |
5108 * 'mathDivide' | 5238 /// ST_ShapeType 'leftUpArrow' |
5109 * - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType | 5239 /// - "LIGHTNING_BOLT" : Lightning bolt shape. Corresponds to ECMA-376 |
5110 * 'mathEqual' | 5240 /// ST_ShapeType |
5111 * - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType | 5241 /// 'lightningBolt' |
5112 * 'mathMinus' | 5242 /// - "MATH_DIVIDE" : Divide math shape. Corresponds to ECMA-376 ST_ShapeType |
5113 * - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376 | 5243 /// 'mathDivide' |
5114 * ST_ShapeType 'mathMultiply' | 5244 /// - "MATH_EQUAL" : Equal math shape. Corresponds to ECMA-376 ST_ShapeType |
5115 * - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376 | 5245 /// 'mathEqual' |
5116 * ST_ShapeType 'mathNotEqual' | 5246 /// - "MATH_MINUS" : Minus math shape. Corresponds to ECMA-376 ST_ShapeType |
5117 * - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType | 5247 /// 'mathMinus' |
5118 * 'mathPlus' | 5248 /// - "MATH_MULTIPLY" : Multiply math shape. Corresponds to ECMA-376 |
5119 * - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon' | 5249 /// ST_ShapeType 'mathMultiply' |
5120 * - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType | 5250 /// - "MATH_NOT_EQUAL" : Not equal math shape. Corresponds to ECMA-376 |
5121 * 'noSmoking' | 5251 /// ST_ShapeType 'mathNotEqual' |
5122 * - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to | 5252 /// - "MATH_PLUS" : Plus math shape. Corresponds to ECMA-376 ST_ShapeType |
5123 * ECMA-376 ST_ShapeType | 5253 /// 'mathPlus' |
5124 * 'notchedRightArrow' | 5254 /// - "MOON" : Moon shape. Corresponds to ECMA-376 ST_ShapeType 'moon' |
5125 * - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon' | 5255 /// - "NO_SMOKING" : No smoking shape. Corresponds to ECMA-376 ST_ShapeType |
5126 * - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376 | 5256 /// 'noSmoking' |
5127 * ST_ShapeType 'parallelogram' | 5257 /// - "NOTCHED_RIGHT_ARROW" : Notched right arrow shape. Corresponds to |
5128 * - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType | 5258 /// ECMA-376 ST_ShapeType |
5129 * 'pentagon' | 5259 /// 'notchedRightArrow' |
5130 * - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie' | 5260 /// - "OCTAGON" : Octagon shape. Corresponds to ECMA-376 ST_ShapeType |
5131 * - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque' | 5261 /// 'octagon' |
5132 * - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus' | 5262 /// - "PARALLELOGRAM" : Parallelogram shape. Corresponds to ECMA-376 |
5133 * - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5263 /// ST_ShapeType 'parallelogram' |
5134 * 'quadArrow' | 5264 /// - "PENTAGON" : Pentagon shape. Corresponds to ECMA-376 ST_ShapeType |
5135 * - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to ECMA-376 | 5265 /// 'pentagon' |
5136 * ST_ShapeType | 5266 /// - "PIE" : Pie shape. Corresponds to ECMA-376 ST_ShapeType 'pie' |
5137 * 'quadArrowCallout' | 5267 /// - "PLAQUE" : Plaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque' |
5138 * - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon' | 5268 /// - "PLUS" : Plus shape. Corresponds to ECMA-376 ST_ShapeType 'plus' |
5139 * - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType | 5269 /// - "QUAD_ARROW" : Quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType |
5140 * 'ribbon2' | 5270 /// 'quadArrow' |
5141 * - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5271 /// - "QUAD_ARROW_CALLOUT" : Callout quad-arrow shape. Corresponds to |
5142 * 'rightArrow' | 5272 /// ECMA-376 ST_ShapeType |
5143 * - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to | 5273 /// 'quadArrowCallout' |
5144 * ECMA-376 ST_ShapeType | 5274 /// - "RIBBON" : Ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon' |
5145 * 'rightArrowCallout' | 5275 /// - "RIBBON_2" : Ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType |
5146 * - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType | 5276 /// 'ribbon2' |
5147 * 'rightBrace' | 5277 /// - "RIGHT_ARROW" : Right arrow shape. Corresponds to ECMA-376 ST_ShapeType |
5148 * - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376 | 5278 /// 'rightArrow' |
5149 * ST_ShapeType 'rightBracket' | 5279 /// - "RIGHT_ARROW_CALLOUT" : Callout right arrow shape. Corresponds to |
5150 * - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to | 5280 /// ECMA-376 ST_ShapeType |
5151 * ECMA-376 ST_ShapeType | 5281 /// 'rightArrowCallout' |
5152 * 'round1Rect' | 5282 /// - "RIGHT_BRACE" : Right brace shape. Corresponds to ECMA-376 ST_ShapeType |
5153 * - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle shape. | 5283 /// 'rightBrace' |
5154 * Corresponds to ECMA-376 | 5284 /// - "RIGHT_BRACKET" : Right bracket shape. Corresponds to ECMA-376 |
5155 * ST_ShapeType 'round2DiagRect' | 5285 /// ST_ShapeType 'rightBracket' |
5156 * - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape. | 5286 /// - "ROUND_1_RECTANGLE" : One round corner rectangle shape. Corresponds to |
5157 * Corresponds to ECMA-376 | 5287 /// ECMA-376 ST_ShapeType |
5158 * ST_ShapeType 'round2SameRect' | 5288 /// 'round1Rect' |
5159 * - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376 | 5289 /// - "ROUND_2_DIAGONAL_RECTANGLE" : Two diagonal round corner rectangle |
5160 * ST_ShapeType 'rtTriangle' | 5290 /// shape. Corresponds to ECMA-376 |
5161 * - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType | 5291 /// ST_ShapeType 'round2DiagRect' |
5162 * 'smileyFace' | 5292 /// - "ROUND_2_SAME_RECTANGLE" : Two same-side round corner rectangle shape. |
5163 * - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to | 5293 /// Corresponds to ECMA-376 |
5164 * ECMA-376 ST_ShapeType | 5294 /// ST_ShapeType 'round2SameRect' |
5165 * 'snip1Rect' | 5295 /// - "RIGHT_TRIANGLE" : Right triangle shape. Corresponds to ECMA-376 |
5166 * - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape. | 5296 /// ST_ShapeType 'rtTriangle' |
5167 * Corresponds to ECMA-376 | 5297 /// - "SMILEY_FACE" : Smiley face shape. Corresponds to ECMA-376 ST_ShapeType |
5168 * ST_ShapeType 'snip2DiagRect' | 5298 /// 'smileyFace' |
5169 * - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape. | 5299 /// - "SNIP_1_RECTANGLE" : One snip corner rectangle shape. Corresponds to |
5170 * Corresponds to ECMA-376 | 5300 /// ECMA-376 ST_ShapeType |
5171 * ST_ShapeType 'snip2SameRect' | 5301 /// 'snip1Rect' |
5172 * - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape. | 5302 /// - "SNIP_2_DIAGONAL_RECTANGLE" : Two diagonal snip corner rectangle shape. |
5173 * Corresponds to ECMA-376 | 5303 /// Corresponds to ECMA-376 |
5174 * ST_ShapeType 'snipRoundRect' | 5304 /// ST_ShapeType 'snip2DiagRect' |
5175 * - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 5305 /// - "SNIP_2_SAME_RECTANGLE" : Two same-side snip corner rectangle shape. |
5176 * 'star10' | 5306 /// Corresponds to ECMA-376 |
5177 * - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376 | 5307 /// ST_ShapeType 'snip2SameRect' |
5178 * ST_ShapeType 'star12' | 5308 /// - "SNIP_ROUND_RECTANGLE" : One snip one round corner rectangle shape. |
5179 * - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376 | 5309 /// Corresponds to ECMA-376 |
5180 * ST_ShapeType 'star16' | 5310 /// ST_ShapeType 'snipRoundRect' |
5181 * - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376 | 5311 /// - "STAR_10" : Ten pointed star shape. Corresponds to ECMA-376 |
5182 * ST_ShapeType | 5312 /// ST_ShapeType 'star10' |
5183 * 'star24' | 5313 /// - "STAR_12" : Twelve pointed star shape. Corresponds to ECMA-376 |
5184 * - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376 | 5314 /// ST_ShapeType 'star12' |
5185 * ST_ShapeType | 5315 /// - "STAR_16" : Sixteen pointed star shape. Corresponds to ECMA-376 |
5186 * 'star32' | 5316 /// ST_ShapeType 'star16' |
5187 * - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 5317 /// - "STAR_24" : Twenty four pointed star shape. Corresponds to ECMA-376 |
5188 * 'star4' | 5318 /// ST_ShapeType |
5189 * - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 5319 /// 'star24' |
5190 * 'star5' | 5320 /// - "STAR_32" : Thirty two pointed star shape. Corresponds to ECMA-376 |
5191 * - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 5321 /// ST_ShapeType |
5192 * 'star6' | 5322 /// 'star32' |
5193 * - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 5323 /// - "STAR_4" : Four pointed star shape. Corresponds to ECMA-376 |
5194 * 'star7' | 5324 /// ST_ShapeType 'star4' |
5195 * - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376 ST_ShapeType | 5325 /// - "STAR_5" : Five pointed star shape. Corresponds to ECMA-376 |
5196 * 'star8' | 5326 /// ST_ShapeType 'star5' |
5197 * - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to | 5327 /// - "STAR_6" : Six pointed star shape. Corresponds to ECMA-376 ST_ShapeType |
5198 * ECMA-376 ST_ShapeType | 5328 /// 'star6' |
5199 * 'stripedRightArrow' | 5329 /// - "STAR_7" : Seven pointed star shape. Corresponds to ECMA-376 |
5200 * - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun' | 5330 /// ST_ShapeType 'star7' |
5201 * - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType | 5331 /// - "STAR_8" : Eight pointed star shape. Corresponds to ECMA-376 |
5202 * 'trapezoid' | 5332 /// ST_ShapeType 'star8' |
5203 * - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType | 5333 /// - "STRIPED_RIGHT_ARROW" : Striped right arrow shape. Corresponds to |
5204 * 'triangle' | 5334 /// ECMA-376 ST_ShapeType |
5205 * - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5335 /// 'stripedRightArrow' |
5206 * 'upArrow' | 5336 /// - "SUN" : Sun shape. Corresponds to ECMA-376 ST_ShapeType 'sun' |
5207 * - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376 | 5337 /// - "TRAPEZOID" : Trapezoid shape. Corresponds to ECMA-376 ST_ShapeType |
5208 * ST_ShapeType | 5338 /// 'trapezoid' |
5209 * 'upArrowCallout' | 5339 /// - "TRIANGLE" : Triangle shape. Corresponds to ECMA-376 ST_ShapeType |
5210 * - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376 | 5340 /// 'triangle' |
5211 * ST_ShapeType 'upDownArrow' | 5341 /// - "UP_ARROW" : Up arrow shape. Corresponds to ECMA-376 ST_ShapeType |
5212 * - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType | 5342 /// 'upArrow' |
5213 * 'uturnArrow' | 5343 /// - "UP_ARROW_CALLOUT" : Callout up arrow shape. Corresponds to ECMA-376 |
5214 * - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376 | 5344 /// ST_ShapeType |
5215 * ST_ShapeType | 5345 /// 'upArrowCallout' |
5216 * 'verticalScroll' | 5346 /// - "UP_DOWN_ARROW" : Up down arrow shape. Corresponds to ECMA-376 |
5217 * - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave' | 5347 /// ST_ShapeType 'upDownArrow' |
5218 * - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to | 5348 /// - "UTURN_ARROW" : U-turn arrow shape. Corresponds to ECMA-376 |
5219 * ECMA-376 ST_ShapeType | 5349 /// ST_ShapeType 'uturnArrow' |
5220 * 'wedgeEllipseCallout' | 5350 /// - "VERTICAL_SCROLL" : Vertical scroll shape. Corresponds to ECMA-376 |
5221 * - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds to | 5351 /// ST_ShapeType |
5222 * ECMA-376 ST_ShapeType | 5352 /// 'verticalScroll' |
5223 * 'wedgeRectCallout' | 5353 /// - "WAVE" : Wave shape. Corresponds to ECMA-376 ST_ShapeType 'wave' |
5224 * - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape. | 5354 /// - "WEDGE_ELLIPSE_CALLOUT" : Callout wedge ellipse shape. Corresponds to |
5225 * Corresponds to ECMA-376 ST_ShapeType | 5355 /// ECMA-376 ST_ShapeType |
5226 * 'wedgeRoundRectCallout' | 5356 /// 'wedgeEllipseCallout' |
5227 * - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape. | 5357 /// - "WEDGE_RECTANGLE_CALLOUT" : Callout wedge rectangle shape. Corresponds |
5228 * Corresponds to ECMA-376 ST_ShapeType | 5358 /// to ECMA-376 ST_ShapeType |
5229 * 'flowChartAlternateProcess' | 5359 /// 'wedgeRectCallout' |
5230 * - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376 | 5360 /// - "WEDGE_ROUND_RECTANGLE_CALLOUT" : Callout wedge round rectangle shape. |
5231 * ST_ShapeType | 5361 /// Corresponds to ECMA-376 ST_ShapeType |
5232 * 'flowChartCollate' | 5362 /// 'wedgeRoundRectCallout' |
5233 * - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376 | 5363 /// - "FLOW_CHART_ALTERNATE_PROCESS" : Alternate process flow shape. |
5234 * ST_ShapeType | 5364 /// Corresponds to ECMA-376 ST_ShapeType |
5235 * 'flowChartConnector' | 5365 /// 'flowChartAlternateProcess' |
5236 * - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376 | 5366 /// - "FLOW_CHART_COLLATE" : Collate flow shape. Corresponds to ECMA-376 |
5237 * ST_ShapeType | 5367 /// ST_ShapeType |
5238 * 'flowChartDecision' | 5368 /// 'flowChartCollate' |
5239 * - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376 | 5369 /// - "FLOW_CHART_CONNECTOR" : Connector flow shape. Corresponds to ECMA-376 |
5240 * ST_ShapeType 'flowChartDelay' | 5370 /// ST_ShapeType |
5241 * - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376 | 5371 /// 'flowChartConnector' |
5242 * ST_ShapeType | 5372 /// - "FLOW_CHART_DECISION" : Decision flow shape. Corresponds to ECMA-376 |
5243 * 'flowChartDisplay' | 5373 /// ST_ShapeType |
5244 * - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376 | 5374 /// 'flowChartDecision' |
5245 * ST_ShapeType | 5375 /// - "FLOW_CHART_DELAY" : Delay flow shape. Corresponds to ECMA-376 |
5246 * 'flowChartDocument' | 5376 /// ST_ShapeType 'flowChartDelay' |
5247 * - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376 | 5377 /// - "FLOW_CHART_DISPLAY" : Display flow shape. Corresponds to ECMA-376 |
5248 * ST_ShapeType | 5378 /// ST_ShapeType |
5249 * 'flowChartExtract' | 5379 /// 'flowChartDisplay' |
5250 * - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to | 5380 /// - "FLOW_CHART_DOCUMENT" : Document flow shape. Corresponds to ECMA-376 |
5251 * ECMA-376 ST_ShapeType | 5381 /// ST_ShapeType |
5252 * 'flowChartInputOutput' | 5382 /// 'flowChartDocument' |
5253 * - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape. Corresponds | 5383 /// - "FLOW_CHART_EXTRACT" : Extract flow shape. Corresponds to ECMA-376 |
5254 * to ECMA-376 ST_ShapeType | 5384 /// ST_ShapeType |
5255 * 'flowChartInternalStorage' | 5385 /// 'flowChartExtract' |
5256 * - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to | 5386 /// - "FLOW_CHART_INPUT_OUTPUT" : Input output flow shape. Corresponds to |
5257 * ECMA-376 ST_ShapeType | 5387 /// ECMA-376 ST_ShapeType |
5258 * 'flowChartMagneticDisk' | 5388 /// 'flowChartInputOutput' |
5259 * - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to | 5389 /// - "FLOW_CHART_INTERNAL_STORAGE" : Internal storage flow shape. |
5260 * ECMA-376 ST_ShapeType | 5390 /// Corresponds to ECMA-376 ST_ShapeType |
5261 * 'flowChartMagneticDrum' | 5391 /// 'flowChartInternalStorage' |
5262 * - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to | 5392 /// - "FLOW_CHART_MAGNETIC_DISK" : Magnetic disk flow shape. Corresponds to |
5263 * ECMA-376 ST_ShapeType | 5393 /// ECMA-376 ST_ShapeType |
5264 * 'flowChartMagneticTape' | 5394 /// 'flowChartMagneticDisk' |
5265 * - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to | 5395 /// - "FLOW_CHART_MAGNETIC_DRUM" : Magnetic drum flow shape. Corresponds to |
5266 * ECMA-376 ST_ShapeType | 5396 /// ECMA-376 ST_ShapeType |
5267 * 'flowChartManualInput' | 5397 /// 'flowChartMagneticDrum' |
5268 * - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape. Corresponds | 5398 /// - "FLOW_CHART_MAGNETIC_TAPE" : Magnetic tape flow shape. Corresponds to |
5269 * to ECMA-376 ST_ShapeType | 5399 /// ECMA-376 ST_ShapeType |
5270 * 'flowChartManualOperation' | 5400 /// 'flowChartMagneticTape' |
5271 * - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376 | 5401 /// - "FLOW_CHART_MANUAL_INPUT" : Manual input flow shape. Corresponds to |
5272 * ST_ShapeType 'flowChartMerge' | 5402 /// ECMA-376 ST_ShapeType |
5273 * - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to | 5403 /// 'flowChartManualInput' |
5274 * ECMA-376 ST_ShapeType | 5404 /// - "FLOW_CHART_MANUAL_OPERATION" : Manual operation flow shape. |
5275 * 'flowChartMultidocument' | 5405 /// Corresponds to ECMA-376 ST_ShapeType |
5276 * - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds to | 5406 /// 'flowChartManualOperation' |
5277 * ECMA-376 ST_ShapeType | 5407 /// - "FLOW_CHART_MERGE" : Merge flow shape. Corresponds to ECMA-376 |
5278 * 'flowChartOfflineStorage' | 5408 /// ST_ShapeType 'flowChartMerge' |
5279 * - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape. | 5409 /// - "FLOW_CHART_MULTIDOCUMENT" : Multi-document flow shape. Corresponds to |
5280 * Corresponds to ECMA-376 ST_ShapeType | 5410 /// ECMA-376 ST_ShapeType |
5281 * 'flowChartOffpageConnector' | 5411 /// 'flowChartMultidocument' |
5282 * - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to | 5412 /// - "FLOW_CHART_OFFLINE_STORAGE" : Offline storage flow shape. Corresponds |
5283 * ECMA-376 ST_ShapeType | 5413 /// to ECMA-376 ST_ShapeType |
5284 * 'flowChartOnlineStorage' | 5414 /// 'flowChartOfflineStorage' |
5285 * - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType | 5415 /// - "FLOW_CHART_OFFPAGE_CONNECTOR" : Off-page connector flow shape. |
5286 * 'flowChartOr' | 5416 /// Corresponds to ECMA-376 ST_ShapeType |
5287 * - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape. | 5417 /// 'flowChartOffpageConnector' |
5288 * Corresponds to ECMA-376 ST_ShapeType | 5418 /// - "FLOW_CHART_ONLINE_STORAGE" : Online storage flow shape. Corresponds to |
5289 * 'flowChartPredefinedProcess' | 5419 /// ECMA-376 ST_ShapeType |
5290 * - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to | 5420 /// 'flowChartOnlineStorage' |
5291 * ECMA-376 ST_ShapeType | 5421 /// - "FLOW_CHART_OR" : Or flow shape. Corresponds to ECMA-376 ST_ShapeType |
5292 * 'flowChartPreparation' | 5422 /// 'flowChartOr' |
5293 * - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376 | 5423 /// - "FLOW_CHART_PREDEFINED_PROCESS" : Predefined process flow shape. |
5294 * ST_ShapeType | 5424 /// Corresponds to ECMA-376 ST_ShapeType |
5295 * 'flowChartProcess' | 5425 /// 'flowChartPredefinedProcess' |
5296 * - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to | 5426 /// - "FLOW_CHART_PREPARATION" : Preparation flow shape. Corresponds to |
5297 * ECMA-376 ST_ShapeType | 5427 /// ECMA-376 ST_ShapeType |
5298 * 'flowChartPunchedCard' | 5428 /// 'flowChartPreparation' |
5299 * - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to | 5429 /// - "FLOW_CHART_PROCESS" : Process flow shape. Corresponds to ECMA-376 |
5300 * ECMA-376 ST_ShapeType | 5430 /// ST_ShapeType |
5301 * 'flowChartPunchedTape' | 5431 /// 'flowChartProcess' |
5302 * - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376 ST_ShapeType | 5432 /// - "FLOW_CHART_PUNCHED_CARD" : Punched card flow shape. Corresponds to |
5303 * 'flowChartSort' | 5433 /// ECMA-376 ST_ShapeType |
5304 * - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape. Corresponds | 5434 /// 'flowChartPunchedCard' |
5305 * to ECMA-376 ST_ShapeType | 5435 /// - "FLOW_CHART_PUNCHED_TAPE" : Punched tape flow shape. Corresponds to |
5306 * 'flowChartSummingJunction' | 5436 /// ECMA-376 ST_ShapeType |
5307 * - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to ECMA-376 | 5437 /// 'flowChartPunchedTape' |
5308 * ST_ShapeType | 5438 /// - "FLOW_CHART_SORT" : Sort flow shape. Corresponds to ECMA-376 |
5309 * 'flowChartTerminator' | 5439 /// ST_ShapeType 'flowChartSort' |
5310 * - "ARROW_EAST" : East arrow shape. | 5440 /// - "FLOW_CHART_SUMMING_JUNCTION" : Summing junction flow shape. |
5311 * - "ARROW_NORTH_EAST" : Northeast arrow shape. | 5441 /// Corresponds to ECMA-376 ST_ShapeType |
5312 * - "ARROW_NORTH" : North arrow shape. | 5442 /// 'flowChartSummingJunction' |
5313 * - "SPEECH" : Speech shape. | 5443 /// - "FLOW_CHART_TERMINATOR" : Terminator flow shape. Corresponds to |
5314 * - "STARBURST" : Star burst shape. | 5444 /// ECMA-376 ST_ShapeType |
5315 * - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType | 5445 /// 'flowChartTerminator' |
5316 * 'teardrop' | 5446 /// - "ARROW_EAST" : East arrow shape. |
5317 * - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376 | 5447 /// - "ARROW_NORTH_EAST" : Northeast arrow shape. |
5318 * ST_ShapeType | 5448 /// - "ARROW_NORTH" : North arrow shape. |
5319 * 'ellipseRibbon' | 5449 /// - "SPEECH" : Speech shape. |
5320 * - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376 | 5450 /// - "STARBURST" : Star burst shape. |
5321 * ST_ShapeType | 5451 /// - "TEARDROP" : Teardrop shape. Corresponds to ECMA-376 ST_ShapeType |
5322 * 'ellipseRibbon2' | 5452 /// 'teardrop' |
5323 * - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376 | 5453 /// - "ELLIPSE_RIBBON" : Ellipse ribbon shape. Corresponds to ECMA-376 |
5324 * ST_ShapeType 'cloudCallout' | 5454 /// ST_ShapeType |
5325 * - "CUSTOM" : Custom shape. | 5455 /// 'ellipseRibbon' |
5326 */ | 5456 /// - "ELLIPSE_RIBBON_2" : Ellipse ribbon 2 shape. Corresponds to ECMA-376 |
| 5457 /// ST_ShapeType |
| 5458 /// 'ellipseRibbon2' |
| 5459 /// - "CLOUD_CALLOUT" : Callout cloud shape. Corresponds to ECMA-376 |
| 5460 /// ST_ShapeType 'cloudCallout' |
| 5461 /// - "CUSTOM" : Custom shape. |
5327 core.String shapeType; | 5462 core.String shapeType; |
5328 /** The text content of the shape. */ | 5463 |
| 5464 /// The text content of the shape. |
5329 TextContent text; | 5465 TextContent text; |
5330 | 5466 |
5331 Shape(); | 5467 Shape(); |
5332 | 5468 |
5333 Shape.fromJson(core.Map _json) { | 5469 Shape.fromJson(core.Map _json) { |
5334 if (_json.containsKey("placeholder")) { | 5470 if (_json.containsKey("placeholder")) { |
5335 placeholder = new Placeholder.fromJson(_json["placeholder"]); | 5471 placeholder = new Placeholder.fromJson(_json["placeholder"]); |
5336 } | 5472 } |
5337 if (_json.containsKey("shapeProperties")) { | 5473 if (_json.containsKey("shapeProperties")) { |
5338 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]); | 5474 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]); |
5339 } | 5475 } |
5340 if (_json.containsKey("shapeType")) { | 5476 if (_json.containsKey("shapeType")) { |
5341 shapeType = _json["shapeType"]; | 5477 shapeType = _json["shapeType"]; |
5342 } | 5478 } |
5343 if (_json.containsKey("text")) { | 5479 if (_json.containsKey("text")) { |
5344 text = new TextContent.fromJson(_json["text"]); | 5480 text = new TextContent.fromJson(_json["text"]); |
5345 } | 5481 } |
5346 } | 5482 } |
5347 | 5483 |
5348 core.Map<core.String, core.Object> toJson() { | 5484 core.Map<core.String, core.Object> toJson() { |
5349 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5485 final core.Map<core.String, core.Object> _json = |
| 5486 new core.Map<core.String, core.Object>(); |
5350 if (placeholder != null) { | 5487 if (placeholder != null) { |
5351 _json["placeholder"] = (placeholder).toJson(); | 5488 _json["placeholder"] = (placeholder).toJson(); |
5352 } | 5489 } |
5353 if (shapeProperties != null) { | 5490 if (shapeProperties != null) { |
5354 _json["shapeProperties"] = (shapeProperties).toJson(); | 5491 _json["shapeProperties"] = (shapeProperties).toJson(); |
5355 } | 5492 } |
5356 if (shapeType != null) { | 5493 if (shapeType != null) { |
5357 _json["shapeType"] = shapeType; | 5494 _json["shapeType"] = shapeType; |
5358 } | 5495 } |
5359 if (text != null) { | 5496 if (text != null) { |
5360 _json["text"] = (text).toJson(); | 5497 _json["text"] = (text).toJson(); |
5361 } | 5498 } |
5362 return _json; | 5499 return _json; |
5363 } | 5500 } |
5364 } | 5501 } |
5365 | 5502 |
5366 /** The shape background fill. */ | 5503 /// The shape background fill. |
5367 class ShapeBackgroundFill { | 5504 class ShapeBackgroundFill { |
5368 /** | 5505 /// The background fill property state. |
5369 * The background fill property state. | 5506 /// |
5370 * | 5507 /// Updating the the fill on a shape will implicitly update this field to |
5371 * Updating the the fill on a shape will implicitly update this field to | 5508 /// `RENDERED`, unless another value is specified in the same request. To |
5372 * `RENDERED`, unless another value is specified in the same request. To | 5509 /// have no fill on a shape, set this field to `NOT_RENDERED`. In this case, |
5373 * have no fill on a shape, set this field to `NOT_RENDERED`. In this case, | 5510 /// any other fill fields set in the same request will be ignored. |
5374 * any other fill fields set in the same request will be ignored. | 5511 /// Possible string values are: |
5375 * Possible string values are: | 5512 /// - "RENDERED" : If a property's state is RENDERED, then the element has |
5376 * - "RENDERED" : If a property's state is RENDERED, then the element has the | 5513 /// the corresponding |
5377 * corresponding | 5514 /// property when rendered on a page. If the element is a placeholder shape |
5378 * property when rendered on a page. If the element is a placeholder shape as | 5515 /// as |
5379 * determined by the placeholder | 5516 /// determined by the placeholder |
5380 * field, and it inherits from a placeholder shape, the corresponding field | 5517 /// field, and it inherits from a placeholder shape, the corresponding field |
5381 * may be unset, meaning that the property value is inherited from a parent | 5518 /// may be unset, meaning that the property value is inherited from a parent |
5382 * placeholder. If the element does not inherit, then the field will contain | 5519 /// placeholder. If the element does not inherit, then the field will contain |
5383 * the rendered value. This is the default value. | 5520 /// the rendered value. This is the default value. |
5384 * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element | 5521 /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the |
5385 * does not have the | 5522 /// element does not have the |
5386 * corresponding property when rendered on a page. However, the field may | 5523 /// corresponding property when rendered on a page. However, the field may |
5387 * still be set so it can be inherited by child shapes. To remove a property | 5524 /// still be set so it can be inherited by child shapes. To remove a property |
5388 * from a rendered element, set its property_state to NOT_RENDERED. | 5525 /// from a rendered element, set its property_state to NOT_RENDERED. |
5389 * - "INHERIT" : If a property's state is INHERIT, then the property state | 5526 /// - "INHERIT" : If a property's state is INHERIT, then the property state |
5390 * uses the value of | 5527 /// uses the value of |
5391 * corresponding `property_state` field on the parent shape. Elements that do | 5528 /// corresponding `property_state` field on the parent shape. Elements that |
5392 * not inherit will never have an INHERIT property state. | 5529 /// do |
5393 */ | 5530 /// not inherit will never have an INHERIT property state. |
5394 core.String propertyState; | 5531 core.String propertyState; |
5395 /** Solid color fill. */ | 5532 |
| 5533 /// Solid color fill. |
5396 SolidFill solidFill; | 5534 SolidFill solidFill; |
5397 | 5535 |
5398 ShapeBackgroundFill(); | 5536 ShapeBackgroundFill(); |
5399 | 5537 |
5400 ShapeBackgroundFill.fromJson(core.Map _json) { | 5538 ShapeBackgroundFill.fromJson(core.Map _json) { |
5401 if (_json.containsKey("propertyState")) { | 5539 if (_json.containsKey("propertyState")) { |
5402 propertyState = _json["propertyState"]; | 5540 propertyState = _json["propertyState"]; |
5403 } | 5541 } |
5404 if (_json.containsKey("solidFill")) { | 5542 if (_json.containsKey("solidFill")) { |
5405 solidFill = new SolidFill.fromJson(_json["solidFill"]); | 5543 solidFill = new SolidFill.fromJson(_json["solidFill"]); |
5406 } | 5544 } |
5407 } | 5545 } |
5408 | 5546 |
5409 core.Map<core.String, core.Object> toJson() { | 5547 core.Map<core.String, core.Object> toJson() { |
5410 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5548 final core.Map<core.String, core.Object> _json = |
| 5549 new core.Map<core.String, core.Object>(); |
5411 if (propertyState != null) { | 5550 if (propertyState != null) { |
5412 _json["propertyState"] = propertyState; | 5551 _json["propertyState"] = propertyState; |
5413 } | 5552 } |
5414 if (solidFill != null) { | 5553 if (solidFill != null) { |
5415 _json["solidFill"] = (solidFill).toJson(); | 5554 _json["solidFill"] = (solidFill).toJson(); |
5416 } | 5555 } |
5417 return _json; | 5556 return _json; |
5418 } | 5557 } |
5419 } | 5558 } |
5420 | 5559 |
5421 /** | 5560 /// The properties of a Shape. |
5422 * The properties of a Shape. | 5561 /// |
5423 * | 5562 /// If the shape is a placeholder shape as determined by the |
5424 * If the shape is a placeholder shape as determined by the | 5563 /// placeholder field, then these |
5425 * placeholder field, then these | 5564 /// properties may be inherited from a parent placeholder shape. |
5426 * properties may be inherited from a parent placeholder shape. | 5565 /// Determining the rendered value of the property depends on the corresponding |
5427 * Determining the rendered value of the property depends on the corresponding | 5566 /// property_state field value. |
5428 * property_state field value. | |
5429 */ | |
5430 class ShapeProperties { | 5567 class ShapeProperties { |
5431 /** | 5568 /// The hyperlink destination of the shape. If unset, there is no link. Links |
5432 * The hyperlink destination of the shape. If unset, there is no link. Links | 5569 /// are not inherited from parent placeholders. |
5433 * are not inherited from parent placeholders. | |
5434 */ | |
5435 Link link; | 5570 Link link; |
5436 /** | 5571 |
5437 * The outline of the shape. If unset, the outline is inherited from a | 5572 /// The outline of the shape. If unset, the outline is inherited from a |
5438 * parent placeholder if it exists. If the shape has no parent, then the | 5573 /// parent placeholder if it exists. If the shape has no parent, then the |
5439 * default outline depends on the shape type, matching the defaults for | 5574 /// default outline depends on the shape type, matching the defaults for |
5440 * new shapes created in the Slides editor. | 5575 /// new shapes created in the Slides editor. |
5441 */ | |
5442 Outline outline; | 5576 Outline outline; |
5443 /** | 5577 |
5444 * The shadow properties of the shape. If unset, the shadow is inherited from | 5578 /// The shadow properties of the shape. If unset, the shadow is inherited |
5445 * a parent placeholder if it exists. If the shape has no parent, then the | 5579 /// from |
5446 * default shadow matches the defaults for new shapes created in the Slides | 5580 /// a parent placeholder if it exists. If the shape has no parent, then the |
5447 * editor. This property is read-only. | 5581 /// default shadow matches the defaults for new shapes created in the Slides |
5448 */ | 5582 /// editor. This property is read-only. |
5449 Shadow shadow; | 5583 Shadow shadow; |
5450 /** | 5584 |
5451 * The background fill of the shape. If unset, the background fill is | 5585 /// The background fill of the shape. If unset, the background fill is |
5452 * inherited from a parent placeholder if it exists. If the shape has no | 5586 /// inherited from a parent placeholder if it exists. If the shape has no |
5453 * parent, then the default background fill depends on the shape type, | 5587 /// parent, then the default background fill depends on the shape type, |
5454 * matching the defaults for new shapes created in the Slides editor. | 5588 /// matching the defaults for new shapes created in the Slides editor. |
5455 */ | |
5456 ShapeBackgroundFill shapeBackgroundFill; | 5589 ShapeBackgroundFill shapeBackgroundFill; |
5457 | 5590 |
5458 ShapeProperties(); | 5591 ShapeProperties(); |
5459 | 5592 |
5460 ShapeProperties.fromJson(core.Map _json) { | 5593 ShapeProperties.fromJson(core.Map _json) { |
5461 if (_json.containsKey("link")) { | 5594 if (_json.containsKey("link")) { |
5462 link = new Link.fromJson(_json["link"]); | 5595 link = new Link.fromJson(_json["link"]); |
5463 } | 5596 } |
5464 if (_json.containsKey("outline")) { | 5597 if (_json.containsKey("outline")) { |
5465 outline = new Outline.fromJson(_json["outline"]); | 5598 outline = new Outline.fromJson(_json["outline"]); |
5466 } | 5599 } |
5467 if (_json.containsKey("shadow")) { | 5600 if (_json.containsKey("shadow")) { |
5468 shadow = new Shadow.fromJson(_json["shadow"]); | 5601 shadow = new Shadow.fromJson(_json["shadow"]); |
5469 } | 5602 } |
5470 if (_json.containsKey("shapeBackgroundFill")) { | 5603 if (_json.containsKey("shapeBackgroundFill")) { |
5471 shapeBackgroundFill = new ShapeBackgroundFill.fromJson(_json["shapeBackgro
undFill"]); | 5604 shapeBackgroundFill = |
| 5605 new ShapeBackgroundFill.fromJson(_json["shapeBackgroundFill"]); |
5472 } | 5606 } |
5473 } | 5607 } |
5474 | 5608 |
5475 core.Map<core.String, core.Object> toJson() { | 5609 core.Map<core.String, core.Object> toJson() { |
5476 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5610 final core.Map<core.String, core.Object> _json = |
| 5611 new core.Map<core.String, core.Object>(); |
5477 if (link != null) { | 5612 if (link != null) { |
5478 _json["link"] = (link).toJson(); | 5613 _json["link"] = (link).toJson(); |
5479 } | 5614 } |
5480 if (outline != null) { | 5615 if (outline != null) { |
5481 _json["outline"] = (outline).toJson(); | 5616 _json["outline"] = (outline).toJson(); |
5482 } | 5617 } |
5483 if (shadow != null) { | 5618 if (shadow != null) { |
5484 _json["shadow"] = (shadow).toJson(); | 5619 _json["shadow"] = (shadow).toJson(); |
5485 } | 5620 } |
5486 if (shapeBackgroundFill != null) { | 5621 if (shapeBackgroundFill != null) { |
5487 _json["shapeBackgroundFill"] = (shapeBackgroundFill).toJson(); | 5622 _json["shapeBackgroundFill"] = (shapeBackgroundFill).toJson(); |
5488 } | 5623 } |
5489 return _json; | 5624 return _json; |
5490 } | 5625 } |
5491 } | 5626 } |
5492 | 5627 |
5493 /** | 5628 /// A PageElement kind representing |
5494 * A PageElement kind representing | 5629 /// a linked chart embedded from Google Sheets. |
5495 * a linked chart embedded from Google Sheets. | |
5496 */ | |
5497 class SheetsChart { | 5630 class SheetsChart { |
5498 /** | 5631 /// The ID of the specific chart in the Google Sheets spreadsheet that is |
5499 * The ID of the specific chart in the Google Sheets spreadsheet that is | 5632 /// embedded. |
5500 * embedded. | |
5501 */ | |
5502 core.int chartId; | 5633 core.int chartId; |
5503 /** | 5634 |
5504 * The URL of an image of the embedded chart, with a default lifetime of 30 | 5635 /// The URL of an image of the embedded chart, with a default lifetime of 30 |
5505 * minutes. This URL is tagged with the account of the requester. Anyone with | 5636 /// minutes. This URL is tagged with the account of the requester. Anyone |
5506 * the URL effectively accesses the image as the original requester. Access to | 5637 /// with |
5507 * the image may be lost if the presentation's sharing settings change. | 5638 /// the URL effectively accesses the image as the original requester. Access |
5508 */ | 5639 /// to |
| 5640 /// the image may be lost if the presentation's sharing settings change. |
5509 core.String contentUrl; | 5641 core.String contentUrl; |
5510 /** The properties of the Sheets chart. */ | 5642 |
| 5643 /// The properties of the Sheets chart. |
5511 SheetsChartProperties sheetsChartProperties; | 5644 SheetsChartProperties sheetsChartProperties; |
5512 /** | 5645 |
5513 * The ID of the Google Sheets spreadsheet that contains the source chart. | 5646 /// The ID of the Google Sheets spreadsheet that contains the source chart. |
5514 */ | |
5515 core.String spreadsheetId; | 5647 core.String spreadsheetId; |
5516 | 5648 |
5517 SheetsChart(); | 5649 SheetsChart(); |
5518 | 5650 |
5519 SheetsChart.fromJson(core.Map _json) { | 5651 SheetsChart.fromJson(core.Map _json) { |
5520 if (_json.containsKey("chartId")) { | 5652 if (_json.containsKey("chartId")) { |
5521 chartId = _json["chartId"]; | 5653 chartId = _json["chartId"]; |
5522 } | 5654 } |
5523 if (_json.containsKey("contentUrl")) { | 5655 if (_json.containsKey("contentUrl")) { |
5524 contentUrl = _json["contentUrl"]; | 5656 contentUrl = _json["contentUrl"]; |
5525 } | 5657 } |
5526 if (_json.containsKey("sheetsChartProperties")) { | 5658 if (_json.containsKey("sheetsChartProperties")) { |
5527 sheetsChartProperties = new SheetsChartProperties.fromJson(_json["sheetsCh
artProperties"]); | 5659 sheetsChartProperties = |
| 5660 new SheetsChartProperties.fromJson(_json["sheetsChartProperties"]); |
5528 } | 5661 } |
5529 if (_json.containsKey("spreadsheetId")) { | 5662 if (_json.containsKey("spreadsheetId")) { |
5530 spreadsheetId = _json["spreadsheetId"]; | 5663 spreadsheetId = _json["spreadsheetId"]; |
5531 } | 5664 } |
5532 } | 5665 } |
5533 | 5666 |
5534 core.Map<core.String, core.Object> toJson() { | 5667 core.Map<core.String, core.Object> toJson() { |
5535 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5668 final core.Map<core.String, core.Object> _json = |
| 5669 new core.Map<core.String, core.Object>(); |
5536 if (chartId != null) { | 5670 if (chartId != null) { |
5537 _json["chartId"] = chartId; | 5671 _json["chartId"] = chartId; |
5538 } | 5672 } |
5539 if (contentUrl != null) { | 5673 if (contentUrl != null) { |
5540 _json["contentUrl"] = contentUrl; | 5674 _json["contentUrl"] = contentUrl; |
5541 } | 5675 } |
5542 if (sheetsChartProperties != null) { | 5676 if (sheetsChartProperties != null) { |
5543 _json["sheetsChartProperties"] = (sheetsChartProperties).toJson(); | 5677 _json["sheetsChartProperties"] = (sheetsChartProperties).toJson(); |
5544 } | 5678 } |
5545 if (spreadsheetId != null) { | 5679 if (spreadsheetId != null) { |
5546 _json["spreadsheetId"] = spreadsheetId; | 5680 _json["spreadsheetId"] = spreadsheetId; |
5547 } | 5681 } |
5548 return _json; | 5682 return _json; |
5549 } | 5683 } |
5550 } | 5684 } |
5551 | 5685 |
5552 /** The properties of the SheetsChart. */ | 5686 /// The properties of the SheetsChart. |
5553 class SheetsChartProperties { | 5687 class SheetsChartProperties { |
5554 /** The properties of the embedded chart image. */ | 5688 /// The properties of the embedded chart image. |
5555 ImageProperties chartImageProperties; | 5689 ImageProperties chartImageProperties; |
5556 | 5690 |
5557 SheetsChartProperties(); | 5691 SheetsChartProperties(); |
5558 | 5692 |
5559 SheetsChartProperties.fromJson(core.Map _json) { | 5693 SheetsChartProperties.fromJson(core.Map _json) { |
5560 if (_json.containsKey("chartImageProperties")) { | 5694 if (_json.containsKey("chartImageProperties")) { |
5561 chartImageProperties = new ImageProperties.fromJson(_json["chartImagePrope
rties"]); | 5695 chartImageProperties = |
| 5696 new ImageProperties.fromJson(_json["chartImageProperties"]); |
5562 } | 5697 } |
5563 } | 5698 } |
5564 | 5699 |
5565 core.Map<core.String, core.Object> toJson() { | 5700 core.Map<core.String, core.Object> toJson() { |
5566 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5701 final core.Map<core.String, core.Object> _json = |
| 5702 new core.Map<core.String, core.Object>(); |
5567 if (chartImageProperties != null) { | 5703 if (chartImageProperties != null) { |
5568 _json["chartImageProperties"] = (chartImageProperties).toJson(); | 5704 _json["chartImageProperties"] = (chartImageProperties).toJson(); |
5569 } | 5705 } |
5570 return _json; | 5706 return _json; |
5571 } | 5707 } |
5572 } | 5708 } |
5573 | 5709 |
5574 /** A width and height. */ | 5710 /// A width and height. |
5575 class Size { | 5711 class Size { |
5576 /** The height of the object. */ | 5712 /// The height of the object. |
5577 Dimension height; | 5713 Dimension height; |
5578 /** The width of the object. */ | 5714 |
| 5715 /// The width of the object. |
5579 Dimension width; | 5716 Dimension width; |
5580 | 5717 |
5581 Size(); | 5718 Size(); |
5582 | 5719 |
5583 Size.fromJson(core.Map _json) { | 5720 Size.fromJson(core.Map _json) { |
5584 if (_json.containsKey("height")) { | 5721 if (_json.containsKey("height")) { |
5585 height = new Dimension.fromJson(_json["height"]); | 5722 height = new Dimension.fromJson(_json["height"]); |
5586 } | 5723 } |
5587 if (_json.containsKey("width")) { | 5724 if (_json.containsKey("width")) { |
5588 width = new Dimension.fromJson(_json["width"]); | 5725 width = new Dimension.fromJson(_json["width"]); |
5589 } | 5726 } |
5590 } | 5727 } |
5591 | 5728 |
5592 core.Map<core.String, core.Object> toJson() { | 5729 core.Map<core.String, core.Object> toJson() { |
5593 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5730 final core.Map<core.String, core.Object> _json = |
| 5731 new core.Map<core.String, core.Object>(); |
5594 if (height != null) { | 5732 if (height != null) { |
5595 _json["height"] = (height).toJson(); | 5733 _json["height"] = (height).toJson(); |
5596 } | 5734 } |
5597 if (width != null) { | 5735 if (width != null) { |
5598 _json["width"] = (width).toJson(); | 5736 _json["width"] = (width).toJson(); |
5599 } | 5737 } |
5600 return _json; | 5738 return _json; |
5601 } | 5739 } |
5602 } | 5740 } |
5603 | 5741 |
5604 /** | 5742 /// The properties of Page that are only |
5605 * The properties of Page that are only | 5743 /// relevant for pages with page_type SLIDE. |
5606 * relevant for pages with page_type SLIDE. | |
5607 */ | |
5608 class SlideProperties { | 5744 class SlideProperties { |
5609 /** The object ID of the layout that this slide is based on. */ | 5745 /// The object ID of the layout that this slide is based on. |
5610 core.String layoutObjectId; | 5746 core.String layoutObjectId; |
5611 /** The object ID of the master that this slide is based on. */ | 5747 |
| 5748 /// The object ID of the master that this slide is based on. |
5612 core.String masterObjectId; | 5749 core.String masterObjectId; |
5613 /** | 5750 |
5614 * The notes page that this slide is associated with. It defines the visual | 5751 /// The notes page that this slide is associated with. It defines the visual |
5615 * appearance of a notes page when printing or exporting slides with speaker | 5752 /// appearance of a notes page when printing or exporting slides with speaker |
5616 * notes. A notes page inherits properties from the | 5753 /// notes. A notes page inherits properties from the |
5617 * notes master. | 5754 /// notes master. |
5618 * The placeholder shape with type BODY on the notes page contains the speaker | 5755 /// The placeholder shape with type BODY on the notes page contains the |
5619 * notes for this slide. The ID of this shape is identified by the | 5756 /// speaker |
5620 * speakerNotesObjectId field. | 5757 /// notes for this slide. The ID of this shape is identified by the |
5621 * The notes page is read-only except for the text content and styles of the | 5758 /// speakerNotesObjectId field. |
5622 * speaker notes shape. | 5759 /// The notes page is read-only except for the text content and styles of the |
5623 */ | 5760 /// speaker notes shape. |
5624 Page notesPage; | 5761 Page notesPage; |
5625 | 5762 |
5626 SlideProperties(); | 5763 SlideProperties(); |
5627 | 5764 |
5628 SlideProperties.fromJson(core.Map _json) { | 5765 SlideProperties.fromJson(core.Map _json) { |
5629 if (_json.containsKey("layoutObjectId")) { | 5766 if (_json.containsKey("layoutObjectId")) { |
5630 layoutObjectId = _json["layoutObjectId"]; | 5767 layoutObjectId = _json["layoutObjectId"]; |
5631 } | 5768 } |
5632 if (_json.containsKey("masterObjectId")) { | 5769 if (_json.containsKey("masterObjectId")) { |
5633 masterObjectId = _json["masterObjectId"]; | 5770 masterObjectId = _json["masterObjectId"]; |
5634 } | 5771 } |
5635 if (_json.containsKey("notesPage")) { | 5772 if (_json.containsKey("notesPage")) { |
5636 notesPage = new Page.fromJson(_json["notesPage"]); | 5773 notesPage = new Page.fromJson(_json["notesPage"]); |
5637 } | 5774 } |
5638 } | 5775 } |
5639 | 5776 |
5640 core.Map<core.String, core.Object> toJson() { | 5777 core.Map<core.String, core.Object> toJson() { |
5641 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5778 final core.Map<core.String, core.Object> _json = |
| 5779 new core.Map<core.String, core.Object>(); |
5642 if (layoutObjectId != null) { | 5780 if (layoutObjectId != null) { |
5643 _json["layoutObjectId"] = layoutObjectId; | 5781 _json["layoutObjectId"] = layoutObjectId; |
5644 } | 5782 } |
5645 if (masterObjectId != null) { | 5783 if (masterObjectId != null) { |
5646 _json["masterObjectId"] = masterObjectId; | 5784 _json["masterObjectId"] = masterObjectId; |
5647 } | 5785 } |
5648 if (notesPage != null) { | 5786 if (notesPage != null) { |
5649 _json["notesPage"] = (notesPage).toJson(); | 5787 _json["notesPage"] = (notesPage).toJson(); |
5650 } | 5788 } |
5651 return _json; | 5789 return _json; |
5652 } | 5790 } |
5653 } | 5791 } |
5654 | 5792 |
5655 /** | 5793 /// A solid color fill. The page or page element is filled entirely with the |
5656 * A solid color fill. The page or page element is filled entirely with the | 5794 /// specified color value. |
5657 * specified color value. | 5795 /// |
5658 * | 5796 /// If any field is unset, its value may be inherited from a parent placeholder |
5659 * If any field is unset, its value may be inherited from a parent placeholder | 5797 /// if it exists. |
5660 * if it exists. | |
5661 */ | |
5662 class SolidFill { | 5798 class SolidFill { |
5663 /** | 5799 /// The fraction of this `color` that should be applied to the pixel. |
5664 * The fraction of this `color` that should be applied to the pixel. | 5800 /// That is, the final pixel color is defined by the equation: |
5665 * That is, the final pixel color is defined by the equation: | 5801 /// |
5666 * | 5802 /// pixel color = alpha * (color) + (1.0 - alpha) * (background color) |
5667 * pixel color = alpha * (color) + (1.0 - alpha) * (background color) | 5803 /// |
5668 * | 5804 /// This means that a value of 1.0 corresponds to a solid color, whereas |
5669 * This means that a value of 1.0 corresponds to a solid color, whereas | 5805 /// a value of 0.0 corresponds to a completely transparent color. |
5670 * a value of 0.0 corresponds to a completely transparent color. | |
5671 */ | |
5672 core.double alpha; | 5806 core.double alpha; |
5673 /** The color value of the solid fill. */ | 5807 |
| 5808 /// The color value of the solid fill. |
5674 OpaqueColor color; | 5809 OpaqueColor color; |
5675 | 5810 |
5676 SolidFill(); | 5811 SolidFill(); |
5677 | 5812 |
5678 SolidFill.fromJson(core.Map _json) { | 5813 SolidFill.fromJson(core.Map _json) { |
5679 if (_json.containsKey("alpha")) { | 5814 if (_json.containsKey("alpha")) { |
5680 alpha = _json["alpha"]; | 5815 alpha = _json["alpha"]; |
5681 } | 5816 } |
5682 if (_json.containsKey("color")) { | 5817 if (_json.containsKey("color")) { |
5683 color = new OpaqueColor.fromJson(_json["color"]); | 5818 color = new OpaqueColor.fromJson(_json["color"]); |
5684 } | 5819 } |
5685 } | 5820 } |
5686 | 5821 |
5687 core.Map<core.String, core.Object> toJson() { | 5822 core.Map<core.String, core.Object> toJson() { |
5688 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5823 final core.Map<core.String, core.Object> _json = |
| 5824 new core.Map<core.String, core.Object>(); |
5689 if (alpha != null) { | 5825 if (alpha != null) { |
5690 _json["alpha"] = alpha; | 5826 _json["alpha"] = alpha; |
5691 } | 5827 } |
5692 if (color != null) { | 5828 if (color != null) { |
5693 _json["color"] = (color).toJson(); | 5829 _json["color"] = (color).toJson(); |
5694 } | 5830 } |
5695 return _json; | 5831 return _json; |
5696 } | 5832 } |
5697 } | 5833 } |
5698 | 5834 |
5699 /** | 5835 /// The stretched picture fill. The page or page element is filled entirely |
5700 * The stretched picture fill. The page or page element is filled entirely with | 5836 /// with |
5701 * the specified picture. The picture is stretched to fit its container. | 5837 /// the specified picture. The picture is stretched to fit its container. |
5702 */ | |
5703 class StretchedPictureFill { | 5838 class StretchedPictureFill { |
5704 /** | 5839 /// Reading the content_url: |
5705 * Reading the content_url: | 5840 /// |
5706 * | 5841 /// An URL to a picture with a default lifetime of 30 minutes. |
5707 * An URL to a picture with a default lifetime of 30 minutes. | 5842 /// This URL is tagged with the account of the requester. Anyone with the URL |
5708 * This URL is tagged with the account of the requester. Anyone with the URL | 5843 /// effectively accesses the picture as the original requester. Access to the |
5709 * effectively accesses the picture as the original requester. Access to the | 5844 /// picture may be lost if the presentation's sharing settings change. |
5710 * picture may be lost if the presentation's sharing settings change. | 5845 /// |
5711 * | 5846 /// Writing the content_url: |
5712 * Writing the content_url: | 5847 /// |
5713 * | 5848 /// The picture is fetched once at insertion time and a copy is stored for |
5714 * The picture is fetched once at insertion time and a copy is stored for | 5849 /// display inside the presentation. Pictures must be less than 50MB in size, |
5715 * display inside the presentation. Pictures must be less than 50MB in size, | 5850 /// cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF |
5716 * cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF | 5851 /// format. |
5717 * format. | 5852 /// |
5718 */ | 5853 /// The provided URL can be at maximum 2K bytes large. |
5719 core.String contentUrl; | 5854 core.String contentUrl; |
5720 /** The original size of the picture fill. This field is read-only. */ | 5855 |
| 5856 /// The original size of the picture fill. This field is read-only. |
5721 Size size; | 5857 Size size; |
5722 | 5858 |
5723 StretchedPictureFill(); | 5859 StretchedPictureFill(); |
5724 | 5860 |
5725 StretchedPictureFill.fromJson(core.Map _json) { | 5861 StretchedPictureFill.fromJson(core.Map _json) { |
5726 if (_json.containsKey("contentUrl")) { | 5862 if (_json.containsKey("contentUrl")) { |
5727 contentUrl = _json["contentUrl"]; | 5863 contentUrl = _json["contentUrl"]; |
5728 } | 5864 } |
5729 if (_json.containsKey("size")) { | 5865 if (_json.containsKey("size")) { |
5730 size = new Size.fromJson(_json["size"]); | 5866 size = new Size.fromJson(_json["size"]); |
5731 } | 5867 } |
5732 } | 5868 } |
5733 | 5869 |
5734 core.Map<core.String, core.Object> toJson() { | 5870 core.Map<core.String, core.Object> toJson() { |
5735 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5871 final core.Map<core.String, core.Object> _json = |
| 5872 new core.Map<core.String, core.Object>(); |
5736 if (contentUrl != null) { | 5873 if (contentUrl != null) { |
5737 _json["contentUrl"] = contentUrl; | 5874 _json["contentUrl"] = contentUrl; |
5738 } | 5875 } |
5739 if (size != null) { | 5876 if (size != null) { |
5740 _json["size"] = (size).toJson(); | 5877 _json["size"] = (size).toJson(); |
5741 } | 5878 } |
5742 return _json; | 5879 return _json; |
5743 } | 5880 } |
5744 } | 5881 } |
5745 | 5882 |
5746 /** A criteria that matches a specific string of text in a shape or table. */ | 5883 /// A criteria that matches a specific string of text in a shape or table. |
5747 class SubstringMatchCriteria { | 5884 class SubstringMatchCriteria { |
5748 /** | 5885 /// Indicates whether the search should respect case: |
5749 * Indicates whether the search should respect case: | 5886 /// |
5750 * | 5887 /// - `True`: the search is case sensitive. |
5751 * - `True`: the search is case sensitive. | 5888 /// - `False`: the search is case insensitive. |
5752 * - `False`: the search is case insensitive. | |
5753 */ | |
5754 core.bool matchCase; | 5889 core.bool matchCase; |
5755 /** The text to search for in the shape or table. */ | 5890 |
| 5891 /// The text to search for in the shape or table. |
5756 core.String text; | 5892 core.String text; |
5757 | 5893 |
5758 SubstringMatchCriteria(); | 5894 SubstringMatchCriteria(); |
5759 | 5895 |
5760 SubstringMatchCriteria.fromJson(core.Map _json) { | 5896 SubstringMatchCriteria.fromJson(core.Map _json) { |
5761 if (_json.containsKey("matchCase")) { | 5897 if (_json.containsKey("matchCase")) { |
5762 matchCase = _json["matchCase"]; | 5898 matchCase = _json["matchCase"]; |
5763 } | 5899 } |
5764 if (_json.containsKey("text")) { | 5900 if (_json.containsKey("text")) { |
5765 text = _json["text"]; | 5901 text = _json["text"]; |
5766 } | 5902 } |
5767 } | 5903 } |
5768 | 5904 |
5769 core.Map<core.String, core.Object> toJson() { | 5905 core.Map<core.String, core.Object> toJson() { |
5770 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5906 final core.Map<core.String, core.Object> _json = |
| 5907 new core.Map<core.String, core.Object>(); |
5771 if (matchCase != null) { | 5908 if (matchCase != null) { |
5772 _json["matchCase"] = matchCase; | 5909 _json["matchCase"] = matchCase; |
5773 } | 5910 } |
5774 if (text != null) { | 5911 if (text != null) { |
5775 _json["text"] = text; | 5912 _json["text"] = text; |
5776 } | 5913 } |
5777 return _json; | 5914 return _json; |
5778 } | 5915 } |
5779 } | 5916 } |
5780 | 5917 |
5781 /** | 5918 /// A PageElement kind representing a |
5782 * A PageElement kind representing a | 5919 /// table. |
5783 * table. | |
5784 */ | |
5785 class Table { | 5920 class Table { |
5786 /** Number of columns in the table. */ | 5921 /// Number of columns in the table. |
5787 core.int columns; | 5922 core.int columns; |
5788 /** Number of rows in the table. */ | 5923 |
| 5924 /// Number of rows in the table. |
5789 core.int rows; | 5925 core.int rows; |
5790 /** Properties of each column. */ | 5926 |
| 5927 /// Properties of each column. |
5791 core.List<TableColumnProperties> tableColumns; | 5928 core.List<TableColumnProperties> tableColumns; |
5792 /** | 5929 |
5793 * Properties and contents of each row. | 5930 /// Properties and contents of each row. |
5794 * | 5931 /// |
5795 * Cells that span multiple rows are contained in only one of these rows and | 5932 /// Cells that span multiple rows are contained in only one of these rows and |
5796 * have a row_span greater | 5933 /// have a row_span greater |
5797 * than 1. | 5934 /// than 1. |
5798 */ | |
5799 core.List<TableRow> tableRows; | 5935 core.List<TableRow> tableRows; |
5800 | 5936 |
5801 Table(); | 5937 Table(); |
5802 | 5938 |
5803 Table.fromJson(core.Map _json) { | 5939 Table.fromJson(core.Map _json) { |
5804 if (_json.containsKey("columns")) { | 5940 if (_json.containsKey("columns")) { |
5805 columns = _json["columns"]; | 5941 columns = _json["columns"]; |
5806 } | 5942 } |
5807 if (_json.containsKey("rows")) { | 5943 if (_json.containsKey("rows")) { |
5808 rows = _json["rows"]; | 5944 rows = _json["rows"]; |
5809 } | 5945 } |
5810 if (_json.containsKey("tableColumns")) { | 5946 if (_json.containsKey("tableColumns")) { |
5811 tableColumns = _json["tableColumns"].map((value) => new TableColumnPropert
ies.fromJson(value)).toList(); | 5947 tableColumns = _json["tableColumns"] |
| 5948 .map((value) => new TableColumnProperties.fromJson(value)) |
| 5949 .toList(); |
5812 } | 5950 } |
5813 if (_json.containsKey("tableRows")) { | 5951 if (_json.containsKey("tableRows")) { |
5814 tableRows = _json["tableRows"].map((value) => new TableRow.fromJson(value)
).toList(); | 5952 tableRows = _json["tableRows"] |
| 5953 .map((value) => new TableRow.fromJson(value)) |
| 5954 .toList(); |
5815 } | 5955 } |
5816 } | 5956 } |
5817 | 5957 |
5818 core.Map<core.String, core.Object> toJson() { | 5958 core.Map<core.String, core.Object> toJson() { |
5819 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 5959 final core.Map<core.String, core.Object> _json = |
| 5960 new core.Map<core.String, core.Object>(); |
5820 if (columns != null) { | 5961 if (columns != null) { |
5821 _json["columns"] = columns; | 5962 _json["columns"] = columns; |
5822 } | 5963 } |
5823 if (rows != null) { | 5964 if (rows != null) { |
5824 _json["rows"] = rows; | 5965 _json["rows"] = rows; |
5825 } | 5966 } |
5826 if (tableColumns != null) { | 5967 if (tableColumns != null) { |
5827 _json["tableColumns"] = tableColumns.map((value) => (value).toJson()).toLi
st(); | 5968 _json["tableColumns"] = |
| 5969 tableColumns.map((value) => (value).toJson()).toList(); |
5828 } | 5970 } |
5829 if (tableRows != null) { | 5971 if (tableRows != null) { |
5830 _json["tableRows"] = tableRows.map((value) => (value).toJson()).toList(); | 5972 _json["tableRows"] = tableRows.map((value) => (value).toJson()).toList(); |
5831 } | 5973 } |
5832 return _json; | 5974 return _json; |
5833 } | 5975 } |
5834 } | 5976 } |
5835 | 5977 |
5836 /** Properties and contents of each table cell. */ | 5978 /// Properties and contents of each table cell. |
5837 class TableCell { | 5979 class TableCell { |
5838 /** Column span of the cell. */ | 5980 /// Column span of the cell. |
5839 core.int columnSpan; | 5981 core.int columnSpan; |
5840 /** The location of the cell within the table. */ | 5982 |
| 5983 /// The location of the cell within the table. |
5841 TableCellLocation location; | 5984 TableCellLocation location; |
5842 /** Row span of the cell. */ | 5985 |
| 5986 /// Row span of the cell. |
5843 core.int rowSpan; | 5987 core.int rowSpan; |
5844 /** The properties of the table cell. */ | 5988 |
| 5989 /// The properties of the table cell. |
5845 TableCellProperties tableCellProperties; | 5990 TableCellProperties tableCellProperties; |
5846 /** The text content of the cell. */ | 5991 |
| 5992 /// The text content of the cell. |
5847 TextContent text; | 5993 TextContent text; |
5848 | 5994 |
5849 TableCell(); | 5995 TableCell(); |
5850 | 5996 |
5851 TableCell.fromJson(core.Map _json) { | 5997 TableCell.fromJson(core.Map _json) { |
5852 if (_json.containsKey("columnSpan")) { | 5998 if (_json.containsKey("columnSpan")) { |
5853 columnSpan = _json["columnSpan"]; | 5999 columnSpan = _json["columnSpan"]; |
5854 } | 6000 } |
5855 if (_json.containsKey("location")) { | 6001 if (_json.containsKey("location")) { |
5856 location = new TableCellLocation.fromJson(_json["location"]); | 6002 location = new TableCellLocation.fromJson(_json["location"]); |
5857 } | 6003 } |
5858 if (_json.containsKey("rowSpan")) { | 6004 if (_json.containsKey("rowSpan")) { |
5859 rowSpan = _json["rowSpan"]; | 6005 rowSpan = _json["rowSpan"]; |
5860 } | 6006 } |
5861 if (_json.containsKey("tableCellProperties")) { | 6007 if (_json.containsKey("tableCellProperties")) { |
5862 tableCellProperties = new TableCellProperties.fromJson(_json["tableCellPro
perties"]); | 6008 tableCellProperties = |
| 6009 new TableCellProperties.fromJson(_json["tableCellProperties"]); |
5863 } | 6010 } |
5864 if (_json.containsKey("text")) { | 6011 if (_json.containsKey("text")) { |
5865 text = new TextContent.fromJson(_json["text"]); | 6012 text = new TextContent.fromJson(_json["text"]); |
5866 } | 6013 } |
5867 } | 6014 } |
5868 | 6015 |
5869 core.Map<core.String, core.Object> toJson() { | 6016 core.Map<core.String, core.Object> toJson() { |
5870 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6017 final core.Map<core.String, core.Object> _json = |
| 6018 new core.Map<core.String, core.Object>(); |
5871 if (columnSpan != null) { | 6019 if (columnSpan != null) { |
5872 _json["columnSpan"] = columnSpan; | 6020 _json["columnSpan"] = columnSpan; |
5873 } | 6021 } |
5874 if (location != null) { | 6022 if (location != null) { |
5875 _json["location"] = (location).toJson(); | 6023 _json["location"] = (location).toJson(); |
5876 } | 6024 } |
5877 if (rowSpan != null) { | 6025 if (rowSpan != null) { |
5878 _json["rowSpan"] = rowSpan; | 6026 _json["rowSpan"] = rowSpan; |
5879 } | 6027 } |
5880 if (tableCellProperties != null) { | 6028 if (tableCellProperties != null) { |
5881 _json["tableCellProperties"] = (tableCellProperties).toJson(); | 6029 _json["tableCellProperties"] = (tableCellProperties).toJson(); |
5882 } | 6030 } |
5883 if (text != null) { | 6031 if (text != null) { |
5884 _json["text"] = (text).toJson(); | 6032 _json["text"] = (text).toJson(); |
5885 } | 6033 } |
5886 return _json; | 6034 return _json; |
5887 } | 6035 } |
5888 } | 6036 } |
5889 | 6037 |
5890 /** The table cell background fill. */ | 6038 /// The table cell background fill. |
5891 class TableCellBackgroundFill { | 6039 class TableCellBackgroundFill { |
5892 /** | 6040 /// The background fill property state. |
5893 * The background fill property state. | 6041 /// |
5894 * | 6042 /// Updating the the fill on a table cell will implicitly update this field |
5895 * Updating the the fill on a table cell will implicitly update this field | 6043 /// to `RENDERED`, unless another value is specified in the same request. To |
5896 * to `RENDERED`, unless another value is specified in the same request. To | 6044 /// have no fill on a table cell, set this field to `NOT_RENDERED`. In this |
5897 * have no fill on a table cell, set this field to `NOT_RENDERED`. In this | 6045 /// case, any other fill fields set in the same request will be ignored. |
5898 * case, any other fill fields set in the same request will be ignored. | 6046 /// Possible string values are: |
5899 * Possible string values are: | 6047 /// - "RENDERED" : If a property's state is RENDERED, then the element has |
5900 * - "RENDERED" : If a property's state is RENDERED, then the element has the | 6048 /// the corresponding |
5901 * corresponding | 6049 /// property when rendered on a page. If the element is a placeholder shape |
5902 * property when rendered on a page. If the element is a placeholder shape as | 6050 /// as |
5903 * determined by the placeholder | 6051 /// determined by the placeholder |
5904 * field, and it inherits from a placeholder shape, the corresponding field | 6052 /// field, and it inherits from a placeholder shape, the corresponding field |
5905 * may be unset, meaning that the property value is inherited from a parent | 6053 /// may be unset, meaning that the property value is inherited from a parent |
5906 * placeholder. If the element does not inherit, then the field will contain | 6054 /// placeholder. If the element does not inherit, then the field will contain |
5907 * the rendered value. This is the default value. | 6055 /// the rendered value. This is the default value. |
5908 * - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the element | 6056 /// - "NOT_RENDERED" : If a property's state is NOT_RENDERED, then the |
5909 * does not have the | 6057 /// element does not have the |
5910 * corresponding property when rendered on a page. However, the field may | 6058 /// corresponding property when rendered on a page. However, the field may |
5911 * still be set so it can be inherited by child shapes. To remove a property | 6059 /// still be set so it can be inherited by child shapes. To remove a property |
5912 * from a rendered element, set its property_state to NOT_RENDERED. | 6060 /// from a rendered element, set its property_state to NOT_RENDERED. |
5913 * - "INHERIT" : If a property's state is INHERIT, then the property state | 6061 /// - "INHERIT" : If a property's state is INHERIT, then the property state |
5914 * uses the value of | 6062 /// uses the value of |
5915 * corresponding `property_state` field on the parent shape. Elements that do | 6063 /// corresponding `property_state` field on the parent shape. Elements that |
5916 * not inherit will never have an INHERIT property state. | 6064 /// do |
5917 */ | 6065 /// not inherit will never have an INHERIT property state. |
5918 core.String propertyState; | 6066 core.String propertyState; |
5919 /** Solid color fill. */ | 6067 |
| 6068 /// Solid color fill. |
5920 SolidFill solidFill; | 6069 SolidFill solidFill; |
5921 | 6070 |
5922 TableCellBackgroundFill(); | 6071 TableCellBackgroundFill(); |
5923 | 6072 |
5924 TableCellBackgroundFill.fromJson(core.Map _json) { | 6073 TableCellBackgroundFill.fromJson(core.Map _json) { |
5925 if (_json.containsKey("propertyState")) { | 6074 if (_json.containsKey("propertyState")) { |
5926 propertyState = _json["propertyState"]; | 6075 propertyState = _json["propertyState"]; |
5927 } | 6076 } |
5928 if (_json.containsKey("solidFill")) { | 6077 if (_json.containsKey("solidFill")) { |
5929 solidFill = new SolidFill.fromJson(_json["solidFill"]); | 6078 solidFill = new SolidFill.fromJson(_json["solidFill"]); |
5930 } | 6079 } |
5931 } | 6080 } |
5932 | 6081 |
5933 core.Map<core.String, core.Object> toJson() { | 6082 core.Map<core.String, core.Object> toJson() { |
5934 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6083 final core.Map<core.String, core.Object> _json = |
| 6084 new core.Map<core.String, core.Object>(); |
5935 if (propertyState != null) { | 6085 if (propertyState != null) { |
5936 _json["propertyState"] = propertyState; | 6086 _json["propertyState"] = propertyState; |
5937 } | 6087 } |
5938 if (solidFill != null) { | 6088 if (solidFill != null) { |
5939 _json["solidFill"] = (solidFill).toJson(); | 6089 _json["solidFill"] = (solidFill).toJson(); |
5940 } | 6090 } |
5941 return _json; | 6091 return _json; |
5942 } | 6092 } |
5943 } | 6093 } |
5944 | 6094 |
5945 /** A location of a single table cell within a table. */ | 6095 /// A location of a single table cell within a table. |
5946 class TableCellLocation { | 6096 class TableCellLocation { |
5947 /** The 0-based column index. */ | 6097 /// The 0-based column index. |
5948 core.int columnIndex; | 6098 core.int columnIndex; |
5949 /** The 0-based row index. */ | 6099 |
| 6100 /// The 0-based row index. |
5950 core.int rowIndex; | 6101 core.int rowIndex; |
5951 | 6102 |
5952 TableCellLocation(); | 6103 TableCellLocation(); |
5953 | 6104 |
5954 TableCellLocation.fromJson(core.Map _json) { | 6105 TableCellLocation.fromJson(core.Map _json) { |
5955 if (_json.containsKey("columnIndex")) { | 6106 if (_json.containsKey("columnIndex")) { |
5956 columnIndex = _json["columnIndex"]; | 6107 columnIndex = _json["columnIndex"]; |
5957 } | 6108 } |
5958 if (_json.containsKey("rowIndex")) { | 6109 if (_json.containsKey("rowIndex")) { |
5959 rowIndex = _json["rowIndex"]; | 6110 rowIndex = _json["rowIndex"]; |
5960 } | 6111 } |
5961 } | 6112 } |
5962 | 6113 |
5963 core.Map<core.String, core.Object> toJson() { | 6114 core.Map<core.String, core.Object> toJson() { |
5964 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6115 final core.Map<core.String, core.Object> _json = |
| 6116 new core.Map<core.String, core.Object>(); |
5965 if (columnIndex != null) { | 6117 if (columnIndex != null) { |
5966 _json["columnIndex"] = columnIndex; | 6118 _json["columnIndex"] = columnIndex; |
5967 } | 6119 } |
5968 if (rowIndex != null) { | 6120 if (rowIndex != null) { |
5969 _json["rowIndex"] = rowIndex; | 6121 _json["rowIndex"] = rowIndex; |
5970 } | 6122 } |
5971 return _json; | 6123 return _json; |
5972 } | 6124 } |
5973 } | 6125 } |
5974 | 6126 |
5975 /** The properties of the TableCell. */ | 6127 /// The properties of the TableCell. |
5976 class TableCellProperties { | 6128 class TableCellProperties { |
5977 /** | 6129 /// The background fill of the table cell. The default fill matches the fill |
5978 * The background fill of the table cell. The default fill matches the fill | 6130 /// for newly created table cells in the Slides editor. |
5979 * for newly created table cells in the Slides editor. | |
5980 */ | |
5981 TableCellBackgroundFill tableCellBackgroundFill; | 6131 TableCellBackgroundFill tableCellBackgroundFill; |
5982 | 6132 |
5983 TableCellProperties(); | 6133 TableCellProperties(); |
5984 | 6134 |
5985 TableCellProperties.fromJson(core.Map _json) { | 6135 TableCellProperties.fromJson(core.Map _json) { |
5986 if (_json.containsKey("tableCellBackgroundFill")) { | 6136 if (_json.containsKey("tableCellBackgroundFill")) { |
5987 tableCellBackgroundFill = new TableCellBackgroundFill.fromJson(_json["tabl
eCellBackgroundFill"]); | 6137 tableCellBackgroundFill = new TableCellBackgroundFill.fromJson( |
| 6138 _json["tableCellBackgroundFill"]); |
5988 } | 6139 } |
5989 } | 6140 } |
5990 | 6141 |
5991 core.Map<core.String, core.Object> toJson() { | 6142 core.Map<core.String, core.Object> toJson() { |
5992 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6143 final core.Map<core.String, core.Object> _json = |
| 6144 new core.Map<core.String, core.Object>(); |
5993 if (tableCellBackgroundFill != null) { | 6145 if (tableCellBackgroundFill != null) { |
5994 _json["tableCellBackgroundFill"] = (tableCellBackgroundFill).toJson(); | 6146 _json["tableCellBackgroundFill"] = (tableCellBackgroundFill).toJson(); |
5995 } | 6147 } |
5996 return _json; | 6148 return _json; |
5997 } | 6149 } |
5998 } | 6150 } |
5999 | 6151 |
6000 /** Properties of each column in a table. */ | 6152 /// Properties of each column in a table. |
6001 class TableColumnProperties { | 6153 class TableColumnProperties { |
6002 /** Width of a column. */ | 6154 /// Width of a column. |
6003 Dimension columnWidth; | 6155 Dimension columnWidth; |
6004 | 6156 |
6005 TableColumnProperties(); | 6157 TableColumnProperties(); |
6006 | 6158 |
6007 TableColumnProperties.fromJson(core.Map _json) { | 6159 TableColumnProperties.fromJson(core.Map _json) { |
6008 if (_json.containsKey("columnWidth")) { | 6160 if (_json.containsKey("columnWidth")) { |
6009 columnWidth = new Dimension.fromJson(_json["columnWidth"]); | 6161 columnWidth = new Dimension.fromJson(_json["columnWidth"]); |
6010 } | 6162 } |
6011 } | 6163 } |
6012 | 6164 |
6013 core.Map<core.String, core.Object> toJson() { | 6165 core.Map<core.String, core.Object> toJson() { |
6014 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6166 final core.Map<core.String, core.Object> _json = |
| 6167 new core.Map<core.String, core.Object>(); |
6015 if (columnWidth != null) { | 6168 if (columnWidth != null) { |
6016 _json["columnWidth"] = (columnWidth).toJson(); | 6169 _json["columnWidth"] = (columnWidth).toJson(); |
6017 } | 6170 } |
6018 return _json; | 6171 return _json; |
6019 } | 6172 } |
6020 } | 6173 } |
6021 | 6174 |
6022 /** | 6175 /// A table range represents a reference to a subset of a table. |
6023 * A table range represents a reference to a subset of a table. | 6176 /// |
6024 * | 6177 /// It's important to note that the cells specified by a table range do not |
6025 * It's important to note that the cells specified by a table range do not | 6178 /// necessarily form a rectangle. For example, let's say we have a 3 x 3 table |
6026 * necessarily form a rectangle. For example, let's say we have a 3 x 3 table | 6179 /// where all the cells of the last row are merged together. The table looks |
6027 * where all the cells of the last row are merged together. The table looks | 6180 /// like this: |
6028 * like this: | 6181 /// |
6029 * | 6182 /// |
6030 * | 6183 /// [ ] |
6031 * [ ] | 6184 /// |
6032 * | 6185 /// A table range with location = (0, 0), row span = 3 and column span = 2 |
6033 * A table range with location = (0, 0), row span = 3 and column span = 2 | 6186 /// specifies the following cells: |
6034 * specifies the following cells: | 6187 /// |
6035 * | 6188 /// x x |
6036 * x x | 6189 /// [ x ] |
6037 * [ x ] | |
6038 */ | |
6039 class TableRange { | 6190 class TableRange { |
6040 /** The column span of the table range. */ | 6191 /// The column span of the table range. |
6041 core.int columnSpan; | 6192 core.int columnSpan; |
6042 /** The starting location of the table range. */ | 6193 |
| 6194 /// The starting location of the table range. |
6043 TableCellLocation location; | 6195 TableCellLocation location; |
6044 /** The row span of the table range. */ | 6196 |
| 6197 /// The row span of the table range. |
6045 core.int rowSpan; | 6198 core.int rowSpan; |
6046 | 6199 |
6047 TableRange(); | 6200 TableRange(); |
6048 | 6201 |
6049 TableRange.fromJson(core.Map _json) { | 6202 TableRange.fromJson(core.Map _json) { |
6050 if (_json.containsKey("columnSpan")) { | 6203 if (_json.containsKey("columnSpan")) { |
6051 columnSpan = _json["columnSpan"]; | 6204 columnSpan = _json["columnSpan"]; |
6052 } | 6205 } |
6053 if (_json.containsKey("location")) { | 6206 if (_json.containsKey("location")) { |
6054 location = new TableCellLocation.fromJson(_json["location"]); | 6207 location = new TableCellLocation.fromJson(_json["location"]); |
6055 } | 6208 } |
6056 if (_json.containsKey("rowSpan")) { | 6209 if (_json.containsKey("rowSpan")) { |
6057 rowSpan = _json["rowSpan"]; | 6210 rowSpan = _json["rowSpan"]; |
6058 } | 6211 } |
6059 } | 6212 } |
6060 | 6213 |
6061 core.Map<core.String, core.Object> toJson() { | 6214 core.Map<core.String, core.Object> toJson() { |
6062 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6215 final core.Map<core.String, core.Object> _json = |
| 6216 new core.Map<core.String, core.Object>(); |
6063 if (columnSpan != null) { | 6217 if (columnSpan != null) { |
6064 _json["columnSpan"] = columnSpan; | 6218 _json["columnSpan"] = columnSpan; |
6065 } | 6219 } |
6066 if (location != null) { | 6220 if (location != null) { |
6067 _json["location"] = (location).toJson(); | 6221 _json["location"] = (location).toJson(); |
6068 } | 6222 } |
6069 if (rowSpan != null) { | 6223 if (rowSpan != null) { |
6070 _json["rowSpan"] = rowSpan; | 6224 _json["rowSpan"] = rowSpan; |
6071 } | 6225 } |
6072 return _json; | 6226 return _json; |
6073 } | 6227 } |
6074 } | 6228 } |
6075 | 6229 |
6076 /** Properties and contents of each row in a table. */ | 6230 /// Properties and contents of each row in a table. |
6077 class TableRow { | 6231 class TableRow { |
6078 /** Height of a row. */ | 6232 /// Height of a row. |
6079 Dimension rowHeight; | 6233 Dimension rowHeight; |
6080 /** | 6234 |
6081 * Properties and contents of each cell. | 6235 /// Properties and contents of each cell. |
6082 * | 6236 /// |
6083 * Cells that span multiple columns are represented only once with a | 6237 /// Cells that span multiple columns are represented only once with a |
6084 * column_span greater | 6238 /// column_span greater |
6085 * than 1. As a result, the length of this collection does not always match | 6239 /// than 1. As a result, the length of this collection does not always match |
6086 * the number of columns of the entire table. | 6240 /// the number of columns of the entire table. |
6087 */ | |
6088 core.List<TableCell> tableCells; | 6241 core.List<TableCell> tableCells; |
6089 | 6242 |
6090 TableRow(); | 6243 TableRow(); |
6091 | 6244 |
6092 TableRow.fromJson(core.Map _json) { | 6245 TableRow.fromJson(core.Map _json) { |
6093 if (_json.containsKey("rowHeight")) { | 6246 if (_json.containsKey("rowHeight")) { |
6094 rowHeight = new Dimension.fromJson(_json["rowHeight"]); | 6247 rowHeight = new Dimension.fromJson(_json["rowHeight"]); |
6095 } | 6248 } |
6096 if (_json.containsKey("tableCells")) { | 6249 if (_json.containsKey("tableCells")) { |
6097 tableCells = _json["tableCells"].map((value) => new TableCell.fromJson(val
ue)).toList(); | 6250 tableCells = _json["tableCells"] |
| 6251 .map((value) => new TableCell.fromJson(value)) |
| 6252 .toList(); |
6098 } | 6253 } |
6099 } | 6254 } |
6100 | 6255 |
6101 core.Map<core.String, core.Object> toJson() { | 6256 core.Map<core.String, core.Object> toJson() { |
6102 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6257 final core.Map<core.String, core.Object> _json = |
| 6258 new core.Map<core.String, core.Object>(); |
6103 if (rowHeight != null) { | 6259 if (rowHeight != null) { |
6104 _json["rowHeight"] = (rowHeight).toJson(); | 6260 _json["rowHeight"] = (rowHeight).toJson(); |
6105 } | 6261 } |
6106 if (tableCells != null) { | 6262 if (tableCells != null) { |
6107 _json["tableCells"] = tableCells.map((value) => (value).toJson()).toList()
; | 6263 _json["tableCells"] = |
| 6264 tableCells.map((value) => (value).toJson()).toList(); |
6108 } | 6265 } |
6109 return _json; | 6266 return _json; |
6110 } | 6267 } |
6111 } | 6268 } |
6112 | 6269 |
6113 /** | 6270 /// The general text content. The text must reside in a compatible shape (e.g. |
6114 * The general text content. The text must reside in a compatible shape (e.g. | 6271 /// text box or rectangle) or a table cell in a page. |
6115 * text box or rectangle) or a table cell in a page. | |
6116 */ | |
6117 class TextContent { | 6272 class TextContent { |
6118 /** The bulleted lists contained in this text, keyed by list ID. */ | 6273 /// The bulleted lists contained in this text, keyed by list ID. |
6119 core.Map<core.String, List> lists; | 6274 core.Map<core.String, List> lists; |
6120 /** | 6275 |
6121 * The text contents broken down into its component parts, including styling | 6276 /// The text contents broken down into its component parts, including styling |
6122 * information. This property is read-only. | 6277 /// information. This property is read-only. |
6123 */ | |
6124 core.List<TextElement> textElements; | 6278 core.List<TextElement> textElements; |
6125 | 6279 |
6126 TextContent(); | 6280 TextContent(); |
6127 | 6281 |
6128 TextContent.fromJson(core.Map _json) { | 6282 TextContent.fromJson(core.Map _json) { |
6129 if (_json.containsKey("lists")) { | 6283 if (_json.containsKey("lists")) { |
6130 lists = commons.mapMap<core.Map<core.String, core.Object>, List>(_json["li
sts"], (core.Map<core.String, core.Object> item) => new List.fromJson(item)); | 6284 lists = commons.mapMap<core.Map<core.String, core.Object>, List>( |
| 6285 _json["lists"], |
| 6286 (core.Map<core.String, core.Object> item) => new List.fromJson(item)); |
6131 } | 6287 } |
6132 if (_json.containsKey("textElements")) { | 6288 if (_json.containsKey("textElements")) { |
6133 textElements = _json["textElements"].map((value) => new TextElement.fromJs
on(value)).toList(); | 6289 textElements = _json["textElements"] |
| 6290 .map((value) => new TextElement.fromJson(value)) |
| 6291 .toList(); |
6134 } | 6292 } |
6135 } | 6293 } |
6136 | 6294 |
6137 core.Map<core.String, core.Object> toJson() { | 6295 core.Map<core.String, core.Object> toJson() { |
6138 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6296 final core.Map<core.String, core.Object> _json = |
| 6297 new core.Map<core.String, core.Object>(); |
6139 if (lists != null) { | 6298 if (lists != null) { |
6140 _json["lists"] = commons.mapMap<List, core.Map<core.String, core.Object>>(
lists, (List item) => (item).toJson()); | 6299 _json["lists"] = commons.mapMap<List, core.Map<core.String, core.Object>>( |
| 6300 lists, (List item) => (item).toJson()); |
6141 } | 6301 } |
6142 if (textElements != null) { | 6302 if (textElements != null) { |
6143 _json["textElements"] = textElements.map((value) => (value).toJson()).toLi
st(); | 6303 _json["textElements"] = |
| 6304 textElements.map((value) => (value).toJson()).toList(); |
6144 } | 6305 } |
6145 return _json; | 6306 return _json; |
6146 } | 6307 } |
6147 } | 6308 } |
6148 | 6309 |
6149 /** | 6310 /// A TextElement describes the content of a range of indices in the text |
6150 * A TextElement describes the content of a range of indices in the text content | 6311 /// content |
6151 * of a Shape or TableCell. | 6312 /// of a Shape or TableCell. |
6152 */ | |
6153 class TextElement { | 6313 class TextElement { |
6154 /** | 6314 /// A TextElement representing a spot in the text that is dynamically |
6155 * A TextElement representing a spot in the text that is dynamically | 6315 /// replaced with content that can change over time. |
6156 * replaced with content that can change over time. | |
6157 */ | |
6158 AutoText autoText; | 6316 AutoText autoText; |
6159 /** | 6317 |
6160 * The zero-based end index of this text element, exclusive, in Unicode code | 6318 /// The zero-based end index of this text element, exclusive, in Unicode code |
6161 * units. | 6319 /// units. |
6162 */ | |
6163 core.int endIndex; | 6320 core.int endIndex; |
6164 /** | 6321 |
6165 * A marker representing the beginning of a new paragraph. | 6322 /// A marker representing the beginning of a new paragraph. |
6166 * | 6323 /// |
6167 * The `start_index` and `end_index` of this TextElement represent the | 6324 /// The `start_index` and `end_index` of this TextElement represent the |
6168 * range of the paragraph. Other TextElements with an index range contained | 6325 /// range of the paragraph. Other TextElements with an index range contained |
6169 * inside this paragraph's range are considered to be part of this | 6326 /// inside this paragraph's range are considered to be part of this |
6170 * paragraph. The range of indices of two separate paragraphs will never | 6327 /// paragraph. The range of indices of two separate paragraphs will never |
6171 * overlap. | 6328 /// overlap. |
6172 */ | |
6173 ParagraphMarker paragraphMarker; | 6329 ParagraphMarker paragraphMarker; |
6174 /** | 6330 |
6175 * The zero-based start index of this text element, in Unicode code units. | 6331 /// The zero-based start index of this text element, in Unicode code units. |
6176 */ | |
6177 core.int startIndex; | 6332 core.int startIndex; |
6178 /** | 6333 |
6179 * A TextElement representing a run of text where all of the characters | 6334 /// A TextElement representing a run of text where all of the characters |
6180 * in the run have the same TextStyle. | 6335 /// in the run have the same TextStyle. |
6181 * | 6336 /// |
6182 * The `start_index` and `end_index` of TextRuns will always be fully | 6337 /// The `start_index` and `end_index` of TextRuns will always be fully |
6183 * contained in the index range of a single `paragraph_marker` TextElement. | 6338 /// contained in the index range of a single `paragraph_marker` TextElement. |
6184 * In other words, a TextRun will never span multiple paragraphs. | 6339 /// In other words, a TextRun will never span multiple paragraphs. |
6185 */ | |
6186 TextRun textRun; | 6340 TextRun textRun; |
6187 | 6341 |
6188 TextElement(); | 6342 TextElement(); |
6189 | 6343 |
6190 TextElement.fromJson(core.Map _json) { | 6344 TextElement.fromJson(core.Map _json) { |
6191 if (_json.containsKey("autoText")) { | 6345 if (_json.containsKey("autoText")) { |
6192 autoText = new AutoText.fromJson(_json["autoText"]); | 6346 autoText = new AutoText.fromJson(_json["autoText"]); |
6193 } | 6347 } |
6194 if (_json.containsKey("endIndex")) { | 6348 if (_json.containsKey("endIndex")) { |
6195 endIndex = _json["endIndex"]; | 6349 endIndex = _json["endIndex"]; |
6196 } | 6350 } |
6197 if (_json.containsKey("paragraphMarker")) { | 6351 if (_json.containsKey("paragraphMarker")) { |
6198 paragraphMarker = new ParagraphMarker.fromJson(_json["paragraphMarker"]); | 6352 paragraphMarker = new ParagraphMarker.fromJson(_json["paragraphMarker"]); |
6199 } | 6353 } |
6200 if (_json.containsKey("startIndex")) { | 6354 if (_json.containsKey("startIndex")) { |
6201 startIndex = _json["startIndex"]; | 6355 startIndex = _json["startIndex"]; |
6202 } | 6356 } |
6203 if (_json.containsKey("textRun")) { | 6357 if (_json.containsKey("textRun")) { |
6204 textRun = new TextRun.fromJson(_json["textRun"]); | 6358 textRun = new TextRun.fromJson(_json["textRun"]); |
6205 } | 6359 } |
6206 } | 6360 } |
6207 | 6361 |
6208 core.Map<core.String, core.Object> toJson() { | 6362 core.Map<core.String, core.Object> toJson() { |
6209 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6363 final core.Map<core.String, core.Object> _json = |
| 6364 new core.Map<core.String, core.Object>(); |
6210 if (autoText != null) { | 6365 if (autoText != null) { |
6211 _json["autoText"] = (autoText).toJson(); | 6366 _json["autoText"] = (autoText).toJson(); |
6212 } | 6367 } |
6213 if (endIndex != null) { | 6368 if (endIndex != null) { |
6214 _json["endIndex"] = endIndex; | 6369 _json["endIndex"] = endIndex; |
6215 } | 6370 } |
6216 if (paragraphMarker != null) { | 6371 if (paragraphMarker != null) { |
6217 _json["paragraphMarker"] = (paragraphMarker).toJson(); | 6372 _json["paragraphMarker"] = (paragraphMarker).toJson(); |
6218 } | 6373 } |
6219 if (startIndex != null) { | 6374 if (startIndex != null) { |
6220 _json["startIndex"] = startIndex; | 6375 _json["startIndex"] = startIndex; |
6221 } | 6376 } |
6222 if (textRun != null) { | 6377 if (textRun != null) { |
6223 _json["textRun"] = (textRun).toJson(); | 6378 _json["textRun"] = (textRun).toJson(); |
6224 } | 6379 } |
6225 return _json; | 6380 return _json; |
6226 } | 6381 } |
6227 } | 6382 } |
6228 | 6383 |
6229 /** | 6384 /// A TextElement kind that represents a run of text that all has the same |
6230 * A TextElement kind that represents a run of text that all has the same | 6385 /// styling. |
6231 * styling. | |
6232 */ | |
6233 class TextRun { | 6386 class TextRun { |
6234 /** The text of this run. */ | 6387 /// The text of this run. |
6235 core.String content; | 6388 core.String content; |
6236 /** The styling applied to this run. */ | 6389 |
| 6390 /// The styling applied to this run. |
6237 TextStyle style; | 6391 TextStyle style; |
6238 | 6392 |
6239 TextRun(); | 6393 TextRun(); |
6240 | 6394 |
6241 TextRun.fromJson(core.Map _json) { | 6395 TextRun.fromJson(core.Map _json) { |
6242 if (_json.containsKey("content")) { | 6396 if (_json.containsKey("content")) { |
6243 content = _json["content"]; | 6397 content = _json["content"]; |
6244 } | 6398 } |
6245 if (_json.containsKey("style")) { | 6399 if (_json.containsKey("style")) { |
6246 style = new TextStyle.fromJson(_json["style"]); | 6400 style = new TextStyle.fromJson(_json["style"]); |
6247 } | 6401 } |
6248 } | 6402 } |
6249 | 6403 |
6250 core.Map<core.String, core.Object> toJson() { | 6404 core.Map<core.String, core.Object> toJson() { |
6251 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6405 final core.Map<core.String, core.Object> _json = |
| 6406 new core.Map<core.String, core.Object>(); |
6252 if (content != null) { | 6407 if (content != null) { |
6253 _json["content"] = content; | 6408 _json["content"] = content; |
6254 } | 6409 } |
6255 if (style != null) { | 6410 if (style != null) { |
6256 _json["style"] = (style).toJson(); | 6411 _json["style"] = (style).toJson(); |
6257 } | 6412 } |
6258 return _json; | 6413 return _json; |
6259 } | 6414 } |
6260 } | 6415 } |
6261 | 6416 |
6262 /** | 6417 /// Represents the styling that can be applied to a TextRun. |
6263 * Represents the styling that can be applied to a TextRun. | 6418 /// |
6264 * | 6419 /// If this text is contained in a shape with a parent placeholder, then these |
6265 * If this text is contained in a shape with a parent placeholder, then these | 6420 /// text styles may be |
6266 * text styles may be | 6421 /// inherited from the parent. Which text styles are inherited depend on the |
6267 * inherited from the parent. Which text styles are inherited depend on the | 6422 /// nesting level of lists: |
6268 * nesting level of lists: | 6423 /// |
6269 * | 6424 /// * A text run in a paragraph that is not in a list will inherit its text |
6270 * * A text run in a paragraph that is not in a list will inherit its text style | 6425 /// style |
6271 * from the the newline character in the paragraph at the 0 nesting level of | 6426 /// from the the newline character in the paragraph at the 0 nesting level of |
6272 * the list inside the parent placeholder. | 6427 /// the list inside the parent placeholder. |
6273 * * A text run in a paragraph that is in a list will inherit its text style | 6428 /// * A text run in a paragraph that is in a list will inherit its text style |
6274 * from the newline character in the paragraph at its corresponding nesting | 6429 /// from the newline character in the paragraph at its corresponding nesting |
6275 * level of the list inside the parent placeholder. | 6430 /// level of the list inside the parent placeholder. |
6276 * | 6431 /// |
6277 * Inherited text styles are represented as unset fields in this message. If | 6432 /// Inherited text styles are represented as unset fields in this message. If |
6278 * text is contained in a shape without a parent placeholder, unsetting these | 6433 /// text is contained in a shape without a parent placeholder, unsetting these |
6279 * fields will revert the style to a value matching the defaults in the Slides | 6434 /// fields will revert the style to a value matching the defaults in the Slides |
6280 * editor. | 6435 /// editor. |
6281 */ | |
6282 class TextStyle { | 6436 class TextStyle { |
6283 /** | 6437 /// The background color of the text. If set, the color is either opaque or |
6284 * The background color of the text. If set, the color is either opaque or | 6438 /// transparent, depending on if the `opaque_color` field in it is set. |
6285 * transparent, depending on if the `opaque_color` field in it is set. | |
6286 */ | |
6287 OptionalColor backgroundColor; | 6439 OptionalColor backgroundColor; |
6288 /** | 6440 |
6289 * The text's vertical offset from its normal position. | 6441 /// The text's vertical offset from its normal position. |
6290 * | 6442 /// |
6291 * Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically | 6443 /// Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically |
6292 * rendered in a smaller font size, computed based on the `font_size` field. | 6444 /// rendered in a smaller font size, computed based on the `font_size` field. |
6293 * The `font_size` itself is not affected by changes in this field. | 6445 /// The `font_size` itself is not affected by changes in this field. |
6294 * Possible string values are: | 6446 /// Possible string values are: |
6295 * - "BASELINE_OFFSET_UNSPECIFIED" : The text's baseline offset is inherited | 6447 /// - "BASELINE_OFFSET_UNSPECIFIED" : The text's baseline offset is inherited |
6296 * from the parent. | 6448 /// from the parent. |
6297 * - "NONE" : The text is not vertically offset. | 6449 /// - "NONE" : The text is not vertically offset. |
6298 * - "SUPERSCRIPT" : The text is vertically offset upwards (superscript). | 6450 /// - "SUPERSCRIPT" : The text is vertically offset upwards (superscript). |
6299 * - "SUBSCRIPT" : The text is vertically offset downwards (subscript). | 6451 /// - "SUBSCRIPT" : The text is vertically offset downwards (subscript). |
6300 */ | |
6301 core.String baselineOffset; | 6452 core.String baselineOffset; |
6302 /** Whether or not the text is rendered as bold. */ | 6453 |
| 6454 /// Whether or not the text is rendered as bold. |
6303 core.bool bold; | 6455 core.bool bold; |
6304 /** | 6456 |
6305 * The font family of the text. | 6457 /// The font family of the text. |
6306 * | 6458 /// |
6307 * The font family can be any font from the Font menu in Slides or from | 6459 /// The font family can be any font from the Font menu in Slides or from |
6308 * [Google Fonts] (https://fonts.google.com/). If the font name is | 6460 /// [Google Fonts] (https://fonts.google.com/). If the font name is |
6309 * unrecognized, the text is rendered in `Arial`. | 6461 /// unrecognized, the text is rendered in `Arial`. |
6310 * | 6462 /// |
6311 * Some fonts can affect the weight of the text. If an update request | 6463 /// Some fonts can affect the weight of the text. If an update request |
6312 * specifies values for both `font_family` and `bold`, the explicitly-set | 6464 /// specifies values for both `font_family` and `bold`, the explicitly-set |
6313 * `bold` value is used. | 6465 /// `bold` value is used. |
6314 */ | |
6315 core.String fontFamily; | 6466 core.String fontFamily; |
6316 /** | 6467 |
6317 * The size of the text's font. When read, the `font_size` will specified in | 6468 /// The size of the text's font. When read, the `font_size` will specified in |
6318 * points. | 6469 /// points. |
6319 */ | |
6320 Dimension fontSize; | 6470 Dimension fontSize; |
6321 /** | 6471 |
6322 * The color of the text itself. If set, the color is either opaque or | 6472 /// The color of the text itself. If set, the color is either opaque or |
6323 * transparent, depending on if the `opaque_color` field in it is set. | 6473 /// transparent, depending on if the `opaque_color` field in it is set. |
6324 */ | |
6325 OptionalColor foregroundColor; | 6474 OptionalColor foregroundColor; |
6326 /** Whether or not the text is italicized. */ | 6475 |
| 6476 /// Whether or not the text is italicized. |
6327 core.bool italic; | 6477 core.bool italic; |
6328 /** | 6478 |
6329 * The hyperlink destination of the text. If unset, there is no link. Links | 6479 /// The hyperlink destination of the text. If unset, there is no link. Links |
6330 * are not inherited from parent text. | 6480 /// are not inherited from parent text. |
6331 * | 6481 /// |
6332 * Changing the link in an update request causes some other changes to the | 6482 /// Changing the link in an update request causes some other changes to the |
6333 * text style of the range: | 6483 /// text style of the range: |
6334 * | 6484 /// |
6335 * * When setting a link, the text foreground color will be set to | 6485 /// * When setting a link, the text foreground color will be set to |
6336 * ThemeColorType.HYPERLINK and the text will | 6486 /// ThemeColorType.HYPERLINK and the text will |
6337 * be underlined. If these fields are modified in the same | 6487 /// be underlined. If these fields are modified in the same |
6338 * request, those values will be used instead of the link defaults. | 6488 /// request, those values will be used instead of the link defaults. |
6339 * * Setting a link on a text range that overlaps with an existing link will | 6489 /// * Setting a link on a text range that overlaps with an existing link will |
6340 * also update the existing link to point to the new URL. | 6490 /// also update the existing link to point to the new URL. |
6341 * * Links are not settable on newline characters. As a result, setting a link | 6491 /// * Links are not settable on newline characters. As a result, setting a |
6342 * on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, | 6492 /// link |
6343 * will separate the newline character(s) into their own text runs. The | 6493 /// on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, |
6344 * link will be applied separately to the runs before and after the newline. | 6494 /// will separate the newline character(s) into their own text runs. The |
6345 * * Removing a link will update the text style of the range to match the | 6495 /// link will be applied separately to the runs before and after the newline. |
6346 * style of the preceding text (or the default text styles if the preceding | 6496 /// * Removing a link will update the text style of the range to match the |
6347 * text is another link) unless different styles are being set in the same | 6497 /// style of the preceding text (or the default text styles if the preceding |
6348 * request. | 6498 /// text is another link) unless different styles are being set in the same |
6349 */ | 6499 /// request. |
6350 Link link; | 6500 Link link; |
6351 /** Whether or not the text is in small capital letters. */ | 6501 |
| 6502 /// Whether or not the text is in small capital letters. |
6352 core.bool smallCaps; | 6503 core.bool smallCaps; |
6353 /** Whether or not the text is struck through. */ | 6504 |
| 6505 /// Whether or not the text is struck through. |
6354 core.bool strikethrough; | 6506 core.bool strikethrough; |
6355 /** Whether or not the text is underlined. */ | 6507 |
| 6508 /// Whether or not the text is underlined. |
6356 core.bool underline; | 6509 core.bool underline; |
6357 /** | 6510 |
6358 * The font family and rendered weight of the text. | 6511 /// The font family and rendered weight of the text. |
6359 * | 6512 /// |
6360 * This field is an extension of `font_family` meant to support explicit font | 6513 /// This field is an extension of `font_family` meant to support explicit |
6361 * weights without breaking backwards compatibility. As such, when reading the | 6514 /// font |
6362 * style of a range of text, the value of `weighted_font_family#font_family` | 6515 /// weights without breaking backwards compatibility. As such, when reading |
6363 * will always be equal to that of `font_family`. However, when writing, if | 6516 /// the |
6364 * both fields are included in the field mask (either explicitly or through | 6517 /// style of a range of text, the value of `weighted_font_family#font_family` |
6365 * the wildcard `"*"`), their values are reconciled as follows: | 6518 /// will always be equal to that of `font_family`. However, when writing, if |
6366 * | 6519 /// both fields are included in the field mask (either explicitly or through |
6367 * * If `font_family` is set and `weighted_font_family` is not, the value of | 6520 /// the wildcard `"*"`), their values are reconciled as follows: |
6368 * `font_family` is applied with weight `400` ("normal"). | 6521 /// |
6369 * * If both fields are set, the value of `font_family` must match that of | 6522 /// * If `font_family` is set and `weighted_font_family` is not, the value of |
6370 * `weighted_font_family#font_family`. If so, the font family and weight of | 6523 /// `font_family` is applied with weight `400` ("normal"). |
6371 * `weighted_font_family` is applied. Otherwise, a 400 bad request error is | 6524 /// * If both fields are set, the value of `font_family` must match that of |
6372 * returned. | 6525 /// `weighted_font_family#font_family`. If so, the font family and weight of |
6373 * * If `weighted_font_family` is set and `font_family` is not, the font | 6526 /// `weighted_font_family` is applied. Otherwise, a 400 bad request error is |
6374 * family and weight of `weighted_font_family` is applied. | 6527 /// returned. |
6375 * * If neither field is set, the font family and weight of the text inherit | 6528 /// * If `weighted_font_family` is set and `font_family` is not, the font |
6376 * from the parent. Note that these properties cannot inherit separately | 6529 /// family and weight of `weighted_font_family` is applied. |
6377 * from each other. | 6530 /// * If neither field is set, the font family and weight of the text inherit |
6378 * | 6531 /// from the parent. Note that these properties cannot inherit separately |
6379 * If an update request specifies values for both `weighted_font_family` and | 6532 /// from each other. |
6380 * `bold`, the `weighted_font_family` is applied first, then `bold`. | 6533 /// |
6381 * | 6534 /// If an update request specifies values for both `weighted_font_family` and |
6382 * If `weighted_font_family#weight` is not set, it defaults to `400`. | 6535 /// `bold`, the `weighted_font_family` is applied first, then `bold`. |
6383 * | 6536 /// |
6384 * If `weighted_font_family` is set, then `weighted_font_family#font_family` | 6537 /// If `weighted_font_family#weight` is not set, it defaults to `400`. |
6385 * must also be set with a non-empty value. Otherwise, a 400 bad request error | 6538 /// |
6386 * is returned. | 6539 /// If `weighted_font_family` is set, then `weighted_font_family#font_family` |
6387 */ | 6540 /// must also be set with a non-empty value. Otherwise, a 400 bad request |
| 6541 /// error |
| 6542 /// is returned. |
6388 WeightedFontFamily weightedFontFamily; | 6543 WeightedFontFamily weightedFontFamily; |
6389 | 6544 |
6390 TextStyle(); | 6545 TextStyle(); |
6391 | 6546 |
6392 TextStyle.fromJson(core.Map _json) { | 6547 TextStyle.fromJson(core.Map _json) { |
6393 if (_json.containsKey("backgroundColor")) { | 6548 if (_json.containsKey("backgroundColor")) { |
6394 backgroundColor = new OptionalColor.fromJson(_json["backgroundColor"]); | 6549 backgroundColor = new OptionalColor.fromJson(_json["backgroundColor"]); |
6395 } | 6550 } |
6396 if (_json.containsKey("baselineOffset")) { | 6551 if (_json.containsKey("baselineOffset")) { |
6397 baselineOffset = _json["baselineOffset"]; | 6552 baselineOffset = _json["baselineOffset"]; |
(...skipping 19 matching lines...) Expand all Loading... |
6417 if (_json.containsKey("smallCaps")) { | 6572 if (_json.containsKey("smallCaps")) { |
6418 smallCaps = _json["smallCaps"]; | 6573 smallCaps = _json["smallCaps"]; |
6419 } | 6574 } |
6420 if (_json.containsKey("strikethrough")) { | 6575 if (_json.containsKey("strikethrough")) { |
6421 strikethrough = _json["strikethrough"]; | 6576 strikethrough = _json["strikethrough"]; |
6422 } | 6577 } |
6423 if (_json.containsKey("underline")) { | 6578 if (_json.containsKey("underline")) { |
6424 underline = _json["underline"]; | 6579 underline = _json["underline"]; |
6425 } | 6580 } |
6426 if (_json.containsKey("weightedFontFamily")) { | 6581 if (_json.containsKey("weightedFontFamily")) { |
6427 weightedFontFamily = new WeightedFontFamily.fromJson(_json["weightedFontFa
mily"]); | 6582 weightedFontFamily = |
| 6583 new WeightedFontFamily.fromJson(_json["weightedFontFamily"]); |
6428 } | 6584 } |
6429 } | 6585 } |
6430 | 6586 |
6431 core.Map<core.String, core.Object> toJson() { | 6587 core.Map<core.String, core.Object> toJson() { |
6432 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6588 final core.Map<core.String, core.Object> _json = |
| 6589 new core.Map<core.String, core.Object>(); |
6433 if (backgroundColor != null) { | 6590 if (backgroundColor != null) { |
6434 _json["backgroundColor"] = (backgroundColor).toJson(); | 6591 _json["backgroundColor"] = (backgroundColor).toJson(); |
6435 } | 6592 } |
6436 if (baselineOffset != null) { | 6593 if (baselineOffset != null) { |
6437 _json["baselineOffset"] = baselineOffset; | 6594 _json["baselineOffset"] = baselineOffset; |
6438 } | 6595 } |
6439 if (bold != null) { | 6596 if (bold != null) { |
6440 _json["bold"] = bold; | 6597 _json["bold"] = bold; |
6441 } | 6598 } |
6442 if (fontFamily != null) { | 6599 if (fontFamily != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
6463 if (underline != null) { | 6620 if (underline != null) { |
6464 _json["underline"] = underline; | 6621 _json["underline"] = underline; |
6465 } | 6622 } |
6466 if (weightedFontFamily != null) { | 6623 if (weightedFontFamily != null) { |
6467 _json["weightedFontFamily"] = (weightedFontFamily).toJson(); | 6624 _json["weightedFontFamily"] = (weightedFontFamily).toJson(); |
6468 } | 6625 } |
6469 return _json; | 6626 return _json; |
6470 } | 6627 } |
6471 } | 6628 } |
6472 | 6629 |
6473 /** A pair mapping a theme color type to the concrete color it represents. */ | 6630 /// A pair mapping a theme color type to the concrete color it represents. |
6474 class ThemeColorPair { | 6631 class ThemeColorPair { |
6475 /** The concrete color corresponding to the theme color type above. */ | 6632 /// The concrete color corresponding to the theme color type above. |
6476 RgbColor color; | 6633 RgbColor color; |
6477 /** | 6634 |
6478 * The type of the theme color. | 6635 /// The type of the theme color. |
6479 * Possible string values are: | 6636 /// Possible string values are: |
6480 * - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value | 6637 /// - "THEME_COLOR_TYPE_UNSPECIFIED" : Unspecified theme color. This value |
6481 * should not be used. | 6638 /// should not be used. |
6482 * - "DARK1" : Represents the first dark color. | 6639 /// - "DARK1" : Represents the first dark color. |
6483 * - "LIGHT1" : Represents the first light color. | 6640 /// - "LIGHT1" : Represents the first light color. |
6484 * - "DARK2" : Represents the second dark color. | 6641 /// - "DARK2" : Represents the second dark color. |
6485 * - "LIGHT2" : Represents the second light color. | 6642 /// - "LIGHT2" : Represents the second light color. |
6486 * - "ACCENT1" : Represents the first accent color. | 6643 /// - "ACCENT1" : Represents the first accent color. |
6487 * - "ACCENT2" : Represents the second accent color. | 6644 /// - "ACCENT2" : Represents the second accent color. |
6488 * - "ACCENT3" : Represents the third accent color. | 6645 /// - "ACCENT3" : Represents the third accent color. |
6489 * - "ACCENT4" : Represents the fourth accent color. | 6646 /// - "ACCENT4" : Represents the fourth accent color. |
6490 * - "ACCENT5" : Represents the fifth accent color. | 6647 /// - "ACCENT5" : Represents the fifth accent color. |
6491 * - "ACCENT6" : Represents the sixth accent color. | 6648 /// - "ACCENT6" : Represents the sixth accent color. |
6492 * - "HYPERLINK" : Represents the color to use for hyperlinks. | 6649 /// - "HYPERLINK" : Represents the color to use for hyperlinks. |
6493 * - "FOLLOWED_HYPERLINK" : Represents the color to use for visited | 6650 /// - "FOLLOWED_HYPERLINK" : Represents the color to use for visited |
6494 * hyperlinks. | 6651 /// hyperlinks. |
6495 * - "TEXT1" : Represents the first text color. | 6652 /// - "TEXT1" : Represents the first text color. |
6496 * - "BACKGROUND1" : Represents the first background color. | 6653 /// - "BACKGROUND1" : Represents the first background color. |
6497 * - "TEXT2" : Represents the second text color. | 6654 /// - "TEXT2" : Represents the second text color. |
6498 * - "BACKGROUND2" : Represents the second background color. | 6655 /// - "BACKGROUND2" : Represents the second background color. |
6499 */ | |
6500 core.String type; | 6656 core.String type; |
6501 | 6657 |
6502 ThemeColorPair(); | 6658 ThemeColorPair(); |
6503 | 6659 |
6504 ThemeColorPair.fromJson(core.Map _json) { | 6660 ThemeColorPair.fromJson(core.Map _json) { |
6505 if (_json.containsKey("color")) { | 6661 if (_json.containsKey("color")) { |
6506 color = new RgbColor.fromJson(_json["color"]); | 6662 color = new RgbColor.fromJson(_json["color"]); |
6507 } | 6663 } |
6508 if (_json.containsKey("type")) { | 6664 if (_json.containsKey("type")) { |
6509 type = _json["type"]; | 6665 type = _json["type"]; |
6510 } | 6666 } |
6511 } | 6667 } |
6512 | 6668 |
6513 core.Map<core.String, core.Object> toJson() { | 6669 core.Map<core.String, core.Object> toJson() { |
6514 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6670 final core.Map<core.String, core.Object> _json = |
| 6671 new core.Map<core.String, core.Object>(); |
6515 if (color != null) { | 6672 if (color != null) { |
6516 _json["color"] = (color).toJson(); | 6673 _json["color"] = (color).toJson(); |
6517 } | 6674 } |
6518 if (type != null) { | 6675 if (type != null) { |
6519 _json["type"] = type; | 6676 _json["type"] = type; |
6520 } | 6677 } |
6521 return _json; | 6678 return _json; |
6522 } | 6679 } |
6523 } | 6680 } |
6524 | 6681 |
6525 /** The thumbnail of a page. */ | 6682 /// The thumbnail of a page. |
6526 class Thumbnail { | 6683 class Thumbnail { |
6527 /** | 6684 /// The content URL of the thumbnail image. |
6528 * The content URL of the thumbnail image. | 6685 /// |
6529 * | 6686 /// The URL to the image has a default lifetime of 30 minutes. |
6530 * The URL to the image has a default lifetime of 30 minutes. | 6687 /// This URL is tagged with the account of the requester. Anyone with the URL |
6531 * This URL is tagged with the account of the requester. Anyone with the URL | 6688 /// effectively accesses the image as the original requester. Access to the |
6532 * effectively accesses the image as the original requester. Access to the | 6689 /// image may be lost if the presentation's sharing settings change. |
6533 * image may be lost if the presentation's sharing settings change. | 6690 /// The mime type of the thumbnail image is the same as specified in the |
6534 * The mime type of the thumbnail image is the same as specified in the | 6691 /// `GetPageThumbnailRequest`. |
6535 * `GetPageThumbnailRequest`. | |
6536 */ | |
6537 core.String contentUrl; | 6692 core.String contentUrl; |
6538 /** The positive height in pixels of the thumbnail image. */ | 6693 |
| 6694 /// The positive height in pixels of the thumbnail image. |
6539 core.int height; | 6695 core.int height; |
6540 /** The positive width in pixels of the thumbnail image. */ | 6696 |
| 6697 /// The positive width in pixels of the thumbnail image. |
6541 core.int width; | 6698 core.int width; |
6542 | 6699 |
6543 Thumbnail(); | 6700 Thumbnail(); |
6544 | 6701 |
6545 Thumbnail.fromJson(core.Map _json) { | 6702 Thumbnail.fromJson(core.Map _json) { |
6546 if (_json.containsKey("contentUrl")) { | 6703 if (_json.containsKey("contentUrl")) { |
6547 contentUrl = _json["contentUrl"]; | 6704 contentUrl = _json["contentUrl"]; |
6548 } | 6705 } |
6549 if (_json.containsKey("height")) { | 6706 if (_json.containsKey("height")) { |
6550 height = _json["height"]; | 6707 height = _json["height"]; |
6551 } | 6708 } |
6552 if (_json.containsKey("width")) { | 6709 if (_json.containsKey("width")) { |
6553 width = _json["width"]; | 6710 width = _json["width"]; |
6554 } | 6711 } |
6555 } | 6712 } |
6556 | 6713 |
6557 core.Map<core.String, core.Object> toJson() { | 6714 core.Map<core.String, core.Object> toJson() { |
6558 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6715 final core.Map<core.String, core.Object> _json = |
| 6716 new core.Map<core.String, core.Object>(); |
6559 if (contentUrl != null) { | 6717 if (contentUrl != null) { |
6560 _json["contentUrl"] = contentUrl; | 6718 _json["contentUrl"] = contentUrl; |
6561 } | 6719 } |
6562 if (height != null) { | 6720 if (height != null) { |
6563 _json["height"] = height; | 6721 _json["height"] = height; |
6564 } | 6722 } |
6565 if (width != null) { | 6723 if (width != null) { |
6566 _json["width"] = width; | 6724 _json["width"] = width; |
6567 } | 6725 } |
6568 return _json; | 6726 return _json; |
6569 } | 6727 } |
6570 } | 6728 } |
6571 | 6729 |
6572 /** Update the properties of an Image. */ | 6730 /// Update the properties of an Image. |
6573 class UpdateImagePropertiesRequest { | 6731 class UpdateImagePropertiesRequest { |
6574 /** | 6732 /// The fields that should be updated. |
6575 * The fields that should be updated. | 6733 /// |
6576 * | 6734 /// At least one field must be specified. The root `imageProperties` is |
6577 * At least one field must be specified. The root `imageProperties` is | 6735 /// implied and should not be specified. A single `"*"` can be used as |
6578 * implied and should not be specified. A single `"*"` can be used as | 6736 /// short-hand for listing every field. |
6579 * short-hand for listing every field. | 6737 /// |
6580 * | 6738 /// For example to update the image outline color, set `fields` to |
6581 * For example to update the image outline color, set `fields` to | 6739 /// `"outline.outlineFill.solidFill.color"`. |
6582 * `"outline.outlineFill.solidFill.color"`. | 6740 /// |
6583 * | 6741 /// To reset a property to its default value, include its field name in the |
6584 * To reset a property to its default value, include its field name in the | 6742 /// field mask but leave the field itself unset. |
6585 * field mask but leave the field itself unset. | |
6586 */ | |
6587 core.String fields; | 6743 core.String fields; |
6588 /** The image properties to update. */ | 6744 |
| 6745 /// The image properties to update. |
6589 ImageProperties imageProperties; | 6746 ImageProperties imageProperties; |
6590 /** The object ID of the image the updates are applied to. */ | 6747 |
| 6748 /// The object ID of the image the updates are applied to. |
6591 core.String objectId; | 6749 core.String objectId; |
6592 | 6750 |
6593 UpdateImagePropertiesRequest(); | 6751 UpdateImagePropertiesRequest(); |
6594 | 6752 |
6595 UpdateImagePropertiesRequest.fromJson(core.Map _json) { | 6753 UpdateImagePropertiesRequest.fromJson(core.Map _json) { |
6596 if (_json.containsKey("fields")) { | 6754 if (_json.containsKey("fields")) { |
6597 fields = _json["fields"]; | 6755 fields = _json["fields"]; |
6598 } | 6756 } |
6599 if (_json.containsKey("imageProperties")) { | 6757 if (_json.containsKey("imageProperties")) { |
6600 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]); | 6758 imageProperties = new ImageProperties.fromJson(_json["imageProperties"]); |
6601 } | 6759 } |
6602 if (_json.containsKey("objectId")) { | 6760 if (_json.containsKey("objectId")) { |
6603 objectId = _json["objectId"]; | 6761 objectId = _json["objectId"]; |
6604 } | 6762 } |
6605 } | 6763 } |
6606 | 6764 |
6607 core.Map<core.String, core.Object> toJson() { | 6765 core.Map<core.String, core.Object> toJson() { |
6608 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6766 final core.Map<core.String, core.Object> _json = |
| 6767 new core.Map<core.String, core.Object>(); |
6609 if (fields != null) { | 6768 if (fields != null) { |
6610 _json["fields"] = fields; | 6769 _json["fields"] = fields; |
6611 } | 6770 } |
6612 if (imageProperties != null) { | 6771 if (imageProperties != null) { |
6613 _json["imageProperties"] = (imageProperties).toJson(); | 6772 _json["imageProperties"] = (imageProperties).toJson(); |
6614 } | 6773 } |
6615 if (objectId != null) { | 6774 if (objectId != null) { |
6616 _json["objectId"] = objectId; | 6775 _json["objectId"] = objectId; |
6617 } | 6776 } |
6618 return _json; | 6777 return _json; |
6619 } | 6778 } |
6620 } | 6779 } |
6621 | 6780 |
6622 /** Updates the properties of a Line. */ | 6781 /// Updates the properties of a Line. |
6623 class UpdateLinePropertiesRequest { | 6782 class UpdateLinePropertiesRequest { |
6624 /** | 6783 /// The fields that should be updated. |
6625 * The fields that should be updated. | 6784 /// |
6626 * | 6785 /// At least one field must be specified. The root `lineProperties` is |
6627 * At least one field must be specified. The root `lineProperties` is | 6786 /// implied and should not be specified. A single `"*"` can be used as |
6628 * implied and should not be specified. A single `"*"` can be used as | 6787 /// short-hand for listing every field. |
6629 * short-hand for listing every field. | 6788 /// |
6630 * | 6789 /// For example to update the line solid fill color, set `fields` to |
6631 * For example to update the line solid fill color, set `fields` to | 6790 /// `"lineFill.solidFill.color"`. |
6632 * `"lineFill.solidFill.color"`. | 6791 /// |
6633 * | 6792 /// To reset a property to its default value, include its field name in the |
6634 * To reset a property to its default value, include its field name in the | 6793 /// field mask but leave the field itself unset. |
6635 * field mask but leave the field itself unset. | |
6636 */ | |
6637 core.String fields; | 6794 core.String fields; |
6638 /** The line properties to update. */ | 6795 |
| 6796 /// The line properties to update. |
6639 LineProperties lineProperties; | 6797 LineProperties lineProperties; |
6640 /** The object ID of the line the update is applied to. */ | 6798 |
| 6799 /// The object ID of the line the update is applied to. |
6641 core.String objectId; | 6800 core.String objectId; |
6642 | 6801 |
6643 UpdateLinePropertiesRequest(); | 6802 UpdateLinePropertiesRequest(); |
6644 | 6803 |
6645 UpdateLinePropertiesRequest.fromJson(core.Map _json) { | 6804 UpdateLinePropertiesRequest.fromJson(core.Map _json) { |
6646 if (_json.containsKey("fields")) { | 6805 if (_json.containsKey("fields")) { |
6647 fields = _json["fields"]; | 6806 fields = _json["fields"]; |
6648 } | 6807 } |
6649 if (_json.containsKey("lineProperties")) { | 6808 if (_json.containsKey("lineProperties")) { |
6650 lineProperties = new LineProperties.fromJson(_json["lineProperties"]); | 6809 lineProperties = new LineProperties.fromJson(_json["lineProperties"]); |
6651 } | 6810 } |
6652 if (_json.containsKey("objectId")) { | 6811 if (_json.containsKey("objectId")) { |
6653 objectId = _json["objectId"]; | 6812 objectId = _json["objectId"]; |
6654 } | 6813 } |
6655 } | 6814 } |
6656 | 6815 |
6657 core.Map<core.String, core.Object> toJson() { | 6816 core.Map<core.String, core.Object> toJson() { |
6658 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6817 final core.Map<core.String, core.Object> _json = |
| 6818 new core.Map<core.String, core.Object>(); |
6659 if (fields != null) { | 6819 if (fields != null) { |
6660 _json["fields"] = fields; | 6820 _json["fields"] = fields; |
6661 } | 6821 } |
6662 if (lineProperties != null) { | 6822 if (lineProperties != null) { |
6663 _json["lineProperties"] = (lineProperties).toJson(); | 6823 _json["lineProperties"] = (lineProperties).toJson(); |
6664 } | 6824 } |
6665 if (objectId != null) { | 6825 if (objectId != null) { |
6666 _json["objectId"] = objectId; | 6826 _json["objectId"] = objectId; |
6667 } | 6827 } |
6668 return _json; | 6828 return _json; |
6669 } | 6829 } |
6670 } | 6830 } |
6671 | 6831 |
6672 /** Updates the transform of a page element. */ | 6832 /// Updates the transform of a page element. |
| 6833 /// |
| 6834 /// Updating the transform of a group will change the absolute transform of the |
| 6835 /// page elements in that group, which can change their visual appearance. See |
| 6836 /// the documentation for PageElement.transform for more details. |
6673 class UpdatePageElementTransformRequest { | 6837 class UpdatePageElementTransformRequest { |
6674 /** | 6838 /// The apply mode of the transform update. |
6675 * The apply mode of the transform update. | 6839 /// Possible string values are: |
6676 * Possible string values are: | 6840 /// - "APPLY_MODE_UNSPECIFIED" : Unspecified mode. |
6677 * - "APPLY_MODE_UNSPECIFIED" : Unspecified mode. | 6841 /// - "RELATIVE" : Applies the new AffineTransform matrix to the existing |
6678 * - "RELATIVE" : Applies the new AffineTransform matrix to the existing one, | 6842 /// one, and |
6679 * and | 6843 /// replaces the existing one with the resulting concatenation. |
6680 * replaces the existing one with the resulting concatenation. | 6844 /// - "ABSOLUTE" : Replaces the existing AffineTransform matrix with the new |
6681 * - "ABSOLUTE" : Replaces the existing AffineTransform matrix with the new | 6845 /// one. |
6682 * one. | |
6683 */ | |
6684 core.String applyMode; | 6846 core.String applyMode; |
6685 /** The object ID of the page element to update. */ | 6847 |
| 6848 /// The object ID of the page element to update. |
6686 core.String objectId; | 6849 core.String objectId; |
6687 /** The input transform matrix used to update the page element. */ | 6850 |
| 6851 /// The input transform matrix used to update the page element. |
6688 AffineTransform transform; | 6852 AffineTransform transform; |
6689 | 6853 |
6690 UpdatePageElementTransformRequest(); | 6854 UpdatePageElementTransformRequest(); |
6691 | 6855 |
6692 UpdatePageElementTransformRequest.fromJson(core.Map _json) { | 6856 UpdatePageElementTransformRequest.fromJson(core.Map _json) { |
6693 if (_json.containsKey("applyMode")) { | 6857 if (_json.containsKey("applyMode")) { |
6694 applyMode = _json["applyMode"]; | 6858 applyMode = _json["applyMode"]; |
6695 } | 6859 } |
6696 if (_json.containsKey("objectId")) { | 6860 if (_json.containsKey("objectId")) { |
6697 objectId = _json["objectId"]; | 6861 objectId = _json["objectId"]; |
6698 } | 6862 } |
6699 if (_json.containsKey("transform")) { | 6863 if (_json.containsKey("transform")) { |
6700 transform = new AffineTransform.fromJson(_json["transform"]); | 6864 transform = new AffineTransform.fromJson(_json["transform"]); |
6701 } | 6865 } |
6702 } | 6866 } |
6703 | 6867 |
6704 core.Map<core.String, core.Object> toJson() { | 6868 core.Map<core.String, core.Object> toJson() { |
6705 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6869 final core.Map<core.String, core.Object> _json = |
| 6870 new core.Map<core.String, core.Object>(); |
6706 if (applyMode != null) { | 6871 if (applyMode != null) { |
6707 _json["applyMode"] = applyMode; | 6872 _json["applyMode"] = applyMode; |
6708 } | 6873 } |
6709 if (objectId != null) { | 6874 if (objectId != null) { |
6710 _json["objectId"] = objectId; | 6875 _json["objectId"] = objectId; |
6711 } | 6876 } |
6712 if (transform != null) { | 6877 if (transform != null) { |
6713 _json["transform"] = (transform).toJson(); | 6878 _json["transform"] = (transform).toJson(); |
6714 } | 6879 } |
6715 return _json; | 6880 return _json; |
6716 } | 6881 } |
6717 } | 6882 } |
6718 | 6883 |
6719 /** Updates the properties of a Page. */ | 6884 /// Updates the properties of a Page. |
6720 class UpdatePagePropertiesRequest { | 6885 class UpdatePagePropertiesRequest { |
6721 /** | 6886 /// The fields that should be updated. |
6722 * The fields that should be updated. | 6887 /// |
6723 * | 6888 /// At least one field must be specified. The root `pageProperties` is |
6724 * At least one field must be specified. The root `pageProperties` is | 6889 /// implied and should not be specified. A single `"*"` can be used as |
6725 * implied and should not be specified. A single `"*"` can be used as | 6890 /// short-hand for listing every field. |
6726 * short-hand for listing every field. | 6891 /// |
6727 * | 6892 /// For example to update the page background solid fill color, set `fields` |
6728 * For example to update the page background solid fill color, set `fields` | 6893 /// to `"pageBackgroundFill.solidFill.color"`. |
6729 * to `"pageBackgroundFill.solidFill.color"`. | 6894 /// |
6730 * | 6895 /// To reset a property to its default value, include its field name in the |
6731 * To reset a property to its default value, include its field name in the | 6896 /// field mask but leave the field itself unset. |
6732 * field mask but leave the field itself unset. | |
6733 */ | |
6734 core.String fields; | 6897 core.String fields; |
6735 /** The object ID of the page the update is applied to. */ | 6898 |
| 6899 /// The object ID of the page the update is applied to. |
6736 core.String objectId; | 6900 core.String objectId; |
6737 /** The page properties to update. */ | 6901 |
| 6902 /// The page properties to update. |
6738 PageProperties pageProperties; | 6903 PageProperties pageProperties; |
6739 | 6904 |
6740 UpdatePagePropertiesRequest(); | 6905 UpdatePagePropertiesRequest(); |
6741 | 6906 |
6742 UpdatePagePropertiesRequest.fromJson(core.Map _json) { | 6907 UpdatePagePropertiesRequest.fromJson(core.Map _json) { |
6743 if (_json.containsKey("fields")) { | 6908 if (_json.containsKey("fields")) { |
6744 fields = _json["fields"]; | 6909 fields = _json["fields"]; |
6745 } | 6910 } |
6746 if (_json.containsKey("objectId")) { | 6911 if (_json.containsKey("objectId")) { |
6747 objectId = _json["objectId"]; | 6912 objectId = _json["objectId"]; |
6748 } | 6913 } |
6749 if (_json.containsKey("pageProperties")) { | 6914 if (_json.containsKey("pageProperties")) { |
6750 pageProperties = new PageProperties.fromJson(_json["pageProperties"]); | 6915 pageProperties = new PageProperties.fromJson(_json["pageProperties"]); |
6751 } | 6916 } |
6752 } | 6917 } |
6753 | 6918 |
6754 core.Map<core.String, core.Object> toJson() { | 6919 core.Map<core.String, core.Object> toJson() { |
6755 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6920 final core.Map<core.String, core.Object> _json = |
| 6921 new core.Map<core.String, core.Object>(); |
6756 if (fields != null) { | 6922 if (fields != null) { |
6757 _json["fields"] = fields; | 6923 _json["fields"] = fields; |
6758 } | 6924 } |
6759 if (objectId != null) { | 6925 if (objectId != null) { |
6760 _json["objectId"] = objectId; | 6926 _json["objectId"] = objectId; |
6761 } | 6927 } |
6762 if (pageProperties != null) { | 6928 if (pageProperties != null) { |
6763 _json["pageProperties"] = (pageProperties).toJson(); | 6929 _json["pageProperties"] = (pageProperties).toJson(); |
6764 } | 6930 } |
6765 return _json; | 6931 return _json; |
6766 } | 6932 } |
6767 } | 6933 } |
6768 | 6934 |
6769 /** | 6935 /// Updates the styling for all of the paragraphs within a Shape or Table that |
6770 * Updates the styling for all of the paragraphs within a Shape or Table that | 6936 /// overlap with the given text index range. |
6771 * overlap with the given text index range. | |
6772 */ | |
6773 class UpdateParagraphStyleRequest { | 6937 class UpdateParagraphStyleRequest { |
6774 /** | 6938 /// The location of the cell in the table containing the paragraph(s) to |
6775 * The location of the cell in the table containing the paragraph(s) to | 6939 /// style. If `object_id` refers to a table, `cell_location` must have a |
6776 * style. If `object_id` refers to a table, `cell_location` must have a value. | 6940 /// value. |
6777 * Otherwise, it must not. | 6941 /// Otherwise, it must not. |
6778 */ | |
6779 TableCellLocation cellLocation; | 6942 TableCellLocation cellLocation; |
6780 /** | 6943 |
6781 * The fields that should be updated. | 6944 /// The fields that should be updated. |
6782 * | 6945 /// |
6783 * At least one field must be specified. The root `style` is implied and | 6946 /// At least one field must be specified. The root `style` is implied and |
6784 * should not be specified. A single `"*"` can be used as short-hand for | 6947 /// should not be specified. A single `"*"` can be used as short-hand for |
6785 * listing every field. | 6948 /// listing every field. |
6786 * | 6949 /// |
6787 * For example, to update the paragraph alignment, set `fields` to | 6950 /// For example, to update the paragraph alignment, set `fields` to |
6788 * `"alignment"`. | 6951 /// `"alignment"`. |
6789 * | 6952 /// |
6790 * To reset a property to its default value, include its field name in the | 6953 /// To reset a property to its default value, include its field name in the |
6791 * field mask but leave the field itself unset. | 6954 /// field mask but leave the field itself unset. |
6792 */ | |
6793 core.String fields; | 6955 core.String fields; |
6794 /** The object ID of the shape or table with the text to be styled. */ | 6956 |
| 6957 /// The object ID of the shape or table with the text to be styled. |
6795 core.String objectId; | 6958 core.String objectId; |
6796 /** The paragraph's style. */ | 6959 |
| 6960 /// The paragraph's style. |
6797 ParagraphStyle style; | 6961 ParagraphStyle style; |
6798 /** The range of text containing the paragraph(s) to style. */ | 6962 |
| 6963 /// The range of text containing the paragraph(s) to style. |
6799 Range textRange; | 6964 Range textRange; |
6800 | 6965 |
6801 UpdateParagraphStyleRequest(); | 6966 UpdateParagraphStyleRequest(); |
6802 | 6967 |
6803 UpdateParagraphStyleRequest.fromJson(core.Map _json) { | 6968 UpdateParagraphStyleRequest.fromJson(core.Map _json) { |
6804 if (_json.containsKey("cellLocation")) { | 6969 if (_json.containsKey("cellLocation")) { |
6805 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 6970 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
6806 } | 6971 } |
6807 if (_json.containsKey("fields")) { | 6972 if (_json.containsKey("fields")) { |
6808 fields = _json["fields"]; | 6973 fields = _json["fields"]; |
6809 } | 6974 } |
6810 if (_json.containsKey("objectId")) { | 6975 if (_json.containsKey("objectId")) { |
6811 objectId = _json["objectId"]; | 6976 objectId = _json["objectId"]; |
6812 } | 6977 } |
6813 if (_json.containsKey("style")) { | 6978 if (_json.containsKey("style")) { |
6814 style = new ParagraphStyle.fromJson(_json["style"]); | 6979 style = new ParagraphStyle.fromJson(_json["style"]); |
6815 } | 6980 } |
6816 if (_json.containsKey("textRange")) { | 6981 if (_json.containsKey("textRange")) { |
6817 textRange = new Range.fromJson(_json["textRange"]); | 6982 textRange = new Range.fromJson(_json["textRange"]); |
6818 } | 6983 } |
6819 } | 6984 } |
6820 | 6985 |
6821 core.Map<core.String, core.Object> toJson() { | 6986 core.Map<core.String, core.Object> toJson() { |
6822 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 6987 final core.Map<core.String, core.Object> _json = |
| 6988 new core.Map<core.String, core.Object>(); |
6823 if (cellLocation != null) { | 6989 if (cellLocation != null) { |
6824 _json["cellLocation"] = (cellLocation).toJson(); | 6990 _json["cellLocation"] = (cellLocation).toJson(); |
6825 } | 6991 } |
6826 if (fields != null) { | 6992 if (fields != null) { |
6827 _json["fields"] = fields; | 6993 _json["fields"] = fields; |
6828 } | 6994 } |
6829 if (objectId != null) { | 6995 if (objectId != null) { |
6830 _json["objectId"] = objectId; | 6996 _json["objectId"] = objectId; |
6831 } | 6997 } |
6832 if (style != null) { | 6998 if (style != null) { |
6833 _json["style"] = (style).toJson(); | 6999 _json["style"] = (style).toJson(); |
6834 } | 7000 } |
6835 if (textRange != null) { | 7001 if (textRange != null) { |
6836 _json["textRange"] = (textRange).toJson(); | 7002 _json["textRange"] = (textRange).toJson(); |
6837 } | 7003 } |
6838 return _json; | 7004 return _json; |
6839 } | 7005 } |
6840 } | 7006 } |
6841 | 7007 |
6842 /** Update the properties of a Shape. */ | 7008 /// Update the properties of a Shape. |
6843 class UpdateShapePropertiesRequest { | 7009 class UpdateShapePropertiesRequest { |
6844 /** | 7010 /// The fields that should be updated. |
6845 * The fields that should be updated. | 7011 /// |
6846 * | 7012 /// At least one field must be specified. The root `shapeProperties` is |
6847 * At least one field must be specified. The root `shapeProperties` is | 7013 /// implied and should not be specified. A single `"*"` can be used as |
6848 * implied and should not be specified. A single `"*"` can be used as | 7014 /// short-hand for listing every field. |
6849 * short-hand for listing every field. | 7015 /// |
6850 * | 7016 /// For example to update the shape background solid fill color, set `fields` |
6851 * For example to update the shape background solid fill color, set `fields` | 7017 /// to `"shapeBackgroundFill.solidFill.color"`. |
6852 * to `"shapeBackgroundFill.solidFill.color"`. | 7018 /// |
6853 * | 7019 /// To reset a property to its default value, include its field name in the |
6854 * To reset a property to its default value, include its field name in the | 7020 /// field mask but leave the field itself unset. |
6855 * field mask but leave the field itself unset. | |
6856 */ | |
6857 core.String fields; | 7021 core.String fields; |
6858 /** The object ID of the shape the updates are applied to. */ | 7022 |
| 7023 /// The object ID of the shape the updates are applied to. |
6859 core.String objectId; | 7024 core.String objectId; |
6860 /** The shape properties to update. */ | 7025 |
| 7026 /// The shape properties to update. |
6861 ShapeProperties shapeProperties; | 7027 ShapeProperties shapeProperties; |
6862 | 7028 |
6863 UpdateShapePropertiesRequest(); | 7029 UpdateShapePropertiesRequest(); |
6864 | 7030 |
6865 UpdateShapePropertiesRequest.fromJson(core.Map _json) { | 7031 UpdateShapePropertiesRequest.fromJson(core.Map _json) { |
6866 if (_json.containsKey("fields")) { | 7032 if (_json.containsKey("fields")) { |
6867 fields = _json["fields"]; | 7033 fields = _json["fields"]; |
6868 } | 7034 } |
6869 if (_json.containsKey("objectId")) { | 7035 if (_json.containsKey("objectId")) { |
6870 objectId = _json["objectId"]; | 7036 objectId = _json["objectId"]; |
6871 } | 7037 } |
6872 if (_json.containsKey("shapeProperties")) { | 7038 if (_json.containsKey("shapeProperties")) { |
6873 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]); | 7039 shapeProperties = new ShapeProperties.fromJson(_json["shapeProperties"]); |
6874 } | 7040 } |
6875 } | 7041 } |
6876 | 7042 |
6877 core.Map<core.String, core.Object> toJson() { | 7043 core.Map<core.String, core.Object> toJson() { |
6878 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7044 final core.Map<core.String, core.Object> _json = |
| 7045 new core.Map<core.String, core.Object>(); |
6879 if (fields != null) { | 7046 if (fields != null) { |
6880 _json["fields"] = fields; | 7047 _json["fields"] = fields; |
6881 } | 7048 } |
6882 if (objectId != null) { | 7049 if (objectId != null) { |
6883 _json["objectId"] = objectId; | 7050 _json["objectId"] = objectId; |
6884 } | 7051 } |
6885 if (shapeProperties != null) { | 7052 if (shapeProperties != null) { |
6886 _json["shapeProperties"] = (shapeProperties).toJson(); | 7053 _json["shapeProperties"] = (shapeProperties).toJson(); |
6887 } | 7054 } |
6888 return _json; | 7055 return _json; |
6889 } | 7056 } |
6890 } | 7057 } |
6891 | 7058 |
6892 /** Updates the position of slides in the presentation. */ | 7059 /// Updates the position of slides in the presentation. |
6893 class UpdateSlidesPositionRequest { | 7060 class UpdateSlidesPositionRequest { |
6894 /** | 7061 /// The index where the slides should be inserted, based on the slide |
6895 * The index where the slides should be inserted, based on the slide | 7062 /// arrangement before the move takes place. Must be between zero and the |
6896 * arrangement before the move takes place. Must be between zero and the | 7063 /// number of slides in the presentation, inclusive. |
6897 * number of slides in the presentation, inclusive. | |
6898 */ | |
6899 core.int insertionIndex; | 7064 core.int insertionIndex; |
6900 /** | 7065 |
6901 * The IDs of the slides in the presentation that should be moved. | 7066 /// The IDs of the slides in the presentation that should be moved. |
6902 * The slides in this list must be in existing presentation order, without | 7067 /// The slides in this list must be in existing presentation order, without |
6903 * duplicates. | 7068 /// duplicates. |
6904 */ | |
6905 core.List<core.String> slideObjectIds; | 7069 core.List<core.String> slideObjectIds; |
6906 | 7070 |
6907 UpdateSlidesPositionRequest(); | 7071 UpdateSlidesPositionRequest(); |
6908 | 7072 |
6909 UpdateSlidesPositionRequest.fromJson(core.Map _json) { | 7073 UpdateSlidesPositionRequest.fromJson(core.Map _json) { |
6910 if (_json.containsKey("insertionIndex")) { | 7074 if (_json.containsKey("insertionIndex")) { |
6911 insertionIndex = _json["insertionIndex"]; | 7075 insertionIndex = _json["insertionIndex"]; |
6912 } | 7076 } |
6913 if (_json.containsKey("slideObjectIds")) { | 7077 if (_json.containsKey("slideObjectIds")) { |
6914 slideObjectIds = _json["slideObjectIds"]; | 7078 slideObjectIds = _json["slideObjectIds"]; |
6915 } | 7079 } |
6916 } | 7080 } |
6917 | 7081 |
6918 core.Map<core.String, core.Object> toJson() { | 7082 core.Map<core.String, core.Object> toJson() { |
6919 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7083 final core.Map<core.String, core.Object> _json = |
| 7084 new core.Map<core.String, core.Object>(); |
6920 if (insertionIndex != null) { | 7085 if (insertionIndex != null) { |
6921 _json["insertionIndex"] = insertionIndex; | 7086 _json["insertionIndex"] = insertionIndex; |
6922 } | 7087 } |
6923 if (slideObjectIds != null) { | 7088 if (slideObjectIds != null) { |
6924 _json["slideObjectIds"] = slideObjectIds; | 7089 _json["slideObjectIds"] = slideObjectIds; |
6925 } | 7090 } |
6926 return _json; | 7091 return _json; |
6927 } | 7092 } |
6928 } | 7093 } |
6929 | 7094 |
6930 /** Update the properties of a TableCell. */ | 7095 /// Update the properties of a TableCell. |
6931 class UpdateTableCellPropertiesRequest { | 7096 class UpdateTableCellPropertiesRequest { |
6932 /** | 7097 /// The fields that should be updated. |
6933 * The fields that should be updated. | 7098 /// |
6934 * | 7099 /// At least one field must be specified. The root `tableCellProperties` is |
6935 * At least one field must be specified. The root `tableCellProperties` is | 7100 /// implied and should not be specified. A single `"*"` can be used as |
6936 * implied and should not be specified. A single `"*"` can be used as | 7101 /// short-hand for listing every field. |
6937 * short-hand for listing every field. | 7102 /// |
6938 * | 7103 /// For example to update the table cell background solid fill color, set |
6939 * For example to update the table cell background solid fill color, set | 7104 /// `fields` to `"tableCellBackgroundFill.solidFill.color"`. |
6940 * `fields` to `"tableCellBackgroundFill.solidFill.color"`. | 7105 /// |
6941 * | 7106 /// To reset a property to its default value, include its field name in the |
6942 * To reset a property to its default value, include its field name in the | 7107 /// field mask but leave the field itself unset. |
6943 * field mask but leave the field itself unset. | |
6944 */ | |
6945 core.String fields; | 7108 core.String fields; |
6946 /** The object ID of the table. */ | 7109 |
| 7110 /// The object ID of the table. |
6947 core.String objectId; | 7111 core.String objectId; |
6948 /** The table cell properties to update. */ | 7112 |
| 7113 /// The table cell properties to update. |
6949 TableCellProperties tableCellProperties; | 7114 TableCellProperties tableCellProperties; |
6950 /** | 7115 |
6951 * The table range representing the subset of the table to which the updates | 7116 /// The table range representing the subset of the table to which the updates |
6952 * are applied. If a table range is not specified, the updates will apply to | 7117 /// are applied. If a table range is not specified, the updates will apply to |
6953 * the entire table. | 7118 /// the entire table. |
6954 */ | |
6955 TableRange tableRange; | 7119 TableRange tableRange; |
6956 | 7120 |
6957 UpdateTableCellPropertiesRequest(); | 7121 UpdateTableCellPropertiesRequest(); |
6958 | 7122 |
6959 UpdateTableCellPropertiesRequest.fromJson(core.Map _json) { | 7123 UpdateTableCellPropertiesRequest.fromJson(core.Map _json) { |
6960 if (_json.containsKey("fields")) { | 7124 if (_json.containsKey("fields")) { |
6961 fields = _json["fields"]; | 7125 fields = _json["fields"]; |
6962 } | 7126 } |
6963 if (_json.containsKey("objectId")) { | 7127 if (_json.containsKey("objectId")) { |
6964 objectId = _json["objectId"]; | 7128 objectId = _json["objectId"]; |
6965 } | 7129 } |
6966 if (_json.containsKey("tableCellProperties")) { | 7130 if (_json.containsKey("tableCellProperties")) { |
6967 tableCellProperties = new TableCellProperties.fromJson(_json["tableCellPro
perties"]); | 7131 tableCellProperties = |
| 7132 new TableCellProperties.fromJson(_json["tableCellProperties"]); |
6968 } | 7133 } |
6969 if (_json.containsKey("tableRange")) { | 7134 if (_json.containsKey("tableRange")) { |
6970 tableRange = new TableRange.fromJson(_json["tableRange"]); | 7135 tableRange = new TableRange.fromJson(_json["tableRange"]); |
6971 } | 7136 } |
6972 } | 7137 } |
6973 | 7138 |
6974 core.Map<core.String, core.Object> toJson() { | 7139 core.Map<core.String, core.Object> toJson() { |
6975 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7140 final core.Map<core.String, core.Object> _json = |
| 7141 new core.Map<core.String, core.Object>(); |
6976 if (fields != null) { | 7142 if (fields != null) { |
6977 _json["fields"] = fields; | 7143 _json["fields"] = fields; |
6978 } | 7144 } |
6979 if (objectId != null) { | 7145 if (objectId != null) { |
6980 _json["objectId"] = objectId; | 7146 _json["objectId"] = objectId; |
6981 } | 7147 } |
6982 if (tableCellProperties != null) { | 7148 if (tableCellProperties != null) { |
6983 _json["tableCellProperties"] = (tableCellProperties).toJson(); | 7149 _json["tableCellProperties"] = (tableCellProperties).toJson(); |
6984 } | 7150 } |
6985 if (tableRange != null) { | 7151 if (tableRange != null) { |
6986 _json["tableRange"] = (tableRange).toJson(); | 7152 _json["tableRange"] = (tableRange).toJson(); |
6987 } | 7153 } |
6988 return _json; | 7154 return _json; |
6989 } | 7155 } |
6990 } | 7156 } |
6991 | 7157 |
6992 /** | 7158 /// Update the styling of text in a Shape or |
6993 * Update the styling of text in a Shape or | 7159 /// Table. |
6994 * Table. | |
6995 */ | |
6996 class UpdateTextStyleRequest { | 7160 class UpdateTextStyleRequest { |
6997 /** | 7161 /// The location of the cell in the table containing the text to style. If |
6998 * The location of the cell in the table containing the text to style. If | 7162 /// `object_id` refers to a table, `cell_location` must have a value. |
6999 * `object_id` refers to a table, `cell_location` must have a value. | 7163 /// Otherwise, it must not. |
7000 * Otherwise, it must not. | |
7001 */ | |
7002 TableCellLocation cellLocation; | 7164 TableCellLocation cellLocation; |
7003 /** | 7165 |
7004 * The fields that should be updated. | 7166 /// The fields that should be updated. |
7005 * | 7167 /// |
7006 * At least one field must be specified. The root `style` is implied and | 7168 /// At least one field must be specified. The root `style` is implied and |
7007 * should not be specified. A single `"*"` can be used as short-hand for | 7169 /// should not be specified. A single `"*"` can be used as short-hand for |
7008 * listing every field. | 7170 /// listing every field. |
7009 * | 7171 /// |
7010 * For example, to update the text style to bold, set `fields` to `"bold"`. | 7172 /// For example, to update the text style to bold, set `fields` to `"bold"`. |
7011 * | 7173 /// |
7012 * To reset a property to its default value, include its field name in the | 7174 /// To reset a property to its default value, include its field name in the |
7013 * field mask but leave the field itself unset. | 7175 /// field mask but leave the field itself unset. |
7014 */ | |
7015 core.String fields; | 7176 core.String fields; |
7016 /** The object ID of the shape or table with the text to be styled. */ | 7177 |
| 7178 /// The object ID of the shape or table with the text to be styled. |
7017 core.String objectId; | 7179 core.String objectId; |
7018 /** | 7180 |
7019 * The style(s) to set on the text. | 7181 /// The style(s) to set on the text. |
7020 * | 7182 /// |
7021 * If the value for a particular style matches that of the parent, that style | 7183 /// If the value for a particular style matches that of the parent, that |
7022 * will be set to inherit. | 7184 /// style |
7023 * | 7185 /// will be set to inherit. |
7024 * Certain text style changes may cause other changes meant to mirror the | 7186 /// |
7025 * behavior of the Slides editor. See the documentation of | 7187 /// Certain text style changes may cause other changes meant to mirror the |
7026 * TextStyle for more information. | 7188 /// behavior of the Slides editor. See the documentation of |
7027 */ | 7189 /// TextStyle for more information. |
7028 TextStyle style; | 7190 TextStyle style; |
7029 /** | 7191 |
7030 * The range of text to style. | 7192 /// The range of text to style. |
7031 * | 7193 /// |
7032 * The range may be extended to include adjacent newlines. | 7194 /// The range may be extended to include adjacent newlines. |
7033 * | 7195 /// |
7034 * If the range fully contains a paragraph belonging to a list, the | 7196 /// If the range fully contains a paragraph belonging to a list, the |
7035 * paragraph's bullet is also updated with the matching text style. | 7197 /// paragraph's bullet is also updated with the matching text style. |
7036 */ | |
7037 Range textRange; | 7198 Range textRange; |
7038 | 7199 |
7039 UpdateTextStyleRequest(); | 7200 UpdateTextStyleRequest(); |
7040 | 7201 |
7041 UpdateTextStyleRequest.fromJson(core.Map _json) { | 7202 UpdateTextStyleRequest.fromJson(core.Map _json) { |
7042 if (_json.containsKey("cellLocation")) { | 7203 if (_json.containsKey("cellLocation")) { |
7043 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); | 7204 cellLocation = new TableCellLocation.fromJson(_json["cellLocation"]); |
7044 } | 7205 } |
7045 if (_json.containsKey("fields")) { | 7206 if (_json.containsKey("fields")) { |
7046 fields = _json["fields"]; | 7207 fields = _json["fields"]; |
7047 } | 7208 } |
7048 if (_json.containsKey("objectId")) { | 7209 if (_json.containsKey("objectId")) { |
7049 objectId = _json["objectId"]; | 7210 objectId = _json["objectId"]; |
7050 } | 7211 } |
7051 if (_json.containsKey("style")) { | 7212 if (_json.containsKey("style")) { |
7052 style = new TextStyle.fromJson(_json["style"]); | 7213 style = new TextStyle.fromJson(_json["style"]); |
7053 } | 7214 } |
7054 if (_json.containsKey("textRange")) { | 7215 if (_json.containsKey("textRange")) { |
7055 textRange = new Range.fromJson(_json["textRange"]); | 7216 textRange = new Range.fromJson(_json["textRange"]); |
7056 } | 7217 } |
7057 } | 7218 } |
7058 | 7219 |
7059 core.Map<core.String, core.Object> toJson() { | 7220 core.Map<core.String, core.Object> toJson() { |
7060 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7221 final core.Map<core.String, core.Object> _json = |
| 7222 new core.Map<core.String, core.Object>(); |
7061 if (cellLocation != null) { | 7223 if (cellLocation != null) { |
7062 _json["cellLocation"] = (cellLocation).toJson(); | 7224 _json["cellLocation"] = (cellLocation).toJson(); |
7063 } | 7225 } |
7064 if (fields != null) { | 7226 if (fields != null) { |
7065 _json["fields"] = fields; | 7227 _json["fields"] = fields; |
7066 } | 7228 } |
7067 if (objectId != null) { | 7229 if (objectId != null) { |
7068 _json["objectId"] = objectId; | 7230 _json["objectId"] = objectId; |
7069 } | 7231 } |
7070 if (style != null) { | 7232 if (style != null) { |
7071 _json["style"] = (style).toJson(); | 7233 _json["style"] = (style).toJson(); |
7072 } | 7234 } |
7073 if (textRange != null) { | 7235 if (textRange != null) { |
7074 _json["textRange"] = (textRange).toJson(); | 7236 _json["textRange"] = (textRange).toJson(); |
7075 } | 7237 } |
7076 return _json; | 7238 return _json; |
7077 } | 7239 } |
7078 } | 7240 } |
7079 | 7241 |
7080 /** Update the properties of a Video. */ | 7242 /// Update the properties of a Video. |
7081 class UpdateVideoPropertiesRequest { | 7243 class UpdateVideoPropertiesRequest { |
7082 /** | 7244 /// The fields that should be updated. |
7083 * The fields that should be updated. | 7245 /// |
7084 * | 7246 /// At least one field must be specified. The root `videoProperties` is |
7085 * At least one field must be specified. The root `videoProperties` is | 7247 /// implied and should not be specified. A single `"*"` can be used as |
7086 * implied and should not be specified. A single `"*"` can be used as | 7248 /// short-hand for listing every field. |
7087 * short-hand for listing every field. | 7249 /// |
7088 * | 7250 /// For example to update the video outline color, set `fields` to |
7089 * For example to update the video outline color, set `fields` to | 7251 /// `"outline.outlineFill.solidFill.color"`. |
7090 * `"outline.outlineFill.solidFill.color"`. | 7252 /// |
7091 * | 7253 /// To reset a property to its default value, include its field name in the |
7092 * To reset a property to its default value, include its field name in the | 7254 /// field mask but leave the field itself unset. |
7093 * field mask but leave the field itself unset. | |
7094 */ | |
7095 core.String fields; | 7255 core.String fields; |
7096 /** The object ID of the video the updates are applied to. */ | 7256 |
| 7257 /// The object ID of the video the updates are applied to. |
7097 core.String objectId; | 7258 core.String objectId; |
7098 /** The video properties to update. */ | 7259 |
| 7260 /// The video properties to update. |
7099 VideoProperties videoProperties; | 7261 VideoProperties videoProperties; |
7100 | 7262 |
7101 UpdateVideoPropertiesRequest(); | 7263 UpdateVideoPropertiesRequest(); |
7102 | 7264 |
7103 UpdateVideoPropertiesRequest.fromJson(core.Map _json) { | 7265 UpdateVideoPropertiesRequest.fromJson(core.Map _json) { |
7104 if (_json.containsKey("fields")) { | 7266 if (_json.containsKey("fields")) { |
7105 fields = _json["fields"]; | 7267 fields = _json["fields"]; |
7106 } | 7268 } |
7107 if (_json.containsKey("objectId")) { | 7269 if (_json.containsKey("objectId")) { |
7108 objectId = _json["objectId"]; | 7270 objectId = _json["objectId"]; |
7109 } | 7271 } |
7110 if (_json.containsKey("videoProperties")) { | 7272 if (_json.containsKey("videoProperties")) { |
7111 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]); | 7273 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]); |
7112 } | 7274 } |
7113 } | 7275 } |
7114 | 7276 |
7115 core.Map<core.String, core.Object> toJson() { | 7277 core.Map<core.String, core.Object> toJson() { |
7116 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7278 final core.Map<core.String, core.Object> _json = |
| 7279 new core.Map<core.String, core.Object>(); |
7117 if (fields != null) { | 7280 if (fields != null) { |
7118 _json["fields"] = fields; | 7281 _json["fields"] = fields; |
7119 } | 7282 } |
7120 if (objectId != null) { | 7283 if (objectId != null) { |
7121 _json["objectId"] = objectId; | 7284 _json["objectId"] = objectId; |
7122 } | 7285 } |
7123 if (videoProperties != null) { | 7286 if (videoProperties != null) { |
7124 _json["videoProperties"] = (videoProperties).toJson(); | 7287 _json["videoProperties"] = (videoProperties).toJson(); |
7125 } | 7288 } |
7126 return _json; | 7289 return _json; |
7127 } | 7290 } |
7128 } | 7291 } |
7129 | 7292 |
7130 /** | 7293 /// A PageElement kind representing a |
7131 * A PageElement kind representing a | 7294 /// video. |
7132 * video. | |
7133 */ | |
7134 class Video { | 7295 class Video { |
7135 /** The video source's unique identifier for this video. */ | 7296 /// The video source's unique identifier for this video. |
7136 core.String id; | 7297 core.String id; |
7137 /** | 7298 |
7138 * The video source. | 7299 /// The video source. |
7139 * Possible string values are: | 7300 /// Possible string values are: |
7140 * - "SOURCE_UNSPECIFIED" : The video source is unspecified. | 7301 /// - "SOURCE_UNSPECIFIED" : The video source is unspecified. |
7141 * - "YOUTUBE" : The video source is YouTube. | 7302 /// - "YOUTUBE" : The video source is YouTube. |
7142 */ | |
7143 core.String source; | 7303 core.String source; |
7144 /** | 7304 |
7145 * An URL to a video. The URL is valid as long as the source video | 7305 /// An URL to a video. The URL is valid as long as the source video |
7146 * exists and sharing settings do not change. | 7306 /// exists and sharing settings do not change. |
7147 */ | |
7148 core.String url; | 7307 core.String url; |
7149 /** The properties of the video. */ | 7308 |
| 7309 /// The properties of the video. |
7150 VideoProperties videoProperties; | 7310 VideoProperties videoProperties; |
7151 | 7311 |
7152 Video(); | 7312 Video(); |
7153 | 7313 |
7154 Video.fromJson(core.Map _json) { | 7314 Video.fromJson(core.Map _json) { |
7155 if (_json.containsKey("id")) { | 7315 if (_json.containsKey("id")) { |
7156 id = _json["id"]; | 7316 id = _json["id"]; |
7157 } | 7317 } |
7158 if (_json.containsKey("source")) { | 7318 if (_json.containsKey("source")) { |
7159 source = _json["source"]; | 7319 source = _json["source"]; |
7160 } | 7320 } |
7161 if (_json.containsKey("url")) { | 7321 if (_json.containsKey("url")) { |
7162 url = _json["url"]; | 7322 url = _json["url"]; |
7163 } | 7323 } |
7164 if (_json.containsKey("videoProperties")) { | 7324 if (_json.containsKey("videoProperties")) { |
7165 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]); | 7325 videoProperties = new VideoProperties.fromJson(_json["videoProperties"]); |
7166 } | 7326 } |
7167 } | 7327 } |
7168 | 7328 |
7169 core.Map<core.String, core.Object> toJson() { | 7329 core.Map<core.String, core.Object> toJson() { |
7170 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7330 final core.Map<core.String, core.Object> _json = |
| 7331 new core.Map<core.String, core.Object>(); |
7171 if (id != null) { | 7332 if (id != null) { |
7172 _json["id"] = id; | 7333 _json["id"] = id; |
7173 } | 7334 } |
7174 if (source != null) { | 7335 if (source != null) { |
7175 _json["source"] = source; | 7336 _json["source"] = source; |
7176 } | 7337 } |
7177 if (url != null) { | 7338 if (url != null) { |
7178 _json["url"] = url; | 7339 _json["url"] = url; |
7179 } | 7340 } |
7180 if (videoProperties != null) { | 7341 if (videoProperties != null) { |
7181 _json["videoProperties"] = (videoProperties).toJson(); | 7342 _json["videoProperties"] = (videoProperties).toJson(); |
7182 } | 7343 } |
7183 return _json; | 7344 return _json; |
7184 } | 7345 } |
7185 } | 7346 } |
7186 | 7347 |
7187 /** The properties of the Video. */ | 7348 /// The properties of the Video. |
7188 class VideoProperties { | 7349 class VideoProperties { |
7189 /** | 7350 /// The outline of the video. The default outline matches the defaults for |
7190 * The outline of the video. The default outline matches the defaults for new | 7351 /// new |
7191 * videos created in the Slides editor. | 7352 /// videos created in the Slides editor. |
7192 */ | |
7193 Outline outline; | 7353 Outline outline; |
7194 | 7354 |
7195 VideoProperties(); | 7355 VideoProperties(); |
7196 | 7356 |
7197 VideoProperties.fromJson(core.Map _json) { | 7357 VideoProperties.fromJson(core.Map _json) { |
7198 if (_json.containsKey("outline")) { | 7358 if (_json.containsKey("outline")) { |
7199 outline = new Outline.fromJson(_json["outline"]); | 7359 outline = new Outline.fromJson(_json["outline"]); |
7200 } | 7360 } |
7201 } | 7361 } |
7202 | 7362 |
7203 core.Map<core.String, core.Object> toJson() { | 7363 core.Map<core.String, core.Object> toJson() { |
7204 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7364 final core.Map<core.String, core.Object> _json = |
| 7365 new core.Map<core.String, core.Object>(); |
7205 if (outline != null) { | 7366 if (outline != null) { |
7206 _json["outline"] = (outline).toJson(); | 7367 _json["outline"] = (outline).toJson(); |
7207 } | 7368 } |
7208 return _json; | 7369 return _json; |
7209 } | 7370 } |
7210 } | 7371 } |
7211 | 7372 |
7212 /** Represents a font family and weight used to style a TextRun. */ | 7373 /// Represents a font family and weight used to style a TextRun. |
7213 class WeightedFontFamily { | 7374 class WeightedFontFamily { |
7214 /** | 7375 /// The font family of the text. |
7215 * The font family of the text. | 7376 /// |
7216 * | 7377 /// The font family can be any font from the Font menu in Slides or from |
7217 * The font family can be any font from the Font menu in Slides or from | 7378 /// [Google Fonts] (https://fonts.google.com/). If the font name is |
7218 * [Google Fonts] (https://fonts.google.com/). If the font name is | 7379 /// unrecognized, the text is rendered in `Arial`. |
7219 * unrecognized, the text is rendered in `Arial`. | |
7220 */ | |
7221 core.String fontFamily; | 7380 core.String fontFamily; |
7222 /** | 7381 |
7223 * The rendered weight of the text. This field can have any value that is a | 7382 /// The rendered weight of the text. This field can have any value that is a |
7224 * multiple of `100` between `100` and `900`, inclusive. This range | 7383 /// multiple of `100` between `100` and `900`, inclusive. This range |
7225 * corresponds to the numerical values described in the CSS 2.1 | 7384 /// corresponds to the numerical values described in the CSS 2.1 |
7226 * Specification, [section | 7385 /// Specification, [section |
7227 * 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), | 7386 /// 15.6](https://www.w3.org/TR/CSS21/fonts.html#font-boldness), |
7228 * with non-numerical values disallowed. Weights greater than or equal to | 7387 /// with non-numerical values disallowed. Weights greater than or equal to |
7229 * `700` are considered bold, and weights less than `700`are not bold. The | 7388 /// `700` are considered bold, and weights less than `700`are not bold. The |
7230 * default value is `400` ("normal"). | 7389 /// default value is `400` ("normal"). |
7231 */ | |
7232 core.int weight; | 7390 core.int weight; |
7233 | 7391 |
7234 WeightedFontFamily(); | 7392 WeightedFontFamily(); |
7235 | 7393 |
7236 WeightedFontFamily.fromJson(core.Map _json) { | 7394 WeightedFontFamily.fromJson(core.Map _json) { |
7237 if (_json.containsKey("fontFamily")) { | 7395 if (_json.containsKey("fontFamily")) { |
7238 fontFamily = _json["fontFamily"]; | 7396 fontFamily = _json["fontFamily"]; |
7239 } | 7397 } |
7240 if (_json.containsKey("weight")) { | 7398 if (_json.containsKey("weight")) { |
7241 weight = _json["weight"]; | 7399 weight = _json["weight"]; |
7242 } | 7400 } |
7243 } | 7401 } |
7244 | 7402 |
7245 core.Map<core.String, core.Object> toJson() { | 7403 core.Map<core.String, core.Object> toJson() { |
7246 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7404 final core.Map<core.String, core.Object> _json = |
| 7405 new core.Map<core.String, core.Object>(); |
7247 if (fontFamily != null) { | 7406 if (fontFamily != null) { |
7248 _json["fontFamily"] = fontFamily; | 7407 _json["fontFamily"] = fontFamily; |
7249 } | 7408 } |
7250 if (weight != null) { | 7409 if (weight != null) { |
7251 _json["weight"] = weight; | 7410 _json["weight"] = weight; |
7252 } | 7411 } |
7253 return _json; | 7412 return _json; |
7254 } | 7413 } |
7255 } | 7414 } |
7256 | 7415 |
7257 /** | 7416 /// A PageElement kind representing |
7258 * A PageElement kind representing | 7417 /// word art. |
7259 * word art. | |
7260 */ | |
7261 class WordArt { | 7418 class WordArt { |
7262 /** The text rendered as word art. */ | 7419 /// The text rendered as word art. |
7263 core.String renderedText; | 7420 core.String renderedText; |
7264 | 7421 |
7265 WordArt(); | 7422 WordArt(); |
7266 | 7423 |
7267 WordArt.fromJson(core.Map _json) { | 7424 WordArt.fromJson(core.Map _json) { |
7268 if (_json.containsKey("renderedText")) { | 7425 if (_json.containsKey("renderedText")) { |
7269 renderedText = _json["renderedText"]; | 7426 renderedText = _json["renderedText"]; |
7270 } | 7427 } |
7271 } | 7428 } |
7272 | 7429 |
7273 core.Map<core.String, core.Object> toJson() { | 7430 core.Map<core.String, core.Object> toJson() { |
7274 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7431 final core.Map<core.String, core.Object> _json = |
| 7432 new core.Map<core.String, core.Object>(); |
7275 if (renderedText != null) { | 7433 if (renderedText != null) { |
7276 _json["renderedText"] = renderedText; | 7434 _json["renderedText"] = renderedText; |
7277 } | 7435 } |
7278 return _json; | 7436 return _json; |
7279 } | 7437 } |
7280 } | 7438 } |
7281 | 7439 |
7282 /** Provides control over how write requests are executed. */ | 7440 /// Provides control over how write requests are executed. |
7283 class WriteControl { | 7441 class WriteControl { |
7284 /** | 7442 /// The revision ID of the presentation required for the write request. If |
7285 * The revision ID of the presentation required for the write request. If | 7443 /// specified and the `required_revision_id` doesn't exactly match the |
7286 * specified and the `required_revision_id` doesn't exactly match the | 7444 /// presentation's current `revision_id`, the request will not be processed |
7287 * presentation's current `revision_id`, the request will not be processed and | 7445 /// and |
7288 * will return a 400 bad request error. | 7446 /// will return a 400 bad request error. |
7289 */ | |
7290 core.String requiredRevisionId; | 7447 core.String requiredRevisionId; |
7291 | 7448 |
7292 WriteControl(); | 7449 WriteControl(); |
7293 | 7450 |
7294 WriteControl.fromJson(core.Map _json) { | 7451 WriteControl.fromJson(core.Map _json) { |
7295 if (_json.containsKey("requiredRevisionId")) { | 7452 if (_json.containsKey("requiredRevisionId")) { |
7296 requiredRevisionId = _json["requiredRevisionId"]; | 7453 requiredRevisionId = _json["requiredRevisionId"]; |
7297 } | 7454 } |
7298 } | 7455 } |
7299 | 7456 |
7300 core.Map<core.String, core.Object> toJson() { | 7457 core.Map<core.String, core.Object> toJson() { |
7301 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 7458 final core.Map<core.String, core.Object> _json = |
| 7459 new core.Map<core.String, core.Object>(); |
7302 if (requiredRevisionId != null) { | 7460 if (requiredRevisionId != null) { |
7303 _json["requiredRevisionId"] = requiredRevisionId; | 7461 _json["requiredRevisionId"] = requiredRevisionId; |
7304 } | 7462 } |
7305 return _json; | 7463 return _json; |
7306 } | 7464 } |
7307 } | 7465 } |
OLD | NEW |