Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: generated/googleapis/lib/fitness/v1.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
13 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client fitness/v1'; 15 const core.String USER_AGENT = 'dart-api-client fitness/v1';
16 16
17 /** 17 /**
18 * Stores and accesses user data in the fitness store from apps on any platform. 18 * Stores and accesses user data in the fitness store from apps on any platform.
19 */ 19 */
20 class FitnessApi { 20 class FitnessApi {
21 /** View your activity information in Google Fit */ 21 /** View your activity information in Google Fit */
22 static const FitnessActivityReadScope = "https://www.googleapis.com/auth/fitne ss.activity.read"; 22 static const FitnessActivityReadScope = "https://www.googleapis.com/auth/fitne ss.activity.read";
23 23
24 /** View and store your activity information in Google Fit */ 24 /** View and store your activity information in Google Fit */
25 static const FitnessActivityWriteScope = "https://www.googleapis.com/auth/fitn ess.activity.write"; 25 static const FitnessActivityWriteScope = "https://www.googleapis.com/auth/fitn ess.activity.write";
26 26
27 /** View blood glucose data in Google Fit */
28 static const FitnessBloodGlucoseReadScope = "https://www.googleapis.com/auth/f itness.blood_glucose.read";
29
30 /** View and store blood glucose data in Google Fit */
31 static const FitnessBloodGlucoseWriteScope = "https://www.googleapis.com/auth/ fitness.blood_glucose.write";
32
33 /** View blood pressure data in Google Fit */
34 static const FitnessBloodPressureReadScope = "https://www.googleapis.com/auth/ fitness.blood_pressure.read";
35
36 /** View and store blood pressure data in Google Fit */
37 static const FitnessBloodPressureWriteScope = "https://www.googleapis.com/auth /fitness.blood_pressure.write";
38
27 /** View body sensor information in Google Fit */ 39 /** View body sensor information in Google Fit */
28 static const FitnessBodyReadScope = "https://www.googleapis.com/auth/fitness.b ody.read"; 40 static const FitnessBodyReadScope = "https://www.googleapis.com/auth/fitness.b ody.read";
29 41
30 /** View and store body sensor data in Google Fit */ 42 /** View and store body sensor data in Google Fit */
31 static const FitnessBodyWriteScope = "https://www.googleapis.com/auth/fitness. body.write"; 43 static const FitnessBodyWriteScope = "https://www.googleapis.com/auth/fitness. body.write";
32 44
45 /** View body temperature data in Google Fit */
46 static const FitnessBodyTemperatureReadScope = "https://www.googleapis.com/aut h/fitness.body_temperature.read";
47
48 /** View and store body temperature data in Google Fit */
49 static const FitnessBodyTemperatureWriteScope = "https://www.googleapis.com/au th/fitness.body_temperature.write";
50
33 /** View your stored location data in Google Fit */ 51 /** View your stored location data in Google Fit */
34 static const FitnessLocationReadScope = "https://www.googleapis.com/auth/fitne ss.location.read"; 52 static const FitnessLocationReadScope = "https://www.googleapis.com/auth/fitne ss.location.read";
35 53
36 /** View and store your location data in Google Fit */ 54 /** View and store your location data in Google Fit */
37 static const FitnessLocationWriteScope = "https://www.googleapis.com/auth/fitn ess.location.write"; 55 static const FitnessLocationWriteScope = "https://www.googleapis.com/auth/fitn ess.location.write";
38 56
39 /** View nutrition information in Google Fit */ 57 /** View nutrition information in Google Fit */
40 static const FitnessNutritionReadScope = "https://www.googleapis.com/auth/fitn ess.nutrition.read"; 58 static const FitnessNutritionReadScope = "https://www.googleapis.com/auth/fitn ess.nutrition.read";
41 59
42 /** View and store nutrition information in Google Fit */ 60 /** View and store nutrition information in Google Fit */
43 static const FitnessNutritionWriteScope = "https://www.googleapis.com/auth/fit ness.nutrition.write"; 61 static const FitnessNutritionWriteScope = "https://www.googleapis.com/auth/fit ness.nutrition.write";
44 62
63 /** View oxygen saturation data in Google Fit */
64 static const FitnessOxygenSaturationReadScope = "https://www.googleapis.com/au th/fitness.oxygen_saturation.read";
65
66 /** View and store oxygen saturation data in Google Fit */
67 static const FitnessOxygenSaturationWriteScope = "https://www.googleapis.com/a uth/fitness.oxygen_saturation.write";
68
69 /** View reproductive health data in Google Fit */
70 static const FitnessReproductiveHealthReadScope = "https://www.googleapis.com/ auth/fitness.reproductive_health.read";
71
72 /** View and store reproductive health data in Google Fit */
73 static const FitnessReproductiveHealthWriteScope = "https://www.googleapis.com /auth/fitness.reproductive_health.write";
74
45 75
46 final commons.ApiRequester _requester; 76 final commons.ApiRequester _requester;
47 77
48 UsersResourceApi get users => new UsersResourceApi(_requester); 78 UsersResourceApi get users => new UsersResourceApi(_requester);
49 79
50 FitnessApi(http.Client client, {core.String rootUrl: "https://www.googleapis.c om/", core.String servicePath: "fitness/v1/users/"}) : 80 FitnessApi(http.Client client, {core.String rootUrl: "https://www.googleapis.c om/", core.String servicePath: "fitness/v1/users/"}) :
51 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 81 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT);
52 } 82 }
53 83
54 84
(...skipping 1931 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 _json["startTimeMillis"] = startTimeMillis; 2016 _json["startTimeMillis"] = startTimeMillis;
1987 } 2017 }
1988 return _json; 2018 return _json;
1989 } 2019 }
1990 } 2020 }
1991 2021
1992 /** 2022 /**
1993 * Holder object for the value of a single field in a data point. 2023 * Holder object for the value of a single field in a data point.
1994 * 2024 *
1995 * A field value has a particular format and is only ever set to one of an 2025 * A field value has a particular format and is only ever set to one of an
1996 * integer or a floating point value. 2026 * integer or a floating point value. LINT.IfChange
1997 */ 2027 */
1998 class Value { 2028 class Value {
1999 /** Floating point value. When this is set, other values must not be set. */ 2029 /** Floating point value. When this is set, other values must not be set. */
2000 core.double fpVal; 2030 core.double fpVal;
2001 /** Integer value. When this is set, other values must not be set. */ 2031 /** Integer value. When this is set, other values must not be set. */
2002 core.int intVal; 2032 core.int intVal;
2003 /** 2033 /**
2004 * Map value. The valid key space and units for the corresponding value of 2034 * Map value. The valid key space and units for the corresponding value of
2005 * each entry should be documented as part of the data type definition. Keys 2035 * each entry should be documented as part of the data type definition. Keys
2006 * should be kept small whenever possible. Data streams with large keys and 2036 * should be kept small whenever possible. Data streams with large keys and
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
2068 var _json = new core.Map(); 2098 var _json = new core.Map();
2069 if (key != null) { 2099 if (key != null) {
2070 _json["key"] = key; 2100 _json["key"] = key;
2071 } 2101 }
2072 if (value != null) { 2102 if (value != null) {
2073 _json["value"] = (value).toJson(); 2103 _json["value"] = (value).toJson();
2074 } 2104 }
2075 return _json; 2105 return _json;
2076 } 2106 }
2077 } 2107 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/firebasedynamiclinks/v1.dart ('k') | generated/googleapis/lib/gmail/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698