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

Side by Side Diff: generated/googleapis/lib/admin/directory_v1.dart

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 years, 4 months 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.admin.directory_v1; 3 library googleapis.admin.directory_v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:collection' as collection; 6 import 'dart:collection' as collection;
7 import 'dart:async' as async; 7 import 'dart:async' as async;
8 import 'dart:convert' as convert; 8 import 'dart:convert' as convert;
9 9
10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
(...skipping 4484 matching lines...) Expand 10 before | Expand all | Expand 10 after
4495 } 4495 }
4496 if (versionName != null) { 4496 if (versionName != null) {
4497 _json["versionName"] = versionName; 4497 _json["versionName"] = versionName;
4498 } 4498 }
4499 return _json; 4499 return _json;
4500 } 4500 }
4501 } 4501 }
4502 4502
4503 /** JSON template for Mobile Device resource in Directory API. */ 4503 /** JSON template for Mobile Device resource in Directory API. */
4504 class MobileDevice { 4504 class MobileDevice {
4505 /** Adb (USB debugging) enabled or disabled on device (Read-only) */
4506 core.bool adbStatus;
4505 /** List of applications installed on Mobile Device */ 4507 /** List of applications installed on Mobile Device */
4506 core.List<MobileDeviceApplications> applications; 4508 core.List<MobileDeviceApplications> applications;
4507 /** Mobile Device Baseband version (Read-only) */ 4509 /** Mobile Device Baseband version (Read-only) */
4508 core.String basebandVersion; 4510 core.String basebandVersion;
4509 /** Mobile Device Build number (Read-only) */ 4511 /** Mobile Device Build number (Read-only) */
4510 core.String buildNumber; 4512 core.String buildNumber;
4511 /** The default locale used on the Mobile Device (Read-only) */ 4513 /** The default locale used on the Mobile Device (Read-only) */
4512 core.String defaultLanguage; 4514 core.String defaultLanguage;
4515 /** Developer options enabled or disabled on device (Read-only) */
4516 core.bool developerOptionsStatus;
4513 /** Mobile Device compromised status (Read-only) */ 4517 /** Mobile Device compromised status (Read-only) */
4514 core.String deviceCompromisedStatus; 4518 core.String deviceCompromisedStatus;
4515 /** Mobile Device serial number (Read-only) */ 4519 /** Mobile Device serial number (Read-only) */
4516 core.String deviceId; 4520 core.String deviceId;
4517 /** List of owner user's email addresses (Read-only) */ 4521 /** List of owner user's email addresses (Read-only) */
4518 core.List<core.String> email; 4522 core.List<core.String> email;
4519 /** ETag of the resource. */ 4523 /** ETag of the resource. */
4520 core.String etag; 4524 core.String etag;
4521 /** 4525 /**
4522 * Date and time the device was first synchronized with the policy settings in 4526 * Date and time the device was first synchronized with the policy settings in
(...skipping 21 matching lines...) Expand all
4544 /** Mobile Device MEID number (Read-only) */ 4548 /** Mobile Device MEID number (Read-only) */
4545 core.String meid; 4549 core.String meid;
4546 /** Name of the model of the device */ 4550 /** Name of the model of the device */
4547 core.String model; 4551 core.String model;
4548 /** List of owner user's names (Read-only) */ 4552 /** List of owner user's names (Read-only) */
4549 core.List<core.String> name; 4553 core.List<core.String> name;
4550 /** Mobile Device mobile or network operator (if available) (Read-only) */ 4554 /** Mobile Device mobile or network operator (if available) (Read-only) */
4551 core.String networkOperator; 4555 core.String networkOperator;
4552 /** Name of the mobile operating system */ 4556 /** Name of the mobile operating system */
4553 core.String os; 4557 core.String os;
4558 /** List of accounts added on device (Read-only) */
4559 core.List<core.String> otherAccountsInfo;
4554 /** Unique identifier of Mobile Device (Read-only) */ 4560 /** Unique identifier of Mobile Device (Read-only) */
4555 core.String resourceId; 4561 core.String resourceId;
4556 /** Mobile Device SSN or Serial Number (Read-only) */ 4562 /** Mobile Device SSN or Serial Number (Read-only) */
4557 core.String serialNumber; 4563 core.String serialNumber;
4558 /** Status of the device (Read-only) */ 4564 /** Status of the device (Read-only) */
4559 core.String status; 4565 core.String status;
4566 /** Work profile supported on device (Read-only) */
4567 core.bool supportsWorkProfile;
4560 /** The type of device (Read-only) */ 4568 /** The type of device (Read-only) */
4561 core.String type; 4569 core.String type;
4570 /** Unknown sources enabled or disabled on device (Read-only) */
4571 core.bool unknownSourcesStatus;
4562 /** Mobile Device user agent */ 4572 /** Mobile Device user agent */
4563 core.String userAgent; 4573 core.String userAgent;
4564 /** Mobile Device WiFi MAC address (Read-only) */ 4574 /** Mobile Device WiFi MAC address (Read-only) */
4565 core.String wifiMacAddress; 4575 core.String wifiMacAddress;
4566 4576
4567 MobileDevice(); 4577 MobileDevice();
4568 4578
4569 MobileDevice.fromJson(core.Map _json) { 4579 MobileDevice.fromJson(core.Map _json) {
4580 if (_json.containsKey("adbStatus")) {
4581 adbStatus = _json["adbStatus"];
4582 }
4570 if (_json.containsKey("applications")) { 4583 if (_json.containsKey("applications")) {
4571 applications = _json["applications"].map((value) => new MobileDeviceApplic ations.fromJson(value)).toList(); 4584 applications = _json["applications"].map((value) => new MobileDeviceApplic ations.fromJson(value)).toList();
4572 } 4585 }
4573 if (_json.containsKey("basebandVersion")) { 4586 if (_json.containsKey("basebandVersion")) {
4574 basebandVersion = _json["basebandVersion"]; 4587 basebandVersion = _json["basebandVersion"];
4575 } 4588 }
4576 if (_json.containsKey("buildNumber")) { 4589 if (_json.containsKey("buildNumber")) {
4577 buildNumber = _json["buildNumber"]; 4590 buildNumber = _json["buildNumber"];
4578 } 4591 }
4579 if (_json.containsKey("defaultLanguage")) { 4592 if (_json.containsKey("defaultLanguage")) {
4580 defaultLanguage = _json["defaultLanguage"]; 4593 defaultLanguage = _json["defaultLanguage"];
4581 } 4594 }
4595 if (_json.containsKey("developerOptionsStatus")) {
4596 developerOptionsStatus = _json["developerOptionsStatus"];
4597 }
4582 if (_json.containsKey("deviceCompromisedStatus")) { 4598 if (_json.containsKey("deviceCompromisedStatus")) {
4583 deviceCompromisedStatus = _json["deviceCompromisedStatus"]; 4599 deviceCompromisedStatus = _json["deviceCompromisedStatus"];
4584 } 4600 }
4585 if (_json.containsKey("deviceId")) { 4601 if (_json.containsKey("deviceId")) {
4586 deviceId = _json["deviceId"]; 4602 deviceId = _json["deviceId"];
4587 } 4603 }
4588 if (_json.containsKey("email")) { 4604 if (_json.containsKey("email")) {
4589 email = _json["email"]; 4605 email = _json["email"];
4590 } 4606 }
4591 if (_json.containsKey("etag")) { 4607 if (_json.containsKey("etag")) {
(...skipping 28 matching lines...) Expand all
4620 } 4636 }
4621 if (_json.containsKey("name")) { 4637 if (_json.containsKey("name")) {
4622 name = _json["name"]; 4638 name = _json["name"];
4623 } 4639 }
4624 if (_json.containsKey("networkOperator")) { 4640 if (_json.containsKey("networkOperator")) {
4625 networkOperator = _json["networkOperator"]; 4641 networkOperator = _json["networkOperator"];
4626 } 4642 }
4627 if (_json.containsKey("os")) { 4643 if (_json.containsKey("os")) {
4628 os = _json["os"]; 4644 os = _json["os"];
4629 } 4645 }
4646 if (_json.containsKey("otherAccountsInfo")) {
4647 otherAccountsInfo = _json["otherAccountsInfo"];
4648 }
4630 if (_json.containsKey("resourceId")) { 4649 if (_json.containsKey("resourceId")) {
4631 resourceId = _json["resourceId"]; 4650 resourceId = _json["resourceId"];
4632 } 4651 }
4633 if (_json.containsKey("serialNumber")) { 4652 if (_json.containsKey("serialNumber")) {
4634 serialNumber = _json["serialNumber"]; 4653 serialNumber = _json["serialNumber"];
4635 } 4654 }
4636 if (_json.containsKey("status")) { 4655 if (_json.containsKey("status")) {
4637 status = _json["status"]; 4656 status = _json["status"];
4638 } 4657 }
4658 if (_json.containsKey("supportsWorkProfile")) {
4659 supportsWorkProfile = _json["supportsWorkProfile"];
4660 }
4639 if (_json.containsKey("type")) { 4661 if (_json.containsKey("type")) {
4640 type = _json["type"]; 4662 type = _json["type"];
4641 } 4663 }
4664 if (_json.containsKey("unknownSourcesStatus")) {
4665 unknownSourcesStatus = _json["unknownSourcesStatus"];
4666 }
4642 if (_json.containsKey("userAgent")) { 4667 if (_json.containsKey("userAgent")) {
4643 userAgent = _json["userAgent"]; 4668 userAgent = _json["userAgent"];
4644 } 4669 }
4645 if (_json.containsKey("wifiMacAddress")) { 4670 if (_json.containsKey("wifiMacAddress")) {
4646 wifiMacAddress = _json["wifiMacAddress"]; 4671 wifiMacAddress = _json["wifiMacAddress"];
4647 } 4672 }
4648 } 4673 }
4649 4674
4650 core.Map toJson() { 4675 core.Map toJson() {
4651 var _json = new core.Map(); 4676 var _json = new core.Map();
4677 if (adbStatus != null) {
4678 _json["adbStatus"] = adbStatus;
4679 }
4652 if (applications != null) { 4680 if (applications != null) {
4653 _json["applications"] = applications.map((value) => (value).toJson()).toLi st(); 4681 _json["applications"] = applications.map((value) => (value).toJson()).toLi st();
4654 } 4682 }
4655 if (basebandVersion != null) { 4683 if (basebandVersion != null) {
4656 _json["basebandVersion"] = basebandVersion; 4684 _json["basebandVersion"] = basebandVersion;
4657 } 4685 }
4658 if (buildNumber != null) { 4686 if (buildNumber != null) {
4659 _json["buildNumber"] = buildNumber; 4687 _json["buildNumber"] = buildNumber;
4660 } 4688 }
4661 if (defaultLanguage != null) { 4689 if (defaultLanguage != null) {
4662 _json["defaultLanguage"] = defaultLanguage; 4690 _json["defaultLanguage"] = defaultLanguage;
4663 } 4691 }
4692 if (developerOptionsStatus != null) {
4693 _json["developerOptionsStatus"] = developerOptionsStatus;
4694 }
4664 if (deviceCompromisedStatus != null) { 4695 if (deviceCompromisedStatus != null) {
4665 _json["deviceCompromisedStatus"] = deviceCompromisedStatus; 4696 _json["deviceCompromisedStatus"] = deviceCompromisedStatus;
4666 } 4697 }
4667 if (deviceId != null) { 4698 if (deviceId != null) {
4668 _json["deviceId"] = deviceId; 4699 _json["deviceId"] = deviceId;
4669 } 4700 }
4670 if (email != null) { 4701 if (email != null) {
4671 _json["email"] = email; 4702 _json["email"] = email;
4672 } 4703 }
4673 if (etag != null) { 4704 if (etag != null) {
(...skipping 28 matching lines...) Expand all
4702 } 4733 }
4703 if (name != null) { 4734 if (name != null) {
4704 _json["name"] = name; 4735 _json["name"] = name;
4705 } 4736 }
4706 if (networkOperator != null) { 4737 if (networkOperator != null) {
4707 _json["networkOperator"] = networkOperator; 4738 _json["networkOperator"] = networkOperator;
4708 } 4739 }
4709 if (os != null) { 4740 if (os != null) {
4710 _json["os"] = os; 4741 _json["os"] = os;
4711 } 4742 }
4743 if (otherAccountsInfo != null) {
4744 _json["otherAccountsInfo"] = otherAccountsInfo;
4745 }
4712 if (resourceId != null) { 4746 if (resourceId != null) {
4713 _json["resourceId"] = resourceId; 4747 _json["resourceId"] = resourceId;
4714 } 4748 }
4715 if (serialNumber != null) { 4749 if (serialNumber != null) {
4716 _json["serialNumber"] = serialNumber; 4750 _json["serialNumber"] = serialNumber;
4717 } 4751 }
4718 if (status != null) { 4752 if (status != null) {
4719 _json["status"] = status; 4753 _json["status"] = status;
4720 } 4754 }
4755 if (supportsWorkProfile != null) {
4756 _json["supportsWorkProfile"] = supportsWorkProfile;
4757 }
4721 if (type != null) { 4758 if (type != null) {
4722 _json["type"] = type; 4759 _json["type"] = type;
4723 } 4760 }
4761 if (unknownSourcesStatus != null) {
4762 _json["unknownSourcesStatus"] = unknownSourcesStatus;
4763 }
4724 if (userAgent != null) { 4764 if (userAgent != null) {
4725 _json["userAgent"] = userAgent; 4765 _json["userAgent"] = userAgent;
4726 } 4766 }
4727 if (wifiMacAddress != null) { 4767 if (wifiMacAddress != null) {
4728 _json["wifiMacAddress"] = wifiMacAddress; 4768 _json["wifiMacAddress"] = wifiMacAddress;
4729 } 4769 }
4730 return _json; 4770 return _json;
4731 } 4771 }
4732 } 4772 }
4733 4773
(...skipping 1954 matching lines...) Expand 10 before | Expand all | Expand 10 after
6688 } 6728 }
6689 if (items != null) { 6729 if (items != null) {
6690 _json["items"] = items.map((value) => (value).toJson()).toList(); 6730 _json["items"] = items.map((value) => (value).toJson()).toList();
6691 } 6731 }
6692 if (kind != null) { 6732 if (kind != null) {
6693 _json["kind"] = kind; 6733 _json["kind"] = kind;
6694 } 6734 }
6695 return _json; 6735 return _json;
6696 } 6736 }
6697 } 6737 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698