| 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.plus.v1; | 3 library googleapis.plus.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 plus/v1'; | 15 const core.String USER_AGENT = 'dart-api-client plus/v1'; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * The Google+ API enables developers to build on top of the Google+ platform. | 18 * The Google+ API enables developers to build on top of the Google+ platform. |
| 19 */ | 19 */ |
| 20 class PlusApi { | 20 class PlusApi { |
| 21 /** Know your basic profile info and list of people in your circles. */ | 21 /** Know the list of people in your circles, your age range, and language */ |
| 22 static const PlusLoginScope = "https://www.googleapis.com/auth/plus.login"; | 22 static const PlusLoginScope = "https://www.googleapis.com/auth/plus.login"; |
| 23 | 23 |
| 24 /** Know who you are on Google */ | 24 /** Know who you are on Google */ |
| 25 static const PlusMeScope = "https://www.googleapis.com/auth/plus.me"; | 25 static const PlusMeScope = "https://www.googleapis.com/auth/plus.me"; |
| 26 | 26 |
| 27 /** View your email address */ | 27 /** View your email address */ |
| 28 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; | 28 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em
ail"; |
| 29 | 29 |
| 30 /** View your basic profile info */ | 30 /** View your basic profile info */ |
| 31 static const UserinfoProfileScope = "https://www.googleapis.com/auth/userinfo.
profile"; | 31 static const UserinfoProfileScope = "https://www.googleapis.com/auth/userinfo.
profile"; |
| (...skipping 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3233 } | 3233 } |
| 3234 if (id != null) { | 3234 if (id != null) { |
| 3235 _json["id"] = id; | 3235 _json["id"] = id; |
| 3236 } | 3236 } |
| 3237 if (type != null) { | 3237 if (type != null) { |
| 3238 _json["type"] = type; | 3238 _json["type"] = type; |
| 3239 } | 3239 } |
| 3240 return _json; | 3240 return _json; |
| 3241 } | 3241 } |
| 3242 } | 3242 } |
| OLD | NEW |