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.genomics.v1; | 3 library googleapis.genomics.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 | 1029 |
1030 /** | 1030 /** |
1031 * Lists datasets within a project. | 1031 * Lists datasets within a project. |
1032 * | 1032 * |
1033 * For the definitions of datasets and other genomics resources, see | 1033 * For the definitions of datasets and other genomics resources, see |
1034 * [Fundamentals of Google | 1034 * [Fundamentals of Google |
1035 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics
) | 1035 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics
) |
1036 * | 1036 * |
1037 * Request parameters: | 1037 * Request parameters: |
1038 * | 1038 * |
| 1039 * [projectId] - Required. The Google Cloud project ID to list datasets for. |
| 1040 * |
1039 * [pageToken] - The continuation token, which is used to page through large | 1041 * [pageToken] - The continuation token, which is used to page through large |
1040 * result sets. | 1042 * result sets. |
1041 * To get the next page of results, set this parameter to the value of | 1043 * To get the next page of results, set this parameter to the value of |
1042 * `nextPageToken` from the previous response. | 1044 * `nextPageToken` from the previous response. |
1043 * | 1045 * |
1044 * [pageSize] - The maximum number of results to return in a single page. If | 1046 * [pageSize] - The maximum number of results to return in a single page. If |
1045 * unspecified, | 1047 * unspecified, |
1046 * defaults to 50. The maximum value is 1024. | 1048 * defaults to 50. The maximum value is 1024. |
1047 * | 1049 * |
1048 * [projectId] - Required. The Google Cloud project ID to list datasets for. | |
1049 * | |
1050 * Completes with a [ListDatasetsResponse]. | 1050 * Completes with a [ListDatasetsResponse]. |
1051 * | 1051 * |
1052 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1052 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1053 * error. | 1053 * error. |
1054 * | 1054 * |
1055 * If the used [http.Client] completes with an error when making a REST call, | 1055 * If the used [http.Client] completes with an error when making a REST call, |
1056 * this method will complete with the same error. | 1056 * this method will complete with the same error. |
1057 */ | 1057 */ |
1058 async.Future<ListDatasetsResponse> list({core.String pageToken, core.int pageS
ize, core.String projectId}) { | 1058 async.Future<ListDatasetsResponse> list({core.String projectId, core.String pa
geToken, core.int pageSize}) { |
1059 var _url = null; | 1059 var _url = null; |
1060 var _queryParams = new core.Map(); | 1060 var _queryParams = new core.Map(); |
1061 var _uploadMedia = null; | 1061 var _uploadMedia = null; |
1062 var _uploadOptions = null; | 1062 var _uploadOptions = null; |
1063 var _downloadOptions = commons.DownloadOptions.Metadata; | 1063 var _downloadOptions = commons.DownloadOptions.Metadata; |
1064 var _body = null; | 1064 var _body = null; |
1065 | 1065 |
| 1066 if (projectId != null) { |
| 1067 _queryParams["projectId"] = [projectId]; |
| 1068 } |
1066 if (pageToken != null) { | 1069 if (pageToken != null) { |
1067 _queryParams["pageToken"] = [pageToken]; | 1070 _queryParams["pageToken"] = [pageToken]; |
1068 } | 1071 } |
1069 if (pageSize != null) { | 1072 if (pageSize != null) { |
1070 _queryParams["pageSize"] = ["${pageSize}"]; | 1073 _queryParams["pageSize"] = ["${pageSize}"]; |
1071 } | 1074 } |
1072 if (projectId != null) { | |
1073 _queryParams["projectId"] = [projectId]; | |
1074 } | |
1075 | 1075 |
1076 _url = 'v1/datasets'; | 1076 _url = 'v1/datasets'; |
1077 | 1077 |
1078 var _response = _requester.request(_url, | 1078 var _response = _requester.request(_url, |
1079 "GET", | 1079 "GET", |
1080 body: _body, | 1080 body: _body, |
1081 queryParams: _queryParams, | 1081 queryParams: _queryParams, |
1082 uploadOptions: _uploadOptions, | 1082 uploadOptions: _uploadOptions, |
1083 uploadMedia: _uploadMedia, | 1083 uploadMedia: _uploadMedia, |
1084 downloadOptions: _downloadOptions); | 1084 downloadOptions: _downloadOptions); |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 } | 1403 } |
1404 | 1404 |
1405 /** | 1405 /** |
1406 * Lists operations that match the specified filter in the request. | 1406 * Lists operations that match the specified filter in the request. |
1407 * | 1407 * |
1408 * Request parameters: | 1408 * Request parameters: |
1409 * | 1409 * |
1410 * [name] - The name of the operation's parent resource. | 1410 * [name] - The name of the operation's parent resource. |
1411 * Value must have pattern "^operations$". | 1411 * Value must have pattern "^operations$". |
1412 * | 1412 * |
| 1413 * [pageToken] - The standard list page token. |
| 1414 * |
| 1415 * [pageSize] - The maximum number of results to return. If unspecified, |
| 1416 * defaults to |
| 1417 * 256. The maximum value is 2048. |
| 1418 * |
1413 * [filter] - A string for filtering Operations. | 1419 * [filter] - A string for filtering Operations. |
1414 * The following filter fields are supported: | 1420 * The following filter fields are supported: |
1415 * | 1421 * |
1416 * * projectId: Required. Corresponds to | 1422 * * projectId: Required. Corresponds to |
1417 * OperationMetadata.projectId. | 1423 * OperationMetadata.projectId. |
1418 * * createTime: The time this job was created, in seconds from the | 1424 * * createTime: The time this job was created, in seconds from the |
1419 * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` | 1425 * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` |
1420 * operators. | 1426 * operators. |
1421 * * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only | 1427 * * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only |
1422 * one status may be specified. | 1428 * one status may be specified. |
1423 * * labels.key where key is a label key. | 1429 * * labels.key where key is a label key. |
1424 * | 1430 * |
1425 * Examples: | 1431 * Examples: |
1426 * | 1432 * |
1427 * * `projectId = my-project AND createTime >= 1432140000` | 1433 * * `projectId = my-project AND createTime >= 1432140000` |
1428 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <= | 1434 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <= |
1429 * 1432150000 AND status = RUNNING` | 1435 * 1432150000 AND status = RUNNING` |
1430 * * `projectId = my-project AND labels.color = *` | 1436 * * `projectId = my-project AND labels.color = *` |
1431 * * `projectId = my-project AND labels.color = red` | 1437 * * `projectId = my-project AND labels.color = red` |
1432 * | 1438 * |
1433 * [pageToken] - The standard list page token. | |
1434 * | |
1435 * [pageSize] - The maximum number of results to return. If unspecified, | |
1436 * defaults to | |
1437 * 256. The maximum value is 2048. | |
1438 * | |
1439 * Completes with a [ListOperationsResponse]. | 1439 * Completes with a [ListOperationsResponse]. |
1440 * | 1440 * |
1441 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1441 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1442 * error. | 1442 * error. |
1443 * | 1443 * |
1444 * If the used [http.Client] completes with an error when making a REST call, | 1444 * If the used [http.Client] completes with an error when making a REST call, |
1445 * this method will complete with the same error. | 1445 * this method will complete with the same error. |
1446 */ | 1446 */ |
1447 async.Future<ListOperationsResponse> list(core.String name, {core.String filte
r, core.String pageToken, core.int pageSize}) { | 1447 async.Future<ListOperationsResponse> list(core.String name, {core.String pageT
oken, core.int pageSize, core.String filter}) { |
1448 var _url = null; | 1448 var _url = null; |
1449 var _queryParams = new core.Map(); | 1449 var _queryParams = new core.Map(); |
1450 var _uploadMedia = null; | 1450 var _uploadMedia = null; |
1451 var _uploadOptions = null; | 1451 var _uploadOptions = null; |
1452 var _downloadOptions = commons.DownloadOptions.Metadata; | 1452 var _downloadOptions = commons.DownloadOptions.Metadata; |
1453 var _body = null; | 1453 var _body = null; |
1454 | 1454 |
1455 if (name == null) { | 1455 if (name == null) { |
1456 throw new core.ArgumentError("Parameter name is required."); | 1456 throw new core.ArgumentError("Parameter name is required."); |
1457 } | 1457 } |
1458 if (filter != null) { | |
1459 _queryParams["filter"] = [filter]; | |
1460 } | |
1461 if (pageToken != null) { | 1458 if (pageToken != null) { |
1462 _queryParams["pageToken"] = [pageToken]; | 1459 _queryParams["pageToken"] = [pageToken]; |
1463 } | 1460 } |
1464 if (pageSize != null) { | 1461 if (pageSize != null) { |
1465 _queryParams["pageSize"] = ["${pageSize}"]; | 1462 _queryParams["pageSize"] = ["${pageSize}"]; |
1466 } | 1463 } |
| 1464 if (filter != null) { |
| 1465 _queryParams["filter"] = [filter]; |
| 1466 } |
1467 | 1467 |
1468 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); | 1468 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); |
1469 | 1469 |
1470 var _response = _requester.request(_url, | 1470 var _response = _requester.request(_url, |
1471 "GET", | 1471 "GET", |
1472 body: _body, | 1472 body: _body, |
1473 queryParams: _queryParams, | 1473 queryParams: _queryParams, |
1474 uploadOptions: _uploadOptions, | 1474 uploadOptions: _uploadOptions, |
1475 uploadMedia: _uploadMedia, | 1475 uploadMedia: _uploadMedia, |
1476 downloadOptions: _downloadOptions); | 1476 downloadOptions: _downloadOptions); |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 * base in the reference sequence. Coverage buckets are available at several | 1819 * base in the reference sequence. Coverage buckets are available at several |
1820 * precomputed bucket widths, enabling retrieval of various coverage 'zoom | 1820 * precomputed bucket widths, enabling retrieval of various coverage 'zoom |
1821 * levels'. The caller must have READ permissions for the target read group | 1821 * levels'. The caller must have READ permissions for the target read group |
1822 * set. | 1822 * set. |
1823 * | 1823 * |
1824 * Request parameters: | 1824 * Request parameters: |
1825 * | 1825 * |
1826 * [readGroupSetId] - Required. The ID of the read group set over which | 1826 * [readGroupSetId] - Required. The ID of the read group set over which |
1827 * coverage is requested. | 1827 * coverage is requested. |
1828 * | 1828 * |
1829 * [targetBucketWidth] - The desired width of each reported coverage bucket in | |
1830 * base pairs. This | |
1831 * will be rounded down to the nearest precomputed bucket width; the value | |
1832 * of which is returned as `bucketWidth` in the response. Defaults | |
1833 * to infinity (each bucket spans an entire reference sequence) or the length | |
1834 * of the target range, if specified. The smallest precomputed | |
1835 * `bucketWidth` is currently 2048 base pairs; this is subject to | |
1836 * change. | |
1837 * | |
1838 * [referenceName] - The name of the reference to query, within the reference | |
1839 * set associated | |
1840 * with this query. Optional. | |
1841 * | |
1842 * [end] - The end position of the range on the reference, 0-based exclusive. | 1829 * [end] - The end position of the range on the reference, 0-based exclusive. |
1843 * If | 1830 * If |
1844 * specified, `referenceName` must also be specified. If unset or 0, defaults | 1831 * specified, `referenceName` must also be specified. If unset or 0, defaults |
1845 * to the length of the reference. | 1832 * to the length of the reference. |
1846 * | 1833 * |
1847 * [pageToken] - The continuation token, which is used to page through large | 1834 * [pageToken] - The continuation token, which is used to page through large |
1848 * result sets. | 1835 * result sets. |
1849 * To get the next page of results, set this parameter to the value of | 1836 * To get the next page of results, set this parameter to the value of |
1850 * `nextPageToken` from the previous response. | 1837 * `nextPageToken` from the previous response. |
1851 * | 1838 * |
1852 * [pageSize] - The maximum number of results to return in a single page. If | 1839 * [pageSize] - The maximum number of results to return in a single page. If |
1853 * unspecified, | 1840 * unspecified, |
1854 * defaults to 1024. The maximum value is 2048. | 1841 * defaults to 1024. The maximum value is 2048. |
1855 * | 1842 * |
1856 * [start] - The start position of the range on the reference, 0-based | 1843 * [start] - The start position of the range on the reference, 0-based |
1857 * inclusive. If | 1844 * inclusive. If |
1858 * specified, `referenceName` must also be specified. Defaults to 0. | 1845 * specified, `referenceName` must also be specified. Defaults to 0. |
1859 * | 1846 * |
| 1847 * [targetBucketWidth] - The desired width of each reported coverage bucket in |
| 1848 * base pairs. This |
| 1849 * will be rounded down to the nearest precomputed bucket width; the value |
| 1850 * of which is returned as `bucketWidth` in the response. Defaults |
| 1851 * to infinity (each bucket spans an entire reference sequence) or the length |
| 1852 * of the target range, if specified. The smallest precomputed |
| 1853 * `bucketWidth` is currently 2048 base pairs; this is subject to |
| 1854 * change. |
| 1855 * |
| 1856 * [referenceName] - The name of the reference to query, within the reference |
| 1857 * set associated |
| 1858 * with this query. Optional. |
| 1859 * |
1860 * Completes with a [ListCoverageBucketsResponse]. | 1860 * Completes with a [ListCoverageBucketsResponse]. |
1861 * | 1861 * |
1862 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1862 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1863 * error. | 1863 * error. |
1864 * | 1864 * |
1865 * If the used [http.Client] completes with an error when making a REST call, | 1865 * If the used [http.Client] completes with an error when making a REST call, |
1866 * this method will complete with the same error. | 1866 * this method will complete with the same error. |
1867 */ | 1867 */ |
1868 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co
re.String targetBucketWidth, core.String referenceName, core.String end, core.St
ring pageToken, core.int pageSize, core.String start}) { | 1868 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co
re.String end, core.String pageToken, core.int pageSize, core.String start, core
.String targetBucketWidth, core.String referenceName}) { |
1869 var _url = null; | 1869 var _url = null; |
1870 var _queryParams = new core.Map(); | 1870 var _queryParams = new core.Map(); |
1871 var _uploadMedia = null; | 1871 var _uploadMedia = null; |
1872 var _uploadOptions = null; | 1872 var _uploadOptions = null; |
1873 var _downloadOptions = commons.DownloadOptions.Metadata; | 1873 var _downloadOptions = commons.DownloadOptions.Metadata; |
1874 var _body = null; | 1874 var _body = null; |
1875 | 1875 |
1876 if (readGroupSetId == null) { | 1876 if (readGroupSetId == null) { |
1877 throw new core.ArgumentError("Parameter readGroupSetId is required."); | 1877 throw new core.ArgumentError("Parameter readGroupSetId is required."); |
1878 } | 1878 } |
1879 if (targetBucketWidth != null) { | |
1880 _queryParams["targetBucketWidth"] = [targetBucketWidth]; | |
1881 } | |
1882 if (referenceName != null) { | |
1883 _queryParams["referenceName"] = [referenceName]; | |
1884 } | |
1885 if (end != null) { | 1879 if (end != null) { |
1886 _queryParams["end"] = [end]; | 1880 _queryParams["end"] = [end]; |
1887 } | 1881 } |
1888 if (pageToken != null) { | 1882 if (pageToken != null) { |
1889 _queryParams["pageToken"] = [pageToken]; | 1883 _queryParams["pageToken"] = [pageToken]; |
1890 } | 1884 } |
1891 if (pageSize != null) { | 1885 if (pageSize != null) { |
1892 _queryParams["pageSize"] = ["${pageSize}"]; | 1886 _queryParams["pageSize"] = ["${pageSize}"]; |
1893 } | 1887 } |
1894 if (start != null) { | 1888 if (start != null) { |
1895 _queryParams["start"] = [start]; | 1889 _queryParams["start"] = [start]; |
1896 } | 1890 } |
| 1891 if (targetBucketWidth != null) { |
| 1892 _queryParams["targetBucketWidth"] = [targetBucketWidth]; |
| 1893 } |
| 1894 if (referenceName != null) { |
| 1895 _queryParams["referenceName"] = [referenceName]; |
| 1896 } |
1897 | 1897 |
1898 _url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId'
) + '/coveragebuckets'; | 1898 _url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId'
) + '/coveragebuckets'; |
1899 | 1899 |
1900 var _response = _requester.request(_url, | 1900 var _response = _requester.request(_url, |
1901 "GET", | 1901 "GET", |
1902 body: _body, | 1902 body: _body, |
1903 queryParams: _queryParams, | 1903 queryParams: _queryParams, |
1904 uploadOptions: _uploadOptions, | 1904 uploadOptions: _uploadOptions, |
1905 uploadMedia: _uploadMedia, | 1905 uploadMedia: _uploadMedia, |
1906 downloadOptions: _downloadOptions); | 1906 downloadOptions: _downloadOptions); |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2097 * [Fundamentals of Google | 2097 * [Fundamentals of Google |
2098 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics
) | 2098 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics
) |
2099 * | 2099 * |
2100 * Implements | 2100 * Implements |
2101 * [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob
/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). | 2101 * [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob
/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). |
2102 * | 2102 * |
2103 * Request parameters: | 2103 * Request parameters: |
2104 * | 2104 * |
2105 * [referenceId] - The ID of the reference. | 2105 * [referenceId] - The ID of the reference. |
2106 * | 2106 * |
| 2107 * [pageSize] - The maximum number of bases to return in a single page. If |
| 2108 * unspecified, |
| 2109 * defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base |
| 2110 * pairs). |
| 2111 * |
| 2112 * [start] - The start position (0-based) of this query. Defaults to 0. |
| 2113 * |
2107 * [end] - The end position (0-based, exclusive) of this query. Defaults to | 2114 * [end] - The end position (0-based, exclusive) of this query. Defaults to |
2108 * the length | 2115 * the length |
2109 * of this reference. | 2116 * of this reference. |
2110 * | 2117 * |
2111 * [pageToken] - The continuation token, which is used to page through large | 2118 * [pageToken] - The continuation token, which is used to page through large |
2112 * result sets. | 2119 * result sets. |
2113 * To get the next page of results, set this parameter to the value of | 2120 * To get the next page of results, set this parameter to the value of |
2114 * `nextPageToken` from the previous response. | 2121 * `nextPageToken` from the previous response. |
2115 * | 2122 * |
2116 * [pageSize] - The maximum number of bases to return in a single page. If | |
2117 * unspecified, | |
2118 * defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base | |
2119 * pairs). | |
2120 * | |
2121 * [start] - The start position (0-based) of this query. Defaults to 0. | |
2122 * | |
2123 * Completes with a [ListBasesResponse]. | 2123 * Completes with a [ListBasesResponse]. |
2124 * | 2124 * |
2125 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 2125 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
2126 * error. | 2126 * error. |
2127 * | 2127 * |
2128 * If the used [http.Client] completes with an error when making a REST call, | 2128 * If the used [http.Client] completes with an error when making a REST call, |
2129 * this method will complete with the same error. | 2129 * this method will complete with the same error. |
2130 */ | 2130 */ |
2131 async.Future<ListBasesResponse> list(core.String referenceId, {core.String end
, core.String pageToken, core.int pageSize, core.String start}) { | 2131 async.Future<ListBasesResponse> list(core.String referenceId, {core.int pageSi
ze, core.String start, core.String end, core.String pageToken}) { |
2132 var _url = null; | 2132 var _url = null; |
2133 var _queryParams = new core.Map(); | 2133 var _queryParams = new core.Map(); |
2134 var _uploadMedia = null; | 2134 var _uploadMedia = null; |
2135 var _uploadOptions = null; | 2135 var _uploadOptions = null; |
2136 var _downloadOptions = commons.DownloadOptions.Metadata; | 2136 var _downloadOptions = commons.DownloadOptions.Metadata; |
2137 var _body = null; | 2137 var _body = null; |
2138 | 2138 |
2139 if (referenceId == null) { | 2139 if (referenceId == null) { |
2140 throw new core.ArgumentError("Parameter referenceId is required."); | 2140 throw new core.ArgumentError("Parameter referenceId is required."); |
2141 } | 2141 } |
| 2142 if (pageSize != null) { |
| 2143 _queryParams["pageSize"] = ["${pageSize}"]; |
| 2144 } |
| 2145 if (start != null) { |
| 2146 _queryParams["start"] = [start]; |
| 2147 } |
2142 if (end != null) { | 2148 if (end != null) { |
2143 _queryParams["end"] = [end]; | 2149 _queryParams["end"] = [end]; |
2144 } | 2150 } |
2145 if (pageToken != null) { | 2151 if (pageToken != null) { |
2146 _queryParams["pageToken"] = [pageToken]; | 2152 _queryParams["pageToken"] = [pageToken]; |
2147 } | 2153 } |
2148 if (pageSize != null) { | |
2149 _queryParams["pageSize"] = ["${pageSize}"]; | |
2150 } | |
2151 if (start != null) { | |
2152 _queryParams["start"] = [start]; | |
2153 } | |
2154 | 2154 |
2155 _url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/
bases'; | 2155 _url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/
bases'; |
2156 | 2156 |
2157 var _response = _requester.request(_url, | 2157 var _response = _requester.request(_url, |
2158 "GET", | 2158 "GET", |
2159 body: _body, | 2159 body: _body, |
2160 queryParams: _queryParams, | 2160 queryParams: _queryParams, |
2161 uploadOptions: _uploadOptions, | 2161 uploadOptions: _uploadOptions, |
2162 uploadMedia: _uploadMedia, | 2162 uploadMedia: _uploadMedia, |
2163 downloadOptions: _downloadOptions); | 2163 downloadOptions: _downloadOptions); |
(...skipping 5522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7686 } | 7686 } |
7687 if (type != null) { | 7687 if (type != null) { |
7688 _json["type"] = type; | 7688 _json["type"] = type; |
7689 } | 7689 } |
7690 if (value != null) { | 7690 if (value != null) { |
7691 _json["value"] = value; | 7691 _json["value"] = value; |
7692 } | 7692 } |
7693 return _json; | 7693 return _json; |
7694 } | 7694 } |
7695 } | 7695 } |
OLD | NEW |