| 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 5079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5090 * The Google Play Services Android ID for the device encoded as a lowercase | 5090 * The Google Play Services Android ID for the device encoded as a lowercase |
| 5091 * hex string, e.g. "123456789abcdef0". | 5091 * hex string, e.g. "123456789abcdef0". |
| 5092 */ | 5092 */ |
| 5093 core.String androidId; | 5093 core.String androidId; |
| 5094 /** | 5094 /** |
| 5095 * Identifies what kind of resource this is. Value: the fixed string | 5095 * Identifies what kind of resource this is. Value: the fixed string |
| 5096 * "androidenterprise#device". | 5096 * "androidenterprise#device". |
| 5097 */ | 5097 */ |
| 5098 core.String kind; | 5098 core.String kind; |
| 5099 /** | 5099 /** |
| 5100 * The mechanism by which this device is managed by the EMM. "managedDevice" | 5100 * Identifies the extent to which the device is controlled by an Android for |
| 5101 * means that the EMM's app is a device owner. "managedProfile" means that the | 5101 * Work EMM in various deployment configurations. |
| 5102 * EMM's app is the profile owner (and there is a separate personal profile | 5102 * Possible values include: |
| 5103 * which is not managed). "containerApp" means that the EMM's app is managing | 5103 * - "managedDevice"—A device that has the EMM's device policy controller |
| 5104 * the Android for Work container app on the device. | 5104 * (DPC) as the device owner. |
| 5105 * - "managedProfile"—A device that has a work profile managed by the DPC (DPC |
| 5106 * is profile owner) in addition to a separate, personal profile that is |
| 5107 * unavailable to the DPC. |
| 5108 * - "containerApp"—A device running the Android for Work App. The Android for |
| 5109 * Work App is managed by the DPC. |
| 5110 * - "unmanagedProfile"—A device that has been allowed (by the domain's admin, |
| 5111 * using the Admin Console to enable the privilege) to use Android for Work |
| 5112 * apps or Google Apps for Work, but the profile is itself not owned by a DPC. |
| 5105 */ | 5113 */ |
| 5106 core.String managementType; | 5114 core.String managementType; |
| 5107 | 5115 |
| 5108 Device(); | 5116 Device(); |
| 5109 | 5117 |
| 5110 Device.fromJson(core.Map _json) { | 5118 Device.fromJson(core.Map _json) { |
| 5111 if (_json.containsKey("androidId")) { | 5119 if (_json.containsKey("androidId")) { |
| 5112 androidId = _json["androidId"]; | 5120 androidId = _json["androidId"]; |
| 5113 } | 5121 } |
| 5114 if (_json.containsKey("kind")) { | 5122 if (_json.containsKey("kind")) { |
| (...skipping 2353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7468 var _json = new core.Map(); | 7476 var _json = new core.Map(); |
| 7469 if (kind != null) { | 7477 if (kind != null) { |
| 7470 _json["kind"] = kind; | 7478 _json["kind"] = kind; |
| 7471 } | 7479 } |
| 7472 if (user != null) { | 7480 if (user != null) { |
| 7473 _json["user"] = user.map((value) => (value).toJson()).toList(); | 7481 _json["user"] = user.map((value) => (value).toJson()).toList(); |
| 7474 } | 7482 } |
| 7475 return _json; | 7483 return _json; |
| 7476 } | 7484 } |
| 7477 } | 7485 } |
| OLD | NEW |