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.admin.directory_v1; | 3 library googleapis.admin.directory_v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
9 | 9 |
10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
(...skipping 5004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5015 id = _json["id"]; | 5015 id = _json["id"]; |
5016 } | 5016 } |
5017 if (_json.containsKey("kind")) { | 5017 if (_json.containsKey("kind")) { |
5018 kind = _json["kind"]; | 5018 kind = _json["kind"]; |
5019 } | 5019 } |
5020 if (_json.containsKey("primaryEmail")) { | 5020 if (_json.containsKey("primaryEmail")) { |
5021 primaryEmail = _json["primaryEmail"]; | 5021 primaryEmail = _json["primaryEmail"]; |
5022 } | 5022 } |
5023 } | 5023 } |
5024 | 5024 |
5025 core.Map toJson() { | 5025 core.Map<core.String, core.Object> toJson() { |
5026 var _json = new core.Map(); | 5026 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5027 if (alias != null) { | 5027 if (alias != null) { |
5028 _json["alias"] = alias; | 5028 _json["alias"] = alias; |
5029 } | 5029 } |
5030 if (etag != null) { | 5030 if (etag != null) { |
5031 _json["etag"] = etag; | 5031 _json["etag"] = etag; |
5032 } | 5032 } |
5033 if (id != null) { | 5033 if (id != null) { |
5034 _json["id"] = id; | 5034 _json["id"] = id; |
5035 } | 5035 } |
5036 if (kind != null) { | 5036 if (kind != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
5064 aliases = _json["aliases"]; | 5064 aliases = _json["aliases"]; |
5065 } | 5065 } |
5066 if (_json.containsKey("etag")) { | 5066 if (_json.containsKey("etag")) { |
5067 etag = _json["etag"]; | 5067 etag = _json["etag"]; |
5068 } | 5068 } |
5069 if (_json.containsKey("kind")) { | 5069 if (_json.containsKey("kind")) { |
5070 kind = _json["kind"]; | 5070 kind = _json["kind"]; |
5071 } | 5071 } |
5072 } | 5072 } |
5073 | 5073 |
5074 core.Map toJson() { | 5074 core.Map<core.String, core.Object> toJson() { |
5075 var _json = new core.Map(); | 5075 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5076 if (aliases != null) { | 5076 if (aliases != null) { |
5077 _json["aliases"] = aliases; | 5077 _json["aliases"] = aliases; |
5078 } | 5078 } |
5079 if (etag != null) { | 5079 if (etag != null) { |
5080 _json["etag"] = etag; | 5080 _json["etag"] = etag; |
5081 } | 5081 } |
5082 if (kind != null) { | 5082 if (kind != null) { |
5083 _json["kind"] = kind; | 5083 _json["kind"] = kind; |
5084 } | 5084 } |
5085 return _json; | 5085 return _json; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5125 lastTimeUsed = _json["lastTimeUsed"]; | 5125 lastTimeUsed = _json["lastTimeUsed"]; |
5126 } | 5126 } |
5127 if (_json.containsKey("name")) { | 5127 if (_json.containsKey("name")) { |
5128 name = _json["name"]; | 5128 name = _json["name"]; |
5129 } | 5129 } |
5130 if (_json.containsKey("userKey")) { | 5130 if (_json.containsKey("userKey")) { |
5131 userKey = _json["userKey"]; | 5131 userKey = _json["userKey"]; |
5132 } | 5132 } |
5133 } | 5133 } |
5134 | 5134 |
5135 core.Map toJson() { | 5135 core.Map<core.String, core.Object> toJson() { |
5136 var _json = new core.Map(); | 5136 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5137 if (codeId != null) { | 5137 if (codeId != null) { |
5138 _json["codeId"] = codeId; | 5138 _json["codeId"] = codeId; |
5139 } | 5139 } |
5140 if (creationTime != null) { | 5140 if (creationTime != null) { |
5141 _json["creationTime"] = creationTime; | 5141 _json["creationTime"] = creationTime; |
5142 } | 5142 } |
5143 if (etag != null) { | 5143 if (etag != null) { |
5144 _json["etag"] = etag; | 5144 _json["etag"] = etag; |
5145 } | 5145 } |
5146 if (kind != null) { | 5146 if (kind != null) { |
(...skipping 27 matching lines...) Expand all Loading... |
5174 etag = _json["etag"]; | 5174 etag = _json["etag"]; |
5175 } | 5175 } |
5176 if (_json.containsKey("items")) { | 5176 if (_json.containsKey("items")) { |
5177 items = _json["items"].map((value) => new Asp.fromJson(value)).toList(); | 5177 items = _json["items"].map((value) => new Asp.fromJson(value)).toList(); |
5178 } | 5178 } |
5179 if (_json.containsKey("kind")) { | 5179 if (_json.containsKey("kind")) { |
5180 kind = _json["kind"]; | 5180 kind = _json["kind"]; |
5181 } | 5181 } |
5182 } | 5182 } |
5183 | 5183 |
5184 core.Map toJson() { | 5184 core.Map<core.String, core.Object> toJson() { |
5185 var _json = new core.Map(); | 5185 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5186 if (etag != null) { | 5186 if (etag != null) { |
5187 _json["etag"] = etag; | 5187 _json["etag"] = etag; |
5188 } | 5188 } |
5189 if (items != null) { | 5189 if (items != null) { |
5190 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5190 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5191 } | 5191 } |
5192 if (kind != null) { | 5192 if (kind != null) { |
5193 _json["kind"] = kind; | 5193 _json["kind"] = kind; |
5194 } | 5194 } |
5195 return _json; | 5195 return _json; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5241 resourceId = _json["resourceId"]; | 5241 resourceId = _json["resourceId"]; |
5242 } | 5242 } |
5243 if (_json.containsKey("resourceName")) { | 5243 if (_json.containsKey("resourceName")) { |
5244 resourceName = _json["resourceName"]; | 5244 resourceName = _json["resourceName"]; |
5245 } | 5245 } |
5246 if (_json.containsKey("resourceType")) { | 5246 if (_json.containsKey("resourceType")) { |
5247 resourceType = _json["resourceType"]; | 5247 resourceType = _json["resourceType"]; |
5248 } | 5248 } |
5249 } | 5249 } |
5250 | 5250 |
5251 core.Map toJson() { | 5251 core.Map<core.String, core.Object> toJson() { |
5252 var _json = new core.Map(); | 5252 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5253 if (etags != null) { | 5253 if (etags != null) { |
5254 _json["etags"] = etags; | 5254 _json["etags"] = etags; |
5255 } | 5255 } |
5256 if (kind != null) { | 5256 if (kind != null) { |
5257 _json["kind"] = kind; | 5257 _json["kind"] = kind; |
5258 } | 5258 } |
5259 if (resourceDescription != null) { | 5259 if (resourceDescription != null) { |
5260 _json["resourceDescription"] = resourceDescription; | 5260 _json["resourceDescription"] = resourceDescription; |
5261 } | 5261 } |
5262 if (resourceEmail != null) { | 5262 if (resourceEmail != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5304 items = _json["items"].map((value) => new CalendarResource.fromJson(value)
).toList(); | 5304 items = _json["items"].map((value) => new CalendarResource.fromJson(value)
).toList(); |
5305 } | 5305 } |
5306 if (_json.containsKey("kind")) { | 5306 if (_json.containsKey("kind")) { |
5307 kind = _json["kind"]; | 5307 kind = _json["kind"]; |
5308 } | 5308 } |
5309 if (_json.containsKey("nextPageToken")) { | 5309 if (_json.containsKey("nextPageToken")) { |
5310 nextPageToken = _json["nextPageToken"]; | 5310 nextPageToken = _json["nextPageToken"]; |
5311 } | 5311 } |
5312 } | 5312 } |
5313 | 5313 |
5314 core.Map toJson() { | 5314 core.Map<core.String, core.Object> toJson() { |
5315 var _json = new core.Map(); | 5315 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5316 if (etag != null) { | 5316 if (etag != null) { |
5317 _json["etag"] = etag; | 5317 _json["etag"] = etag; |
5318 } | 5318 } |
5319 if (items != null) { | 5319 if (items != null) { |
5320 _json["items"] = items.map((value) => (value).toJson()).toList(); | 5320 _json["items"] = items.map((value) => (value).toJson()).toList(); |
5321 } | 5321 } |
5322 if (kind != null) { | 5322 if (kind != null) { |
5323 _json["kind"] = kind; | 5323 _json["kind"] = kind; |
5324 } | 5324 } |
5325 if (nextPageToken != null) { | 5325 if (nextPageToken != null) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5392 resourceUri = _json["resourceUri"]; | 5392 resourceUri = _json["resourceUri"]; |
5393 } | 5393 } |
5394 if (_json.containsKey("token")) { | 5394 if (_json.containsKey("token")) { |
5395 token = _json["token"]; | 5395 token = _json["token"]; |
5396 } | 5396 } |
5397 if (_json.containsKey("type")) { | 5397 if (_json.containsKey("type")) { |
5398 type = _json["type"]; | 5398 type = _json["type"]; |
5399 } | 5399 } |
5400 } | 5400 } |
5401 | 5401 |
5402 core.Map toJson() { | 5402 core.Map<core.String, core.Object> toJson() { |
5403 var _json = new core.Map(); | 5403 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5404 if (address != null) { | 5404 if (address != null) { |
5405 _json["address"] = address; | 5405 _json["address"] = address; |
5406 } | 5406 } |
5407 if (expiration != null) { | 5407 if (expiration != null) { |
5408 _json["expiration"] = expiration; | 5408 _json["expiration"] = expiration; |
5409 } | 5409 } |
5410 if (id != null) { | 5410 if (id != null) { |
5411 _json["id"] = id; | 5411 _json["id"] = id; |
5412 } | 5412 } |
5413 if (kind != null) { | 5413 if (kind != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5445 | 5445 |
5446 ChromeOsDeviceActiveTimeRanges.fromJson(core.Map _json) { | 5446 ChromeOsDeviceActiveTimeRanges.fromJson(core.Map _json) { |
5447 if (_json.containsKey("activeTime")) { | 5447 if (_json.containsKey("activeTime")) { |
5448 activeTime = _json["activeTime"]; | 5448 activeTime = _json["activeTime"]; |
5449 } | 5449 } |
5450 if (_json.containsKey("date")) { | 5450 if (_json.containsKey("date")) { |
5451 date = core.DateTime.parse(_json["date"]); | 5451 date = core.DateTime.parse(_json["date"]); |
5452 } | 5452 } |
5453 } | 5453 } |
5454 | 5454 |
5455 core.Map toJson() { | 5455 core.Map<core.String, core.Object> toJson() { |
5456 var _json = new core.Map(); | 5456 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5457 if (activeTime != null) { | 5457 if (activeTime != null) { |
5458 _json["activeTime"] = activeTime; | 5458 _json["activeTime"] = activeTime; |
5459 } | 5459 } |
5460 if (date != null) { | 5460 if (date != null) { |
5461 _json["date"] = "${(date).year.toString().padLeft(4, '0')}-${(date).month.
toString().padLeft(2, '0')}-${(date).day.toString().padLeft(2, '0')}"; | 5461 _json["date"] = "${(date).year.toString().padLeft(4, '0')}-${(date).month.
toString().padLeft(2, '0')}-${(date).day.toString().padLeft(2, '0')}"; |
5462 } | 5462 } |
5463 return _json; | 5463 return _json; |
5464 } | 5464 } |
5465 } | 5465 } |
5466 | 5466 |
5467 class ChromeOsDeviceRecentUsers { | 5467 class ChromeOsDeviceRecentUsers { |
5468 /** Email address of the user. Present only if the user type is managed */ | 5468 /** Email address of the user. Present only if the user type is managed */ |
5469 core.String email; | 5469 core.String email; |
5470 /** The type of the user */ | 5470 /** The type of the user */ |
5471 core.String type; | 5471 core.String type; |
5472 | 5472 |
5473 ChromeOsDeviceRecentUsers(); | 5473 ChromeOsDeviceRecentUsers(); |
5474 | 5474 |
5475 ChromeOsDeviceRecentUsers.fromJson(core.Map _json) { | 5475 ChromeOsDeviceRecentUsers.fromJson(core.Map _json) { |
5476 if (_json.containsKey("email")) { | 5476 if (_json.containsKey("email")) { |
5477 email = _json["email"]; | 5477 email = _json["email"]; |
5478 } | 5478 } |
5479 if (_json.containsKey("type")) { | 5479 if (_json.containsKey("type")) { |
5480 type = _json["type"]; | 5480 type = _json["type"]; |
5481 } | 5481 } |
5482 } | 5482 } |
5483 | 5483 |
5484 core.Map toJson() { | 5484 core.Map<core.String, core.Object> toJson() { |
5485 var _json = new core.Map(); | 5485 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5486 if (email != null) { | 5486 if (email != null) { |
5487 _json["email"] = email; | 5487 _json["email"] = email; |
5488 } | 5488 } |
5489 if (type != null) { | 5489 if (type != null) { |
5490 _json["type"] = type; | 5490 _json["type"] = type; |
5491 } | 5491 } |
5492 return _json; | 5492 return _json; |
5493 } | 5493 } |
5494 } | 5494 } |
5495 | 5495 |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5628 status = _json["status"]; | 5628 status = _json["status"]; |
5629 } | 5629 } |
5630 if (_json.containsKey("supportEndDate")) { | 5630 if (_json.containsKey("supportEndDate")) { |
5631 supportEndDate = core.DateTime.parse(_json["supportEndDate"]); | 5631 supportEndDate = core.DateTime.parse(_json["supportEndDate"]); |
5632 } | 5632 } |
5633 if (_json.containsKey("willAutoRenew")) { | 5633 if (_json.containsKey("willAutoRenew")) { |
5634 willAutoRenew = _json["willAutoRenew"]; | 5634 willAutoRenew = _json["willAutoRenew"]; |
5635 } | 5635 } |
5636 } | 5636 } |
5637 | 5637 |
5638 core.Map toJson() { | 5638 core.Map<core.String, core.Object> toJson() { |
5639 var _json = new core.Map(); | 5639 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5640 if (activeTimeRanges != null) { | 5640 if (activeTimeRanges != null) { |
5641 _json["activeTimeRanges"] = activeTimeRanges.map((value) => (value).toJson
()).toList(); | 5641 _json["activeTimeRanges"] = activeTimeRanges.map((value) => (value).toJson
()).toList(); |
5642 } | 5642 } |
5643 if (annotatedAssetId != null) { | 5643 if (annotatedAssetId != null) { |
5644 _json["annotatedAssetId"] = annotatedAssetId; | 5644 _json["annotatedAssetId"] = annotatedAssetId; |
5645 } | 5645 } |
5646 if (annotatedLocation != null) { | 5646 if (annotatedLocation != null) { |
5647 _json["annotatedLocation"] = annotatedLocation; | 5647 _json["annotatedLocation"] = annotatedLocation; |
5648 } | 5648 } |
5649 if (annotatedUser != null) { | 5649 if (annotatedUser != null) { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5729 | 5729 |
5730 ChromeOsDeviceAction.fromJson(core.Map _json) { | 5730 ChromeOsDeviceAction.fromJson(core.Map _json) { |
5731 if (_json.containsKey("action")) { | 5731 if (_json.containsKey("action")) { |
5732 action = _json["action"]; | 5732 action = _json["action"]; |
5733 } | 5733 } |
5734 if (_json.containsKey("deprovisionReason")) { | 5734 if (_json.containsKey("deprovisionReason")) { |
5735 deprovisionReason = _json["deprovisionReason"]; | 5735 deprovisionReason = _json["deprovisionReason"]; |
5736 } | 5736 } |
5737 } | 5737 } |
5738 | 5738 |
5739 core.Map toJson() { | 5739 core.Map<core.String, core.Object> toJson() { |
5740 var _json = new core.Map(); | 5740 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5741 if (action != null) { | 5741 if (action != null) { |
5742 _json["action"] = action; | 5742 _json["action"] = action; |
5743 } | 5743 } |
5744 if (deprovisionReason != null) { | 5744 if (deprovisionReason != null) { |
5745 _json["deprovisionReason"] = deprovisionReason; | 5745 _json["deprovisionReason"] = deprovisionReason; |
5746 } | 5746 } |
5747 return _json; | 5747 return _json; |
5748 } | 5748 } |
5749 } | 5749 } |
5750 | 5750 |
(...skipping 20 matching lines...) Expand all Loading... |
5771 etag = _json["etag"]; | 5771 etag = _json["etag"]; |
5772 } | 5772 } |
5773 if (_json.containsKey("kind")) { | 5773 if (_json.containsKey("kind")) { |
5774 kind = _json["kind"]; | 5774 kind = _json["kind"]; |
5775 } | 5775 } |
5776 if (_json.containsKey("nextPageToken")) { | 5776 if (_json.containsKey("nextPageToken")) { |
5777 nextPageToken = _json["nextPageToken"]; | 5777 nextPageToken = _json["nextPageToken"]; |
5778 } | 5778 } |
5779 } | 5779 } |
5780 | 5780 |
5781 core.Map toJson() { | 5781 core.Map<core.String, core.Object> toJson() { |
5782 var _json = new core.Map(); | 5782 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5783 if (chromeosdevices != null) { | 5783 if (chromeosdevices != null) { |
5784 _json["chromeosdevices"] = chromeosdevices.map((value) => (value).toJson()
).toList(); | 5784 _json["chromeosdevices"] = chromeosdevices.map((value) => (value).toJson()
).toList(); |
5785 } | 5785 } |
5786 if (etag != null) { | 5786 if (etag != null) { |
5787 _json["etag"] = etag; | 5787 _json["etag"] = etag; |
5788 } | 5788 } |
5789 if (kind != null) { | 5789 if (kind != null) { |
5790 _json["kind"] = kind; | 5790 _json["kind"] = kind; |
5791 } | 5791 } |
5792 if (nextPageToken != null) { | 5792 if (nextPageToken != null) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5848 language = _json["language"]; | 5848 language = _json["language"]; |
5849 } | 5849 } |
5850 if (_json.containsKey("phoneNumber")) { | 5850 if (_json.containsKey("phoneNumber")) { |
5851 phoneNumber = _json["phoneNumber"]; | 5851 phoneNumber = _json["phoneNumber"]; |
5852 } | 5852 } |
5853 if (_json.containsKey("postalAddress")) { | 5853 if (_json.containsKey("postalAddress")) { |
5854 postalAddress = new CustomerPostalAddress.fromJson(_json["postalAddress"])
; | 5854 postalAddress = new CustomerPostalAddress.fromJson(_json["postalAddress"])
; |
5855 } | 5855 } |
5856 } | 5856 } |
5857 | 5857 |
5858 core.Map toJson() { | 5858 core.Map<core.String, core.Object> toJson() { |
5859 var _json = new core.Map(); | 5859 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5860 if (alternateEmail != null) { | 5860 if (alternateEmail != null) { |
5861 _json["alternateEmail"] = alternateEmail; | 5861 _json["alternateEmail"] = alternateEmail; |
5862 } | 5862 } |
5863 if (customerCreationTime != null) { | 5863 if (customerCreationTime != null) { |
5864 _json["customerCreationTime"] = (customerCreationTime).toIso8601String(); | 5864 _json["customerCreationTime"] = (customerCreationTime).toIso8601String(); |
5865 } | 5865 } |
5866 if (customerDomain != null) { | 5866 if (customerDomain != null) { |
5867 _json["customerDomain"] = customerDomain; | 5867 _json["customerDomain"] = customerDomain; |
5868 } | 5868 } |
5869 if (etag != null) { | 5869 if (etag != null) { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5950 organizationName = _json["organizationName"]; | 5950 organizationName = _json["organizationName"]; |
5951 } | 5951 } |
5952 if (_json.containsKey("postalCode")) { | 5952 if (_json.containsKey("postalCode")) { |
5953 postalCode = _json["postalCode"]; | 5953 postalCode = _json["postalCode"]; |
5954 } | 5954 } |
5955 if (_json.containsKey("region")) { | 5955 if (_json.containsKey("region")) { |
5956 region = _json["region"]; | 5956 region = _json["region"]; |
5957 } | 5957 } |
5958 } | 5958 } |
5959 | 5959 |
5960 core.Map toJson() { | 5960 core.Map<core.String, core.Object> toJson() { |
5961 var _json = new core.Map(); | 5961 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
5962 if (addressLine1 != null) { | 5962 if (addressLine1 != null) { |
5963 _json["addressLine1"] = addressLine1; | 5963 _json["addressLine1"] = addressLine1; |
5964 } | 5964 } |
5965 if (addressLine2 != null) { | 5965 if (addressLine2 != null) { |
5966 _json["addressLine2"] = addressLine2; | 5966 _json["addressLine2"] = addressLine2; |
5967 } | 5967 } |
5968 if (addressLine3 != null) { | 5968 if (addressLine3 != null) { |
5969 _json["addressLine3"] = addressLine3; | 5969 _json["addressLine3"] = addressLine3; |
5970 } | 5970 } |
5971 if (contactName != null) { | 5971 if (contactName != null) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6024 kind = _json["kind"]; | 6024 kind = _json["kind"]; |
6025 } | 6025 } |
6026 if (_json.containsKey("parentDomainName")) { | 6026 if (_json.containsKey("parentDomainName")) { |
6027 parentDomainName = _json["parentDomainName"]; | 6027 parentDomainName = _json["parentDomainName"]; |
6028 } | 6028 } |
6029 if (_json.containsKey("verified")) { | 6029 if (_json.containsKey("verified")) { |
6030 verified = _json["verified"]; | 6030 verified = _json["verified"]; |
6031 } | 6031 } |
6032 } | 6032 } |
6033 | 6033 |
6034 core.Map toJson() { | 6034 core.Map<core.String, core.Object> toJson() { |
6035 var _json = new core.Map(); | 6035 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6036 if (creationTime != null) { | 6036 if (creationTime != null) { |
6037 _json["creationTime"] = creationTime; | 6037 _json["creationTime"] = creationTime; |
6038 } | 6038 } |
6039 if (domainAliasName != null) { | 6039 if (domainAliasName != null) { |
6040 _json["domainAliasName"] = domainAliasName; | 6040 _json["domainAliasName"] = domainAliasName; |
6041 } | 6041 } |
6042 if (etag != null) { | 6042 if (etag != null) { |
6043 _json["etag"] = etag; | 6043 _json["etag"] = etag; |
6044 } | 6044 } |
6045 if (kind != null) { | 6045 if (kind != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
6071 domainAliases = _json["domainAliases"].map((value) => new DomainAlias.from
Json(value)).toList(); | 6071 domainAliases = _json["domainAliases"].map((value) => new DomainAlias.from
Json(value)).toList(); |
6072 } | 6072 } |
6073 if (_json.containsKey("etag")) { | 6073 if (_json.containsKey("etag")) { |
6074 etag = _json["etag"]; | 6074 etag = _json["etag"]; |
6075 } | 6075 } |
6076 if (_json.containsKey("kind")) { | 6076 if (_json.containsKey("kind")) { |
6077 kind = _json["kind"]; | 6077 kind = _json["kind"]; |
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 (domainAliases != null) { | 6083 if (domainAliases != null) { |
6084 _json["domainAliases"] = domainAliases.map((value) => (value).toJson()).to
List(); | 6084 _json["domainAliases"] = domainAliases.map((value) => (value).toJson()).to
List(); |
6085 } | 6085 } |
6086 if (etag != null) { | 6086 if (etag != null) { |
6087 _json["etag"] = etag; | 6087 _json["etag"] = etag; |
6088 } | 6088 } |
6089 if (kind != null) { | 6089 if (kind != null) { |
6090 _json["kind"] = kind; | 6090 _json["kind"] = kind; |
6091 } | 6091 } |
6092 return _json; | 6092 return _json; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6129 isPrimary = _json["isPrimary"]; | 6129 isPrimary = _json["isPrimary"]; |
6130 } | 6130 } |
6131 if (_json.containsKey("kind")) { | 6131 if (_json.containsKey("kind")) { |
6132 kind = _json["kind"]; | 6132 kind = _json["kind"]; |
6133 } | 6133 } |
6134 if (_json.containsKey("verified")) { | 6134 if (_json.containsKey("verified")) { |
6135 verified = _json["verified"]; | 6135 verified = _json["verified"]; |
6136 } | 6136 } |
6137 } | 6137 } |
6138 | 6138 |
6139 core.Map toJson() { | 6139 core.Map<core.String, core.Object> toJson() { |
6140 var _json = new core.Map(); | 6140 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6141 if (creationTime != null) { | 6141 if (creationTime != null) { |
6142 _json["creationTime"] = creationTime; | 6142 _json["creationTime"] = creationTime; |
6143 } | 6143 } |
6144 if (domainAliases != null) { | 6144 if (domainAliases != null) { |
6145 _json["domainAliases"] = domainAliases.map((value) => (value).toJson()).to
List(); | 6145 _json["domainAliases"] = domainAliases.map((value) => (value).toJson()).to
List(); |
6146 } | 6146 } |
6147 if (domainName != null) { | 6147 if (domainName != null) { |
6148 _json["domainName"] = domainName; | 6148 _json["domainName"] = domainName; |
6149 } | 6149 } |
6150 if (etag != null) { | 6150 if (etag != null) { |
(...skipping 28 matching lines...) Expand all Loading... |
6179 domains = _json["domains"].map((value) => new Domains.fromJson(value)).toL
ist(); | 6179 domains = _json["domains"].map((value) => new Domains.fromJson(value)).toL
ist(); |
6180 } | 6180 } |
6181 if (_json.containsKey("etag")) { | 6181 if (_json.containsKey("etag")) { |
6182 etag = _json["etag"]; | 6182 etag = _json["etag"]; |
6183 } | 6183 } |
6184 if (_json.containsKey("kind")) { | 6184 if (_json.containsKey("kind")) { |
6185 kind = _json["kind"]; | 6185 kind = _json["kind"]; |
6186 } | 6186 } |
6187 } | 6187 } |
6188 | 6188 |
6189 core.Map toJson() { | 6189 core.Map<core.String, core.Object> toJson() { |
6190 var _json = new core.Map(); | 6190 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6191 if (domains != null) { | 6191 if (domains != null) { |
6192 _json["domains"] = domains.map((value) => (value).toJson()).toList(); | 6192 _json["domains"] = domains.map((value) => (value).toJson()).toList(); |
6193 } | 6193 } |
6194 if (etag != null) { | 6194 if (etag != null) { |
6195 _json["etag"] = etag; | 6195 _json["etag"] = etag; |
6196 } | 6196 } |
6197 if (kind != null) { | 6197 if (kind != null) { |
6198 _json["kind"] = kind; | 6198 _json["kind"] = kind; |
6199 } | 6199 } |
6200 return _json; | 6200 return _json; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6252 kind = _json["kind"]; | 6252 kind = _json["kind"]; |
6253 } | 6253 } |
6254 if (_json.containsKey("name")) { | 6254 if (_json.containsKey("name")) { |
6255 name = _json["name"]; | 6255 name = _json["name"]; |
6256 } | 6256 } |
6257 if (_json.containsKey("nonEditableAliases")) { | 6257 if (_json.containsKey("nonEditableAliases")) { |
6258 nonEditableAliases = _json["nonEditableAliases"]; | 6258 nonEditableAliases = _json["nonEditableAliases"]; |
6259 } | 6259 } |
6260 } | 6260 } |
6261 | 6261 |
6262 core.Map toJson() { | 6262 core.Map<core.String, core.Object> toJson() { |
6263 var _json = new core.Map(); | 6263 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6264 if (adminCreated != null) { | 6264 if (adminCreated != null) { |
6265 _json["adminCreated"] = adminCreated; | 6265 _json["adminCreated"] = adminCreated; |
6266 } | 6266 } |
6267 if (aliases != null) { | 6267 if (aliases != null) { |
6268 _json["aliases"] = aliases; | 6268 _json["aliases"] = aliases; |
6269 } | 6269 } |
6270 if (description != null) { | 6270 if (description != null) { |
6271 _json["description"] = description; | 6271 _json["description"] = description; |
6272 } | 6272 } |
6273 if (directMembersCount != null) { | 6273 if (directMembersCount != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6316 groups = _json["groups"].map((value) => new Group.fromJson(value)).toList(
); | 6316 groups = _json["groups"].map((value) => new Group.fromJson(value)).toList(
); |
6317 } | 6317 } |
6318 if (_json.containsKey("kind")) { | 6318 if (_json.containsKey("kind")) { |
6319 kind = _json["kind"]; | 6319 kind = _json["kind"]; |
6320 } | 6320 } |
6321 if (_json.containsKey("nextPageToken")) { | 6321 if (_json.containsKey("nextPageToken")) { |
6322 nextPageToken = _json["nextPageToken"]; | 6322 nextPageToken = _json["nextPageToken"]; |
6323 } | 6323 } |
6324 } | 6324 } |
6325 | 6325 |
6326 core.Map toJson() { | 6326 core.Map<core.String, core.Object> toJson() { |
6327 var _json = new core.Map(); | 6327 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6328 if (etag != null) { | 6328 if (etag != null) { |
6329 _json["etag"] = etag; | 6329 _json["etag"] = etag; |
6330 } | 6330 } |
6331 if (groups != null) { | 6331 if (groups != null) { |
6332 _json["groups"] = groups.map((value) => (value).toJson()).toList(); | 6332 _json["groups"] = groups.map((value) => (value).toJson()).toList(); |
6333 } | 6333 } |
6334 if (kind != null) { | 6334 if (kind != null) { |
6335 _json["kind"] = kind; | 6335 _json["kind"] = kind; |
6336 } | 6336 } |
6337 if (nextPageToken != null) { | 6337 if (nextPageToken != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6380 role = _json["role"]; | 6380 role = _json["role"]; |
6381 } | 6381 } |
6382 if (_json.containsKey("status")) { | 6382 if (_json.containsKey("status")) { |
6383 status = _json["status"]; | 6383 status = _json["status"]; |
6384 } | 6384 } |
6385 if (_json.containsKey("type")) { | 6385 if (_json.containsKey("type")) { |
6386 type = _json["type"]; | 6386 type = _json["type"]; |
6387 } | 6387 } |
6388 } | 6388 } |
6389 | 6389 |
6390 core.Map toJson() { | 6390 core.Map<core.String, core.Object> toJson() { |
6391 var _json = new core.Map(); | 6391 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6392 if (email != null) { | 6392 if (email != null) { |
6393 _json["email"] = email; | 6393 _json["email"] = email; |
6394 } | 6394 } |
6395 if (etag != null) { | 6395 if (etag != null) { |
6396 _json["etag"] = etag; | 6396 _json["etag"] = etag; |
6397 } | 6397 } |
6398 if (id != null) { | 6398 if (id != null) { |
6399 _json["id"] = id; | 6399 _json["id"] = id; |
6400 } | 6400 } |
6401 if (kind != null) { | 6401 if (kind != null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6435 kind = _json["kind"]; | 6435 kind = _json["kind"]; |
6436 } | 6436 } |
6437 if (_json.containsKey("members")) { | 6437 if (_json.containsKey("members")) { |
6438 members = _json["members"].map((value) => new Member.fromJson(value)).toLi
st(); | 6438 members = _json["members"].map((value) => new Member.fromJson(value)).toLi
st(); |
6439 } | 6439 } |
6440 if (_json.containsKey("nextPageToken")) { | 6440 if (_json.containsKey("nextPageToken")) { |
6441 nextPageToken = _json["nextPageToken"]; | 6441 nextPageToken = _json["nextPageToken"]; |
6442 } | 6442 } |
6443 } | 6443 } |
6444 | 6444 |
6445 core.Map toJson() { | 6445 core.Map<core.String, core.Object> toJson() { |
6446 var _json = new core.Map(); | 6446 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6447 if (etag != null) { | 6447 if (etag != null) { |
6448 _json["etag"] = etag; | 6448 _json["etag"] = etag; |
6449 } | 6449 } |
6450 if (kind != null) { | 6450 if (kind != null) { |
6451 _json["kind"] = kind; | 6451 _json["kind"] = kind; |
6452 } | 6452 } |
6453 if (members != null) { | 6453 if (members != null) { |
6454 _json["members"] = members.map((value) => (value).toJson()).toList(); | 6454 _json["members"] = members.map((value) => (value).toJson()).toList(); |
6455 } | 6455 } |
6456 if (nextPageToken != null) { | 6456 if (nextPageToken != null) { |
(...skipping 28 matching lines...) Expand all Loading... |
6485 permission = _json["permission"]; | 6485 permission = _json["permission"]; |
6486 } | 6486 } |
6487 if (_json.containsKey("versionCode")) { | 6487 if (_json.containsKey("versionCode")) { |
6488 versionCode = _json["versionCode"]; | 6488 versionCode = _json["versionCode"]; |
6489 } | 6489 } |
6490 if (_json.containsKey("versionName")) { | 6490 if (_json.containsKey("versionName")) { |
6491 versionName = _json["versionName"]; | 6491 versionName = _json["versionName"]; |
6492 } | 6492 } |
6493 } | 6493 } |
6494 | 6494 |
6495 core.Map toJson() { | 6495 core.Map<core.String, core.Object> toJson() { |
6496 var _json = new core.Map(); | 6496 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6497 if (displayName != null) { | 6497 if (displayName != null) { |
6498 _json["displayName"] = displayName; | 6498 _json["displayName"] = displayName; |
6499 } | 6499 } |
6500 if (packageName != null) { | 6500 if (packageName != null) { |
6501 _json["packageName"] = packageName; | 6501 _json["packageName"] = packageName; |
6502 } | 6502 } |
6503 if (permission != null) { | 6503 if (permission != null) { |
6504 _json["permission"] = permission; | 6504 _json["permission"] = permission; |
6505 } | 6505 } |
6506 if (versionCode != null) { | 6506 if (versionCode != null) { |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6723 unknownSourcesStatus = _json["unknownSourcesStatus"]; | 6723 unknownSourcesStatus = _json["unknownSourcesStatus"]; |
6724 } | 6724 } |
6725 if (_json.containsKey("userAgent")) { | 6725 if (_json.containsKey("userAgent")) { |
6726 userAgent = _json["userAgent"]; | 6726 userAgent = _json["userAgent"]; |
6727 } | 6727 } |
6728 if (_json.containsKey("wifiMacAddress")) { | 6728 if (_json.containsKey("wifiMacAddress")) { |
6729 wifiMacAddress = _json["wifiMacAddress"]; | 6729 wifiMacAddress = _json["wifiMacAddress"]; |
6730 } | 6730 } |
6731 } | 6731 } |
6732 | 6732 |
6733 core.Map toJson() { | 6733 core.Map<core.String, core.Object> toJson() { |
6734 var _json = new core.Map(); | 6734 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6735 if (adbStatus != null) { | 6735 if (adbStatus != null) { |
6736 _json["adbStatus"] = adbStatus; | 6736 _json["adbStatus"] = adbStatus; |
6737 } | 6737 } |
6738 if (applications != null) { | 6738 if (applications != null) { |
6739 _json["applications"] = applications.map((value) => (value).toJson()).toLi
st(); | 6739 _json["applications"] = applications.map((value) => (value).toJson()).toLi
st(); |
6740 } | 6740 } |
6741 if (basebandVersion != null) { | 6741 if (basebandVersion != null) { |
6742 _json["basebandVersion"] = basebandVersion; | 6742 _json["basebandVersion"] = basebandVersion; |
6743 } | 6743 } |
6744 if (bootloaderVersion != null) { | 6744 if (bootloaderVersion != null) { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6865 core.String action; | 6865 core.String action; |
6866 | 6866 |
6867 MobileDeviceAction(); | 6867 MobileDeviceAction(); |
6868 | 6868 |
6869 MobileDeviceAction.fromJson(core.Map _json) { | 6869 MobileDeviceAction.fromJson(core.Map _json) { |
6870 if (_json.containsKey("action")) { | 6870 if (_json.containsKey("action")) { |
6871 action = _json["action"]; | 6871 action = _json["action"]; |
6872 } | 6872 } |
6873 } | 6873 } |
6874 | 6874 |
6875 core.Map toJson() { | 6875 core.Map<core.String, core.Object> toJson() { |
6876 var _json = new core.Map(); | 6876 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6877 if (action != null) { | 6877 if (action != null) { |
6878 _json["action"] = action; | 6878 _json["action"] = action; |
6879 } | 6879 } |
6880 return _json; | 6880 return _json; |
6881 } | 6881 } |
6882 } | 6882 } |
6883 | 6883 |
6884 /** | 6884 /** |
6885 * JSON response template for List Mobile Devices operation in Directory API. | 6885 * JSON response template for List Mobile Devices operation in Directory API. |
6886 */ | 6886 */ |
(...skipping 17 matching lines...) Expand all Loading... |
6904 kind = _json["kind"]; | 6904 kind = _json["kind"]; |
6905 } | 6905 } |
6906 if (_json.containsKey("mobiledevices")) { | 6906 if (_json.containsKey("mobiledevices")) { |
6907 mobiledevices = _json["mobiledevices"].map((value) => new MobileDevice.fro
mJson(value)).toList(); | 6907 mobiledevices = _json["mobiledevices"].map((value) => new MobileDevice.fro
mJson(value)).toList(); |
6908 } | 6908 } |
6909 if (_json.containsKey("nextPageToken")) { | 6909 if (_json.containsKey("nextPageToken")) { |
6910 nextPageToken = _json["nextPageToken"]; | 6910 nextPageToken = _json["nextPageToken"]; |
6911 } | 6911 } |
6912 } | 6912 } |
6913 | 6913 |
6914 core.Map toJson() { | 6914 core.Map<core.String, core.Object> toJson() { |
6915 var _json = new core.Map(); | 6915 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6916 if (etag != null) { | 6916 if (etag != null) { |
6917 _json["etag"] = etag; | 6917 _json["etag"] = etag; |
6918 } | 6918 } |
6919 if (kind != null) { | 6919 if (kind != null) { |
6920 _json["kind"] = kind; | 6920 _json["kind"] = kind; |
6921 } | 6921 } |
6922 if (mobiledevices != null) { | 6922 if (mobiledevices != null) { |
6923 _json["mobiledevices"] = mobiledevices.map((value) => (value).toJson()).to
List(); | 6923 _json["mobiledevices"] = mobiledevices.map((value) => (value).toJson()).to
List(); |
6924 } | 6924 } |
6925 if (nextPageToken != null) { | 6925 if (nextPageToken != null) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6969 notificationId = _json["notificationId"]; | 6969 notificationId = _json["notificationId"]; |
6970 } | 6970 } |
6971 if (_json.containsKey("sendTime")) { | 6971 if (_json.containsKey("sendTime")) { |
6972 sendTime = core.DateTime.parse(_json["sendTime"]); | 6972 sendTime = core.DateTime.parse(_json["sendTime"]); |
6973 } | 6973 } |
6974 if (_json.containsKey("subject")) { | 6974 if (_json.containsKey("subject")) { |
6975 subject = _json["subject"]; | 6975 subject = _json["subject"]; |
6976 } | 6976 } |
6977 } | 6977 } |
6978 | 6978 |
6979 core.Map toJson() { | 6979 core.Map<core.String, core.Object> toJson() { |
6980 var _json = new core.Map(); | 6980 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
6981 if (body != null) { | 6981 if (body != null) { |
6982 _json["body"] = body; | 6982 _json["body"] = body; |
6983 } | 6983 } |
6984 if (etag != null) { | 6984 if (etag != null) { |
6985 _json["etag"] = etag; | 6985 _json["etag"] = etag; |
6986 } | 6986 } |
6987 if (fromAddress != null) { | 6987 if (fromAddress != null) { |
6988 _json["fromAddress"] = fromAddress; | 6988 _json["fromAddress"] = fromAddress; |
6989 } | 6989 } |
6990 if (isUnread != null) { | 6990 if (isUnread != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7032 kind = _json["kind"]; | 7032 kind = _json["kind"]; |
7033 } | 7033 } |
7034 if (_json.containsKey("nextPageToken")) { | 7034 if (_json.containsKey("nextPageToken")) { |
7035 nextPageToken = _json["nextPageToken"]; | 7035 nextPageToken = _json["nextPageToken"]; |
7036 } | 7036 } |
7037 if (_json.containsKey("unreadNotificationsCount")) { | 7037 if (_json.containsKey("unreadNotificationsCount")) { |
7038 unreadNotificationsCount = _json["unreadNotificationsCount"]; | 7038 unreadNotificationsCount = _json["unreadNotificationsCount"]; |
7039 } | 7039 } |
7040 } | 7040 } |
7041 | 7041 |
7042 core.Map toJson() { | 7042 core.Map<core.String, core.Object> toJson() { |
7043 var _json = new core.Map(); | 7043 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7044 if (etag != null) { | 7044 if (etag != null) { |
7045 _json["etag"] = etag; | 7045 _json["etag"] = etag; |
7046 } | 7046 } |
7047 if (items != null) { | 7047 if (items != null) { |
7048 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7048 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7049 } | 7049 } |
7050 if (kind != null) { | 7050 if (kind != null) { |
7051 _json["kind"] = kind; | 7051 _json["kind"] = kind; |
7052 } | 7052 } |
7053 if (nextPageToken != null) { | 7053 if (nextPageToken != null) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7106 orgUnitPath = _json["orgUnitPath"]; | 7106 orgUnitPath = _json["orgUnitPath"]; |
7107 } | 7107 } |
7108 if (_json.containsKey("parentOrgUnitId")) { | 7108 if (_json.containsKey("parentOrgUnitId")) { |
7109 parentOrgUnitId = _json["parentOrgUnitId"]; | 7109 parentOrgUnitId = _json["parentOrgUnitId"]; |
7110 } | 7110 } |
7111 if (_json.containsKey("parentOrgUnitPath")) { | 7111 if (_json.containsKey("parentOrgUnitPath")) { |
7112 parentOrgUnitPath = _json["parentOrgUnitPath"]; | 7112 parentOrgUnitPath = _json["parentOrgUnitPath"]; |
7113 } | 7113 } |
7114 } | 7114 } |
7115 | 7115 |
7116 core.Map toJson() { | 7116 core.Map<core.String, core.Object> toJson() { |
7117 var _json = new core.Map(); | 7117 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7118 if (blockInheritance != null) { | 7118 if (blockInheritance != null) { |
7119 _json["blockInheritance"] = blockInheritance; | 7119 _json["blockInheritance"] = blockInheritance; |
7120 } | 7120 } |
7121 if (description != null) { | 7121 if (description != null) { |
7122 _json["description"] = description; | 7122 _json["description"] = description; |
7123 } | 7123 } |
7124 if (etag != null) { | 7124 if (etag != null) { |
7125 _json["etag"] = etag; | 7125 _json["etag"] = etag; |
7126 } | 7126 } |
7127 if (kind != null) { | 7127 if (kind != null) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7165 etag = _json["etag"]; | 7165 etag = _json["etag"]; |
7166 } | 7166 } |
7167 if (_json.containsKey("kind")) { | 7167 if (_json.containsKey("kind")) { |
7168 kind = _json["kind"]; | 7168 kind = _json["kind"]; |
7169 } | 7169 } |
7170 if (_json.containsKey("organizationUnits")) { | 7170 if (_json.containsKey("organizationUnits")) { |
7171 organizationUnits = _json["organizationUnits"].map((value) => new OrgUnit.
fromJson(value)).toList(); | 7171 organizationUnits = _json["organizationUnits"].map((value) => new OrgUnit.
fromJson(value)).toList(); |
7172 } | 7172 } |
7173 } | 7173 } |
7174 | 7174 |
7175 core.Map toJson() { | 7175 core.Map<core.String, core.Object> toJson() { |
7176 var _json = new core.Map(); | 7176 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7177 if (etag != null) { | 7177 if (etag != null) { |
7178 _json["etag"] = etag; | 7178 _json["etag"] = etag; |
7179 } | 7179 } |
7180 if (kind != null) { | 7180 if (kind != null) { |
7181 _json["kind"] = kind; | 7181 _json["kind"] = kind; |
7182 } | 7182 } |
7183 if (organizationUnits != null) { | 7183 if (organizationUnits != null) { |
7184 _json["organizationUnits"] = organizationUnits.map((value) => (value).toJs
on()).toList(); | 7184 _json["organizationUnits"] = organizationUnits.map((value) => (value).toJs
on()).toList(); |
7185 } | 7185 } |
7186 return _json; | 7186 return _json; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7229 privilegeName = _json["privilegeName"]; | 7229 privilegeName = _json["privilegeName"]; |
7230 } | 7230 } |
7231 if (_json.containsKey("serviceId")) { | 7231 if (_json.containsKey("serviceId")) { |
7232 serviceId = _json["serviceId"]; | 7232 serviceId = _json["serviceId"]; |
7233 } | 7233 } |
7234 if (_json.containsKey("serviceName")) { | 7234 if (_json.containsKey("serviceName")) { |
7235 serviceName = _json["serviceName"]; | 7235 serviceName = _json["serviceName"]; |
7236 } | 7236 } |
7237 } | 7237 } |
7238 | 7238 |
7239 core.Map toJson() { | 7239 core.Map<core.String, core.Object> toJson() { |
7240 var _json = new core.Map(); | 7240 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7241 if (childPrivileges != null) { | 7241 if (childPrivileges != null) { |
7242 _json["childPrivileges"] = childPrivileges.map((value) => (value).toJson()
).toList(); | 7242 _json["childPrivileges"] = childPrivileges.map((value) => (value).toJson()
).toList(); |
7243 } | 7243 } |
7244 if (etag != null) { | 7244 if (etag != null) { |
7245 _json["etag"] = etag; | 7245 _json["etag"] = etag; |
7246 } | 7246 } |
7247 if (isOuScopable != null) { | 7247 if (isOuScopable != null) { |
7248 _json["isOuScopable"] = isOuScopable; | 7248 _json["isOuScopable"] = isOuScopable; |
7249 } | 7249 } |
7250 if (kind != null) { | 7250 if (kind != null) { |
(...skipping 30 matching lines...) Expand all Loading... |
7281 etag = _json["etag"]; | 7281 etag = _json["etag"]; |
7282 } | 7282 } |
7283 if (_json.containsKey("items")) { | 7283 if (_json.containsKey("items")) { |
7284 items = _json["items"].map((value) => new Privilege.fromJson(value)).toLis
t(); | 7284 items = _json["items"].map((value) => new Privilege.fromJson(value)).toLis
t(); |
7285 } | 7285 } |
7286 if (_json.containsKey("kind")) { | 7286 if (_json.containsKey("kind")) { |
7287 kind = _json["kind"]; | 7287 kind = _json["kind"]; |
7288 } | 7288 } |
7289 } | 7289 } |
7290 | 7290 |
7291 core.Map toJson() { | 7291 core.Map<core.String, core.Object> toJson() { |
7292 var _json = new core.Map(); | 7292 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7293 if (etag != null) { | 7293 if (etag != null) { |
7294 _json["etag"] = etag; | 7294 _json["etag"] = etag; |
7295 } | 7295 } |
7296 if (items != null) { | 7296 if (items != null) { |
7297 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7297 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7298 } | 7298 } |
7299 if (kind != null) { | 7299 if (kind != null) { |
7300 _json["kind"] = kind; | 7300 _json["kind"] = kind; |
7301 } | 7301 } |
7302 return _json; | 7302 return _json; |
(...skipping 10 matching lines...) Expand all Loading... |
7313 | 7313 |
7314 RoleRolePrivileges.fromJson(core.Map _json) { | 7314 RoleRolePrivileges.fromJson(core.Map _json) { |
7315 if (_json.containsKey("privilegeName")) { | 7315 if (_json.containsKey("privilegeName")) { |
7316 privilegeName = _json["privilegeName"]; | 7316 privilegeName = _json["privilegeName"]; |
7317 } | 7317 } |
7318 if (_json.containsKey("serviceId")) { | 7318 if (_json.containsKey("serviceId")) { |
7319 serviceId = _json["serviceId"]; | 7319 serviceId = _json["serviceId"]; |
7320 } | 7320 } |
7321 } | 7321 } |
7322 | 7322 |
7323 core.Map toJson() { | 7323 core.Map<core.String, core.Object> toJson() { |
7324 var _json = new core.Map(); | 7324 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7325 if (privilegeName != null) { | 7325 if (privilegeName != null) { |
7326 _json["privilegeName"] = privilegeName; | 7326 _json["privilegeName"] = privilegeName; |
7327 } | 7327 } |
7328 if (serviceId != null) { | 7328 if (serviceId != null) { |
7329 _json["serviceId"] = serviceId; | 7329 _json["serviceId"] = serviceId; |
7330 } | 7330 } |
7331 return _json; | 7331 return _json; |
7332 } | 7332 } |
7333 } | 7333 } |
7334 | 7334 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7373 roleId = _json["roleId"]; | 7373 roleId = _json["roleId"]; |
7374 } | 7374 } |
7375 if (_json.containsKey("roleName")) { | 7375 if (_json.containsKey("roleName")) { |
7376 roleName = _json["roleName"]; | 7376 roleName = _json["roleName"]; |
7377 } | 7377 } |
7378 if (_json.containsKey("rolePrivileges")) { | 7378 if (_json.containsKey("rolePrivileges")) { |
7379 rolePrivileges = _json["rolePrivileges"].map((value) => new RoleRolePrivil
eges.fromJson(value)).toList(); | 7379 rolePrivileges = _json["rolePrivileges"].map((value) => new RoleRolePrivil
eges.fromJson(value)).toList(); |
7380 } | 7380 } |
7381 } | 7381 } |
7382 | 7382 |
7383 core.Map toJson() { | 7383 core.Map<core.String, core.Object> toJson() { |
7384 var _json = new core.Map(); | 7384 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7385 if (etag != null) { | 7385 if (etag != null) { |
7386 _json["etag"] = etag; | 7386 _json["etag"] = etag; |
7387 } | 7387 } |
7388 if (isSuperAdminRole != null) { | 7388 if (isSuperAdminRole != null) { |
7389 _json["isSuperAdminRole"] = isSuperAdminRole; | 7389 _json["isSuperAdminRole"] = isSuperAdminRole; |
7390 } | 7390 } |
7391 if (isSystemRole != null) { | 7391 if (isSystemRole != null) { |
7392 _json["isSystemRole"] = isSystemRole; | 7392 _json["isSystemRole"] = isSystemRole; |
7393 } | 7393 } |
7394 if (kind != null) { | 7394 if (kind != null) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7456 roleAssignmentId = _json["roleAssignmentId"]; | 7456 roleAssignmentId = _json["roleAssignmentId"]; |
7457 } | 7457 } |
7458 if (_json.containsKey("roleId")) { | 7458 if (_json.containsKey("roleId")) { |
7459 roleId = _json["roleId"]; | 7459 roleId = _json["roleId"]; |
7460 } | 7460 } |
7461 if (_json.containsKey("scopeType")) { | 7461 if (_json.containsKey("scopeType")) { |
7462 scopeType = _json["scopeType"]; | 7462 scopeType = _json["scopeType"]; |
7463 } | 7463 } |
7464 } | 7464 } |
7465 | 7465 |
7466 core.Map toJson() { | 7466 core.Map<core.String, core.Object> toJson() { |
7467 var _json = new core.Map(); | 7467 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7468 if (assignedTo != null) { | 7468 if (assignedTo != null) { |
7469 _json["assignedTo"] = assignedTo; | 7469 _json["assignedTo"] = assignedTo; |
7470 } | 7470 } |
7471 if (etag != null) { | 7471 if (etag != null) { |
7472 _json["etag"] = etag; | 7472 _json["etag"] = etag; |
7473 } | 7473 } |
7474 if (kind != null) { | 7474 if (kind != null) { |
7475 _json["kind"] = kind; | 7475 _json["kind"] = kind; |
7476 } | 7476 } |
7477 if (orgUnitId != null) { | 7477 if (orgUnitId != null) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7515 items = _json["items"].map((value) => new RoleAssignment.fromJson(value)).
toList(); | 7515 items = _json["items"].map((value) => new RoleAssignment.fromJson(value)).
toList(); |
7516 } | 7516 } |
7517 if (_json.containsKey("kind")) { | 7517 if (_json.containsKey("kind")) { |
7518 kind = _json["kind"]; | 7518 kind = _json["kind"]; |
7519 } | 7519 } |
7520 if (_json.containsKey("nextPageToken")) { | 7520 if (_json.containsKey("nextPageToken")) { |
7521 nextPageToken = _json["nextPageToken"]; | 7521 nextPageToken = _json["nextPageToken"]; |
7522 } | 7522 } |
7523 } | 7523 } |
7524 | 7524 |
7525 core.Map toJson() { | 7525 core.Map<core.String, core.Object> toJson() { |
7526 var _json = new core.Map(); | 7526 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7527 if (etag != null) { | 7527 if (etag != null) { |
7528 _json["etag"] = etag; | 7528 _json["etag"] = etag; |
7529 } | 7529 } |
7530 if (items != null) { | 7530 if (items != null) { |
7531 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7531 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7532 } | 7532 } |
7533 if (kind != null) { | 7533 if (kind != null) { |
7534 _json["kind"] = kind; | 7534 _json["kind"] = kind; |
7535 } | 7535 } |
7536 if (nextPageToken != null) { | 7536 if (nextPageToken != null) { |
(...skipping 23 matching lines...) Expand all Loading... |
7560 items = _json["items"].map((value) => new Role.fromJson(value)).toList(); | 7560 items = _json["items"].map((value) => new Role.fromJson(value)).toList(); |
7561 } | 7561 } |
7562 if (_json.containsKey("kind")) { | 7562 if (_json.containsKey("kind")) { |
7563 kind = _json["kind"]; | 7563 kind = _json["kind"]; |
7564 } | 7564 } |
7565 if (_json.containsKey("nextPageToken")) { | 7565 if (_json.containsKey("nextPageToken")) { |
7566 nextPageToken = _json["nextPageToken"]; | 7566 nextPageToken = _json["nextPageToken"]; |
7567 } | 7567 } |
7568 } | 7568 } |
7569 | 7569 |
7570 core.Map toJson() { | 7570 core.Map<core.String, core.Object> toJson() { |
7571 var _json = new core.Map(); | 7571 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7572 if (etag != null) { | 7572 if (etag != null) { |
7573 _json["etag"] = etag; | 7573 _json["etag"] = etag; |
7574 } | 7574 } |
7575 if (items != null) { | 7575 if (items != null) { |
7576 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7576 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7577 } | 7577 } |
7578 if (kind != null) { | 7578 if (kind != null) { |
7579 _json["kind"] = kind; | 7579 _json["kind"] = kind; |
7580 } | 7580 } |
7581 if (nextPageToken != null) { | 7581 if (nextPageToken != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
7611 kind = _json["kind"]; | 7611 kind = _json["kind"]; |
7612 } | 7612 } |
7613 if (_json.containsKey("schemaId")) { | 7613 if (_json.containsKey("schemaId")) { |
7614 schemaId = _json["schemaId"]; | 7614 schemaId = _json["schemaId"]; |
7615 } | 7615 } |
7616 if (_json.containsKey("schemaName")) { | 7616 if (_json.containsKey("schemaName")) { |
7617 schemaName = _json["schemaName"]; | 7617 schemaName = _json["schemaName"]; |
7618 } | 7618 } |
7619 } | 7619 } |
7620 | 7620 |
7621 core.Map toJson() { | 7621 core.Map<core.String, core.Object> toJson() { |
7622 var _json = new core.Map(); | 7622 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7623 if (etag != null) { | 7623 if (etag != null) { |
7624 _json["etag"] = etag; | 7624 _json["etag"] = etag; |
7625 } | 7625 } |
7626 if (fields != null) { | 7626 if (fields != null) { |
7627 _json["fields"] = fields.map((value) => (value).toJson()).toList(); | 7627 _json["fields"] = fields.map((value) => (value).toJson()).toList(); |
7628 } | 7628 } |
7629 if (kind != null) { | 7629 if (kind != null) { |
7630 _json["kind"] = kind; | 7630 _json["kind"] = kind; |
7631 } | 7631 } |
7632 if (schemaId != null) { | 7632 if (schemaId != null) { |
(...skipping 29 matching lines...) Expand all Loading... |
7662 | 7662 |
7663 SchemaFieldSpecNumericIndexingSpec.fromJson(core.Map _json) { | 7663 SchemaFieldSpecNumericIndexingSpec.fromJson(core.Map _json) { |
7664 if (_json.containsKey("maxValue")) { | 7664 if (_json.containsKey("maxValue")) { |
7665 maxValue = _json["maxValue"]; | 7665 maxValue = _json["maxValue"]; |
7666 } | 7666 } |
7667 if (_json.containsKey("minValue")) { | 7667 if (_json.containsKey("minValue")) { |
7668 minValue = _json["minValue"]; | 7668 minValue = _json["minValue"]; |
7669 } | 7669 } |
7670 } | 7670 } |
7671 | 7671 |
7672 core.Map toJson() { | 7672 core.Map<core.String, core.Object> toJson() { |
7673 var _json = new core.Map(); | 7673 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7674 if (maxValue != null) { | 7674 if (maxValue != null) { |
7675 _json["maxValue"] = maxValue; | 7675 _json["maxValue"] = maxValue; |
7676 } | 7676 } |
7677 if (minValue != null) { | 7677 if (minValue != null) { |
7678 _json["minValue"] = minValue; | 7678 _json["minValue"] = minValue; |
7679 } | 7679 } |
7680 return _json; | 7680 return _json; |
7681 } | 7681 } |
7682 } | 7682 } |
7683 | 7683 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7734 multiValued = _json["multiValued"]; | 7734 multiValued = _json["multiValued"]; |
7735 } | 7735 } |
7736 if (_json.containsKey("numericIndexingSpec")) { | 7736 if (_json.containsKey("numericIndexingSpec")) { |
7737 numericIndexingSpec = new SchemaFieldSpecNumericIndexingSpec.fromJson(_jso
n["numericIndexingSpec"]); | 7737 numericIndexingSpec = new SchemaFieldSpecNumericIndexingSpec.fromJson(_jso
n["numericIndexingSpec"]); |
7738 } | 7738 } |
7739 if (_json.containsKey("readAccessType")) { | 7739 if (_json.containsKey("readAccessType")) { |
7740 readAccessType = _json["readAccessType"]; | 7740 readAccessType = _json["readAccessType"]; |
7741 } | 7741 } |
7742 } | 7742 } |
7743 | 7743 |
7744 core.Map toJson() { | 7744 core.Map<core.String, core.Object> toJson() { |
7745 var _json = new core.Map(); | 7745 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7746 if (etag != null) { | 7746 if (etag != null) { |
7747 _json["etag"] = etag; | 7747 _json["etag"] = etag; |
7748 } | 7748 } |
7749 if (fieldId != null) { | 7749 if (fieldId != null) { |
7750 _json["fieldId"] = fieldId; | 7750 _json["fieldId"] = fieldId; |
7751 } | 7751 } |
7752 if (fieldName != null) { | 7752 if (fieldName != null) { |
7753 _json["fieldName"] = fieldName; | 7753 _json["fieldName"] = fieldName; |
7754 } | 7754 } |
7755 if (fieldType != null) { | 7755 if (fieldType != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7790 etag = _json["etag"]; | 7790 etag = _json["etag"]; |
7791 } | 7791 } |
7792 if (_json.containsKey("kind")) { | 7792 if (_json.containsKey("kind")) { |
7793 kind = _json["kind"]; | 7793 kind = _json["kind"]; |
7794 } | 7794 } |
7795 if (_json.containsKey("schemas")) { | 7795 if (_json.containsKey("schemas")) { |
7796 schemas = _json["schemas"].map((value) => new Schema.fromJson(value)).toLi
st(); | 7796 schemas = _json["schemas"].map((value) => new Schema.fromJson(value)).toLi
st(); |
7797 } | 7797 } |
7798 } | 7798 } |
7799 | 7799 |
7800 core.Map toJson() { | 7800 core.Map<core.String, core.Object> toJson() { |
7801 var _json = new core.Map(); | 7801 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7802 if (etag != null) { | 7802 if (etag != null) { |
7803 _json["etag"] = etag; | 7803 _json["etag"] = etag; |
7804 } | 7804 } |
7805 if (kind != null) { | 7805 if (kind != null) { |
7806 _json["kind"] = kind; | 7806 _json["kind"] = kind; |
7807 } | 7807 } |
7808 if (schemas != null) { | 7808 if (schemas != null) { |
7809 _json["schemas"] = schemas.map((value) => (value).toJson()).toList(); | 7809 _json["schemas"] = schemas.map((value) => (value).toJson()).toList(); |
7810 } | 7810 } |
7811 return _json; | 7811 return _json; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7859 nativeApp = _json["nativeApp"]; | 7859 nativeApp = _json["nativeApp"]; |
7860 } | 7860 } |
7861 if (_json.containsKey("scopes")) { | 7861 if (_json.containsKey("scopes")) { |
7862 scopes = _json["scopes"]; | 7862 scopes = _json["scopes"]; |
7863 } | 7863 } |
7864 if (_json.containsKey("userKey")) { | 7864 if (_json.containsKey("userKey")) { |
7865 userKey = _json["userKey"]; | 7865 userKey = _json["userKey"]; |
7866 } | 7866 } |
7867 } | 7867 } |
7868 | 7868 |
7869 core.Map toJson() { | 7869 core.Map<core.String, core.Object> toJson() { |
7870 var _json = new core.Map(); | 7870 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7871 if (anonymous != null) { | 7871 if (anonymous != null) { |
7872 _json["anonymous"] = anonymous; | 7872 _json["anonymous"] = anonymous; |
7873 } | 7873 } |
7874 if (clientId != null) { | 7874 if (clientId != null) { |
7875 _json["clientId"] = clientId; | 7875 _json["clientId"] = clientId; |
7876 } | 7876 } |
7877 if (displayText != null) { | 7877 if (displayText != null) { |
7878 _json["displayText"] = displayText; | 7878 _json["displayText"] = displayText; |
7879 } | 7879 } |
7880 if (etag != null) { | 7880 if (etag != null) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7914 etag = _json["etag"]; | 7914 etag = _json["etag"]; |
7915 } | 7915 } |
7916 if (_json.containsKey("items")) { | 7916 if (_json.containsKey("items")) { |
7917 items = _json["items"].map((value) => new Token.fromJson(value)).toList(); | 7917 items = _json["items"].map((value) => new Token.fromJson(value)).toList(); |
7918 } | 7918 } |
7919 if (_json.containsKey("kind")) { | 7919 if (_json.containsKey("kind")) { |
7920 kind = _json["kind"]; | 7920 kind = _json["kind"]; |
7921 } | 7921 } |
7922 } | 7922 } |
7923 | 7923 |
7924 core.Map toJson() { | 7924 core.Map<core.String, core.Object> toJson() { |
7925 var _json = new core.Map(); | 7925 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
7926 if (etag != null) { | 7926 if (etag != null) { |
7927 _json["etag"] = etag; | 7927 _json["etag"] = etag; |
7928 } | 7928 } |
7929 if (items != null) { | 7929 if (items != null) { |
7930 _json["items"] = items.map((value) => (value).toJson()).toList(); | 7930 _json["items"] = items.map((value) => (value).toJson()).toList(); |
7931 } | 7931 } |
7932 if (kind != null) { | 7932 if (kind != null) { |
7933 _json["kind"] = kind; | 7933 _json["kind"] = kind; |
7934 } | 7934 } |
7935 return _json; | 7935 return _json; |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8090 if (_json.containsKey("aliases")) { | 8090 if (_json.containsKey("aliases")) { |
8091 aliases = _json["aliases"]; | 8091 aliases = _json["aliases"]; |
8092 } | 8092 } |
8093 if (_json.containsKey("changePasswordAtNextLogin")) { | 8093 if (_json.containsKey("changePasswordAtNextLogin")) { |
8094 changePasswordAtNextLogin = _json["changePasswordAtNextLogin"]; | 8094 changePasswordAtNextLogin = _json["changePasswordAtNextLogin"]; |
8095 } | 8095 } |
8096 if (_json.containsKey("creationTime")) { | 8096 if (_json.containsKey("creationTime")) { |
8097 creationTime = core.DateTime.parse(_json["creationTime"]); | 8097 creationTime = core.DateTime.parse(_json["creationTime"]); |
8098 } | 8098 } |
8099 if (_json.containsKey("customSchemas")) { | 8099 if (_json.containsKey("customSchemas")) { |
8100 customSchemas = commons.mapMap(_json["customSchemas"], (item) => new UserC
ustomProperties.fromJson(item)); | 8100 customSchemas = commons.mapMap<core.Map<core.String, core.Object>, UserCus
tomProperties>(_json["customSchemas"], (core.Map<core.String, core.Object> item)
=> new UserCustomProperties.fromJson(item)); |
8101 } | 8101 } |
8102 if (_json.containsKey("customerId")) { | 8102 if (_json.containsKey("customerId")) { |
8103 customerId = _json["customerId"]; | 8103 customerId = _json["customerId"]; |
8104 } | 8104 } |
8105 if (_json.containsKey("deletionTime")) { | 8105 if (_json.containsKey("deletionTime")) { |
8106 deletionTime = core.DateTime.parse(_json["deletionTime"]); | 8106 deletionTime = core.DateTime.parse(_json["deletionTime"]); |
8107 } | 8107 } |
8108 if (_json.containsKey("emails")) { | 8108 if (_json.containsKey("emails")) { |
8109 emails = _json["emails"]; | 8109 emails = _json["emails"]; |
8110 } | 8110 } |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8196 thumbnailPhotoEtag = _json["thumbnailPhotoEtag"]; | 8196 thumbnailPhotoEtag = _json["thumbnailPhotoEtag"]; |
8197 } | 8197 } |
8198 if (_json.containsKey("thumbnailPhotoUrl")) { | 8198 if (_json.containsKey("thumbnailPhotoUrl")) { |
8199 thumbnailPhotoUrl = _json["thumbnailPhotoUrl"]; | 8199 thumbnailPhotoUrl = _json["thumbnailPhotoUrl"]; |
8200 } | 8200 } |
8201 if (_json.containsKey("websites")) { | 8201 if (_json.containsKey("websites")) { |
8202 websites = _json["websites"]; | 8202 websites = _json["websites"]; |
8203 } | 8203 } |
8204 } | 8204 } |
8205 | 8205 |
8206 core.Map toJson() { | 8206 core.Map<core.String, core.Object> toJson() { |
8207 var _json = new core.Map(); | 8207 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8208 if (addresses != null) { | 8208 if (addresses != null) { |
8209 _json["addresses"] = addresses; | 8209 _json["addresses"] = addresses; |
8210 } | 8210 } |
8211 if (agreedToTerms != null) { | 8211 if (agreedToTerms != null) { |
8212 _json["agreedToTerms"] = agreedToTerms; | 8212 _json["agreedToTerms"] = agreedToTerms; |
8213 } | 8213 } |
8214 if (aliases != null) { | 8214 if (aliases != null) { |
8215 _json["aliases"] = aliases; | 8215 _json["aliases"] = aliases; |
8216 } | 8216 } |
8217 if (changePasswordAtNextLogin != null) { | 8217 if (changePasswordAtNextLogin != null) { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8344 | 8344 |
8345 UserAbout.fromJson(core.Map _json) { | 8345 UserAbout.fromJson(core.Map _json) { |
8346 if (_json.containsKey("contentType")) { | 8346 if (_json.containsKey("contentType")) { |
8347 contentType = _json["contentType"]; | 8347 contentType = _json["contentType"]; |
8348 } | 8348 } |
8349 if (_json.containsKey("value")) { | 8349 if (_json.containsKey("value")) { |
8350 value = _json["value"]; | 8350 value = _json["value"]; |
8351 } | 8351 } |
8352 } | 8352 } |
8353 | 8353 |
8354 core.Map toJson() { | 8354 core.Map<core.String, core.Object> toJson() { |
8355 var _json = new core.Map(); | 8355 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8356 if (contentType != null) { | 8356 if (contentType != null) { |
8357 _json["contentType"] = contentType; | 8357 _json["contentType"] = contentType; |
8358 } | 8358 } |
8359 if (value != null) { | 8359 if (value != null) { |
8360 _json["value"] = value; | 8360 _json["value"] = value; |
8361 } | 8361 } |
8362 return _json; | 8362 return _json; |
8363 } | 8363 } |
8364 } | 8364 } |
8365 | 8365 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8441 sourceIsStructured = _json["sourceIsStructured"]; | 8441 sourceIsStructured = _json["sourceIsStructured"]; |
8442 } | 8442 } |
8443 if (_json.containsKey("streetAddress")) { | 8443 if (_json.containsKey("streetAddress")) { |
8444 streetAddress = _json["streetAddress"]; | 8444 streetAddress = _json["streetAddress"]; |
8445 } | 8445 } |
8446 if (_json.containsKey("type")) { | 8446 if (_json.containsKey("type")) { |
8447 type = _json["type"]; | 8447 type = _json["type"]; |
8448 } | 8448 } |
8449 } | 8449 } |
8450 | 8450 |
8451 core.Map toJson() { | 8451 core.Map<core.String, core.Object> toJson() { |
8452 var _json = new core.Map(); | 8452 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8453 if (country != null) { | 8453 if (country != null) { |
8454 _json["country"] = country; | 8454 _json["country"] = country; |
8455 } | 8455 } |
8456 if (countryCode != null) { | 8456 if (countryCode != null) { |
8457 _json["countryCode"] = countryCode; | 8457 _json["countryCode"] = countryCode; |
8458 } | 8458 } |
8459 if (customType != null) { | 8459 if (customType != null) { |
8460 _json["customType"] = customType; | 8460 _json["customType"] = customType; |
8461 } | 8461 } |
8462 if (extendedAddress != null) { | 8462 if (extendedAddress != null) { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8502 final core.Map _innerMap = {}; | 8502 final core.Map _innerMap = {}; |
8503 | 8503 |
8504 UserCustomProperties(); | 8504 UserCustomProperties(); |
8505 | 8505 |
8506 UserCustomProperties.fromJson(core.Map _json) { | 8506 UserCustomProperties.fromJson(core.Map _json) { |
8507 _json.forEach((core.String key, value) { | 8507 _json.forEach((core.String key, value) { |
8508 this[key] = value; | 8508 this[key] = value; |
8509 }); | 8509 }); |
8510 } | 8510 } |
8511 | 8511 |
8512 core.Map toJson() { | 8512 core.Map<core.String, core.Object> toJson() { |
8513 var _json = {}; | 8513 final core.Map<core.String, core.Object> _json = <core.String, core.Object>{
}; |
8514 this.forEach((core.String key, value) { | 8514 this.forEach((core.String key, value) { |
8515 _json[key] = value; | 8515 _json[key] = value; |
8516 }); | 8516 }); |
8517 return _json; | 8517 return _json; |
8518 } | 8518 } |
8519 | 8519 |
8520 core.Object operator [](core.Object key) | 8520 core.Object operator [](core.Object key) |
8521 => _innerMap[key]; | 8521 => _innerMap[key]; |
8522 | 8522 |
8523 operator []=(core.String key, core.Object value) { | 8523 operator []=(core.String key, core.Object value) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8561 customType = _json["customType"]; | 8561 customType = _json["customType"]; |
8562 } | 8562 } |
8563 if (_json.containsKey("primary")) { | 8563 if (_json.containsKey("primary")) { |
8564 primary = _json["primary"]; | 8564 primary = _json["primary"]; |
8565 } | 8565 } |
8566 if (_json.containsKey("type")) { | 8566 if (_json.containsKey("type")) { |
8567 type = _json["type"]; | 8567 type = _json["type"]; |
8568 } | 8568 } |
8569 } | 8569 } |
8570 | 8570 |
8571 core.Map toJson() { | 8571 core.Map<core.String, core.Object> toJson() { |
8572 var _json = new core.Map(); | 8572 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8573 if (address != null) { | 8573 if (address != null) { |
8574 _json["address"] = address; | 8574 _json["address"] = address; |
8575 } | 8575 } |
8576 if (customType != null) { | 8576 if (customType != null) { |
8577 _json["customType"] = customType; | 8577 _json["customType"] = customType; |
8578 } | 8578 } |
8579 if (primary != null) { | 8579 if (primary != null) { |
8580 _json["primary"] = primary; | 8580 _json["primary"] = primary; |
8581 } | 8581 } |
8582 if (type != null) { | 8582 if (type != null) { |
(...skipping 19 matching lines...) Expand all Loading... |
8602 customType = _json["customType"]; | 8602 customType = _json["customType"]; |
8603 } | 8603 } |
8604 if (_json.containsKey("type")) { | 8604 if (_json.containsKey("type")) { |
8605 type = _json["type"]; | 8605 type = _json["type"]; |
8606 } | 8606 } |
8607 if (_json.containsKey("value")) { | 8607 if (_json.containsKey("value")) { |
8608 value = _json["value"]; | 8608 value = _json["value"]; |
8609 } | 8609 } |
8610 } | 8610 } |
8611 | 8611 |
8612 core.Map toJson() { | 8612 core.Map<core.String, core.Object> toJson() { |
8613 var _json = new core.Map(); | 8613 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8614 if (customType != null) { | 8614 if (customType != null) { |
8615 _json["customType"] = customType; | 8615 _json["customType"] = customType; |
8616 } | 8616 } |
8617 if (type != null) { | 8617 if (type != null) { |
8618 _json["type"] = type; | 8618 _json["type"] = type; |
8619 } | 8619 } |
8620 if (value != null) { | 8620 if (value != null) { |
8621 _json["value"] = value; | 8621 _json["value"] = value; |
8622 } | 8622 } |
8623 return _json; | 8623 return _json; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8667 primary = _json["primary"]; | 8667 primary = _json["primary"]; |
8668 } | 8668 } |
8669 if (_json.containsKey("protocol")) { | 8669 if (_json.containsKey("protocol")) { |
8670 protocol = _json["protocol"]; | 8670 protocol = _json["protocol"]; |
8671 } | 8671 } |
8672 if (_json.containsKey("type")) { | 8672 if (_json.containsKey("type")) { |
8673 type = _json["type"]; | 8673 type = _json["type"]; |
8674 } | 8674 } |
8675 } | 8675 } |
8676 | 8676 |
8677 core.Map toJson() { | 8677 core.Map<core.String, core.Object> toJson() { |
8678 var _json = new core.Map(); | 8678 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8679 if (customProtocol != null) { | 8679 if (customProtocol != null) { |
8680 _json["customProtocol"] = customProtocol; | 8680 _json["customProtocol"] = customProtocol; |
8681 } | 8681 } |
8682 if (customType != null) { | 8682 if (customType != null) { |
8683 _json["customType"] = customType; | 8683 _json["customType"] = customType; |
8684 } | 8684 } |
8685 if (im != null) { | 8685 if (im != null) { |
8686 _json["im"] = im; | 8686 _json["im"] = im; |
8687 } | 8687 } |
8688 if (primary != null) { | 8688 if (primary != null) { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8747 floorName = _json["floorName"]; | 8747 floorName = _json["floorName"]; |
8748 } | 8748 } |
8749 if (_json.containsKey("floorSection")) { | 8749 if (_json.containsKey("floorSection")) { |
8750 floorSection = _json["floorSection"]; | 8750 floorSection = _json["floorSection"]; |
8751 } | 8751 } |
8752 if (_json.containsKey("type")) { | 8752 if (_json.containsKey("type")) { |
8753 type = _json["type"]; | 8753 type = _json["type"]; |
8754 } | 8754 } |
8755 } | 8755 } |
8756 | 8756 |
8757 core.Map toJson() { | 8757 core.Map<core.String, core.Object> toJson() { |
8758 var _json = new core.Map(); | 8758 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8759 if (area != null) { | 8759 if (area != null) { |
8760 _json["area"] = area; | 8760 _json["area"] = area; |
8761 } | 8761 } |
8762 if (buildingId != null) { | 8762 if (buildingId != null) { |
8763 _json["buildingId"] = buildingId; | 8763 _json["buildingId"] = buildingId; |
8764 } | 8764 } |
8765 if (customType != null) { | 8765 if (customType != null) { |
8766 _json["customType"] = customType; | 8766 _json["customType"] = customType; |
8767 } | 8767 } |
8768 if (deskCode != null) { | 8768 if (deskCode != null) { |
(...skipping 21 matching lines...) Expand all Loading... |
8790 core.bool status; | 8790 core.bool status; |
8791 | 8791 |
8792 UserMakeAdmin(); | 8792 UserMakeAdmin(); |
8793 | 8793 |
8794 UserMakeAdmin.fromJson(core.Map _json) { | 8794 UserMakeAdmin.fromJson(core.Map _json) { |
8795 if (_json.containsKey("status")) { | 8795 if (_json.containsKey("status")) { |
8796 status = _json["status"]; | 8796 status = _json["status"]; |
8797 } | 8797 } |
8798 } | 8798 } |
8799 | 8799 |
8800 core.Map toJson() { | 8800 core.Map<core.String, core.Object> toJson() { |
8801 var _json = new core.Map(); | 8801 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8802 if (status != null) { | 8802 if (status != null) { |
8803 _json["status"] = status; | 8803 _json["status"] = status; |
8804 } | 8804 } |
8805 return _json; | 8805 return _json; |
8806 } | 8806 } |
8807 } | 8807 } |
8808 | 8808 |
8809 /** JSON template for name of a user in Directory API. */ | 8809 /** JSON template for name of a user in Directory API. */ |
8810 class UserName { | 8810 class UserName { |
8811 /** Last Name */ | 8811 /** Last Name */ |
(...skipping 10 matching lines...) Expand all Loading... |
8822 familyName = _json["familyName"]; | 8822 familyName = _json["familyName"]; |
8823 } | 8823 } |
8824 if (_json.containsKey("fullName")) { | 8824 if (_json.containsKey("fullName")) { |
8825 fullName = _json["fullName"]; | 8825 fullName = _json["fullName"]; |
8826 } | 8826 } |
8827 if (_json.containsKey("givenName")) { | 8827 if (_json.containsKey("givenName")) { |
8828 givenName = _json["givenName"]; | 8828 givenName = _json["givenName"]; |
8829 } | 8829 } |
8830 } | 8830 } |
8831 | 8831 |
8832 core.Map toJson() { | 8832 core.Map<core.String, core.Object> toJson() { |
8833 var _json = new core.Map(); | 8833 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8834 if (familyName != null) { | 8834 if (familyName != null) { |
8835 _json["familyName"] = familyName; | 8835 _json["familyName"] = familyName; |
8836 } | 8836 } |
8837 if (fullName != null) { | 8837 if (fullName != null) { |
8838 _json["fullName"] = fullName; | 8838 _json["fullName"] = fullName; |
8839 } | 8839 } |
8840 if (givenName != null) { | 8840 if (givenName != null) { |
8841 _json["givenName"] = givenName; | 8841 _json["givenName"] = givenName; |
8842 } | 8842 } |
8843 return _json; | 8843 return _json; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8908 symbol = _json["symbol"]; | 8908 symbol = _json["symbol"]; |
8909 } | 8909 } |
8910 if (_json.containsKey("title")) { | 8910 if (_json.containsKey("title")) { |
8911 title = _json["title"]; | 8911 title = _json["title"]; |
8912 } | 8912 } |
8913 if (_json.containsKey("type")) { | 8913 if (_json.containsKey("type")) { |
8914 type = _json["type"]; | 8914 type = _json["type"]; |
8915 } | 8915 } |
8916 } | 8916 } |
8917 | 8917 |
8918 core.Map toJson() { | 8918 core.Map<core.String, core.Object> toJson() { |
8919 var _json = new core.Map(); | 8919 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8920 if (costCenter != null) { | 8920 if (costCenter != null) { |
8921 _json["costCenter"] = costCenter; | 8921 _json["costCenter"] = costCenter; |
8922 } | 8922 } |
8923 if (customType != null) { | 8923 if (customType != null) { |
8924 _json["customType"] = customType; | 8924 _json["customType"] = customType; |
8925 } | 8925 } |
8926 if (department != null) { | 8926 if (department != null) { |
8927 _json["department"] = department; | 8927 _json["department"] = department; |
8928 } | 8928 } |
8929 if (description != null) { | 8929 if (description != null) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8981 primary = _json["primary"]; | 8981 primary = _json["primary"]; |
8982 } | 8982 } |
8983 if (_json.containsKey("type")) { | 8983 if (_json.containsKey("type")) { |
8984 type = _json["type"]; | 8984 type = _json["type"]; |
8985 } | 8985 } |
8986 if (_json.containsKey("value")) { | 8986 if (_json.containsKey("value")) { |
8987 value = _json["value"]; | 8987 value = _json["value"]; |
8988 } | 8988 } |
8989 } | 8989 } |
8990 | 8990 |
8991 core.Map toJson() { | 8991 core.Map<core.String, core.Object> toJson() { |
8992 var _json = new core.Map(); | 8992 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
8993 if (customType != null) { | 8993 if (customType != null) { |
8994 _json["customType"] = customType; | 8994 _json["customType"] = customType; |
8995 } | 8995 } |
8996 if (primary != null) { | 8996 if (primary != null) { |
8997 _json["primary"] = primary; | 8997 _json["primary"] = primary; |
8998 } | 8998 } |
8999 if (type != null) { | 8999 if (type != null) { |
9000 _json["type"] = type; | 9000 _json["type"] = type; |
9001 } | 9001 } |
9002 if (value != null) { | 9002 if (value != null) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9054 photoData = _json["photoData"]; | 9054 photoData = _json["photoData"]; |
9055 } | 9055 } |
9056 if (_json.containsKey("primaryEmail")) { | 9056 if (_json.containsKey("primaryEmail")) { |
9057 primaryEmail = _json["primaryEmail"]; | 9057 primaryEmail = _json["primaryEmail"]; |
9058 } | 9058 } |
9059 if (_json.containsKey("width")) { | 9059 if (_json.containsKey("width")) { |
9060 width = _json["width"]; | 9060 width = _json["width"]; |
9061 } | 9061 } |
9062 } | 9062 } |
9063 | 9063 |
9064 core.Map toJson() { | 9064 core.Map<core.String, core.Object> toJson() { |
9065 var _json = new core.Map(); | 9065 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9066 if (etag != null) { | 9066 if (etag != null) { |
9067 _json["etag"] = etag; | 9067 _json["etag"] = etag; |
9068 } | 9068 } |
9069 if (height != null) { | 9069 if (height != null) { |
9070 _json["height"] = height; | 9070 _json["height"] = height; |
9071 } | 9071 } |
9072 if (id != null) { | 9072 if (id != null) { |
9073 _json["id"] = id; | 9073 _json["id"] = id; |
9074 } | 9074 } |
9075 if (kind != null) { | 9075 if (kind != null) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9135 systemId = _json["systemId"]; | 9135 systemId = _json["systemId"]; |
9136 } | 9136 } |
9137 if (_json.containsKey("uid")) { | 9137 if (_json.containsKey("uid")) { |
9138 uid = _json["uid"]; | 9138 uid = _json["uid"]; |
9139 } | 9139 } |
9140 if (_json.containsKey("username")) { | 9140 if (_json.containsKey("username")) { |
9141 username = _json["username"]; | 9141 username = _json["username"]; |
9142 } | 9142 } |
9143 } | 9143 } |
9144 | 9144 |
9145 core.Map toJson() { | 9145 core.Map<core.String, core.Object> toJson() { |
9146 var _json = new core.Map(); | 9146 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9147 if (gecos != null) { | 9147 if (gecos != null) { |
9148 _json["gecos"] = gecos; | 9148 _json["gecos"] = gecos; |
9149 } | 9149 } |
9150 if (gid != null) { | 9150 if (gid != null) { |
9151 _json["gid"] = gid; | 9151 _json["gid"] = gid; |
9152 } | 9152 } |
9153 if (homeDirectory != null) { | 9153 if (homeDirectory != null) { |
9154 _json["homeDirectory"] = homeDirectory; | 9154 _json["homeDirectory"] = homeDirectory; |
9155 } | 9155 } |
9156 if (primary != null) { | 9156 if (primary != null) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9191 customType = _json["customType"]; | 9191 customType = _json["customType"]; |
9192 } | 9192 } |
9193 if (_json.containsKey("type")) { | 9193 if (_json.containsKey("type")) { |
9194 type = _json["type"]; | 9194 type = _json["type"]; |
9195 } | 9195 } |
9196 if (_json.containsKey("value")) { | 9196 if (_json.containsKey("value")) { |
9197 value = _json["value"]; | 9197 value = _json["value"]; |
9198 } | 9198 } |
9199 } | 9199 } |
9200 | 9200 |
9201 core.Map toJson() { | 9201 core.Map<core.String, core.Object> toJson() { |
9202 var _json = new core.Map(); | 9202 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9203 if (customType != null) { | 9203 if (customType != null) { |
9204 _json["customType"] = customType; | 9204 _json["customType"] = customType; |
9205 } | 9205 } |
9206 if (type != null) { | 9206 if (type != null) { |
9207 _json["type"] = type; | 9207 _json["type"] = type; |
9208 } | 9208 } |
9209 if (value != null) { | 9209 if (value != null) { |
9210 _json["value"] = value; | 9210 _json["value"] = value; |
9211 } | 9211 } |
9212 return _json; | 9212 return _json; |
(...skipping 16 matching lines...) Expand all Loading... |
9229 expirationTimeUsec = _json["expirationTimeUsec"]; | 9229 expirationTimeUsec = _json["expirationTimeUsec"]; |
9230 } | 9230 } |
9231 if (_json.containsKey("fingerprint")) { | 9231 if (_json.containsKey("fingerprint")) { |
9232 fingerprint = _json["fingerprint"]; | 9232 fingerprint = _json["fingerprint"]; |
9233 } | 9233 } |
9234 if (_json.containsKey("key")) { | 9234 if (_json.containsKey("key")) { |
9235 key = _json["key"]; | 9235 key = _json["key"]; |
9236 } | 9236 } |
9237 } | 9237 } |
9238 | 9238 |
9239 core.Map toJson() { | 9239 core.Map<core.String, core.Object> toJson() { |
9240 var _json = new core.Map(); | 9240 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9241 if (expirationTimeUsec != null) { | 9241 if (expirationTimeUsec != null) { |
9242 _json["expirationTimeUsec"] = expirationTimeUsec; | 9242 _json["expirationTimeUsec"] = expirationTimeUsec; |
9243 } | 9243 } |
9244 if (fingerprint != null) { | 9244 if (fingerprint != null) { |
9245 _json["fingerprint"] = fingerprint; | 9245 _json["fingerprint"] = fingerprint; |
9246 } | 9246 } |
9247 if (key != null) { | 9247 if (key != null) { |
9248 _json["key"] = key; | 9248 _json["key"] = key; |
9249 } | 9249 } |
9250 return _json; | 9250 return _json; |
9251 } | 9251 } |
9252 } | 9252 } |
9253 | 9253 |
9254 /** JSON request template to undelete a user in Directory API. */ | 9254 /** JSON request template to undelete a user in Directory API. */ |
9255 class UserUndelete { | 9255 class UserUndelete { |
9256 /** OrgUnit of User */ | 9256 /** OrgUnit of User */ |
9257 core.String orgUnitPath; | 9257 core.String orgUnitPath; |
9258 | 9258 |
9259 UserUndelete(); | 9259 UserUndelete(); |
9260 | 9260 |
9261 UserUndelete.fromJson(core.Map _json) { | 9261 UserUndelete.fromJson(core.Map _json) { |
9262 if (_json.containsKey("orgUnitPath")) { | 9262 if (_json.containsKey("orgUnitPath")) { |
9263 orgUnitPath = _json["orgUnitPath"]; | 9263 orgUnitPath = _json["orgUnitPath"]; |
9264 } | 9264 } |
9265 } | 9265 } |
9266 | 9266 |
9267 core.Map toJson() { | 9267 core.Map<core.String, core.Object> toJson() { |
9268 var _json = new core.Map(); | 9268 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9269 if (orgUnitPath != null) { | 9269 if (orgUnitPath != null) { |
9270 _json["orgUnitPath"] = orgUnitPath; | 9270 _json["orgUnitPath"] = orgUnitPath; |
9271 } | 9271 } |
9272 return _json; | 9272 return _json; |
9273 } | 9273 } |
9274 } | 9274 } |
9275 | 9275 |
9276 /** JSON template for a website entry. */ | 9276 /** JSON template for a website entry. */ |
9277 class UserWebsite { | 9277 class UserWebsite { |
9278 /** Custom Type. */ | 9278 /** Custom Type. */ |
(...skipping 21 matching lines...) Expand all Loading... |
9300 primary = _json["primary"]; | 9300 primary = _json["primary"]; |
9301 } | 9301 } |
9302 if (_json.containsKey("type")) { | 9302 if (_json.containsKey("type")) { |
9303 type = _json["type"]; | 9303 type = _json["type"]; |
9304 } | 9304 } |
9305 if (_json.containsKey("value")) { | 9305 if (_json.containsKey("value")) { |
9306 value = _json["value"]; | 9306 value = _json["value"]; |
9307 } | 9307 } |
9308 } | 9308 } |
9309 | 9309 |
9310 core.Map toJson() { | 9310 core.Map<core.String, core.Object> toJson() { |
9311 var _json = new core.Map(); | 9311 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9312 if (customType != null) { | 9312 if (customType != null) { |
9313 _json["customType"] = customType; | 9313 _json["customType"] = customType; |
9314 } | 9314 } |
9315 if (primary != null) { | 9315 if (primary != null) { |
9316 _json["primary"] = primary; | 9316 _json["primary"] = primary; |
9317 } | 9317 } |
9318 if (type != null) { | 9318 if (type != null) { |
9319 _json["type"] = type; | 9319 _json["type"] = type; |
9320 } | 9320 } |
9321 if (value != null) { | 9321 if (value != null) { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9353 nextPageToken = _json["nextPageToken"]; | 9353 nextPageToken = _json["nextPageToken"]; |
9354 } | 9354 } |
9355 if (_json.containsKey("trigger_event")) { | 9355 if (_json.containsKey("trigger_event")) { |
9356 triggerEvent = _json["trigger_event"]; | 9356 triggerEvent = _json["trigger_event"]; |
9357 } | 9357 } |
9358 if (_json.containsKey("users")) { | 9358 if (_json.containsKey("users")) { |
9359 users = _json["users"].map((value) => new User.fromJson(value)).toList(); | 9359 users = _json["users"].map((value) => new User.fromJson(value)).toList(); |
9360 } | 9360 } |
9361 } | 9361 } |
9362 | 9362 |
9363 core.Map toJson() { | 9363 core.Map<core.String, core.Object> toJson() { |
9364 var _json = new core.Map(); | 9364 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9365 if (etag != null) { | 9365 if (etag != null) { |
9366 _json["etag"] = etag; | 9366 _json["etag"] = etag; |
9367 } | 9367 } |
9368 if (kind != null) { | 9368 if (kind != null) { |
9369 _json["kind"] = kind; | 9369 _json["kind"] = kind; |
9370 } | 9370 } |
9371 if (nextPageToken != null) { | 9371 if (nextPageToken != null) { |
9372 _json["nextPageToken"] = nextPageToken; | 9372 _json["nextPageToken"] = nextPageToken; |
9373 } | 9373 } |
9374 if (triggerEvent != null) { | 9374 if (triggerEvent != null) { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9407 kind = _json["kind"]; | 9407 kind = _json["kind"]; |
9408 } | 9408 } |
9409 if (_json.containsKey("userId")) { | 9409 if (_json.containsKey("userId")) { |
9410 userId = _json["userId"]; | 9410 userId = _json["userId"]; |
9411 } | 9411 } |
9412 if (_json.containsKey("verificationCode")) { | 9412 if (_json.containsKey("verificationCode")) { |
9413 verificationCode = _json["verificationCode"]; | 9413 verificationCode = _json["verificationCode"]; |
9414 } | 9414 } |
9415 } | 9415 } |
9416 | 9416 |
9417 core.Map toJson() { | 9417 core.Map<core.String, core.Object> toJson() { |
9418 var _json = new core.Map(); | 9418 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9419 if (etag != null) { | 9419 if (etag != null) { |
9420 _json["etag"] = etag; | 9420 _json["etag"] = etag; |
9421 } | 9421 } |
9422 if (kind != null) { | 9422 if (kind != null) { |
9423 _json["kind"] = kind; | 9423 _json["kind"] = kind; |
9424 } | 9424 } |
9425 if (userId != null) { | 9425 if (userId != null) { |
9426 _json["userId"] = userId; | 9426 _json["userId"] = userId; |
9427 } | 9427 } |
9428 if (verificationCode != null) { | 9428 if (verificationCode != null) { |
(...skipping 25 matching lines...) Expand all Loading... |
9454 etag = _json["etag"]; | 9454 etag = _json["etag"]; |
9455 } | 9455 } |
9456 if (_json.containsKey("items")) { | 9456 if (_json.containsKey("items")) { |
9457 items = _json["items"].map((value) => new VerificationCode.fromJson(value)
).toList(); | 9457 items = _json["items"].map((value) => new VerificationCode.fromJson(value)
).toList(); |
9458 } | 9458 } |
9459 if (_json.containsKey("kind")) { | 9459 if (_json.containsKey("kind")) { |
9460 kind = _json["kind"]; | 9460 kind = _json["kind"]; |
9461 } | 9461 } |
9462 } | 9462 } |
9463 | 9463 |
9464 core.Map toJson() { | 9464 core.Map<core.String, core.Object> toJson() { |
9465 var _json = new core.Map(); | 9465 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
9466 if (etag != null) { | 9466 if (etag != null) { |
9467 _json["etag"] = etag; | 9467 _json["etag"] = etag; |
9468 } | 9468 } |
9469 if (items != null) { | 9469 if (items != null) { |
9470 _json["items"] = items.map((value) => (value).toJson()).toList(); | 9470 _json["items"] = items.map((value) => (value).toJson()).toList(); |
9471 } | 9471 } |
9472 if (kind != null) { | 9472 if (kind != null) { |
9473 _json["kind"] = kind; | 9473 _json["kind"] = kind; |
9474 } | 9474 } |
9475 return _json; | 9475 return _json; |
9476 } | 9476 } |
9477 } | 9477 } |
OLD | NEW |