| 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 6849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6860 /** | 6860 /** |
| 6861 * Identifies what kind of resource this is. Value: the fixed string | 6861 * Identifies what kind of resource this is. Value: the fixed string |
| 6862 * "androidenterprise#productSet". | 6862 * "androidenterprise#productSet". |
| 6863 */ | 6863 */ |
| 6864 core.String kind; | 6864 core.String kind; |
| 6865 /** The list of product IDs making up the set of products. */ | 6865 /** The list of product IDs making up the set of products. */ |
| 6866 core.List<core.String> productId; | 6866 core.List<core.String> productId; |
| 6867 /** | 6867 /** |
| 6868 * The interpretation of this product set. "unknown" should never be sent and | 6868 * The interpretation of this product set. "unknown" should never be sent and |
| 6869 * ignored if received. "whitelist" means that this product set constitutes a | 6869 * ignored if received. "whitelist" means that this product set constitutes a |
| 6870 * whitelist. "includeAll" means that all products are accessible (the value | 6870 * whitelist. "includeAll" means that all products are accessible, including |
| 6871 * of the productId field is therefore ignored). If a value is not supplied, | 6871 * products that are approved, not approved, and even products where approval |
| 6872 * it is interpreted to be "whitelist" for backwards compatibility. | 6872 * has been revoked. If the value is "includeAll", the value of the productId |
| 6873 * field is therefore ignored. If a value is not supplied, it is interpreted |
| 6874 * to be "whitelist" for backwards compatibility. |
| 6873 */ | 6875 */ |
| 6874 core.String productSetBehavior; | 6876 core.String productSetBehavior; |
| 6875 | 6877 |
| 6876 ProductSet(); | 6878 ProductSet(); |
| 6877 | 6879 |
| 6878 ProductSet.fromJson(core.Map _json) { | 6880 ProductSet.fromJson(core.Map _json) { |
| 6879 if (_json.containsKey("kind")) { | 6881 if (_json.containsKey("kind")) { |
| 6880 kind = _json["kind"]; | 6882 kind = _json["kind"]; |
| 6881 } | 6883 } |
| 6882 if (_json.containsKey("productId")) { | 6884 if (_json.containsKey("productId")) { |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7069 /** | 7071 /** |
| 7070 * An opaque, unique identifier for this ServiceAccountKey. Assigned by the | 7072 * An opaque, unique identifier for this ServiceAccountKey. Assigned by the |
| 7071 * server. | 7073 * server. |
| 7072 */ | 7074 */ |
| 7073 core.String id; | 7075 core.String id; |
| 7074 /** | 7076 /** |
| 7075 * Identifies what kind of resource this is. Value: the fixed string | 7077 * Identifies what kind of resource this is. Value: the fixed string |
| 7076 * "androidenterprise#serviceAccountKey". | 7078 * "androidenterprise#serviceAccountKey". |
| 7077 */ | 7079 */ |
| 7078 core.String kind; | 7080 core.String kind; |
| 7081 /** |
| 7082 * Public key data for the credentials file. This is an X.509 cert. If you are |
| 7083 * using the googleCredentials key type, this is identical to the cert that |
| 7084 * can be retrieved by using the X.509 cert url inside of the credentials |
| 7085 * file. |
| 7086 */ |
| 7087 core.String publicData; |
| 7079 /** The file format of the generated key data. */ | 7088 /** The file format of the generated key data. */ |
| 7080 core.String type; | 7089 core.String type; |
| 7081 | 7090 |
| 7082 ServiceAccountKey(); | 7091 ServiceAccountKey(); |
| 7083 | 7092 |
| 7084 ServiceAccountKey.fromJson(core.Map _json) { | 7093 ServiceAccountKey.fromJson(core.Map _json) { |
| 7085 if (_json.containsKey("data")) { | 7094 if (_json.containsKey("data")) { |
| 7086 data = _json["data"]; | 7095 data = _json["data"]; |
| 7087 } | 7096 } |
| 7088 if (_json.containsKey("id")) { | 7097 if (_json.containsKey("id")) { |
| 7089 id = _json["id"]; | 7098 id = _json["id"]; |
| 7090 } | 7099 } |
| 7091 if (_json.containsKey("kind")) { | 7100 if (_json.containsKey("kind")) { |
| 7092 kind = _json["kind"]; | 7101 kind = _json["kind"]; |
| 7093 } | 7102 } |
| 7103 if (_json.containsKey("publicData")) { |
| 7104 publicData = _json["publicData"]; |
| 7105 } |
| 7094 if (_json.containsKey("type")) { | 7106 if (_json.containsKey("type")) { |
| 7095 type = _json["type"]; | 7107 type = _json["type"]; |
| 7096 } | 7108 } |
| 7097 } | 7109 } |
| 7098 | 7110 |
| 7099 core.Map toJson() { | 7111 core.Map toJson() { |
| 7100 var _json = new core.Map(); | 7112 var _json = new core.Map(); |
| 7101 if (data != null) { | 7113 if (data != null) { |
| 7102 _json["data"] = data; | 7114 _json["data"] = data; |
| 7103 } | 7115 } |
| 7104 if (id != null) { | 7116 if (id != null) { |
| 7105 _json["id"] = id; | 7117 _json["id"] = id; |
| 7106 } | 7118 } |
| 7107 if (kind != null) { | 7119 if (kind != null) { |
| 7108 _json["kind"] = kind; | 7120 _json["kind"] = kind; |
| 7109 } | 7121 } |
| 7122 if (publicData != null) { |
| 7123 _json["publicData"] = publicData; |
| 7124 } |
| 7110 if (type != null) { | 7125 if (type != null) { |
| 7111 _json["type"] = type; | 7126 _json["type"] = type; |
| 7112 } | 7127 } |
| 7113 return _json; | 7128 return _json; |
| 7114 } | 7129 } |
| 7115 } | 7130 } |
| 7116 | 7131 |
| 7117 class ServiceAccountKeysListResponse { | 7132 class ServiceAccountKeysListResponse { |
| 7118 /** The service account credentials. */ | 7133 /** The service account credentials. */ |
| 7119 core.List<ServiceAccountKey> serviceAccountKey; | 7134 core.List<ServiceAccountKey> serviceAccountKey; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7278 * If there exists at least one page, this field must be set to the ID of a | 7293 * If there exists at least one page, this field must be set to the ID of a |
| 7279 * valid page. | 7294 * valid page. |
| 7280 */ | 7295 */ |
| 7281 core.String homepageId; | 7296 core.String homepageId; |
| 7282 /** | 7297 /** |
| 7283 * Identifies what kind of resource this is. Value: the fixed string | 7298 * Identifies what kind of resource this is. Value: the fixed string |
| 7284 * "androidenterprise#storeLayout". | 7299 * "androidenterprise#storeLayout". |
| 7285 */ | 7300 */ |
| 7286 core.String kind; | 7301 core.String kind; |
| 7287 /** | 7302 /** |
| 7288 * Sets a store layout type. By default, this value is set to "basic". If set | 7303 * The store layout type. By default, this value is set to "basic". If set to |
| 7289 * to "custom", "homepageId" must be specified. If set to "basic", the layout | 7304 * "custom", "homepageId" must be specified. If set to "basic", the layout |
| 7290 * will consist of all approved apps accessible by the user, split in pages of | 7305 * will consist of all approved apps accessible by the user, split in pages of |
| 7291 * 100 each; in this case, "homepageId" must not be specified. The "basic" | 7306 * 100 each; in this case, "homepageId" must not be specified. The "basic" |
| 7292 * setting takes precedence over any existing collections setup for this | 7307 * setting takes precedence over any existing collections setup for this |
| 7293 * enterprise (if any). Should the enterprise use collectionViewers for | 7308 * enterprise (if any). Should the enterprise use collectionViewers for |
| 7294 * controlling access rights, these will still be respected. | 7309 * controlling access rights, these will still be respected. |
| 7295 */ | 7310 */ |
| 7296 core.String storeLayoutType; | 7311 core.String storeLayoutType; |
| 7297 | 7312 |
| 7298 StoreLayout(); | 7313 StoreLayout(); |
| 7299 | 7314 |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7666 var _json = new core.Map(); | 7681 var _json = new core.Map(); |
| 7667 if (kind != null) { | 7682 if (kind != null) { |
| 7668 _json["kind"] = kind; | 7683 _json["kind"] = kind; |
| 7669 } | 7684 } |
| 7670 if (user != null) { | 7685 if (user != null) { |
| 7671 _json["user"] = user.map((value) => (value).toJson()).toList(); | 7686 _json["user"] = user.map((value) => (value).toJson()).toList(); |
| 7672 } | 7687 } |
| 7673 return _json; | 7688 return _json; |
| 7674 } | 7689 } |
| 7675 } | 7690 } |
| OLD | NEW |