| 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 3999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4010 core.String email; | 4010 core.String email; |
| 4011 | 4011 |
| 4012 Administrator(); | 4012 Administrator(); |
| 4013 | 4013 |
| 4014 Administrator.fromJson(core.Map _json) { | 4014 Administrator.fromJson(core.Map _json) { |
| 4015 if (_json.containsKey("email")) { | 4015 if (_json.containsKey("email")) { |
| 4016 email = _json["email"]; | 4016 email = _json["email"]; |
| 4017 } | 4017 } |
| 4018 } | 4018 } |
| 4019 | 4019 |
| 4020 core.Map toJson() { | 4020 core.Map<core.String, core.Object> toJson() { |
| 4021 var _json = new core.Map(); | 4021 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4022 if (email != null) { | 4022 if (email != null) { |
| 4023 _json["email"] = email; | 4023 _json["email"] = email; |
| 4024 } | 4024 } |
| 4025 return _json; | 4025 return _json; |
| 4026 } | 4026 } |
| 4027 } | 4027 } |
| 4028 | 4028 |
| 4029 /** A token authorizing an admin to access an iframe. */ | 4029 /** A token authorizing an admin to access an iframe. */ |
| 4030 class AdministratorWebToken { | 4030 class AdministratorWebToken { |
| 4031 /** | 4031 /** |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4042 | 4042 |
| 4043 AdministratorWebToken.fromJson(core.Map _json) { | 4043 AdministratorWebToken.fromJson(core.Map _json) { |
| 4044 if (_json.containsKey("kind")) { | 4044 if (_json.containsKey("kind")) { |
| 4045 kind = _json["kind"]; | 4045 kind = _json["kind"]; |
| 4046 } | 4046 } |
| 4047 if (_json.containsKey("token")) { | 4047 if (_json.containsKey("token")) { |
| 4048 token = _json["token"]; | 4048 token = _json["token"]; |
| 4049 } | 4049 } |
| 4050 } | 4050 } |
| 4051 | 4051 |
| 4052 core.Map toJson() { | 4052 core.Map<core.String, core.Object> toJson() { |
| 4053 var _json = new core.Map(); | 4053 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4054 if (kind != null) { | 4054 if (kind != null) { |
| 4055 _json["kind"] = kind; | 4055 _json["kind"] = kind; |
| 4056 } | 4056 } |
| 4057 if (token != null) { | 4057 if (token != null) { |
| 4058 _json["token"] = token; | 4058 _json["token"] = token; |
| 4059 } | 4059 } |
| 4060 return _json; | 4060 return _json; |
| 4061 } | 4061 } |
| 4062 } | 4062 } |
| 4063 | 4063 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 4092 kind = _json["kind"]; | 4092 kind = _json["kind"]; |
| 4093 } | 4093 } |
| 4094 if (_json.containsKey("parent")) { | 4094 if (_json.containsKey("parent")) { |
| 4095 parent = _json["parent"]; | 4095 parent = _json["parent"]; |
| 4096 } | 4096 } |
| 4097 if (_json.containsKey("permission")) { | 4097 if (_json.containsKey("permission")) { |
| 4098 permission = _json["permission"]; | 4098 permission = _json["permission"]; |
| 4099 } | 4099 } |
| 4100 } | 4100 } |
| 4101 | 4101 |
| 4102 core.Map toJson() { | 4102 core.Map<core.String, core.Object> toJson() { |
| 4103 var _json = new core.Map(); | 4103 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4104 if (kind != null) { | 4104 if (kind != null) { |
| 4105 _json["kind"] = kind; | 4105 _json["kind"] = kind; |
| 4106 } | 4106 } |
| 4107 if (parent != null) { | 4107 if (parent != null) { |
| 4108 _json["parent"] = parent; | 4108 _json["parent"] = parent; |
| 4109 } | 4109 } |
| 4110 if (permission != null) { | 4110 if (permission != null) { |
| 4111 _json["permission"] = permission; | 4111 _json["permission"] = permission; |
| 4112 } | 4112 } |
| 4113 return _json; | 4113 return _json; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 4131 | 4131 |
| 4132 AppRestrictionsSchema.fromJson(core.Map _json) { | 4132 AppRestrictionsSchema.fromJson(core.Map _json) { |
| 4133 if (_json.containsKey("kind")) { | 4133 if (_json.containsKey("kind")) { |
| 4134 kind = _json["kind"]; | 4134 kind = _json["kind"]; |
| 4135 } | 4135 } |
| 4136 if (_json.containsKey("restrictions")) { | 4136 if (_json.containsKey("restrictions")) { |
| 4137 restrictions = _json["restrictions"].map((value) => new AppRestrictionsSch
emaRestriction.fromJson(value)).toList(); | 4137 restrictions = _json["restrictions"].map((value) => new AppRestrictionsSch
emaRestriction.fromJson(value)).toList(); |
| 4138 } | 4138 } |
| 4139 } | 4139 } |
| 4140 | 4140 |
| 4141 core.Map toJson() { | 4141 core.Map<core.String, core.Object> toJson() { |
| 4142 var _json = new core.Map(); | 4142 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4143 if (kind != null) { | 4143 if (kind != null) { |
| 4144 _json["kind"] = kind; | 4144 _json["kind"] = kind; |
| 4145 } | 4145 } |
| 4146 if (restrictions != null) { | 4146 if (restrictions != null) { |
| 4147 _json["restrictions"] = restrictions.map((value) => (value).toJson()).toLi
st(); | 4147 _json["restrictions"] = restrictions.map((value) => (value).toJson()).toLi
st(); |
| 4148 } | 4148 } |
| 4149 return _json; | 4149 return _json; |
| 4150 } | 4150 } |
| 4151 } | 4151 } |
| 4152 | 4152 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4163 core.String productId; | 4163 core.String productId; |
| 4164 | 4164 |
| 4165 AppRestrictionsSchemaChangeEvent(); | 4165 AppRestrictionsSchemaChangeEvent(); |
| 4166 | 4166 |
| 4167 AppRestrictionsSchemaChangeEvent.fromJson(core.Map _json) { | 4167 AppRestrictionsSchemaChangeEvent.fromJson(core.Map _json) { |
| 4168 if (_json.containsKey("productId")) { | 4168 if (_json.containsKey("productId")) { |
| 4169 productId = _json["productId"]; | 4169 productId = _json["productId"]; |
| 4170 } | 4170 } |
| 4171 } | 4171 } |
| 4172 | 4172 |
| 4173 core.Map toJson() { | 4173 core.Map<core.String, core.Object> toJson() { |
| 4174 var _json = new core.Map(); | 4174 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4175 if (productId != null) { | 4175 if (productId != null) { |
| 4176 _json["productId"] = productId; | 4176 _json["productId"] = productId; |
| 4177 } | 4177 } |
| 4178 return _json; | 4178 return _json; |
| 4179 } | 4179 } |
| 4180 } | 4180 } |
| 4181 | 4181 |
| 4182 /** | 4182 /** |
| 4183 * A restriction in the App Restriction Schema represents a piece of | 4183 * A restriction in the App Restriction Schema represents a piece of |
| 4184 * configuration that may be pre-applied. | 4184 * configuration that may be pre-applied. |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4244 nestedRestriction = _json["nestedRestriction"].map((value) => new AppRestr
ictionsSchemaRestriction.fromJson(value)).toList(); | 4244 nestedRestriction = _json["nestedRestriction"].map((value) => new AppRestr
ictionsSchemaRestriction.fromJson(value)).toList(); |
| 4245 } | 4245 } |
| 4246 if (_json.containsKey("restrictionType")) { | 4246 if (_json.containsKey("restrictionType")) { |
| 4247 restrictionType = _json["restrictionType"]; | 4247 restrictionType = _json["restrictionType"]; |
| 4248 } | 4248 } |
| 4249 if (_json.containsKey("title")) { | 4249 if (_json.containsKey("title")) { |
| 4250 title = _json["title"]; | 4250 title = _json["title"]; |
| 4251 } | 4251 } |
| 4252 } | 4252 } |
| 4253 | 4253 |
| 4254 core.Map toJson() { | 4254 core.Map<core.String, core.Object> toJson() { |
| 4255 var _json = new core.Map(); | 4255 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4256 if (defaultValue != null) { | 4256 if (defaultValue != null) { |
| 4257 _json["defaultValue"] = (defaultValue).toJson(); | 4257 _json["defaultValue"] = (defaultValue).toJson(); |
| 4258 } | 4258 } |
| 4259 if (description != null) { | 4259 if (description != null) { |
| 4260 _json["description"] = description; | 4260 _json["description"] = description; |
| 4261 } | 4261 } |
| 4262 if (entry != null) { | 4262 if (entry != null) { |
| 4263 _json["entry"] = entry; | 4263 _json["entry"] = entry; |
| 4264 } | 4264 } |
| 4265 if (entryValue != null) { | 4265 if (entryValue != null) { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4313 valueInteger = _json["valueInteger"]; | 4313 valueInteger = _json["valueInteger"]; |
| 4314 } | 4314 } |
| 4315 if (_json.containsKey("valueMultiselect")) { | 4315 if (_json.containsKey("valueMultiselect")) { |
| 4316 valueMultiselect = _json["valueMultiselect"]; | 4316 valueMultiselect = _json["valueMultiselect"]; |
| 4317 } | 4317 } |
| 4318 if (_json.containsKey("valueString")) { | 4318 if (_json.containsKey("valueString")) { |
| 4319 valueString = _json["valueString"]; | 4319 valueString = _json["valueString"]; |
| 4320 } | 4320 } |
| 4321 } | 4321 } |
| 4322 | 4322 |
| 4323 core.Map toJson() { | 4323 core.Map<core.String, core.Object> toJson() { |
| 4324 var _json = new core.Map(); | 4324 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4325 if (type != null) { | 4325 if (type != null) { |
| 4326 _json["type"] = type; | 4326 _json["type"] = type; |
| 4327 } | 4327 } |
| 4328 if (valueBool != null) { | 4328 if (valueBool != null) { |
| 4329 _json["valueBool"] = valueBool; | 4329 _json["valueBool"] = valueBool; |
| 4330 } | 4330 } |
| 4331 if (valueInteger != null) { | 4331 if (valueInteger != null) { |
| 4332 _json["valueInteger"] = valueInteger; | 4332 _json["valueInteger"] = valueInteger; |
| 4333 } | 4333 } |
| 4334 if (valueMultiselect != null) { | 4334 if (valueMultiselect != null) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 4355 core.String productId; | 4355 core.String productId; |
| 4356 | 4356 |
| 4357 AppUpdateEvent(); | 4357 AppUpdateEvent(); |
| 4358 | 4358 |
| 4359 AppUpdateEvent.fromJson(core.Map _json) { | 4359 AppUpdateEvent.fromJson(core.Map _json) { |
| 4360 if (_json.containsKey("productId")) { | 4360 if (_json.containsKey("productId")) { |
| 4361 productId = _json["productId"]; | 4361 productId = _json["productId"]; |
| 4362 } | 4362 } |
| 4363 } | 4363 } |
| 4364 | 4364 |
| 4365 core.Map toJson() { | 4365 core.Map<core.String, core.Object> toJson() { |
| 4366 var _json = new core.Map(); | 4366 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4367 if (productId != null) { | 4367 if (productId != null) { |
| 4368 _json["productId"] = productId; | 4368 _json["productId"] = productId; |
| 4369 } | 4369 } |
| 4370 return _json; | 4370 return _json; |
| 4371 } | 4371 } |
| 4372 } | 4372 } |
| 4373 | 4373 |
| 4374 /** This represents a single version of the app. */ | 4374 /** This represents a single version of the app. */ |
| 4375 class AppVersion { | 4375 class AppVersion { |
| 4376 /** Unique increasing identifier for the app version. */ | 4376 /** Unique increasing identifier for the app version. */ |
| 4377 core.int versionCode; | 4377 core.int versionCode; |
| 4378 /** | 4378 /** |
| 4379 * The string used in the Play store by the app developer to identify the | 4379 * The string used in the Play store by the app developer to identify the |
| 4380 * version. The string is not necessarily unique or localized (for example, | 4380 * version. The string is not necessarily unique or localized (for example, |
| 4381 * the string could be "1.4"). | 4381 * the string could be "1.4"). |
| 4382 */ | 4382 */ |
| 4383 core.String versionString; | 4383 core.String versionString; |
| 4384 | 4384 |
| 4385 AppVersion(); | 4385 AppVersion(); |
| 4386 | 4386 |
| 4387 AppVersion.fromJson(core.Map _json) { | 4387 AppVersion.fromJson(core.Map _json) { |
| 4388 if (_json.containsKey("versionCode")) { | 4388 if (_json.containsKey("versionCode")) { |
| 4389 versionCode = _json["versionCode"]; | 4389 versionCode = _json["versionCode"]; |
| 4390 } | 4390 } |
| 4391 if (_json.containsKey("versionString")) { | 4391 if (_json.containsKey("versionString")) { |
| 4392 versionString = _json["versionString"]; | 4392 versionString = _json["versionString"]; |
| 4393 } | 4393 } |
| 4394 } | 4394 } |
| 4395 | 4395 |
| 4396 core.Map toJson() { | 4396 core.Map<core.String, core.Object> toJson() { |
| 4397 var _json = new core.Map(); | 4397 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4398 if (versionCode != null) { | 4398 if (versionCode != null) { |
| 4399 _json["versionCode"] = versionCode; | 4399 _json["versionCode"] = versionCode; |
| 4400 } | 4400 } |
| 4401 if (versionString != null) { | 4401 if (versionString != null) { |
| 4402 _json["versionString"] = versionString; | 4402 _json["versionString"] = versionString; |
| 4403 } | 4403 } |
| 4404 return _json; | 4404 return _json; |
| 4405 } | 4405 } |
| 4406 } | 4406 } |
| 4407 | 4407 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 4422 | 4422 |
| 4423 ApprovalUrlInfo.fromJson(core.Map _json) { | 4423 ApprovalUrlInfo.fromJson(core.Map _json) { |
| 4424 if (_json.containsKey("approvalUrl")) { | 4424 if (_json.containsKey("approvalUrl")) { |
| 4425 approvalUrl = _json["approvalUrl"]; | 4425 approvalUrl = _json["approvalUrl"]; |
| 4426 } | 4426 } |
| 4427 if (_json.containsKey("kind")) { | 4427 if (_json.containsKey("kind")) { |
| 4428 kind = _json["kind"]; | 4428 kind = _json["kind"]; |
| 4429 } | 4429 } |
| 4430 } | 4430 } |
| 4431 | 4431 |
| 4432 core.Map toJson() { | 4432 core.Map<core.String, core.Object> toJson() { |
| 4433 var _json = new core.Map(); | 4433 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4434 if (approvalUrl != null) { | 4434 if (approvalUrl != null) { |
| 4435 _json["approvalUrl"] = approvalUrl; | 4435 _json["approvalUrl"] = approvalUrl; |
| 4436 } | 4436 } |
| 4437 if (kind != null) { | 4437 if (kind != null) { |
| 4438 _json["kind"] = kind; | 4438 _json["kind"] = kind; |
| 4439 } | 4439 } |
| 4440 return _json; | 4440 return _json; |
| 4441 } | 4441 } |
| 4442 } | 4442 } |
| 4443 | 4443 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 4462 | 4462 |
| 4463 AuthenticationToken.fromJson(core.Map _json) { | 4463 AuthenticationToken.fromJson(core.Map _json) { |
| 4464 if (_json.containsKey("kind")) { | 4464 if (_json.containsKey("kind")) { |
| 4465 kind = _json["kind"]; | 4465 kind = _json["kind"]; |
| 4466 } | 4466 } |
| 4467 if (_json.containsKey("token")) { | 4467 if (_json.containsKey("token")) { |
| 4468 token = _json["token"]; | 4468 token = _json["token"]; |
| 4469 } | 4469 } |
| 4470 } | 4470 } |
| 4471 | 4471 |
| 4472 core.Map toJson() { | 4472 core.Map<core.String, core.Object> toJson() { |
| 4473 var _json = new core.Map(); | 4473 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4474 if (kind != null) { | 4474 if (kind != null) { |
| 4475 _json["kind"] = kind; | 4475 _json["kind"] = kind; |
| 4476 } | 4476 } |
| 4477 if (token != null) { | 4477 if (token != null) { |
| 4478 _json["token"] = token; | 4478 _json["token"] = token; |
| 4479 } | 4479 } |
| 4480 return _json; | 4480 return _json; |
| 4481 } | 4481 } |
| 4482 } | 4482 } |
| 4483 | 4483 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4523 androidId = _json["androidId"]; | 4523 androidId = _json["androidId"]; |
| 4524 } | 4524 } |
| 4525 if (_json.containsKey("kind")) { | 4525 if (_json.containsKey("kind")) { |
| 4526 kind = _json["kind"]; | 4526 kind = _json["kind"]; |
| 4527 } | 4527 } |
| 4528 if (_json.containsKey("managementType")) { | 4528 if (_json.containsKey("managementType")) { |
| 4529 managementType = _json["managementType"]; | 4529 managementType = _json["managementType"]; |
| 4530 } | 4530 } |
| 4531 } | 4531 } |
| 4532 | 4532 |
| 4533 core.Map toJson() { | 4533 core.Map<core.String, core.Object> toJson() { |
| 4534 var _json = new core.Map(); | 4534 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4535 if (androidId != null) { | 4535 if (androidId != null) { |
| 4536 _json["androidId"] = androidId; | 4536 _json["androidId"] = androidId; |
| 4537 } | 4537 } |
| 4538 if (kind != null) { | 4538 if (kind != null) { |
| 4539 _json["kind"] = kind; | 4539 _json["kind"] = kind; |
| 4540 } | 4540 } |
| 4541 if (managementType != null) { | 4541 if (managementType != null) { |
| 4542 _json["managementType"] = managementType; | 4542 _json["managementType"] = managementType; |
| 4543 } | 4543 } |
| 4544 return _json; | 4544 return _json; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 4567 | 4567 |
| 4568 DeviceState.fromJson(core.Map _json) { | 4568 DeviceState.fromJson(core.Map _json) { |
| 4569 if (_json.containsKey("accountState")) { | 4569 if (_json.containsKey("accountState")) { |
| 4570 accountState = _json["accountState"]; | 4570 accountState = _json["accountState"]; |
| 4571 } | 4571 } |
| 4572 if (_json.containsKey("kind")) { | 4572 if (_json.containsKey("kind")) { |
| 4573 kind = _json["kind"]; | 4573 kind = _json["kind"]; |
| 4574 } | 4574 } |
| 4575 } | 4575 } |
| 4576 | 4576 |
| 4577 core.Map toJson() { | 4577 core.Map<core.String, core.Object> toJson() { |
| 4578 var _json = new core.Map(); | 4578 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4579 if (accountState != null) { | 4579 if (accountState != null) { |
| 4580 _json["accountState"] = accountState; | 4580 _json["accountState"] = accountState; |
| 4581 } | 4581 } |
| 4582 if (kind != null) { | 4582 if (kind != null) { |
| 4583 _json["kind"] = kind; | 4583 _json["kind"] = kind; |
| 4584 } | 4584 } |
| 4585 return _json; | 4585 return _json; |
| 4586 } | 4586 } |
| 4587 } | 4587 } |
| 4588 | 4588 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4600 | 4600 |
| 4601 DevicesListResponse.fromJson(core.Map _json) { | 4601 DevicesListResponse.fromJson(core.Map _json) { |
| 4602 if (_json.containsKey("device")) { | 4602 if (_json.containsKey("device")) { |
| 4603 device = _json["device"].map((value) => new Device.fromJson(value)).toList
(); | 4603 device = _json["device"].map((value) => new Device.fromJson(value)).toList
(); |
| 4604 } | 4604 } |
| 4605 if (_json.containsKey("kind")) { | 4605 if (_json.containsKey("kind")) { |
| 4606 kind = _json["kind"]; | 4606 kind = _json["kind"]; |
| 4607 } | 4607 } |
| 4608 } | 4608 } |
| 4609 | 4609 |
| 4610 core.Map toJson() { | 4610 core.Map<core.String, core.Object> toJson() { |
| 4611 var _json = new core.Map(); | 4611 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4612 if (device != null) { | 4612 if (device != null) { |
| 4613 _json["device"] = device.map((value) => (value).toJson()).toList(); | 4613 _json["device"] = device.map((value) => (value).toJson()).toList(); |
| 4614 } | 4614 } |
| 4615 if (kind != null) { | 4615 if (kind != null) { |
| 4616 _json["kind"] = kind; | 4616 _json["kind"] = kind; |
| 4617 } | 4617 } |
| 4618 return _json; | 4618 return _json; |
| 4619 } | 4619 } |
| 4620 } | 4620 } |
| 4621 | 4621 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4664 kind = _json["kind"]; | 4664 kind = _json["kind"]; |
| 4665 } | 4665 } |
| 4666 if (_json.containsKey("name")) { | 4666 if (_json.containsKey("name")) { |
| 4667 name = _json["name"]; | 4667 name = _json["name"]; |
| 4668 } | 4668 } |
| 4669 if (_json.containsKey("primaryDomain")) { | 4669 if (_json.containsKey("primaryDomain")) { |
| 4670 primaryDomain = _json["primaryDomain"]; | 4670 primaryDomain = _json["primaryDomain"]; |
| 4671 } | 4671 } |
| 4672 } | 4672 } |
| 4673 | 4673 |
| 4674 core.Map toJson() { | 4674 core.Map<core.String, core.Object> toJson() { |
| 4675 var _json = new core.Map(); | 4675 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4676 if (administrator != null) { | 4676 if (administrator != null) { |
| 4677 _json["administrator"] = administrator.map((value) => (value).toJson()).to
List(); | 4677 _json["administrator"] = administrator.map((value) => (value).toJson()).to
List(); |
| 4678 } | 4678 } |
| 4679 if (id != null) { | 4679 if (id != null) { |
| 4680 _json["id"] = id; | 4680 _json["id"] = id; |
| 4681 } | 4681 } |
| 4682 if (kind != null) { | 4682 if (kind != null) { |
| 4683 _json["kind"] = kind; | 4683 _json["kind"] = kind; |
| 4684 } | 4684 } |
| 4685 if (name != null) { | 4685 if (name != null) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 4709 | 4709 |
| 4710 EnterpriseAccount.fromJson(core.Map _json) { | 4710 EnterpriseAccount.fromJson(core.Map _json) { |
| 4711 if (_json.containsKey("accountEmail")) { | 4711 if (_json.containsKey("accountEmail")) { |
| 4712 accountEmail = _json["accountEmail"]; | 4712 accountEmail = _json["accountEmail"]; |
| 4713 } | 4713 } |
| 4714 if (_json.containsKey("kind")) { | 4714 if (_json.containsKey("kind")) { |
| 4715 kind = _json["kind"]; | 4715 kind = _json["kind"]; |
| 4716 } | 4716 } |
| 4717 } | 4717 } |
| 4718 | 4718 |
| 4719 core.Map toJson() { | 4719 core.Map<core.String, core.Object> toJson() { |
| 4720 var _json = new core.Map(); | 4720 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4721 if (accountEmail != null) { | 4721 if (accountEmail != null) { |
| 4722 _json["accountEmail"] = accountEmail; | 4722 _json["accountEmail"] = accountEmail; |
| 4723 } | 4723 } |
| 4724 if (kind != null) { | 4724 if (kind != null) { |
| 4725 _json["kind"] = kind; | 4725 _json["kind"] = kind; |
| 4726 } | 4726 } |
| 4727 return _json; | 4727 return _json; |
| 4728 } | 4728 } |
| 4729 } | 4729 } |
| 4730 | 4730 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 4742 | 4742 |
| 4743 EnterprisesListResponse.fromJson(core.Map _json) { | 4743 EnterprisesListResponse.fromJson(core.Map _json) { |
| 4744 if (_json.containsKey("enterprise")) { | 4744 if (_json.containsKey("enterprise")) { |
| 4745 enterprise = _json["enterprise"].map((value) => new Enterprise.fromJson(va
lue)).toList(); | 4745 enterprise = _json["enterprise"].map((value) => new Enterprise.fromJson(va
lue)).toList(); |
| 4746 } | 4746 } |
| 4747 if (_json.containsKey("kind")) { | 4747 if (_json.containsKey("kind")) { |
| 4748 kind = _json["kind"]; | 4748 kind = _json["kind"]; |
| 4749 } | 4749 } |
| 4750 } | 4750 } |
| 4751 | 4751 |
| 4752 core.Map toJson() { | 4752 core.Map<core.String, core.Object> toJson() { |
| 4753 var _json = new core.Map(); | 4753 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4754 if (enterprise != null) { | 4754 if (enterprise != null) { |
| 4755 _json["enterprise"] = enterprise.map((value) => (value).toJson()).toList()
; | 4755 _json["enterprise"] = enterprise.map((value) => (value).toJson()).toList()
; |
| 4756 } | 4756 } |
| 4757 if (kind != null) { | 4757 if (kind != null) { |
| 4758 _json["kind"] = kind; | 4758 _json["kind"] = kind; |
| 4759 } | 4759 } |
| 4760 return _json; | 4760 return _json; |
| 4761 } | 4761 } |
| 4762 } | 4762 } |
| 4763 | 4763 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 4774 | 4774 |
| 4775 EnterprisesSendTestPushNotificationResponse.fromJson(core.Map _json) { | 4775 EnterprisesSendTestPushNotificationResponse.fromJson(core.Map _json) { |
| 4776 if (_json.containsKey("messageId")) { | 4776 if (_json.containsKey("messageId")) { |
| 4777 messageId = _json["messageId"]; | 4777 messageId = _json["messageId"]; |
| 4778 } | 4778 } |
| 4779 if (_json.containsKey("topicName")) { | 4779 if (_json.containsKey("topicName")) { |
| 4780 topicName = _json["topicName"]; | 4780 topicName = _json["topicName"]; |
| 4781 } | 4781 } |
| 4782 } | 4782 } |
| 4783 | 4783 |
| 4784 core.Map toJson() { | 4784 core.Map<core.String, core.Object> toJson() { |
| 4785 var _json = new core.Map(); | 4785 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4786 if (messageId != null) { | 4786 if (messageId != null) { |
| 4787 _json["messageId"] = messageId; | 4787 _json["messageId"] = messageId; |
| 4788 } | 4788 } |
| 4789 if (topicName != null) { | 4789 if (topicName != null) { |
| 4790 _json["topicName"] = topicName; | 4790 _json["topicName"] = topicName; |
| 4791 } | 4791 } |
| 4792 return _json; | 4792 return _json; |
| 4793 } | 4793 } |
| 4794 } | 4794 } |
| 4795 | 4795 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4844 kind = _json["kind"]; | 4844 kind = _json["kind"]; |
| 4845 } | 4845 } |
| 4846 if (_json.containsKey("productId")) { | 4846 if (_json.containsKey("productId")) { |
| 4847 productId = _json["productId"]; | 4847 productId = _json["productId"]; |
| 4848 } | 4848 } |
| 4849 if (_json.containsKey("reason")) { | 4849 if (_json.containsKey("reason")) { |
| 4850 reason = _json["reason"]; | 4850 reason = _json["reason"]; |
| 4851 } | 4851 } |
| 4852 } | 4852 } |
| 4853 | 4853 |
| 4854 core.Map toJson() { | 4854 core.Map<core.String, core.Object> toJson() { |
| 4855 var _json = new core.Map(); | 4855 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4856 if (kind != null) { | 4856 if (kind != null) { |
| 4857 _json["kind"] = kind; | 4857 _json["kind"] = kind; |
| 4858 } | 4858 } |
| 4859 if (productId != null) { | 4859 if (productId != null) { |
| 4860 _json["productId"] = productId; | 4860 _json["productId"] = productId; |
| 4861 } | 4861 } |
| 4862 if (reason != null) { | 4862 if (reason != null) { |
| 4863 _json["reason"] = reason; | 4863 _json["reason"] = reason; |
| 4864 } | 4864 } |
| 4865 return _json; | 4865 return _json; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 4884 | 4884 |
| 4885 EntitlementsListResponse.fromJson(core.Map _json) { | 4885 EntitlementsListResponse.fromJson(core.Map _json) { |
| 4886 if (_json.containsKey("entitlement")) { | 4886 if (_json.containsKey("entitlement")) { |
| 4887 entitlement = _json["entitlement"].map((value) => new Entitlement.fromJson
(value)).toList(); | 4887 entitlement = _json["entitlement"].map((value) => new Entitlement.fromJson
(value)).toList(); |
| 4888 } | 4888 } |
| 4889 if (_json.containsKey("kind")) { | 4889 if (_json.containsKey("kind")) { |
| 4890 kind = _json["kind"]; | 4890 kind = _json["kind"]; |
| 4891 } | 4891 } |
| 4892 } | 4892 } |
| 4893 | 4893 |
| 4894 core.Map toJson() { | 4894 core.Map<core.String, core.Object> toJson() { |
| 4895 var _json = new core.Map(); | 4895 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4896 if (entitlement != null) { | 4896 if (entitlement != null) { |
| 4897 _json["entitlement"] = entitlement.map((value) => (value).toJson()).toList
(); | 4897 _json["entitlement"] = entitlement.map((value) => (value).toJson()).toList
(); |
| 4898 } | 4898 } |
| 4899 if (kind != null) { | 4899 if (kind != null) { |
| 4900 _json["kind"] = kind; | 4900 _json["kind"] = kind; |
| 4901 } | 4901 } |
| 4902 return _json; | 4902 return _json; |
| 4903 } | 4903 } |
| 4904 } | 4904 } |
| 4905 | 4905 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4995 numPurchased = _json["numPurchased"]; | 4995 numPurchased = _json["numPurchased"]; |
| 4996 } | 4996 } |
| 4997 if (_json.containsKey("permissions")) { | 4997 if (_json.containsKey("permissions")) { |
| 4998 permissions = _json["permissions"]; | 4998 permissions = _json["permissions"]; |
| 4999 } | 4999 } |
| 5000 if (_json.containsKey("productId")) { | 5000 if (_json.containsKey("productId")) { |
| 5001 productId = _json["productId"]; | 5001 productId = _json["productId"]; |
| 5002 } | 5002 } |
| 5003 } | 5003 } |
| 5004 | 5004 |
| 5005 core.Map toJson() { | 5005 core.Map<core.String, core.Object> toJson() { |
| 5006 var _json = new core.Map(); | 5006 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5007 if (acquisitionKind != null) { | 5007 if (acquisitionKind != null) { |
| 5008 _json["acquisitionKind"] = acquisitionKind; | 5008 _json["acquisitionKind"] = acquisitionKind; |
| 5009 } | 5009 } |
| 5010 if (approval != null) { | 5010 if (approval != null) { |
| 5011 _json["approval"] = approval; | 5011 _json["approval"] = approval; |
| 5012 } | 5012 } |
| 5013 if (kind != null) { | 5013 if (kind != null) { |
| 5014 _json["kind"] = kind; | 5014 _json["kind"] = kind; |
| 5015 } | 5015 } |
| 5016 if (numProvisioned != null) { | 5016 if (numProvisioned != null) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 5043 | 5043 |
| 5044 GroupLicenseUsersListResponse.fromJson(core.Map _json) { | 5044 GroupLicenseUsersListResponse.fromJson(core.Map _json) { |
| 5045 if (_json.containsKey("kind")) { | 5045 if (_json.containsKey("kind")) { |
| 5046 kind = _json["kind"]; | 5046 kind = _json["kind"]; |
| 5047 } | 5047 } |
| 5048 if (_json.containsKey("user")) { | 5048 if (_json.containsKey("user")) { |
| 5049 user = _json["user"].map((value) => new User.fromJson(value)).toList(); | 5049 user = _json["user"].map((value) => new User.fromJson(value)).toList(); |
| 5050 } | 5050 } |
| 5051 } | 5051 } |
| 5052 | 5052 |
| 5053 core.Map toJson() { | 5053 core.Map<core.String, core.Object> toJson() { |
| 5054 var _json = new core.Map(); | 5054 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5055 if (kind != null) { | 5055 if (kind != null) { |
| 5056 _json["kind"] = kind; | 5056 _json["kind"] = kind; |
| 5057 } | 5057 } |
| 5058 if (user != null) { | 5058 if (user != null) { |
| 5059 _json["user"] = user.map((value) => (value).toJson()).toList(); | 5059 _json["user"] = user.map((value) => (value).toJson()).toList(); |
| 5060 } | 5060 } |
| 5061 return _json; | 5061 return _json; |
| 5062 } | 5062 } |
| 5063 } | 5063 } |
| 5064 | 5064 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5076 | 5076 |
| 5077 GroupLicensesListResponse.fromJson(core.Map _json) { | 5077 GroupLicensesListResponse.fromJson(core.Map _json) { |
| 5078 if (_json.containsKey("groupLicense")) { | 5078 if (_json.containsKey("groupLicense")) { |
| 5079 groupLicense = _json["groupLicense"].map((value) => new GroupLicense.fromJ
son(value)).toList(); | 5079 groupLicense = _json["groupLicense"].map((value) => new GroupLicense.fromJ
son(value)).toList(); |
| 5080 } | 5080 } |
| 5081 if (_json.containsKey("kind")) { | 5081 if (_json.containsKey("kind")) { |
| 5082 kind = _json["kind"]; | 5082 kind = _json["kind"]; |
| 5083 } | 5083 } |
| 5084 } | 5084 } |
| 5085 | 5085 |
| 5086 core.Map toJson() { | 5086 core.Map<core.String, core.Object> toJson() { |
| 5087 var _json = new core.Map(); | 5087 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5088 if (groupLicense != null) { | 5088 if (groupLicense != null) { |
| 5089 _json["groupLicense"] = groupLicense.map((value) => (value).toJson()).toLi
st(); | 5089 _json["groupLicense"] = groupLicense.map((value) => (value).toJson()).toLi
st(); |
| 5090 } | 5090 } |
| 5091 if (kind != null) { | 5091 if (kind != null) { |
| 5092 _json["kind"] = kind; | 5092 _json["kind"] = kind; |
| 5093 } | 5093 } |
| 5094 return _json; | 5094 return _json; |
| 5095 } | 5095 } |
| 5096 } | 5096 } |
| 5097 | 5097 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5155 kind = _json["kind"]; | 5155 kind = _json["kind"]; |
| 5156 } | 5156 } |
| 5157 if (_json.containsKey("productId")) { | 5157 if (_json.containsKey("productId")) { |
| 5158 productId = _json["productId"]; | 5158 productId = _json["productId"]; |
| 5159 } | 5159 } |
| 5160 if (_json.containsKey("versionCode")) { | 5160 if (_json.containsKey("versionCode")) { |
| 5161 versionCode = _json["versionCode"]; | 5161 versionCode = _json["versionCode"]; |
| 5162 } | 5162 } |
| 5163 } | 5163 } |
| 5164 | 5164 |
| 5165 core.Map toJson() { | 5165 core.Map<core.String, core.Object> toJson() { |
| 5166 var _json = new core.Map(); | 5166 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5167 if (installState != null) { | 5167 if (installState != null) { |
| 5168 _json["installState"] = installState; | 5168 _json["installState"] = installState; |
| 5169 } | 5169 } |
| 5170 if (kind != null) { | 5170 if (kind != null) { |
| 5171 _json["kind"] = kind; | 5171 _json["kind"] = kind; |
| 5172 } | 5172 } |
| 5173 if (productId != null) { | 5173 if (productId != null) { |
| 5174 _json["productId"] = productId; | 5174 _json["productId"] = productId; |
| 5175 } | 5175 } |
| 5176 if (versionCode != null) { | 5176 if (versionCode != null) { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5211 failureReason = _json["failureReason"]; | 5211 failureReason = _json["failureReason"]; |
| 5212 } | 5212 } |
| 5213 if (_json.containsKey("productId")) { | 5213 if (_json.containsKey("productId")) { |
| 5214 productId = _json["productId"]; | 5214 productId = _json["productId"]; |
| 5215 } | 5215 } |
| 5216 if (_json.containsKey("userId")) { | 5216 if (_json.containsKey("userId")) { |
| 5217 userId = _json["userId"]; | 5217 userId = _json["userId"]; |
| 5218 } | 5218 } |
| 5219 } | 5219 } |
| 5220 | 5220 |
| 5221 core.Map toJson() { | 5221 core.Map<core.String, core.Object> toJson() { |
| 5222 var _json = new core.Map(); | 5222 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5223 if (deviceId != null) { | 5223 if (deviceId != null) { |
| 5224 _json["deviceId"] = deviceId; | 5224 _json["deviceId"] = deviceId; |
| 5225 } | 5225 } |
| 5226 if (failureDetails != null) { | 5226 if (failureDetails != null) { |
| 5227 _json["failureDetails"] = failureDetails; | 5227 _json["failureDetails"] = failureDetails; |
| 5228 } | 5228 } |
| 5229 if (failureReason != null) { | 5229 if (failureReason != null) { |
| 5230 _json["failureReason"] = failureReason; | 5230 _json["failureReason"] = failureReason; |
| 5231 } | 5231 } |
| 5232 if (productId != null) { | 5232 if (productId != null) { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 5256 | 5256 |
| 5257 InstallsListResponse.fromJson(core.Map _json) { | 5257 InstallsListResponse.fromJson(core.Map _json) { |
| 5258 if (_json.containsKey("install")) { | 5258 if (_json.containsKey("install")) { |
| 5259 install = _json["install"].map((value) => new Install.fromJson(value)).toL
ist(); | 5259 install = _json["install"].map((value) => new Install.fromJson(value)).toL
ist(); |
| 5260 } | 5260 } |
| 5261 if (_json.containsKey("kind")) { | 5261 if (_json.containsKey("kind")) { |
| 5262 kind = _json["kind"]; | 5262 kind = _json["kind"]; |
| 5263 } | 5263 } |
| 5264 } | 5264 } |
| 5265 | 5265 |
| 5266 core.Map toJson() { | 5266 core.Map<core.String, core.Object> toJson() { |
| 5267 var _json = new core.Map(); | 5267 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5268 if (install != null) { | 5268 if (install != null) { |
| 5269 _json["install"] = install.map((value) => (value).toJson()).toList(); | 5269 _json["install"] = install.map((value) => (value).toJson()).toList(); |
| 5270 } | 5270 } |
| 5271 if (kind != null) { | 5271 if (kind != null) { |
| 5272 _json["kind"] = kind; | 5272 _json["kind"] = kind; |
| 5273 } | 5273 } |
| 5274 return _json; | 5274 return _json; |
| 5275 } | 5275 } |
| 5276 } | 5276 } |
| 5277 | 5277 |
| 5278 /** A localized string with its locale. */ | 5278 /** A localized string with its locale. */ |
| 5279 class LocalizedText { | 5279 class LocalizedText { |
| 5280 /** The BCP47 tag for a locale. (e.g. "en-US", "de"). */ | 5280 /** The BCP47 tag for a locale. (e.g. "en-US", "de"). */ |
| 5281 core.String locale; | 5281 core.String locale; |
| 5282 /** The text localized in the associated locale. */ | 5282 /** The text localized in the associated locale. */ |
| 5283 core.String text; | 5283 core.String text; |
| 5284 | 5284 |
| 5285 LocalizedText(); | 5285 LocalizedText(); |
| 5286 | 5286 |
| 5287 LocalizedText.fromJson(core.Map _json) { | 5287 LocalizedText.fromJson(core.Map _json) { |
| 5288 if (_json.containsKey("locale")) { | 5288 if (_json.containsKey("locale")) { |
| 5289 locale = _json["locale"]; | 5289 locale = _json["locale"]; |
| 5290 } | 5290 } |
| 5291 if (_json.containsKey("text")) { | 5291 if (_json.containsKey("text")) { |
| 5292 text = _json["text"]; | 5292 text = _json["text"]; |
| 5293 } | 5293 } |
| 5294 } | 5294 } |
| 5295 | 5295 |
| 5296 core.Map toJson() { | 5296 core.Map<core.String, core.Object> toJson() { |
| 5297 var _json = new core.Map(); | 5297 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5298 if (locale != null) { | 5298 if (locale != null) { |
| 5299 _json["locale"] = locale; | 5299 _json["locale"] = locale; |
| 5300 } | 5300 } |
| 5301 if (text != null) { | 5301 if (text != null) { |
| 5302 _json["text"] = text; | 5302 _json["text"] = text; |
| 5303 } | 5303 } |
| 5304 return _json; | 5304 return _json; |
| 5305 } | 5305 } |
| 5306 } | 5306 } |
| 5307 | 5307 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 5331 kind = _json["kind"]; | 5331 kind = _json["kind"]; |
| 5332 } | 5332 } |
| 5333 if (_json.containsKey("managedProperty")) { | 5333 if (_json.containsKey("managedProperty")) { |
| 5334 managedProperty = _json["managedProperty"].map((value) => new ManagedPrope
rty.fromJson(value)).toList(); | 5334 managedProperty = _json["managedProperty"].map((value) => new ManagedPrope
rty.fromJson(value)).toList(); |
| 5335 } | 5335 } |
| 5336 if (_json.containsKey("productId")) { | 5336 if (_json.containsKey("productId")) { |
| 5337 productId = _json["productId"]; | 5337 productId = _json["productId"]; |
| 5338 } | 5338 } |
| 5339 } | 5339 } |
| 5340 | 5340 |
| 5341 core.Map toJson() { | 5341 core.Map<core.String, core.Object> toJson() { |
| 5342 var _json = new core.Map(); | 5342 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5343 if (kind != null) { | 5343 if (kind != null) { |
| 5344 _json["kind"] = kind; | 5344 _json["kind"] = kind; |
| 5345 } | 5345 } |
| 5346 if (managedProperty != null) { | 5346 if (managedProperty != null) { |
| 5347 _json["managedProperty"] = managedProperty.map((value) => (value).toJson()
).toList(); | 5347 _json["managedProperty"] = managedProperty.map((value) => (value).toJson()
).toList(); |
| 5348 } | 5348 } |
| 5349 if (productId != null) { | 5349 if (productId != null) { |
| 5350 _json["productId"] = productId; | 5350 _json["productId"] = productId; |
| 5351 } | 5351 } |
| 5352 return _json; | 5352 return _json; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 5367 | 5367 |
| 5368 ManagedConfigurationsForDeviceListResponse.fromJson(core.Map _json) { | 5368 ManagedConfigurationsForDeviceListResponse.fromJson(core.Map _json) { |
| 5369 if (_json.containsKey("kind")) { | 5369 if (_json.containsKey("kind")) { |
| 5370 kind = _json["kind"]; | 5370 kind = _json["kind"]; |
| 5371 } | 5371 } |
| 5372 if (_json.containsKey("managedConfigurationForDevice")) { | 5372 if (_json.containsKey("managedConfigurationForDevice")) { |
| 5373 managedConfigurationForDevice = _json["managedConfigurationForDevice"].map
((value) => new ManagedConfiguration.fromJson(value)).toList(); | 5373 managedConfigurationForDevice = _json["managedConfigurationForDevice"].map
((value) => new ManagedConfiguration.fromJson(value)).toList(); |
| 5374 } | 5374 } |
| 5375 } | 5375 } |
| 5376 | 5376 |
| 5377 core.Map toJson() { | 5377 core.Map<core.String, core.Object> toJson() { |
| 5378 var _json = new core.Map(); | 5378 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5379 if (kind != null) { | 5379 if (kind != null) { |
| 5380 _json["kind"] = kind; | 5380 _json["kind"] = kind; |
| 5381 } | 5381 } |
| 5382 if (managedConfigurationForDevice != null) { | 5382 if (managedConfigurationForDevice != null) { |
| 5383 _json["managedConfigurationForDevice"] = managedConfigurationForDevice.map
((value) => (value).toJson()).toList(); | 5383 _json["managedConfigurationForDevice"] = managedConfigurationForDevice.map
((value) => (value).toJson()).toList(); |
| 5384 } | 5384 } |
| 5385 return _json; | 5385 return _json; |
| 5386 } | 5386 } |
| 5387 } | 5387 } |
| 5388 | 5388 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 5400 | 5400 |
| 5401 ManagedConfigurationsForUserListResponse.fromJson(core.Map _json) { | 5401 ManagedConfigurationsForUserListResponse.fromJson(core.Map _json) { |
| 5402 if (_json.containsKey("kind")) { | 5402 if (_json.containsKey("kind")) { |
| 5403 kind = _json["kind"]; | 5403 kind = _json["kind"]; |
| 5404 } | 5404 } |
| 5405 if (_json.containsKey("managedConfigurationForUser")) { | 5405 if (_json.containsKey("managedConfigurationForUser")) { |
| 5406 managedConfigurationForUser = _json["managedConfigurationForUser"].map((va
lue) => new ManagedConfiguration.fromJson(value)).toList(); | 5406 managedConfigurationForUser = _json["managedConfigurationForUser"].map((va
lue) => new ManagedConfiguration.fromJson(value)).toList(); |
| 5407 } | 5407 } |
| 5408 } | 5408 } |
| 5409 | 5409 |
| 5410 core.Map toJson() { | 5410 core.Map<core.String, core.Object> toJson() { |
| 5411 var _json = new core.Map(); | 5411 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5412 if (kind != null) { | 5412 if (kind != null) { |
| 5413 _json["kind"] = kind; | 5413 _json["kind"] = kind; |
| 5414 } | 5414 } |
| 5415 if (managedConfigurationForUser != null) { | 5415 if (managedConfigurationForUser != null) { |
| 5416 _json["managedConfigurationForUser"] = managedConfigurationForUser.map((va
lue) => (value).toJson()).toList(); | 5416 _json["managedConfigurationForUser"] = managedConfigurationForUser.map((va
lue) => (value).toJson()).toList(); |
| 5417 } | 5417 } |
| 5418 return _json; | 5418 return _json; |
| 5419 } | 5419 } |
| 5420 } | 5420 } |
| 5421 | 5421 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5478 valueInteger = _json["valueInteger"]; | 5478 valueInteger = _json["valueInteger"]; |
| 5479 } | 5479 } |
| 5480 if (_json.containsKey("valueString")) { | 5480 if (_json.containsKey("valueString")) { |
| 5481 valueString = _json["valueString"]; | 5481 valueString = _json["valueString"]; |
| 5482 } | 5482 } |
| 5483 if (_json.containsKey("valueStringArray")) { | 5483 if (_json.containsKey("valueStringArray")) { |
| 5484 valueStringArray = _json["valueStringArray"]; | 5484 valueStringArray = _json["valueStringArray"]; |
| 5485 } | 5485 } |
| 5486 } | 5486 } |
| 5487 | 5487 |
| 5488 core.Map toJson() { | 5488 core.Map<core.String, core.Object> toJson() { |
| 5489 var _json = new core.Map(); | 5489 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5490 if (key != null) { | 5490 if (key != null) { |
| 5491 _json["key"] = key; | 5491 _json["key"] = key; |
| 5492 } | 5492 } |
| 5493 if (valueBool != null) { | 5493 if (valueBool != null) { |
| 5494 _json["valueBool"] = valueBool; | 5494 _json["valueBool"] = valueBool; |
| 5495 } | 5495 } |
| 5496 if (valueBundle != null) { | 5496 if (valueBundle != null) { |
| 5497 _json["valueBundle"] = (valueBundle).toJson(); | 5497 _json["valueBundle"] = (valueBundle).toJson(); |
| 5498 } | 5498 } |
| 5499 if (valueBundleArray != null) { | 5499 if (valueBundleArray != null) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 5518 core.List<ManagedProperty> managedProperty; | 5518 core.List<ManagedProperty> managedProperty; |
| 5519 | 5519 |
| 5520 ManagedPropertyBundle(); | 5520 ManagedPropertyBundle(); |
| 5521 | 5521 |
| 5522 ManagedPropertyBundle.fromJson(core.Map _json) { | 5522 ManagedPropertyBundle.fromJson(core.Map _json) { |
| 5523 if (_json.containsKey("managedProperty")) { | 5523 if (_json.containsKey("managedProperty")) { |
| 5524 managedProperty = _json["managedProperty"].map((value) => new ManagedPrope
rty.fromJson(value)).toList(); | 5524 managedProperty = _json["managedProperty"].map((value) => new ManagedPrope
rty.fromJson(value)).toList(); |
| 5525 } | 5525 } |
| 5526 } | 5526 } |
| 5527 | 5527 |
| 5528 core.Map toJson() { | 5528 core.Map<core.String, core.Object> toJson() { |
| 5529 var _json = new core.Map(); | 5529 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5530 if (managedProperty != null) { | 5530 if (managedProperty != null) { |
| 5531 _json["managedProperty"] = managedProperty.map((value) => (value).toJson()
).toList(); | 5531 _json["managedProperty"] = managedProperty.map((value) => (value).toJson()
).toList(); |
| 5532 } | 5532 } |
| 5533 return _json; | 5533 return _json; |
| 5534 } | 5534 } |
| 5535 } | 5535 } |
| 5536 | 5536 |
| 5537 /** An event generated when a new device is ready to be managed. */ | 5537 /** An event generated when a new device is ready to be managed. */ |
| 5538 class NewDeviceEvent { | 5538 class NewDeviceEvent { |
| 5539 /** The Android ID of the device. This field will always be present. */ | 5539 /** The Android ID of the device. This field will always be present. */ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 5557 deviceId = _json["deviceId"]; | 5557 deviceId = _json["deviceId"]; |
| 5558 } | 5558 } |
| 5559 if (_json.containsKey("managementType")) { | 5559 if (_json.containsKey("managementType")) { |
| 5560 managementType = _json["managementType"]; | 5560 managementType = _json["managementType"]; |
| 5561 } | 5561 } |
| 5562 if (_json.containsKey("userId")) { | 5562 if (_json.containsKey("userId")) { |
| 5563 userId = _json["userId"]; | 5563 userId = _json["userId"]; |
| 5564 } | 5564 } |
| 5565 } | 5565 } |
| 5566 | 5566 |
| 5567 core.Map toJson() { | 5567 core.Map<core.String, core.Object> toJson() { |
| 5568 var _json = new core.Map(); | 5568 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5569 if (deviceId != null) { | 5569 if (deviceId != null) { |
| 5570 _json["deviceId"] = deviceId; | 5570 _json["deviceId"] = deviceId; |
| 5571 } | 5571 } |
| 5572 if (managementType != null) { | 5572 if (managementType != null) { |
| 5573 _json["managementType"] = managementType; | 5573 _json["managementType"] = managementType; |
| 5574 } | 5574 } |
| 5575 if (userId != null) { | 5575 if (userId != null) { |
| 5576 _json["userId"] = userId; | 5576 _json["userId"] = userId; |
| 5577 } | 5577 } |
| 5578 return _json; | 5578 return _json; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 5605 approvedPermissions = _json["approvedPermissions"]; | 5605 approvedPermissions = _json["approvedPermissions"]; |
| 5606 } | 5606 } |
| 5607 if (_json.containsKey("productId")) { | 5607 if (_json.containsKey("productId")) { |
| 5608 productId = _json["productId"]; | 5608 productId = _json["productId"]; |
| 5609 } | 5609 } |
| 5610 if (_json.containsKey("requestedPermissions")) { | 5610 if (_json.containsKey("requestedPermissions")) { |
| 5611 requestedPermissions = _json["requestedPermissions"]; | 5611 requestedPermissions = _json["requestedPermissions"]; |
| 5612 } | 5612 } |
| 5613 } | 5613 } |
| 5614 | 5614 |
| 5615 core.Map toJson() { | 5615 core.Map<core.String, core.Object> toJson() { |
| 5616 var _json = new core.Map(); | 5616 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5617 if (approvedPermissions != null) { | 5617 if (approvedPermissions != null) { |
| 5618 _json["approvedPermissions"] = approvedPermissions; | 5618 _json["approvedPermissions"] = approvedPermissions; |
| 5619 } | 5619 } |
| 5620 if (productId != null) { | 5620 if (productId != null) { |
| 5621 _json["productId"] = productId; | 5621 _json["productId"] = productId; |
| 5622 } | 5622 } |
| 5623 if (requestedPermissions != null) { | 5623 if (requestedPermissions != null) { |
| 5624 _json["requestedPermissions"] = requestedPermissions; | 5624 _json["requestedPermissions"] = requestedPermissions; |
| 5625 } | 5625 } |
| 5626 return _json; | 5626 return _json; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5684 productApprovalEvent = new ProductApprovalEvent.fromJson(_json["productApp
rovalEvent"]); | 5684 productApprovalEvent = new ProductApprovalEvent.fromJson(_json["productApp
rovalEvent"]); |
| 5685 } | 5685 } |
| 5686 if (_json.containsKey("productAvailabilityChangeEvent")) { | 5686 if (_json.containsKey("productAvailabilityChangeEvent")) { |
| 5687 productAvailabilityChangeEvent = new ProductAvailabilityChangeEvent.fromJs
on(_json["productAvailabilityChangeEvent"]); | 5687 productAvailabilityChangeEvent = new ProductAvailabilityChangeEvent.fromJs
on(_json["productAvailabilityChangeEvent"]); |
| 5688 } | 5688 } |
| 5689 if (_json.containsKey("timestampMillis")) { | 5689 if (_json.containsKey("timestampMillis")) { |
| 5690 timestampMillis = _json["timestampMillis"]; | 5690 timestampMillis = _json["timestampMillis"]; |
| 5691 } | 5691 } |
| 5692 } | 5692 } |
| 5693 | 5693 |
| 5694 core.Map toJson() { | 5694 core.Map<core.String, core.Object> toJson() { |
| 5695 var _json = new core.Map(); | 5695 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5696 if (appRestrictionsSchemaChangeEvent != null) { | 5696 if (appRestrictionsSchemaChangeEvent != null) { |
| 5697 _json["appRestrictionsSchemaChangeEvent"] = (appRestrictionsSchemaChangeEv
ent).toJson(); | 5697 _json["appRestrictionsSchemaChangeEvent"] = (appRestrictionsSchemaChangeEv
ent).toJson(); |
| 5698 } | 5698 } |
| 5699 if (appUpdateEvent != null) { | 5699 if (appUpdateEvent != null) { |
| 5700 _json["appUpdateEvent"] = (appUpdateEvent).toJson(); | 5700 _json["appUpdateEvent"] = (appUpdateEvent).toJson(); |
| 5701 } | 5701 } |
| 5702 if (enterpriseId != null) { | 5702 if (enterpriseId != null) { |
| 5703 _json["enterpriseId"] = enterpriseId; | 5703 _json["enterpriseId"] = enterpriseId; |
| 5704 } | 5704 } |
| 5705 if (installFailureEvent != null) { | 5705 if (installFailureEvent != null) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5754 kind = _json["kind"]; | 5754 kind = _json["kind"]; |
| 5755 } | 5755 } |
| 5756 if (_json.containsKey("notification")) { | 5756 if (_json.containsKey("notification")) { |
| 5757 notification = _json["notification"].map((value) => new Notification.fromJ
son(value)).toList(); | 5757 notification = _json["notification"].map((value) => new Notification.fromJ
son(value)).toList(); |
| 5758 } | 5758 } |
| 5759 if (_json.containsKey("notificationSetId")) { | 5759 if (_json.containsKey("notificationSetId")) { |
| 5760 notificationSetId = _json["notificationSetId"]; | 5760 notificationSetId = _json["notificationSetId"]; |
| 5761 } | 5761 } |
| 5762 } | 5762 } |
| 5763 | 5763 |
| 5764 core.Map toJson() { | 5764 core.Map<core.String, core.Object> toJson() { |
| 5765 var _json = new core.Map(); | 5765 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5766 if (kind != null) { | 5766 if (kind != null) { |
| 5767 _json["kind"] = kind; | 5767 _json["kind"] = kind; |
| 5768 } | 5768 } |
| 5769 if (notification != null) { | 5769 if (notification != null) { |
| 5770 _json["notification"] = notification.map((value) => (value).toJson()).toLi
st(); | 5770 _json["notification"] = notification.map((value) => (value).toJson()).toLi
st(); |
| 5771 } | 5771 } |
| 5772 if (notificationSetId != null) { | 5772 if (notificationSetId != null) { |
| 5773 _json["notificationSetId"] = notificationSetId; | 5773 _json["notificationSetId"] = notificationSetId; |
| 5774 } | 5774 } |
| 5775 return _json; | 5775 return _json; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 5788 resultPerPage = _json["resultPerPage"]; | 5788 resultPerPage = _json["resultPerPage"]; |
| 5789 } | 5789 } |
| 5790 if (_json.containsKey("startIndex")) { | 5790 if (_json.containsKey("startIndex")) { |
| 5791 startIndex = _json["startIndex"]; | 5791 startIndex = _json["startIndex"]; |
| 5792 } | 5792 } |
| 5793 if (_json.containsKey("totalResults")) { | 5793 if (_json.containsKey("totalResults")) { |
| 5794 totalResults = _json["totalResults"]; | 5794 totalResults = _json["totalResults"]; |
| 5795 } | 5795 } |
| 5796 } | 5796 } |
| 5797 | 5797 |
| 5798 core.Map toJson() { | 5798 core.Map<core.String, core.Object> toJson() { |
| 5799 var _json = new core.Map(); | 5799 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5800 if (resultPerPage != null) { | 5800 if (resultPerPage != null) { |
| 5801 _json["resultPerPage"] = resultPerPage; | 5801 _json["resultPerPage"] = resultPerPage; |
| 5802 } | 5802 } |
| 5803 if (startIndex != null) { | 5803 if (startIndex != null) { |
| 5804 _json["startIndex"] = startIndex; | 5804 _json["startIndex"] = startIndex; |
| 5805 } | 5805 } |
| 5806 if (totalResults != null) { | 5806 if (totalResults != null) { |
| 5807 _json["totalResults"] = totalResults; | 5807 _json["totalResults"] = totalResults; |
| 5808 } | 5808 } |
| 5809 return _json; | 5809 return _json; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5846 kind = _json["kind"]; | 5846 kind = _json["kind"]; |
| 5847 } | 5847 } |
| 5848 if (_json.containsKey("name")) { | 5848 if (_json.containsKey("name")) { |
| 5849 name = _json["name"]; | 5849 name = _json["name"]; |
| 5850 } | 5850 } |
| 5851 if (_json.containsKey("permissionId")) { | 5851 if (_json.containsKey("permissionId")) { |
| 5852 permissionId = _json["permissionId"]; | 5852 permissionId = _json["permissionId"]; |
| 5853 } | 5853 } |
| 5854 } | 5854 } |
| 5855 | 5855 |
| 5856 core.Map toJson() { | 5856 core.Map<core.String, core.Object> toJson() { |
| 5857 var _json = new core.Map(); | 5857 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5858 if (description != null) { | 5858 if (description != null) { |
| 5859 _json["description"] = description; | 5859 _json["description"] = description; |
| 5860 } | 5860 } |
| 5861 if (kind != null) { | 5861 if (kind != null) { |
| 5862 _json["kind"] = kind; | 5862 _json["kind"] = kind; |
| 5863 } | 5863 } |
| 5864 if (name != null) { | 5864 if (name != null) { |
| 5865 _json["name"] = name; | 5865 _json["name"] = name; |
| 5866 } | 5866 } |
| 5867 if (permissionId != null) { | 5867 if (permissionId != null) { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5972 smallIconUrl = _json["smallIconUrl"]; | 5972 smallIconUrl = _json["smallIconUrl"]; |
| 5973 } | 5973 } |
| 5974 if (_json.containsKey("title")) { | 5974 if (_json.containsKey("title")) { |
| 5975 title = _json["title"]; | 5975 title = _json["title"]; |
| 5976 } | 5976 } |
| 5977 if (_json.containsKey("workDetailsUrl")) { | 5977 if (_json.containsKey("workDetailsUrl")) { |
| 5978 workDetailsUrl = _json["workDetailsUrl"]; | 5978 workDetailsUrl = _json["workDetailsUrl"]; |
| 5979 } | 5979 } |
| 5980 } | 5980 } |
| 5981 | 5981 |
| 5982 core.Map toJson() { | 5982 core.Map<core.String, core.Object> toJson() { |
| 5983 var _json = new core.Map(); | 5983 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 5984 if (appVersion != null) { | 5984 if (appVersion != null) { |
| 5985 _json["appVersion"] = appVersion.map((value) => (value).toJson()).toList()
; | 5985 _json["appVersion"] = appVersion.map((value) => (value).toJson()).toList()
; |
| 5986 } | 5986 } |
| 5987 if (authorName != null) { | 5987 if (authorName != null) { |
| 5988 _json["authorName"] = authorName; | 5988 _json["authorName"] = authorName; |
| 5989 } | 5989 } |
| 5990 if (detailsUrl != null) { | 5990 if (detailsUrl != null) { |
| 5991 _json["detailsUrl"] = detailsUrl; | 5991 _json["detailsUrl"] = detailsUrl; |
| 5992 } | 5992 } |
| 5993 if (distributionChannel != null) { | 5993 if (distributionChannel != null) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6038 | 6038 |
| 6039 ProductApprovalEvent.fromJson(core.Map _json) { | 6039 ProductApprovalEvent.fromJson(core.Map _json) { |
| 6040 if (_json.containsKey("approved")) { | 6040 if (_json.containsKey("approved")) { |
| 6041 approved = _json["approved"]; | 6041 approved = _json["approved"]; |
| 6042 } | 6042 } |
| 6043 if (_json.containsKey("productId")) { | 6043 if (_json.containsKey("productId")) { |
| 6044 productId = _json["productId"]; | 6044 productId = _json["productId"]; |
| 6045 } | 6045 } |
| 6046 } | 6046 } |
| 6047 | 6047 |
| 6048 core.Map toJson() { | 6048 core.Map<core.String, core.Object> toJson() { |
| 6049 var _json = new core.Map(); | 6049 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6050 if (approved != null) { | 6050 if (approved != null) { |
| 6051 _json["approved"] = approved; | 6051 _json["approved"] = approved; |
| 6052 } | 6052 } |
| 6053 if (productId != null) { | 6053 if (productId != null) { |
| 6054 _json["productId"] = productId; | 6054 _json["productId"] = productId; |
| 6055 } | 6055 } |
| 6056 return _json; | 6056 return _json; |
| 6057 } | 6057 } |
| 6058 } | 6058 } |
| 6059 | 6059 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 6071 | 6071 |
| 6072 ProductAvailabilityChangeEvent.fromJson(core.Map _json) { | 6072 ProductAvailabilityChangeEvent.fromJson(core.Map _json) { |
| 6073 if (_json.containsKey("availabilityStatus")) { | 6073 if (_json.containsKey("availabilityStatus")) { |
| 6074 availabilityStatus = _json["availabilityStatus"]; | 6074 availabilityStatus = _json["availabilityStatus"]; |
| 6075 } | 6075 } |
| 6076 if (_json.containsKey("productId")) { | 6076 if (_json.containsKey("productId")) { |
| 6077 productId = _json["productId"]; | 6077 productId = _json["productId"]; |
| 6078 } | 6078 } |
| 6079 } | 6079 } |
| 6080 | 6080 |
| 6081 core.Map toJson() { | 6081 core.Map<core.String, core.Object> toJson() { |
| 6082 var _json = new core.Map(); | 6082 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6083 if (availabilityStatus != null) { | 6083 if (availabilityStatus != null) { |
| 6084 _json["availabilityStatus"] = availabilityStatus; | 6084 _json["availabilityStatus"] = availabilityStatus; |
| 6085 } | 6085 } |
| 6086 if (productId != null) { | 6086 if (productId != null) { |
| 6087 _json["productId"] = productId; | 6087 _json["productId"] = productId; |
| 6088 } | 6088 } |
| 6089 return _json; | 6089 return _json; |
| 6090 } | 6090 } |
| 6091 } | 6091 } |
| 6092 | 6092 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 6108 | 6108 |
| 6109 ProductPermission.fromJson(core.Map _json) { | 6109 ProductPermission.fromJson(core.Map _json) { |
| 6110 if (_json.containsKey("permissionId")) { | 6110 if (_json.containsKey("permissionId")) { |
| 6111 permissionId = _json["permissionId"]; | 6111 permissionId = _json["permissionId"]; |
| 6112 } | 6112 } |
| 6113 if (_json.containsKey("state")) { | 6113 if (_json.containsKey("state")) { |
| 6114 state = _json["state"]; | 6114 state = _json["state"]; |
| 6115 } | 6115 } |
| 6116 } | 6116 } |
| 6117 | 6117 |
| 6118 core.Map toJson() { | 6118 core.Map<core.String, core.Object> toJson() { |
| 6119 var _json = new core.Map(); | 6119 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6120 if (permissionId != null) { | 6120 if (permissionId != null) { |
| 6121 _json["permissionId"] = permissionId; | 6121 _json["permissionId"] = permissionId; |
| 6122 } | 6122 } |
| 6123 if (state != null) { | 6123 if (state != null) { |
| 6124 _json["state"] = state; | 6124 _json["state"] = state; |
| 6125 } | 6125 } |
| 6126 return _json; | 6126 return _json; |
| 6127 } | 6127 } |
| 6128 } | 6128 } |
| 6129 | 6129 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 6152 kind = _json["kind"]; | 6152 kind = _json["kind"]; |
| 6153 } | 6153 } |
| 6154 if (_json.containsKey("permission")) { | 6154 if (_json.containsKey("permission")) { |
| 6155 permission = _json["permission"].map((value) => new ProductPermission.from
Json(value)).toList(); | 6155 permission = _json["permission"].map((value) => new ProductPermission.from
Json(value)).toList(); |
| 6156 } | 6156 } |
| 6157 if (_json.containsKey("productId")) { | 6157 if (_json.containsKey("productId")) { |
| 6158 productId = _json["productId"]; | 6158 productId = _json["productId"]; |
| 6159 } | 6159 } |
| 6160 } | 6160 } |
| 6161 | 6161 |
| 6162 core.Map toJson() { | 6162 core.Map<core.String, core.Object> toJson() { |
| 6163 var _json = new core.Map(); | 6163 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6164 if (kind != null) { | 6164 if (kind != null) { |
| 6165 _json["kind"] = kind; | 6165 _json["kind"] = kind; |
| 6166 } | 6166 } |
| 6167 if (permission != null) { | 6167 if (permission != null) { |
| 6168 _json["permission"] = permission.map((value) => (value).toJson()).toList()
; | 6168 _json["permission"] = permission.map((value) => (value).toJson()).toList()
; |
| 6169 } | 6169 } |
| 6170 if (productId != null) { | 6170 if (productId != null) { |
| 6171 _json["productId"] = productId; | 6171 _json["productId"] = productId; |
| 6172 } | 6172 } |
| 6173 return _json; | 6173 return _json; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 6203 kind = _json["kind"]; | 6203 kind = _json["kind"]; |
| 6204 } | 6204 } |
| 6205 if (_json.containsKey("productId")) { | 6205 if (_json.containsKey("productId")) { |
| 6206 productId = _json["productId"]; | 6206 productId = _json["productId"]; |
| 6207 } | 6207 } |
| 6208 if (_json.containsKey("productSetBehavior")) { | 6208 if (_json.containsKey("productSetBehavior")) { |
| 6209 productSetBehavior = _json["productSetBehavior"]; | 6209 productSetBehavior = _json["productSetBehavior"]; |
| 6210 } | 6210 } |
| 6211 } | 6211 } |
| 6212 | 6212 |
| 6213 core.Map toJson() { | 6213 core.Map<core.String, core.Object> toJson() { |
| 6214 var _json = new core.Map(); | 6214 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6215 if (kind != null) { | 6215 if (kind != null) { |
| 6216 _json["kind"] = kind; | 6216 _json["kind"] = kind; |
| 6217 } | 6217 } |
| 6218 if (productId != null) { | 6218 if (productId != null) { |
| 6219 _json["productId"] = productId; | 6219 _json["productId"] = productId; |
| 6220 } | 6220 } |
| 6221 if (productSetBehavior != null) { | 6221 if (productSetBehavior != null) { |
| 6222 _json["productSetBehavior"] = productSetBehavior; | 6222 _json["productSetBehavior"] = productSetBehavior; |
| 6223 } | 6223 } |
| 6224 return _json; | 6224 return _json; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 6248 | 6248 |
| 6249 ProductsApproveRequest.fromJson(core.Map _json) { | 6249 ProductsApproveRequest.fromJson(core.Map _json) { |
| 6250 if (_json.containsKey("approvalUrlInfo")) { | 6250 if (_json.containsKey("approvalUrlInfo")) { |
| 6251 approvalUrlInfo = new ApprovalUrlInfo.fromJson(_json["approvalUrlInfo"]); | 6251 approvalUrlInfo = new ApprovalUrlInfo.fromJson(_json["approvalUrlInfo"]); |
| 6252 } | 6252 } |
| 6253 if (_json.containsKey("approvedPermissions")) { | 6253 if (_json.containsKey("approvedPermissions")) { |
| 6254 approvedPermissions = _json["approvedPermissions"]; | 6254 approvedPermissions = _json["approvedPermissions"]; |
| 6255 } | 6255 } |
| 6256 } | 6256 } |
| 6257 | 6257 |
| 6258 core.Map toJson() { | 6258 core.Map<core.String, core.Object> toJson() { |
| 6259 var _json = new core.Map(); | 6259 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6260 if (approvalUrlInfo != null) { | 6260 if (approvalUrlInfo != null) { |
| 6261 _json["approvalUrlInfo"] = (approvalUrlInfo).toJson(); | 6261 _json["approvalUrlInfo"] = (approvalUrlInfo).toJson(); |
| 6262 } | 6262 } |
| 6263 if (approvedPermissions != null) { | 6263 if (approvedPermissions != null) { |
| 6264 _json["approvedPermissions"] = approvedPermissions; | 6264 _json["approvedPermissions"] = approvedPermissions; |
| 6265 } | 6265 } |
| 6266 return _json; | 6266 return _json; |
| 6267 } | 6267 } |
| 6268 } | 6268 } |
| 6269 | 6269 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 6281 core.String url; | 6281 core.String url; |
| 6282 | 6282 |
| 6283 ProductsGenerateApprovalUrlResponse(); | 6283 ProductsGenerateApprovalUrlResponse(); |
| 6284 | 6284 |
| 6285 ProductsGenerateApprovalUrlResponse.fromJson(core.Map _json) { | 6285 ProductsGenerateApprovalUrlResponse.fromJson(core.Map _json) { |
| 6286 if (_json.containsKey("url")) { | 6286 if (_json.containsKey("url")) { |
| 6287 url = _json["url"]; | 6287 url = _json["url"]; |
| 6288 } | 6288 } |
| 6289 } | 6289 } |
| 6290 | 6290 |
| 6291 core.Map toJson() { | 6291 core.Map<core.String, core.Object> toJson() { |
| 6292 var _json = new core.Map(); | 6292 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6293 if (url != null) { | 6293 if (url != null) { |
| 6294 _json["url"] = url; | 6294 _json["url"] = url; |
| 6295 } | 6295 } |
| 6296 return _json; | 6296 return _json; |
| 6297 } | 6297 } |
| 6298 } | 6298 } |
| 6299 | 6299 |
| 6300 /** The matching products. */ | 6300 /** The matching products. */ |
| 6301 class ProductsListResponse { | 6301 class ProductsListResponse { |
| 6302 /** | 6302 /** |
| (...skipping 21 matching lines...) Expand all Loading... |
| 6324 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); | 6324 pageInfo = new PageInfo.fromJson(_json["pageInfo"]); |
| 6325 } | 6325 } |
| 6326 if (_json.containsKey("product")) { | 6326 if (_json.containsKey("product")) { |
| 6327 product = _json["product"].map((value) => new Product.fromJson(value)).toL
ist(); | 6327 product = _json["product"].map((value) => new Product.fromJson(value)).toL
ist(); |
| 6328 } | 6328 } |
| 6329 if (_json.containsKey("tokenPagination")) { | 6329 if (_json.containsKey("tokenPagination")) { |
| 6330 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); | 6330 tokenPagination = new TokenPagination.fromJson(_json["tokenPagination"]); |
| 6331 } | 6331 } |
| 6332 } | 6332 } |
| 6333 | 6333 |
| 6334 core.Map toJson() { | 6334 core.Map<core.String, core.Object> toJson() { |
| 6335 var _json = new core.Map(); | 6335 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6336 if (kind != null) { | 6336 if (kind != null) { |
| 6337 _json["kind"] = kind; | 6337 _json["kind"] = kind; |
| 6338 } | 6338 } |
| 6339 if (pageInfo != null) { | 6339 if (pageInfo != null) { |
| 6340 _json["pageInfo"] = (pageInfo).toJson(); | 6340 _json["pageInfo"] = (pageInfo).toJson(); |
| 6341 } | 6341 } |
| 6342 if (product != null) { | 6342 if (product != null) { |
| 6343 _json["product"] = product.map((value) => (value).toJson()).toList(); | 6343 _json["product"] = product.map((value) => (value).toJson()).toList(); |
| 6344 } | 6344 } |
| 6345 if (tokenPagination != null) { | 6345 if (tokenPagination != null) { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 6374 key = new ServiceAccountKey.fromJson(_json["key"]); | 6374 key = new ServiceAccountKey.fromJson(_json["key"]); |
| 6375 } | 6375 } |
| 6376 if (_json.containsKey("kind")) { | 6376 if (_json.containsKey("kind")) { |
| 6377 kind = _json["kind"]; | 6377 kind = _json["kind"]; |
| 6378 } | 6378 } |
| 6379 if (_json.containsKey("name")) { | 6379 if (_json.containsKey("name")) { |
| 6380 name = _json["name"]; | 6380 name = _json["name"]; |
| 6381 } | 6381 } |
| 6382 } | 6382 } |
| 6383 | 6383 |
| 6384 core.Map toJson() { | 6384 core.Map<core.String, core.Object> toJson() { |
| 6385 var _json = new core.Map(); | 6385 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6386 if (key != null) { | 6386 if (key != null) { |
| 6387 _json["key"] = (key).toJson(); | 6387 _json["key"] = (key).toJson(); |
| 6388 } | 6388 } |
| 6389 if (kind != null) { | 6389 if (kind != null) { |
| 6390 _json["kind"] = kind; | 6390 _json["kind"] = kind; |
| 6391 } | 6391 } |
| 6392 if (name != null) { | 6392 if (name != null) { |
| 6393 _json["name"] = name; | 6393 _json["name"] = name; |
| 6394 } | 6394 } |
| 6395 return _json; | 6395 return _json; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6437 kind = _json["kind"]; | 6437 kind = _json["kind"]; |
| 6438 } | 6438 } |
| 6439 if (_json.containsKey("publicData")) { | 6439 if (_json.containsKey("publicData")) { |
| 6440 publicData = _json["publicData"]; | 6440 publicData = _json["publicData"]; |
| 6441 } | 6441 } |
| 6442 if (_json.containsKey("type")) { | 6442 if (_json.containsKey("type")) { |
| 6443 type = _json["type"]; | 6443 type = _json["type"]; |
| 6444 } | 6444 } |
| 6445 } | 6445 } |
| 6446 | 6446 |
| 6447 core.Map toJson() { | 6447 core.Map<core.String, core.Object> toJson() { |
| 6448 var _json = new core.Map(); | 6448 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6449 if (data != null) { | 6449 if (data != null) { |
| 6450 _json["data"] = data; | 6450 _json["data"] = data; |
| 6451 } | 6451 } |
| 6452 if (id != null) { | 6452 if (id != null) { |
| 6453 _json["id"] = id; | 6453 _json["id"] = id; |
| 6454 } | 6454 } |
| 6455 if (kind != null) { | 6455 if (kind != null) { |
| 6456 _json["kind"] = kind; | 6456 _json["kind"] = kind; |
| 6457 } | 6457 } |
| 6458 if (publicData != null) { | 6458 if (publicData != null) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 6470 core.List<ServiceAccountKey> serviceAccountKey; | 6470 core.List<ServiceAccountKey> serviceAccountKey; |
| 6471 | 6471 |
| 6472 ServiceAccountKeysListResponse(); | 6472 ServiceAccountKeysListResponse(); |
| 6473 | 6473 |
| 6474 ServiceAccountKeysListResponse.fromJson(core.Map _json) { | 6474 ServiceAccountKeysListResponse.fromJson(core.Map _json) { |
| 6475 if (_json.containsKey("serviceAccountKey")) { | 6475 if (_json.containsKey("serviceAccountKey")) { |
| 6476 serviceAccountKey = _json["serviceAccountKey"].map((value) => new ServiceA
ccountKey.fromJson(value)).toList(); | 6476 serviceAccountKey = _json["serviceAccountKey"].map((value) => new ServiceA
ccountKey.fromJson(value)).toList(); |
| 6477 } | 6477 } |
| 6478 } | 6478 } |
| 6479 | 6479 |
| 6480 core.Map toJson() { | 6480 core.Map<core.String, core.Object> toJson() { |
| 6481 var _json = new core.Map(); | 6481 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6482 if (serviceAccountKey != null) { | 6482 if (serviceAccountKey != null) { |
| 6483 _json["serviceAccountKey"] = serviceAccountKey.map((value) => (value).toJs
on()).toList(); | 6483 _json["serviceAccountKey"] = serviceAccountKey.map((value) => (value).toJs
on()).toList(); |
| 6484 } | 6484 } |
| 6485 return _json; | 6485 return _json; |
| 6486 } | 6486 } |
| 6487 } | 6487 } |
| 6488 | 6488 |
| 6489 /** | 6489 /** |
| 6490 * A resource returned by the GenerateSignupUrl API, which contains the Signup | 6490 * A resource returned by the GenerateSignupUrl API, which contains the Signup |
| 6491 * URL and Completion Token. | 6491 * URL and Completion Token. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 6514 completionToken = _json["completionToken"]; | 6514 completionToken = _json["completionToken"]; |
| 6515 } | 6515 } |
| 6516 if (_json.containsKey("kind")) { | 6516 if (_json.containsKey("kind")) { |
| 6517 kind = _json["kind"]; | 6517 kind = _json["kind"]; |
| 6518 } | 6518 } |
| 6519 if (_json.containsKey("url")) { | 6519 if (_json.containsKey("url")) { |
| 6520 url = _json["url"]; | 6520 url = _json["url"]; |
| 6521 } | 6521 } |
| 6522 } | 6522 } |
| 6523 | 6523 |
| 6524 core.Map toJson() { | 6524 core.Map<core.String, core.Object> toJson() { |
| 6525 var _json = new core.Map(); | 6525 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6526 if (completionToken != null) { | 6526 if (completionToken != null) { |
| 6527 _json["completionToken"] = completionToken; | 6527 _json["completionToken"] = completionToken; |
| 6528 } | 6528 } |
| 6529 if (kind != null) { | 6529 if (kind != null) { |
| 6530 _json["kind"] = kind; | 6530 _json["kind"] = kind; |
| 6531 } | 6531 } |
| 6532 if (url != null) { | 6532 if (url != null) { |
| 6533 _json["url"] = url; | 6533 _json["url"] = url; |
| 6534 } | 6534 } |
| 6535 return _json; | 6535 return _json; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6585 name = _json["name"].map((value) => new LocalizedText.fromJson(value)).toL
ist(); | 6585 name = _json["name"].map((value) => new LocalizedText.fromJson(value)).toL
ist(); |
| 6586 } | 6586 } |
| 6587 if (_json.containsKey("orderInPage")) { | 6587 if (_json.containsKey("orderInPage")) { |
| 6588 orderInPage = _json["orderInPage"]; | 6588 orderInPage = _json["orderInPage"]; |
| 6589 } | 6589 } |
| 6590 if (_json.containsKey("productId")) { | 6590 if (_json.containsKey("productId")) { |
| 6591 productId = _json["productId"]; | 6591 productId = _json["productId"]; |
| 6592 } | 6592 } |
| 6593 } | 6593 } |
| 6594 | 6594 |
| 6595 core.Map toJson() { | 6595 core.Map<core.String, core.Object> toJson() { |
| 6596 var _json = new core.Map(); | 6596 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6597 if (id != null) { | 6597 if (id != null) { |
| 6598 _json["id"] = id; | 6598 _json["id"] = id; |
| 6599 } | 6599 } |
| 6600 if (kind != null) { | 6600 if (kind != null) { |
| 6601 _json["kind"] = kind; | 6601 _json["kind"] = kind; |
| 6602 } | 6602 } |
| 6603 if (name != null) { | 6603 if (name != null) { |
| 6604 _json["name"] = name.map((value) => (value).toJson()).toList(); | 6604 _json["name"] = name.map((value) => (value).toJson()).toList(); |
| 6605 } | 6605 } |
| 6606 if (orderInPage != null) { | 6606 if (orderInPage != null) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6646 homepageId = _json["homepageId"]; | 6646 homepageId = _json["homepageId"]; |
| 6647 } | 6647 } |
| 6648 if (_json.containsKey("kind")) { | 6648 if (_json.containsKey("kind")) { |
| 6649 kind = _json["kind"]; | 6649 kind = _json["kind"]; |
| 6650 } | 6650 } |
| 6651 if (_json.containsKey("storeLayoutType")) { | 6651 if (_json.containsKey("storeLayoutType")) { |
| 6652 storeLayoutType = _json["storeLayoutType"]; | 6652 storeLayoutType = _json["storeLayoutType"]; |
| 6653 } | 6653 } |
| 6654 } | 6654 } |
| 6655 | 6655 |
| 6656 core.Map toJson() { | 6656 core.Map<core.String, core.Object> toJson() { |
| 6657 var _json = new core.Map(); | 6657 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6658 if (homepageId != null) { | 6658 if (homepageId != null) { |
| 6659 _json["homepageId"] = homepageId; | 6659 _json["homepageId"] = homepageId; |
| 6660 } | 6660 } |
| 6661 if (kind != null) { | 6661 if (kind != null) { |
| 6662 _json["kind"] = kind; | 6662 _json["kind"] = kind; |
| 6663 } | 6663 } |
| 6664 if (storeLayoutType != null) { | 6664 if (storeLayoutType != null) { |
| 6665 _json["storeLayoutType"] = storeLayoutType; | 6665 _json["storeLayoutType"] = storeLayoutType; |
| 6666 } | 6666 } |
| 6667 return _json; | 6667 return _json; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 6682 | 6682 |
| 6683 StoreLayoutClustersListResponse.fromJson(core.Map _json) { | 6683 StoreLayoutClustersListResponse.fromJson(core.Map _json) { |
| 6684 if (_json.containsKey("cluster")) { | 6684 if (_json.containsKey("cluster")) { |
| 6685 cluster = _json["cluster"].map((value) => new StoreCluster.fromJson(value)
).toList(); | 6685 cluster = _json["cluster"].map((value) => new StoreCluster.fromJson(value)
).toList(); |
| 6686 } | 6686 } |
| 6687 if (_json.containsKey("kind")) { | 6687 if (_json.containsKey("kind")) { |
| 6688 kind = _json["kind"]; | 6688 kind = _json["kind"]; |
| 6689 } | 6689 } |
| 6690 } | 6690 } |
| 6691 | 6691 |
| 6692 core.Map toJson() { | 6692 core.Map<core.String, core.Object> toJson() { |
| 6693 var _json = new core.Map(); | 6693 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6694 if (cluster != null) { | 6694 if (cluster != null) { |
| 6695 _json["cluster"] = cluster.map((value) => (value).toJson()).toList(); | 6695 _json["cluster"] = cluster.map((value) => (value).toJson()).toList(); |
| 6696 } | 6696 } |
| 6697 if (kind != null) { | 6697 if (kind != null) { |
| 6698 _json["kind"] = kind; | 6698 _json["kind"] = kind; |
| 6699 } | 6699 } |
| 6700 return _json; | 6700 return _json; |
| 6701 } | 6701 } |
| 6702 } | 6702 } |
| 6703 | 6703 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 6715 | 6715 |
| 6716 StoreLayoutPagesListResponse.fromJson(core.Map _json) { | 6716 StoreLayoutPagesListResponse.fromJson(core.Map _json) { |
| 6717 if (_json.containsKey("kind")) { | 6717 if (_json.containsKey("kind")) { |
| 6718 kind = _json["kind"]; | 6718 kind = _json["kind"]; |
| 6719 } | 6719 } |
| 6720 if (_json.containsKey("page")) { | 6720 if (_json.containsKey("page")) { |
| 6721 page = _json["page"].map((value) => new StorePage.fromJson(value)).toList(
); | 6721 page = _json["page"].map((value) => new StorePage.fromJson(value)).toList(
); |
| 6722 } | 6722 } |
| 6723 } | 6723 } |
| 6724 | 6724 |
| 6725 core.Map toJson() { | 6725 core.Map<core.String, core.Object> toJson() { |
| 6726 var _json = new core.Map(); | 6726 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6727 if (kind != null) { | 6727 if (kind != null) { |
| 6728 _json["kind"] = kind; | 6728 _json["kind"] = kind; |
| 6729 } | 6729 } |
| 6730 if (page != null) { | 6730 if (page != null) { |
| 6731 _json["page"] = page.map((value) => (value).toJson()).toList(); | 6731 _json["page"] = page.map((value) => (value).toJson()).toList(); |
| 6732 } | 6732 } |
| 6733 return _json; | 6733 return _json; |
| 6734 } | 6734 } |
| 6735 } | 6735 } |
| 6736 | 6736 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6777 kind = _json["kind"]; | 6777 kind = _json["kind"]; |
| 6778 } | 6778 } |
| 6779 if (_json.containsKey("link")) { | 6779 if (_json.containsKey("link")) { |
| 6780 link = _json["link"]; | 6780 link = _json["link"]; |
| 6781 } | 6781 } |
| 6782 if (_json.containsKey("name")) { | 6782 if (_json.containsKey("name")) { |
| 6783 name = _json["name"].map((value) => new LocalizedText.fromJson(value)).toL
ist(); | 6783 name = _json["name"].map((value) => new LocalizedText.fromJson(value)).toL
ist(); |
| 6784 } | 6784 } |
| 6785 } | 6785 } |
| 6786 | 6786 |
| 6787 core.Map toJson() { | 6787 core.Map<core.String, core.Object> toJson() { |
| 6788 var _json = new core.Map(); | 6788 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6789 if (id != null) { | 6789 if (id != null) { |
| 6790 _json["id"] = id; | 6790 _json["id"] = id; |
| 6791 } | 6791 } |
| 6792 if (kind != null) { | 6792 if (kind != null) { |
| 6793 _json["kind"] = kind; | 6793 _json["kind"] = kind; |
| 6794 } | 6794 } |
| 6795 if (link != null) { | 6795 if (link != null) { |
| 6796 _json["link"] = link; | 6796 _json["link"] = link; |
| 6797 } | 6797 } |
| 6798 if (name != null) { | 6798 if (name != null) { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 6810 | 6810 |
| 6811 TokenPagination.fromJson(core.Map _json) { | 6811 TokenPagination.fromJson(core.Map _json) { |
| 6812 if (_json.containsKey("nextPageToken")) { | 6812 if (_json.containsKey("nextPageToken")) { |
| 6813 nextPageToken = _json["nextPageToken"]; | 6813 nextPageToken = _json["nextPageToken"]; |
| 6814 } | 6814 } |
| 6815 if (_json.containsKey("previousPageToken")) { | 6815 if (_json.containsKey("previousPageToken")) { |
| 6816 previousPageToken = _json["previousPageToken"]; | 6816 previousPageToken = _json["previousPageToken"]; |
| 6817 } | 6817 } |
| 6818 } | 6818 } |
| 6819 | 6819 |
| 6820 core.Map toJson() { | 6820 core.Map<core.String, core.Object> toJson() { |
| 6821 var _json = new core.Map(); | 6821 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6822 if (nextPageToken != null) { | 6822 if (nextPageToken != null) { |
| 6823 _json["nextPageToken"] = nextPageToken; | 6823 _json["nextPageToken"] = nextPageToken; |
| 6824 } | 6824 } |
| 6825 if (previousPageToken != null) { | 6825 if (previousPageToken != null) { |
| 6826 _json["previousPageToken"] = previousPageToken; | 6826 _json["previousPageToken"] = previousPageToken; |
| 6827 } | 6827 } |
| 6828 return _json; | 6828 return _json; |
| 6829 } | 6829 } |
| 6830 } | 6830 } |
| 6831 | 6831 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6902 kind = _json["kind"]; | 6902 kind = _json["kind"]; |
| 6903 } | 6903 } |
| 6904 if (_json.containsKey("managementType")) { | 6904 if (_json.containsKey("managementType")) { |
| 6905 managementType = _json["managementType"]; | 6905 managementType = _json["managementType"]; |
| 6906 } | 6906 } |
| 6907 if (_json.containsKey("primaryEmail")) { | 6907 if (_json.containsKey("primaryEmail")) { |
| 6908 primaryEmail = _json["primaryEmail"]; | 6908 primaryEmail = _json["primaryEmail"]; |
| 6909 } | 6909 } |
| 6910 } | 6910 } |
| 6911 | 6911 |
| 6912 core.Map toJson() { | 6912 core.Map<core.String, core.Object> toJson() { |
| 6913 var _json = new core.Map(); | 6913 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6914 if (accountIdentifier != null) { | 6914 if (accountIdentifier != null) { |
| 6915 _json["accountIdentifier"] = accountIdentifier; | 6915 _json["accountIdentifier"] = accountIdentifier; |
| 6916 } | 6916 } |
| 6917 if (accountType != null) { | 6917 if (accountType != null) { |
| 6918 _json["accountType"] = accountType; | 6918 _json["accountType"] = accountType; |
| 6919 } | 6919 } |
| 6920 if (displayName != null) { | 6920 if (displayName != null) { |
| 6921 _json["displayName"] = displayName; | 6921 _json["displayName"] = displayName; |
| 6922 } | 6922 } |
| 6923 if (id != null) { | 6923 if (id != null) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6963 kind = _json["kind"]; | 6963 kind = _json["kind"]; |
| 6964 } | 6964 } |
| 6965 if (_json.containsKey("token")) { | 6965 if (_json.containsKey("token")) { |
| 6966 token = _json["token"]; | 6966 token = _json["token"]; |
| 6967 } | 6967 } |
| 6968 if (_json.containsKey("userId")) { | 6968 if (_json.containsKey("userId")) { |
| 6969 userId = _json["userId"]; | 6969 userId = _json["userId"]; |
| 6970 } | 6970 } |
| 6971 } | 6971 } |
| 6972 | 6972 |
| 6973 core.Map toJson() { | 6973 core.Map<core.String, core.Object> toJson() { |
| 6974 var _json = new core.Map(); | 6974 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 6975 if (kind != null) { | 6975 if (kind != null) { |
| 6976 _json["kind"] = kind; | 6976 _json["kind"] = kind; |
| 6977 } | 6977 } |
| 6978 if (token != null) { | 6978 if (token != null) { |
| 6979 _json["token"] = token; | 6979 _json["token"] = token; |
| 6980 } | 6980 } |
| 6981 if (userId != null) { | 6981 if (userId != null) { |
| 6982 _json["userId"] = userId; | 6982 _json["userId"] = userId; |
| 6983 } | 6983 } |
| 6984 return _json; | 6984 return _json; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 6999 | 6999 |
| 7000 UsersListResponse.fromJson(core.Map _json) { | 7000 UsersListResponse.fromJson(core.Map _json) { |
| 7001 if (_json.containsKey("kind")) { | 7001 if (_json.containsKey("kind")) { |
| 7002 kind = _json["kind"]; | 7002 kind = _json["kind"]; |
| 7003 } | 7003 } |
| 7004 if (_json.containsKey("user")) { | 7004 if (_json.containsKey("user")) { |
| 7005 user = _json["user"].map((value) => new User.fromJson(value)).toList(); | 7005 user = _json["user"].map((value) => new User.fromJson(value)).toList(); |
| 7006 } | 7006 } |
| 7007 } | 7007 } |
| 7008 | 7008 |
| 7009 core.Map toJson() { | 7009 core.Map<core.String, core.Object> toJson() { |
| 7010 var _json = new core.Map(); | 7010 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 7011 if (kind != null) { | 7011 if (kind != null) { |
| 7012 _json["kind"] = kind; | 7012 _json["kind"] = kind; |
| 7013 } | 7013 } |
| 7014 if (user != null) { | 7014 if (user != null) { |
| 7015 _json["user"] = user.map((value) => (value).toJson()).toList(); | 7015 _json["user"] = user.map((value) => (value).toJson()).toList(); |
| 7016 } | 7016 } |
| 7017 return _json; | 7017 return _json; |
| 7018 } | 7018 } |
| 7019 } | 7019 } |
| OLD | NEW |