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.fitness.v1; | 3 library googleapis.fitness.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 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 * | 1464 * |
1465 * The exact format of the data stream ID created by an Android application | 1465 * The exact format of the data stream ID created by an Android application |
1466 * is: | 1466 * is: |
1467 * type:dataType.name:application.packageName:device.manufacturer:device.model
:device.uid:dataStreamName | 1467 * type:dataType.name:application.packageName:device.manufacturer:device.model
:device.uid:dataStreamName |
1468 * | 1468 * |
1469 * The exact format of the data stream ID created by a REST client is: | 1469 * The exact format of the data stream ID created by a REST client is: |
1470 * type:dataType.name:developer project | 1470 * type:dataType.name:developer project |
1471 * number:device.manufacturer:device.model:device.uid:dataStreamName | 1471 * number:device.manufacturer:device.model:device.uid:dataStreamName |
1472 * | 1472 * |
1473 * When any of the optional fields that comprise of the data stream ID are | 1473 * When any of the optional fields that comprise of the data stream ID are |
1474 * blank, they will be omitted from the data stream ID. The minnimum viable | 1474 * blank, they will be omitted from the data stream ID. The minimum viable |
1475 * data stream ID would be: type:dataType.name:developer project number | 1475 * data stream ID would be: type:dataType.name:developer project number |
1476 * | 1476 * |
1477 * Finally, the developer project number is obfuscated when read by any REST | 1477 * Finally, the developer project number is obfuscated when read by any REST |
1478 * or Android client that did not create the data source. Only the data source | 1478 * or Android client that did not create the data source. Only the data source |
1479 * creator will see the developer project number in clear and normal form. | 1479 * creator will see the developer project number in clear and normal form. |
1480 */ | 1480 */ |
1481 core.String dataStreamId; | 1481 core.String dataStreamId; |
1482 /** | 1482 /** |
1483 * The stream name uniquely identifies this particular data source among other | 1483 * The stream name uniquely identifies this particular data source among other |
1484 * data sources of the same type from the same underlying producer. Setting | 1484 * data sources of the same type from the same underlying producer. Setting |
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2098 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 2098 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2099 if (key != null) { | 2099 if (key != null) { |
2100 _json["key"] = key; | 2100 _json["key"] = key; |
2101 } | 2101 } |
2102 if (value != null) { | 2102 if (value != null) { |
2103 _json["value"] = (value).toJson(); | 2103 _json["value"] = (value).toJson(); |
2104 } | 2104 } |
2105 return _json; | 2105 return _json; |
2106 } | 2106 } |
2107 } | 2107 } |
OLD | NEW |