| 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.androidenterprise.v1; | 3 library googleapis.androidenterprise.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 5175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5186 * method queried by the user's primary email address. | 5186 * method queried by the user's primary email address. |
| 5187 */ | 5187 */ |
| 5188 class User { | 5188 class User { |
| 5189 /** The unique ID for the user. */ | 5189 /** The unique ID for the user. */ |
| 5190 core.String id; | 5190 core.String id; |
| 5191 /** | 5191 /** |
| 5192 * Identifies what kind of resource this is. Value: the fixed string | 5192 * Identifies what kind of resource this is. Value: the fixed string |
| 5193 * "androidenterprise#user". | 5193 * "androidenterprise#user". |
| 5194 */ | 5194 */ |
| 5195 core.String kind; | 5195 core.String kind; |
| 5196 /** The user's primary email, e.g. "jsmith@example.com". */ | 5196 /** The user's primary email address, e.g. "jsmith@example.com". */ |
| 5197 core.String primaryEmail; | 5197 core.String primaryEmail; |
| 5198 | 5198 |
| 5199 User(); | 5199 User(); |
| 5200 | 5200 |
| 5201 User.fromJson(core.Map _json) { | 5201 User.fromJson(core.Map _json) { |
| 5202 if (_json.containsKey("id")) { | 5202 if (_json.containsKey("id")) { |
| 5203 id = _json["id"]; | 5203 id = _json["id"]; |
| 5204 } | 5204 } |
| 5205 if (_json.containsKey("kind")) { | 5205 if (_json.containsKey("kind")) { |
| 5206 kind = _json["kind"]; | 5206 kind = _json["kind"]; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5299 var _json = new core.Map(); | 5299 var _json = new core.Map(); |
| 5300 if (kind != null) { | 5300 if (kind != null) { |
| 5301 _json["kind"] = kind; | 5301 _json["kind"] = kind; |
| 5302 } | 5302 } |
| 5303 if (user != null) { | 5303 if (user != null) { |
| 5304 _json["user"] = user.map((value) => (value).toJson()).toList(); | 5304 _json["user"] = user.map((value) => (value).toJson()).toList(); |
| 5305 } | 5305 } |
| 5306 return _json; | 5306 return _json; |
| 5307 } | 5307 } |
| 5308 } | 5308 } |
| OLD | NEW |