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.sheets.v4; | 3 library googleapis.sheets.v4; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 * | 304 * |
305 * [request] - The metadata request object. | 305 * [request] - The metadata request object. |
306 * | 306 * |
307 * Request parameters: | 307 * Request parameters: |
308 * | 308 * |
309 * [spreadsheetId] - The ID of the spreadsheet to update. | 309 * [spreadsheetId] - The ID of the spreadsheet to update. |
310 * | 310 * |
311 * [range] - The A1 notation of a range to search for a logical table of data. | 311 * [range] - The A1 notation of a range to search for a logical table of data. |
312 * Values will be appended after the last row of the table. | 312 * Values will be appended after the last row of the table. |
313 * | 313 * |
314 * [includeValuesInResponse] - Determines if the update response should | |
315 * include the values | |
316 * of the cells that were appended. By default, responses | |
317 * do not include the updated values. | |
318 * | |
319 * [responseValueRenderOption] - Determines how values in the response should | 314 * [responseValueRenderOption] - Determines how values in the response should |
320 * be rendered. | 315 * be rendered. |
321 * The default render option is ValueRenderOption.FORMATTED_VALUE. | 316 * The default render option is ValueRenderOption.FORMATTED_VALUE. |
322 * Possible string values are: | 317 * Possible string values are: |
323 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. | 318 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. |
324 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. | 319 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. |
325 * - "FORMULA" : A FORMULA. | 320 * - "FORMULA" : A FORMULA. |
326 * | 321 * |
327 * [insertDataOption] - How the input data should be inserted. | 322 * [insertDataOption] - How the input data should be inserted. |
328 * Possible string values are: | 323 * Possible string values are: |
329 * - "OVERWRITE" : A OVERWRITE. | 324 * - "OVERWRITE" : A OVERWRITE. |
330 * - "INSERT_ROWS" : A INSERT_ROWS. | 325 * - "INSERT_ROWS" : A INSERT_ROWS. |
331 * | 326 * |
332 * [valueInputOption] - How the input data should be interpreted. | 327 * [valueInputOption] - How the input data should be interpreted. |
333 * Possible string values are: | 328 * Possible string values are: |
334 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED. | 329 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED. |
335 * - "RAW" : A RAW. | 330 * - "RAW" : A RAW. |
336 * - "USER_ENTERED" : A USER_ENTERED. | 331 * - "USER_ENTERED" : A USER_ENTERED. |
337 * | 332 * |
338 * [responseDateTimeRenderOption] - Determines how dates, times, and durations | 333 * [responseDateTimeRenderOption] - Determines how dates, times, and durations |
339 * in the response should be | 334 * in the response should be |
340 * rendered. This is ignored if response_value_render_option is | 335 * rendered. This is ignored if response_value_render_option is |
341 * FORMATTED_VALUE. | 336 * FORMATTED_VALUE. |
342 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. | 337 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. |
343 * Possible string values are: | 338 * Possible string values are: |
344 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. | 339 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. |
345 * - "FORMATTED_STRING" : A FORMATTED_STRING. | 340 * - "FORMATTED_STRING" : A FORMATTED_STRING. |
346 * | 341 * |
| 342 * [includeValuesInResponse] - Determines if the update response should |
| 343 * include the values |
| 344 * of the cells that were appended. By default, responses |
| 345 * do not include the updated values. |
| 346 * |
347 * Completes with a [AppendValuesResponse]. | 347 * Completes with a [AppendValuesResponse]. |
348 * | 348 * |
349 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 349 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
350 * error. | 350 * error. |
351 * | 351 * |
352 * If the used [http.Client] completes with an error when making a REST call, | 352 * If the used [http.Client] completes with an error when making a REST call, |
353 * this method will complete with the same error. | 353 * this method will complete with the same error. |
354 */ | 354 */ |
355 async.Future<AppendValuesResponse> append(ValueRange request, core.String spre
adsheetId, core.String range, {core.bool includeValuesInResponse, core.String re
sponseValueRenderOption, core.String insertDataOption, core.String valueInputOpt
ion, core.String responseDateTimeRenderOption}) { | 355 async.Future<AppendValuesResponse> append(ValueRange request, core.String spre
adsheetId, core.String range, {core.String responseValueRenderOption, core.Strin
g insertDataOption, core.String valueInputOption, core.String responseDateTimeRe
nderOption, core.bool includeValuesInResponse}) { |
356 var _url = null; | 356 var _url = null; |
357 var _queryParams = new core.Map(); | 357 var _queryParams = new core.Map(); |
358 var _uploadMedia = null; | 358 var _uploadMedia = null; |
359 var _uploadOptions = null; | 359 var _uploadOptions = null; |
360 var _downloadOptions = commons.DownloadOptions.Metadata; | 360 var _downloadOptions = commons.DownloadOptions.Metadata; |
361 var _body = null; | 361 var _body = null; |
362 | 362 |
363 if (request != null) { | 363 if (request != null) { |
364 _body = convert.JSON.encode((request).toJson()); | 364 _body = convert.JSON.encode((request).toJson()); |
365 } | 365 } |
366 if (spreadsheetId == null) { | 366 if (spreadsheetId == null) { |
367 throw new core.ArgumentError("Parameter spreadsheetId is required."); | 367 throw new core.ArgumentError("Parameter spreadsheetId is required."); |
368 } | 368 } |
369 if (range == null) { | 369 if (range == null) { |
370 throw new core.ArgumentError("Parameter range is required."); | 370 throw new core.ArgumentError("Parameter range is required."); |
371 } | 371 } |
372 if (includeValuesInResponse != null) { | |
373 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; | |
374 } | |
375 if (responseValueRenderOption != null) { | 372 if (responseValueRenderOption != null) { |
376 _queryParams["responseValueRenderOption"] = [responseValueRenderOption]; | 373 _queryParams["responseValueRenderOption"] = [responseValueRenderOption]; |
377 } | 374 } |
378 if (insertDataOption != null) { | 375 if (insertDataOption != null) { |
379 _queryParams["insertDataOption"] = [insertDataOption]; | 376 _queryParams["insertDataOption"] = [insertDataOption]; |
380 } | 377 } |
381 if (valueInputOption != null) { | 378 if (valueInputOption != null) { |
382 _queryParams["valueInputOption"] = [valueInputOption]; | 379 _queryParams["valueInputOption"] = [valueInputOption]; |
383 } | 380 } |
384 if (responseDateTimeRenderOption != null) { | 381 if (responseDateTimeRenderOption != null) { |
385 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti
on]; | 382 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti
on]; |
386 } | 383 } |
| 384 if (includeValuesInResponse != null) { |
| 385 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; |
| 386 } |
387 | 387 |
388 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId')
+ '/values/' + commons.Escaper.ecapeVariable('$range') + ':append'; | 388 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId')
+ '/values/' + commons.Escaper.ecapeVariable('$range') + ':append'; |
389 | 389 |
390 var _response = _requester.request(_url, | 390 var _response = _requester.request(_url, |
391 "POST", | 391 "POST", |
392 body: _body, | 392 body: _body, |
393 queryParams: _queryParams, | 393 queryParams: _queryParams, |
394 uploadOptions: _uploadOptions, | 394 uploadOptions: _uploadOptions, |
395 uploadMedia: _uploadMedia, | 395 uploadMedia: _uploadMedia, |
396 downloadOptions: _downloadOptions); | 396 downloadOptions: _downloadOptions); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 } | 445 } |
446 | 446 |
447 /** | 447 /** |
448 * Returns one or more ranges of values from a spreadsheet. | 448 * Returns one or more ranges of values from a spreadsheet. |
449 * The caller must specify the spreadsheet ID and one or more ranges. | 449 * The caller must specify the spreadsheet ID and one or more ranges. |
450 * | 450 * |
451 * Request parameters: | 451 * Request parameters: |
452 * | 452 * |
453 * [spreadsheetId] - The ID of the spreadsheet to retrieve data from. | 453 * [spreadsheetId] - The ID of the spreadsheet to retrieve data from. |
454 * | 454 * |
| 455 * [ranges] - The A1 notation of the values to retrieve. |
| 456 * |
| 457 * [majorDimension] - The major dimension that results should use. |
| 458 * |
| 459 * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, |
| 460 * then requesting `range=A1:B2,majorDimension=ROWS` will return |
| 461 * `[[1,2],[3,4]]`, |
| 462 * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return |
| 463 * `[[1,3],[2,4]]`. |
| 464 * Possible string values are: |
| 465 * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED. |
| 466 * - "ROWS" : A ROWS. |
| 467 * - "COLUMNS" : A COLUMNS. |
| 468 * |
455 * [valueRenderOption] - How values should be represented in the output. | 469 * [valueRenderOption] - How values should be represented in the output. |
456 * The default render option is ValueRenderOption.FORMATTED_VALUE. | 470 * The default render option is ValueRenderOption.FORMATTED_VALUE. |
457 * Possible string values are: | 471 * Possible string values are: |
458 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. | 472 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. |
459 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. | 473 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. |
460 * - "FORMULA" : A FORMULA. | 474 * - "FORMULA" : A FORMULA. |
461 * | 475 * |
462 * [dateTimeRenderOption] - How dates, times, and durations should be | 476 * [dateTimeRenderOption] - How dates, times, and durations should be |
463 * represented in the output. | 477 * represented in the output. |
464 * This is ignored if value_render_option is | 478 * This is ignored if value_render_option is |
465 * FORMATTED_VALUE. | 479 * FORMATTED_VALUE. |
466 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. | 480 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. |
467 * Possible string values are: | 481 * Possible string values are: |
468 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. | 482 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. |
469 * - "FORMATTED_STRING" : A FORMATTED_STRING. | 483 * - "FORMATTED_STRING" : A FORMATTED_STRING. |
470 * | 484 * |
471 * [ranges] - The A1 notation of the values to retrieve. | |
472 * | |
473 * [majorDimension] - The major dimension that results should use. | |
474 * | |
475 * For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, | |
476 * then requesting `range=A1:B2,majorDimension=ROWS` will return | |
477 * `[[1,2],[3,4]]`, | |
478 * whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return | |
479 * `[[1,3],[2,4]]`. | |
480 * Possible string values are: | |
481 * - "DIMENSION_UNSPECIFIED" : A DIMENSION_UNSPECIFIED. | |
482 * - "ROWS" : A ROWS. | |
483 * - "COLUMNS" : A COLUMNS. | |
484 * | |
485 * Completes with a [BatchGetValuesResponse]. | 485 * Completes with a [BatchGetValuesResponse]. |
486 * | 486 * |
487 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 487 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
488 * error. | 488 * error. |
489 * | 489 * |
490 * If the used [http.Client] completes with an error when making a REST call, | 490 * If the used [http.Client] completes with an error when making a REST call, |
491 * this method will complete with the same error. | 491 * this method will complete with the same error. |
492 */ | 492 */ |
493 async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core
.String valueRenderOption, core.String dateTimeRenderOption, core.List<core.Stri
ng> ranges, core.String majorDimension}) { | 493 async.Future<BatchGetValuesResponse> batchGet(core.String spreadsheetId, {core
.List<core.String> ranges, core.String majorDimension, core.String valueRenderOp
tion, core.String dateTimeRenderOption}) { |
494 var _url = null; | 494 var _url = null; |
495 var _queryParams = new core.Map(); | 495 var _queryParams = new core.Map(); |
496 var _uploadMedia = null; | 496 var _uploadMedia = null; |
497 var _uploadOptions = null; | 497 var _uploadOptions = null; |
498 var _downloadOptions = commons.DownloadOptions.Metadata; | 498 var _downloadOptions = commons.DownloadOptions.Metadata; |
499 var _body = null; | 499 var _body = null; |
500 | 500 |
501 if (spreadsheetId == null) { | 501 if (spreadsheetId == null) { |
502 throw new core.ArgumentError("Parameter spreadsheetId is required."); | 502 throw new core.ArgumentError("Parameter spreadsheetId is required."); |
503 } | 503 } |
| 504 if (ranges != null) { |
| 505 _queryParams["ranges"] = ranges; |
| 506 } |
| 507 if (majorDimension != null) { |
| 508 _queryParams["majorDimension"] = [majorDimension]; |
| 509 } |
504 if (valueRenderOption != null) { | 510 if (valueRenderOption != null) { |
505 _queryParams["valueRenderOption"] = [valueRenderOption]; | 511 _queryParams["valueRenderOption"] = [valueRenderOption]; |
506 } | 512 } |
507 if (dateTimeRenderOption != null) { | 513 if (dateTimeRenderOption != null) { |
508 _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption]; | 514 _queryParams["dateTimeRenderOption"] = [dateTimeRenderOption]; |
509 } | 515 } |
510 if (ranges != null) { | |
511 _queryParams["ranges"] = ranges; | |
512 } | |
513 if (majorDimension != null) { | |
514 _queryParams["majorDimension"] = [majorDimension]; | |
515 } | |
516 | 516 |
517 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId')
+ '/values:batchGet'; | 517 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId')
+ '/values:batchGet'; |
518 | 518 |
519 var _response = _requester.request(_url, | 519 var _response = _requester.request(_url, |
520 "GET", | 520 "GET", |
521 body: _body, | 521 body: _body, |
522 queryParams: _queryParams, | 522 queryParams: _queryParams, |
523 uploadOptions: _uploadOptions, | 523 uploadOptions: _uploadOptions, |
524 uploadMedia: _uploadMedia, | 524 uploadMedia: _uploadMedia, |
525 downloadOptions: _downloadOptions); | 525 downloadOptions: _downloadOptions); |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 * a valueInputOption. | 713 * a valueInputOption. |
714 * | 714 * |
715 * [request] - The metadata request object. | 715 * [request] - The metadata request object. |
716 * | 716 * |
717 * Request parameters: | 717 * Request parameters: |
718 * | 718 * |
719 * [spreadsheetId] - The ID of the spreadsheet to update. | 719 * [spreadsheetId] - The ID of the spreadsheet to update. |
720 * | 720 * |
721 * [range] - The A1 notation of the values to update. | 721 * [range] - The A1 notation of the values to update. |
722 * | 722 * |
| 723 * [responseValueRenderOption] - Determines how values in the response should |
| 724 * be rendered. |
| 725 * The default render option is ValueRenderOption.FORMATTED_VALUE. |
| 726 * Possible string values are: |
| 727 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. |
| 728 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. |
| 729 * - "FORMULA" : A FORMULA. |
| 730 * |
723 * [valueInputOption] - How the input data should be interpreted. | 731 * [valueInputOption] - How the input data should be interpreted. |
724 * Possible string values are: | 732 * Possible string values are: |
725 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED. | 733 * - "INPUT_VALUE_OPTION_UNSPECIFIED" : A INPUT_VALUE_OPTION_UNSPECIFIED. |
726 * - "RAW" : A RAW. | 734 * - "RAW" : A RAW. |
727 * - "USER_ENTERED" : A USER_ENTERED. | 735 * - "USER_ENTERED" : A USER_ENTERED. |
728 * | 736 * |
729 * [responseDateTimeRenderOption] - Determines how dates, times, and durations | 737 * [responseDateTimeRenderOption] - Determines how dates, times, and durations |
730 * in the response should be | 738 * in the response should be |
731 * rendered. This is ignored if response_value_render_option is | 739 * rendered. This is ignored if response_value_render_option is |
732 * FORMATTED_VALUE. | 740 * FORMATTED_VALUE. |
733 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. | 741 * The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. |
734 * Possible string values are: | 742 * Possible string values are: |
735 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. | 743 * - "SERIAL_NUMBER" : A SERIAL_NUMBER. |
736 * - "FORMATTED_STRING" : A FORMATTED_STRING. | 744 * - "FORMATTED_STRING" : A FORMATTED_STRING. |
737 * | 745 * |
738 * [includeValuesInResponse] - Determines if the update response should | 746 * [includeValuesInResponse] - Determines if the update response should |
739 * include the values | 747 * include the values |
740 * of the cells that were updated. By default, responses | 748 * of the cells that were updated. By default, responses |
741 * do not include the updated values. | 749 * do not include the updated values. |
742 * If the range to write was larger than than the range actually written, | 750 * If the range to write was larger than than the range actually written, |
743 * the response will include all values in the requested range (excluding | 751 * the response will include all values in the requested range (excluding |
744 * trailing empty rows and columns). | 752 * trailing empty rows and columns). |
745 * | 753 * |
746 * [responseValueRenderOption] - Determines how values in the response should | |
747 * be rendered. | |
748 * The default render option is ValueRenderOption.FORMATTED_VALUE. | |
749 * Possible string values are: | |
750 * - "FORMATTED_VALUE" : A FORMATTED_VALUE. | |
751 * - "UNFORMATTED_VALUE" : A UNFORMATTED_VALUE. | |
752 * - "FORMULA" : A FORMULA. | |
753 * | |
754 * Completes with a [UpdateValuesResponse]. | 754 * Completes with a [UpdateValuesResponse]. |
755 * | 755 * |
756 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 756 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
757 * error. | 757 * error. |
758 * | 758 * |
759 * If the used [http.Client] completes with an error when making a REST call, | 759 * If the used [http.Client] completes with an error when making a REST call, |
760 * this method will complete with the same error. | 760 * this method will complete with the same error. |
761 */ | 761 */ |
762 async.Future<UpdateValuesResponse> update(ValueRange request, core.String spre
adsheetId, core.String range, {core.String valueInputOption, core.String respons
eDateTimeRenderOption, core.bool includeValuesInResponse, core.String responseVa
lueRenderOption}) { | 762 async.Future<UpdateValuesResponse> update(ValueRange request, core.String spre
adsheetId, core.String range, {core.String responseValueRenderOption, core.Strin
g valueInputOption, core.String responseDateTimeRenderOption, core.bool includeV
aluesInResponse}) { |
763 var _url = null; | 763 var _url = null; |
764 var _queryParams = new core.Map(); | 764 var _queryParams = new core.Map(); |
765 var _uploadMedia = null; | 765 var _uploadMedia = null; |
766 var _uploadOptions = null; | 766 var _uploadOptions = null; |
767 var _downloadOptions = commons.DownloadOptions.Metadata; | 767 var _downloadOptions = commons.DownloadOptions.Metadata; |
768 var _body = null; | 768 var _body = null; |
769 | 769 |
770 if (request != null) { | 770 if (request != null) { |
771 _body = convert.JSON.encode((request).toJson()); | 771 _body = convert.JSON.encode((request).toJson()); |
772 } | 772 } |
773 if (spreadsheetId == null) { | 773 if (spreadsheetId == null) { |
774 throw new core.ArgumentError("Parameter spreadsheetId is required."); | 774 throw new core.ArgumentError("Parameter spreadsheetId is required."); |
775 } | 775 } |
776 if (range == null) { | 776 if (range == null) { |
777 throw new core.ArgumentError("Parameter range is required."); | 777 throw new core.ArgumentError("Parameter range is required."); |
778 } | 778 } |
| 779 if (responseValueRenderOption != null) { |
| 780 _queryParams["responseValueRenderOption"] = [responseValueRenderOption]; |
| 781 } |
779 if (valueInputOption != null) { | 782 if (valueInputOption != null) { |
780 _queryParams["valueInputOption"] = [valueInputOption]; | 783 _queryParams["valueInputOption"] = [valueInputOption]; |
781 } | 784 } |
782 if (responseDateTimeRenderOption != null) { | 785 if (responseDateTimeRenderOption != null) { |
783 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti
on]; | 786 _queryParams["responseDateTimeRenderOption"] = [responseDateTimeRenderOpti
on]; |
784 } | 787 } |
785 if (includeValuesInResponse != null) { | 788 if (includeValuesInResponse != null) { |
786 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; | 789 _queryParams["includeValuesInResponse"] = ["${includeValuesInResponse}"]; |
787 } | 790 } |
788 if (responseValueRenderOption != null) { | |
789 _queryParams["responseValueRenderOption"] = [responseValueRenderOption]; | |
790 } | |
791 | 791 |
792 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId')
+ '/values/' + commons.Escaper.ecapeVariable('$range'); | 792 _url = 'v4/spreadsheets/' + commons.Escaper.ecapeVariable('$spreadsheetId')
+ '/values/' + commons.Escaper.ecapeVariable('$range'); |
793 | 793 |
794 var _response = _requester.request(_url, | 794 var _response = _requester.request(_url, |
795 "PUT", | 795 "PUT", |
796 body: _body, | 796 body: _body, |
797 queryParams: _queryParams, | 797 queryParams: _queryParams, |
798 uploadOptions: _uploadOptions, | 798 uploadOptions: _uploadOptions, |
799 uploadMedia: _uploadMedia, | 799 uploadMedia: _uploadMedia, |
800 downloadOptions: _downloadOptions); | 800 downloadOptions: _downloadOptions); |
(...skipping 6977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7778 } | 7778 } |
7779 if (range != null) { | 7779 if (range != null) { |
7780 _json["range"] = range; | 7780 _json["range"] = range; |
7781 } | 7781 } |
7782 if (values != null) { | 7782 if (values != null) { |
7783 _json["values"] = values; | 7783 _json["values"] = values; |
7784 } | 7784 } |
7785 return _json; | 7785 return _json; |
7786 } | 7786 } |
7787 } | 7787 } |
OLD | NEW |