| 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.identitytoolkit.v3; | 3 library googleapis.identitytoolkit.v3; |
| 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 providerId = _json["providerId"]; | 744 providerId = _json["providerId"]; |
| 745 } | 745 } |
| 746 if (_json.containsKey("registered")) { | 746 if (_json.containsKey("registered")) { |
| 747 registered = _json["registered"]; | 747 registered = _json["registered"]; |
| 748 } | 748 } |
| 749 if (_json.containsKey("sessionId")) { | 749 if (_json.containsKey("sessionId")) { |
| 750 sessionId = _json["sessionId"]; | 750 sessionId = _json["sessionId"]; |
| 751 } | 751 } |
| 752 } | 752 } |
| 753 | 753 |
| 754 core.Map toJson() { | 754 core.Map<core.String, core.Object> toJson() { |
| 755 var _json = new core.Map(); | 755 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 756 if (allProviders != null) { | 756 if (allProviders != null) { |
| 757 _json["allProviders"] = allProviders; | 757 _json["allProviders"] = allProviders; |
| 758 } | 758 } |
| 759 if (authUri != null) { | 759 if (authUri != null) { |
| 760 _json["authUri"] = authUri; | 760 _json["authUri"] = authUri; |
| 761 } | 761 } |
| 762 if (captchaRequired != null) { | 762 if (captchaRequired != null) { |
| 763 _json["captchaRequired"] = captchaRequired; | 763 _json["captchaRequired"] = captchaRequired; |
| 764 } | 764 } |
| 765 if (forExistingProvider != null) { | 765 if (forExistingProvider != null) { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 787 core.String kind; | 787 core.String kind; |
| 788 | 788 |
| 789 DeleteAccountResponse(); | 789 DeleteAccountResponse(); |
| 790 | 790 |
| 791 DeleteAccountResponse.fromJson(core.Map _json) { | 791 DeleteAccountResponse.fromJson(core.Map _json) { |
| 792 if (_json.containsKey("kind")) { | 792 if (_json.containsKey("kind")) { |
| 793 kind = _json["kind"]; | 793 kind = _json["kind"]; |
| 794 } | 794 } |
| 795 } | 795 } |
| 796 | 796 |
| 797 core.Map toJson() { | 797 core.Map<core.String, core.Object> toJson() { |
| 798 var _json = new core.Map(); | 798 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 799 if (kind != null) { | 799 if (kind != null) { |
| 800 _json["kind"] = kind; | 800 _json["kind"] = kind; |
| 801 } | 801 } |
| 802 return _json; | 802 return _json; |
| 803 } | 803 } |
| 804 } | 804 } |
| 805 | 805 |
| 806 /** Response of downloading accounts in batch. */ | 806 /** Response of downloading accounts in batch. */ |
| 807 class DownloadAccountResponse { | 807 class DownloadAccountResponse { |
| 808 /** The fixed string "identitytoolkit#DownloadAccountResponse". */ | 808 /** The fixed string "identitytoolkit#DownloadAccountResponse". */ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 822 kind = _json["kind"]; | 822 kind = _json["kind"]; |
| 823 } | 823 } |
| 824 if (_json.containsKey("nextPageToken")) { | 824 if (_json.containsKey("nextPageToken")) { |
| 825 nextPageToken = _json["nextPageToken"]; | 825 nextPageToken = _json["nextPageToken"]; |
| 826 } | 826 } |
| 827 if (_json.containsKey("users")) { | 827 if (_json.containsKey("users")) { |
| 828 users = _json["users"].map((value) => new UserInfo.fromJson(value)).toList
(); | 828 users = _json["users"].map((value) => new UserInfo.fromJson(value)).toList
(); |
| 829 } | 829 } |
| 830 } | 830 } |
| 831 | 831 |
| 832 core.Map toJson() { | 832 core.Map<core.String, core.Object> toJson() { |
| 833 var _json = new core.Map(); | 833 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 834 if (kind != null) { | 834 if (kind != null) { |
| 835 _json["kind"] = kind; | 835 _json["kind"] = kind; |
| 836 } | 836 } |
| 837 if (nextPageToken != null) { | 837 if (nextPageToken != null) { |
| 838 _json["nextPageToken"] = nextPageToken; | 838 _json["nextPageToken"] = nextPageToken; |
| 839 } | 839 } |
| 840 if (users != null) { | 840 if (users != null) { |
| 841 _json["users"] = users.map((value) => (value).toJson()).toList(); | 841 _json["users"] = users.map((value) => (value).toJson()).toList(); |
| 842 } | 842 } |
| 843 return _json; | 843 return _json; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 fromDisplayName = _json["fromDisplayName"]; | 875 fromDisplayName = _json["fromDisplayName"]; |
| 876 } | 876 } |
| 877 if (_json.containsKey("replyTo")) { | 877 if (_json.containsKey("replyTo")) { |
| 878 replyTo = _json["replyTo"]; | 878 replyTo = _json["replyTo"]; |
| 879 } | 879 } |
| 880 if (_json.containsKey("subject")) { | 880 if (_json.containsKey("subject")) { |
| 881 subject = _json["subject"]; | 881 subject = _json["subject"]; |
| 882 } | 882 } |
| 883 } | 883 } |
| 884 | 884 |
| 885 core.Map toJson() { | 885 core.Map<core.String, core.Object> toJson() { |
| 886 var _json = new core.Map(); | 886 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 887 if (body != null) { | 887 if (body != null) { |
| 888 _json["body"] = body; | 888 _json["body"] = body; |
| 889 } | 889 } |
| 890 if (format != null) { | 890 if (format != null) { |
| 891 _json["format"] = format; | 891 _json["format"] = format; |
| 892 } | 892 } |
| 893 if (from != null) { | 893 if (from != null) { |
| 894 _json["from"] = from; | 894 _json["from"] = from; |
| 895 } | 895 } |
| 896 if (fromDisplayName != null) { | 896 if (fromDisplayName != null) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 917 | 917 |
| 918 GetAccountInfoResponse.fromJson(core.Map _json) { | 918 GetAccountInfoResponse.fromJson(core.Map _json) { |
| 919 if (_json.containsKey("kind")) { | 919 if (_json.containsKey("kind")) { |
| 920 kind = _json["kind"]; | 920 kind = _json["kind"]; |
| 921 } | 921 } |
| 922 if (_json.containsKey("users")) { | 922 if (_json.containsKey("users")) { |
| 923 users = _json["users"].map((value) => new UserInfo.fromJson(value)).toList
(); | 923 users = _json["users"].map((value) => new UserInfo.fromJson(value)).toList
(); |
| 924 } | 924 } |
| 925 } | 925 } |
| 926 | 926 |
| 927 core.Map toJson() { | 927 core.Map<core.String, core.Object> toJson() { |
| 928 var _json = new core.Map(); | 928 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 929 if (kind != null) { | 929 if (kind != null) { |
| 930 _json["kind"] = kind; | 930 _json["kind"] = kind; |
| 931 } | 931 } |
| 932 if (users != null) { | 932 if (users != null) { |
| 933 _json["users"] = users.map((value) => (value).toJson()).toList(); | 933 _json["users"] = users.map((value) => (value).toJson()).toList(); |
| 934 } | 934 } |
| 935 return _json; | 935 return _json; |
| 936 } | 936 } |
| 937 } | 937 } |
| 938 | 938 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 955 email = _json["email"]; | 955 email = _json["email"]; |
| 956 } | 956 } |
| 957 if (_json.containsKey("kind")) { | 957 if (_json.containsKey("kind")) { |
| 958 kind = _json["kind"]; | 958 kind = _json["kind"]; |
| 959 } | 959 } |
| 960 if (_json.containsKey("oobCode")) { | 960 if (_json.containsKey("oobCode")) { |
| 961 oobCode = _json["oobCode"]; | 961 oobCode = _json["oobCode"]; |
| 962 } | 962 } |
| 963 } | 963 } |
| 964 | 964 |
| 965 core.Map toJson() { | 965 core.Map<core.String, core.Object> toJson() { |
| 966 var _json = new core.Map(); | 966 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 967 if (email != null) { | 967 if (email != null) { |
| 968 _json["email"] = email; | 968 _json["email"] = email; |
| 969 } | 969 } |
| 970 if (kind != null) { | 970 if (kind != null) { |
| 971 _json["kind"] = kind; | 971 _json["kind"] = kind; |
| 972 } | 972 } |
| 973 if (oobCode != null) { | 973 if (oobCode != null) { |
| 974 _json["oobCode"] = oobCode; | 974 _json["oobCode"] = oobCode; |
| 975 } | 975 } |
| 976 return _json; | 976 return _json; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 996 kind = _json["kind"]; | 996 kind = _json["kind"]; |
| 997 } | 997 } |
| 998 if (_json.containsKey("recaptchaSiteKey")) { | 998 if (_json.containsKey("recaptchaSiteKey")) { |
| 999 recaptchaSiteKey = _json["recaptchaSiteKey"]; | 999 recaptchaSiteKey = _json["recaptchaSiteKey"]; |
| 1000 } | 1000 } |
| 1001 if (_json.containsKey("recaptchaStoken")) { | 1001 if (_json.containsKey("recaptchaStoken")) { |
| 1002 recaptchaStoken = _json["recaptchaStoken"]; | 1002 recaptchaStoken = _json["recaptchaStoken"]; |
| 1003 } | 1003 } |
| 1004 } | 1004 } |
| 1005 | 1005 |
| 1006 core.Map toJson() { | 1006 core.Map<core.String, core.Object> toJson() { |
| 1007 var _json = new core.Map(); | 1007 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1008 if (kind != null) { | 1008 if (kind != null) { |
| 1009 _json["kind"] = kind; | 1009 _json["kind"] = kind; |
| 1010 } | 1010 } |
| 1011 if (recaptchaSiteKey != null) { | 1011 if (recaptchaSiteKey != null) { |
| 1012 _json["recaptchaSiteKey"] = recaptchaSiteKey; | 1012 _json["recaptchaSiteKey"] = recaptchaSiteKey; |
| 1013 } | 1013 } |
| 1014 if (recaptchaStoken != null) { | 1014 if (recaptchaStoken != null) { |
| 1015 _json["recaptchaStoken"] = recaptchaStoken; | 1015 _json["recaptchaStoken"] = recaptchaStoken; |
| 1016 } | 1016 } |
| 1017 return _json; | 1017 return _json; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1118 otaApp = _json["otaApp"]; | 1118 otaApp = _json["otaApp"]; |
| 1119 } | 1119 } |
| 1120 if (_json.containsKey("providerId")) { | 1120 if (_json.containsKey("providerId")) { |
| 1121 providerId = _json["providerId"]; | 1121 providerId = _json["providerId"]; |
| 1122 } | 1122 } |
| 1123 if (_json.containsKey("sessionId")) { | 1123 if (_json.containsKey("sessionId")) { |
| 1124 sessionId = _json["sessionId"]; | 1124 sessionId = _json["sessionId"]; |
| 1125 } | 1125 } |
| 1126 } | 1126 } |
| 1127 | 1127 |
| 1128 core.Map toJson() { | 1128 core.Map<core.String, core.Object> toJson() { |
| 1129 var _json = new core.Map(); | 1129 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1130 if (appId != null) { | 1130 if (appId != null) { |
| 1131 _json["appId"] = appId; | 1131 _json["appId"] = appId; |
| 1132 } | 1132 } |
| 1133 if (authFlowType != null) { | 1133 if (authFlowType != null) { |
| 1134 _json["authFlowType"] = authFlowType; | 1134 _json["authFlowType"] = authFlowType; |
| 1135 } | 1135 } |
| 1136 if (clientId != null) { | 1136 if (clientId != null) { |
| 1137 _json["clientId"] = clientId; | 1137 _json["clientId"] = clientId; |
| 1138 } | 1138 } |
| 1139 if (context != null) { | 1139 if (context != null) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1192 delegatedProjectNumber = _json["delegatedProjectNumber"]; | 1192 delegatedProjectNumber = _json["delegatedProjectNumber"]; |
| 1193 } | 1193 } |
| 1194 if (_json.containsKey("idToken")) { | 1194 if (_json.containsKey("idToken")) { |
| 1195 idToken = _json["idToken"]; | 1195 idToken = _json["idToken"]; |
| 1196 } | 1196 } |
| 1197 if (_json.containsKey("localId")) { | 1197 if (_json.containsKey("localId")) { |
| 1198 localId = _json["localId"]; | 1198 localId = _json["localId"]; |
| 1199 } | 1199 } |
| 1200 } | 1200 } |
| 1201 | 1201 |
| 1202 core.Map toJson() { | 1202 core.Map<core.String, core.Object> toJson() { |
| 1203 var _json = new core.Map(); | 1203 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1204 if (delegatedProjectNumber != null) { | 1204 if (delegatedProjectNumber != null) { |
| 1205 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 1205 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 1206 } | 1206 } |
| 1207 if (idToken != null) { | 1207 if (idToken != null) { |
| 1208 _json["idToken"] = idToken; | 1208 _json["idToken"] = idToken; |
| 1209 } | 1209 } |
| 1210 if (localId != null) { | 1210 if (localId != null) { |
| 1211 _json["localId"] = localId; | 1211 _json["localId"] = localId; |
| 1212 } | 1212 } |
| 1213 return _json; | 1213 return _json; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1244 maxResults = _json["maxResults"]; | 1244 maxResults = _json["maxResults"]; |
| 1245 } | 1245 } |
| 1246 if (_json.containsKey("nextPageToken")) { | 1246 if (_json.containsKey("nextPageToken")) { |
| 1247 nextPageToken = _json["nextPageToken"]; | 1247 nextPageToken = _json["nextPageToken"]; |
| 1248 } | 1248 } |
| 1249 if (_json.containsKey("targetProjectId")) { | 1249 if (_json.containsKey("targetProjectId")) { |
| 1250 targetProjectId = _json["targetProjectId"]; | 1250 targetProjectId = _json["targetProjectId"]; |
| 1251 } | 1251 } |
| 1252 } | 1252 } |
| 1253 | 1253 |
| 1254 core.Map toJson() { | 1254 core.Map<core.String, core.Object> toJson() { |
| 1255 var _json = new core.Map(); | 1255 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1256 if (delegatedProjectNumber != null) { | 1256 if (delegatedProjectNumber != null) { |
| 1257 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 1257 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 1258 } | 1258 } |
| 1259 if (maxResults != null) { | 1259 if (maxResults != null) { |
| 1260 _json["maxResults"] = maxResults; | 1260 _json["maxResults"] = maxResults; |
| 1261 } | 1261 } |
| 1262 if (nextPageToken != null) { | 1262 if (nextPageToken != null) { |
| 1263 _json["nextPageToken"] = nextPageToken; | 1263 _json["nextPageToken"] = nextPageToken; |
| 1264 } | 1264 } |
| 1265 if (targetProjectId != null) { | 1265 if (targetProjectId != null) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1293 email = _json["email"]; | 1293 email = _json["email"]; |
| 1294 } | 1294 } |
| 1295 if (_json.containsKey("idToken")) { | 1295 if (_json.containsKey("idToken")) { |
| 1296 idToken = _json["idToken"]; | 1296 idToken = _json["idToken"]; |
| 1297 } | 1297 } |
| 1298 if (_json.containsKey("localId")) { | 1298 if (_json.containsKey("localId")) { |
| 1299 localId = _json["localId"]; | 1299 localId = _json["localId"]; |
| 1300 } | 1300 } |
| 1301 } | 1301 } |
| 1302 | 1302 |
| 1303 core.Map toJson() { | 1303 core.Map<core.String, core.Object> toJson() { |
| 1304 var _json = new core.Map(); | 1304 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1305 if (delegatedProjectNumber != null) { | 1305 if (delegatedProjectNumber != null) { |
| 1306 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 1306 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 1307 } | 1307 } |
| 1308 if (email != null) { | 1308 if (email != null) { |
| 1309 _json["email"] = email; | 1309 _json["email"] = email; |
| 1310 } | 1310 } |
| 1311 if (idToken != null) { | 1311 if (idToken != null) { |
| 1312 _json["idToken"] = idToken; | 1312 _json["idToken"] = idToken; |
| 1313 } | 1313 } |
| 1314 if (localId != null) { | 1314 if (localId != null) { |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 resetPasswordTemplate = new EmailTemplate.fromJson(_json["resetPasswordTem
plate"]); | 1378 resetPasswordTemplate = new EmailTemplate.fromJson(_json["resetPasswordTem
plate"]); |
| 1379 } | 1379 } |
| 1380 if (_json.containsKey("useEmailSending")) { | 1380 if (_json.containsKey("useEmailSending")) { |
| 1381 useEmailSending = _json["useEmailSending"]; | 1381 useEmailSending = _json["useEmailSending"]; |
| 1382 } | 1382 } |
| 1383 if (_json.containsKey("verifyEmailTemplate")) { | 1383 if (_json.containsKey("verifyEmailTemplate")) { |
| 1384 verifyEmailTemplate = new EmailTemplate.fromJson(_json["verifyEmailTemplat
e"]); | 1384 verifyEmailTemplate = new EmailTemplate.fromJson(_json["verifyEmailTemplat
e"]); |
| 1385 } | 1385 } |
| 1386 } | 1386 } |
| 1387 | 1387 |
| 1388 core.Map toJson() { | 1388 core.Map<core.String, core.Object> toJson() { |
| 1389 var _json = new core.Map(); | 1389 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1390 if (allowPasswordUser != null) { | 1390 if (allowPasswordUser != null) { |
| 1391 _json["allowPasswordUser"] = allowPasswordUser; | 1391 _json["allowPasswordUser"] = allowPasswordUser; |
| 1392 } | 1392 } |
| 1393 if (apiKey != null) { | 1393 if (apiKey != null) { |
| 1394 _json["apiKey"] = apiKey; | 1394 _json["apiKey"] = apiKey; |
| 1395 } | 1395 } |
| 1396 if (authorizedDomains != null) { | 1396 if (authorizedDomains != null) { |
| 1397 _json["authorizedDomains"] = authorizedDomains; | 1397 _json["authorizedDomains"] = authorizedDomains; |
| 1398 } | 1398 } |
| 1399 if (changeEmailTemplate != null) { | 1399 if (changeEmailTemplate != null) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1433 final core.Map _innerMap = {}; | 1433 final core.Map _innerMap = {}; |
| 1434 | 1434 |
| 1435 IdentitytoolkitRelyingpartyGetPublicKeysResponse(); | 1435 IdentitytoolkitRelyingpartyGetPublicKeysResponse(); |
| 1436 | 1436 |
| 1437 IdentitytoolkitRelyingpartyGetPublicKeysResponse.fromJson(core.Map _json) { | 1437 IdentitytoolkitRelyingpartyGetPublicKeysResponse.fromJson(core.Map _json) { |
| 1438 _json.forEach((core.String key, value) { | 1438 _json.forEach((core.String key, value) { |
| 1439 this[key] = value; | 1439 this[key] = value; |
| 1440 }); | 1440 }); |
| 1441 } | 1441 } |
| 1442 | 1442 |
| 1443 core.Map toJson() { | 1443 core.Map<core.String, core.String> toJson() { |
| 1444 var _json = {}; | 1444 final core.Map<core.String, core.String> _json = <core.String, core.String>{
}; |
| 1445 this.forEach((core.String key, value) { | 1445 this.forEach((core.String key, value) { |
| 1446 _json[key] = value; | 1446 _json[key] = value; |
| 1447 }); | 1447 }); |
| 1448 return _json; | 1448 return _json; |
| 1449 } | 1449 } |
| 1450 | 1450 |
| 1451 core.String operator [](core.Object key) | 1451 core.String operator [](core.Object key) |
| 1452 => _innerMap[key]; | 1452 => _innerMap[key]; |
| 1453 | 1453 |
| 1454 operator []=(core.String key, core.String value) { | 1454 operator []=(core.String key, core.String value) { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1485 newPassword = _json["newPassword"]; | 1485 newPassword = _json["newPassword"]; |
| 1486 } | 1486 } |
| 1487 if (_json.containsKey("oldPassword")) { | 1487 if (_json.containsKey("oldPassword")) { |
| 1488 oldPassword = _json["oldPassword"]; | 1488 oldPassword = _json["oldPassword"]; |
| 1489 } | 1489 } |
| 1490 if (_json.containsKey("oobCode")) { | 1490 if (_json.containsKey("oobCode")) { |
| 1491 oobCode = _json["oobCode"]; | 1491 oobCode = _json["oobCode"]; |
| 1492 } | 1492 } |
| 1493 } | 1493 } |
| 1494 | 1494 |
| 1495 core.Map toJson() { | 1495 core.Map<core.String, core.Object> toJson() { |
| 1496 var _json = new core.Map(); | 1496 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1497 if (email != null) { | 1497 if (email != null) { |
| 1498 _json["email"] = email; | 1498 _json["email"] = email; |
| 1499 } | 1499 } |
| 1500 if (newPassword != null) { | 1500 if (newPassword != null) { |
| 1501 _json["newPassword"] = newPassword; | 1501 _json["newPassword"] = newPassword; |
| 1502 } | 1502 } |
| 1503 if (oldPassword != null) { | 1503 if (oldPassword != null) { |
| 1504 _json["oldPassword"] = oldPassword; | 1504 _json["oldPassword"] = oldPassword; |
| 1505 } | 1505 } |
| 1506 if (oobCode != null) { | 1506 if (oobCode != null) { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 returnSecureToken = _json["returnSecureToken"]; | 1619 returnSecureToken = _json["returnSecureToken"]; |
| 1620 } | 1620 } |
| 1621 if (_json.containsKey("upgradeToFederatedLogin")) { | 1621 if (_json.containsKey("upgradeToFederatedLogin")) { |
| 1622 upgradeToFederatedLogin = _json["upgradeToFederatedLogin"]; | 1622 upgradeToFederatedLogin = _json["upgradeToFederatedLogin"]; |
| 1623 } | 1623 } |
| 1624 if (_json.containsKey("validSince")) { | 1624 if (_json.containsKey("validSince")) { |
| 1625 validSince = _json["validSince"]; | 1625 validSince = _json["validSince"]; |
| 1626 } | 1626 } |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 core.Map toJson() { | 1629 core.Map<core.String, core.Object> toJson() { |
| 1630 var _json = new core.Map(); | 1630 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1631 if (captchaChallenge != null) { | 1631 if (captchaChallenge != null) { |
| 1632 _json["captchaChallenge"] = captchaChallenge; | 1632 _json["captchaChallenge"] = captchaChallenge; |
| 1633 } | 1633 } |
| 1634 if (captchaResponse != null) { | 1634 if (captchaResponse != null) { |
| 1635 _json["captchaResponse"] = captchaResponse; | 1635 _json["captchaResponse"] = captchaResponse; |
| 1636 } | 1636 } |
| 1637 if (createdAt != null) { | 1637 if (createdAt != null) { |
| 1638 _json["createdAt"] = createdAt; | 1638 _json["createdAt"] = createdAt; |
| 1639 } | 1639 } |
| 1640 if (delegatedProjectNumber != null) { | 1640 if (delegatedProjectNumber != null) { |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1754 resetPasswordTemplate = new EmailTemplate.fromJson(_json["resetPasswordTem
plate"]); | 1754 resetPasswordTemplate = new EmailTemplate.fromJson(_json["resetPasswordTem
plate"]); |
| 1755 } | 1755 } |
| 1756 if (_json.containsKey("useEmailSending")) { | 1756 if (_json.containsKey("useEmailSending")) { |
| 1757 useEmailSending = _json["useEmailSending"]; | 1757 useEmailSending = _json["useEmailSending"]; |
| 1758 } | 1758 } |
| 1759 if (_json.containsKey("verifyEmailTemplate")) { | 1759 if (_json.containsKey("verifyEmailTemplate")) { |
| 1760 verifyEmailTemplate = new EmailTemplate.fromJson(_json["verifyEmailTemplat
e"]); | 1760 verifyEmailTemplate = new EmailTemplate.fromJson(_json["verifyEmailTemplat
e"]); |
| 1761 } | 1761 } |
| 1762 } | 1762 } |
| 1763 | 1763 |
| 1764 core.Map toJson() { | 1764 core.Map<core.String, core.Object> toJson() { |
| 1765 var _json = new core.Map(); | 1765 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1766 if (allowPasswordUser != null) { | 1766 if (allowPasswordUser != null) { |
| 1767 _json["allowPasswordUser"] = allowPasswordUser; | 1767 _json["allowPasswordUser"] = allowPasswordUser; |
| 1768 } | 1768 } |
| 1769 if (apiKey != null) { | 1769 if (apiKey != null) { |
| 1770 _json["apiKey"] = apiKey; | 1770 _json["apiKey"] = apiKey; |
| 1771 } | 1771 } |
| 1772 if (authorizedDomains != null) { | 1772 if (authorizedDomains != null) { |
| 1773 _json["authorizedDomains"] = authorizedDomains; | 1773 _json["authorizedDomains"] = authorizedDomains; |
| 1774 } | 1774 } |
| 1775 if (changeEmailTemplate != null) { | 1775 if (changeEmailTemplate != null) { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 1806 core.String projectId; | 1806 core.String projectId; |
| 1807 | 1807 |
| 1808 IdentitytoolkitRelyingpartySetProjectConfigResponse(); | 1808 IdentitytoolkitRelyingpartySetProjectConfigResponse(); |
| 1809 | 1809 |
| 1810 IdentitytoolkitRelyingpartySetProjectConfigResponse.fromJson(core.Map _json) { | 1810 IdentitytoolkitRelyingpartySetProjectConfigResponse.fromJson(core.Map _json) { |
| 1811 if (_json.containsKey("projectId")) { | 1811 if (_json.containsKey("projectId")) { |
| 1812 projectId = _json["projectId"]; | 1812 projectId = _json["projectId"]; |
| 1813 } | 1813 } |
| 1814 } | 1814 } |
| 1815 | 1815 |
| 1816 core.Map toJson() { | 1816 core.Map<core.String, core.Object> toJson() { |
| 1817 var _json = new core.Map(); | 1817 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1818 if (projectId != null) { | 1818 if (projectId != null) { |
| 1819 _json["projectId"] = projectId; | 1819 _json["projectId"] = projectId; |
| 1820 } | 1820 } |
| 1821 return _json; | 1821 return _json; |
| 1822 } | 1822 } |
| 1823 } | 1823 } |
| 1824 | 1824 |
| 1825 /** Request to sign out user. */ | 1825 /** Request to sign out user. */ |
| 1826 class IdentitytoolkitRelyingpartySignOutUserRequest { | 1826 class IdentitytoolkitRelyingpartySignOutUserRequest { |
| 1827 /** Instance id token of the app. */ | 1827 /** Instance id token of the app. */ |
| 1828 core.String instanceId; | 1828 core.String instanceId; |
| 1829 /** The local ID of the user. */ | 1829 /** The local ID of the user. */ |
| 1830 core.String localId; | 1830 core.String localId; |
| 1831 | 1831 |
| 1832 IdentitytoolkitRelyingpartySignOutUserRequest(); | 1832 IdentitytoolkitRelyingpartySignOutUserRequest(); |
| 1833 | 1833 |
| 1834 IdentitytoolkitRelyingpartySignOutUserRequest.fromJson(core.Map _json) { | 1834 IdentitytoolkitRelyingpartySignOutUserRequest.fromJson(core.Map _json) { |
| 1835 if (_json.containsKey("instanceId")) { | 1835 if (_json.containsKey("instanceId")) { |
| 1836 instanceId = _json["instanceId"]; | 1836 instanceId = _json["instanceId"]; |
| 1837 } | 1837 } |
| 1838 if (_json.containsKey("localId")) { | 1838 if (_json.containsKey("localId")) { |
| 1839 localId = _json["localId"]; | 1839 localId = _json["localId"]; |
| 1840 } | 1840 } |
| 1841 } | 1841 } |
| 1842 | 1842 |
| 1843 core.Map toJson() { | 1843 core.Map<core.String, core.Object> toJson() { |
| 1844 var _json = new core.Map(); | 1844 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1845 if (instanceId != null) { | 1845 if (instanceId != null) { |
| 1846 _json["instanceId"] = instanceId; | 1846 _json["instanceId"] = instanceId; |
| 1847 } | 1847 } |
| 1848 if (localId != null) { | 1848 if (localId != null) { |
| 1849 _json["localId"] = localId; | 1849 _json["localId"] = localId; |
| 1850 } | 1850 } |
| 1851 return _json; | 1851 return _json; |
| 1852 } | 1852 } |
| 1853 } | 1853 } |
| 1854 | 1854 |
| 1855 /** Response of signing out user. */ | 1855 /** Response of signing out user. */ |
| 1856 class IdentitytoolkitRelyingpartySignOutUserResponse { | 1856 class IdentitytoolkitRelyingpartySignOutUserResponse { |
| 1857 /** The local ID of the user. */ | 1857 /** The local ID of the user. */ |
| 1858 core.String localId; | 1858 core.String localId; |
| 1859 | 1859 |
| 1860 IdentitytoolkitRelyingpartySignOutUserResponse(); | 1860 IdentitytoolkitRelyingpartySignOutUserResponse(); |
| 1861 | 1861 |
| 1862 IdentitytoolkitRelyingpartySignOutUserResponse.fromJson(core.Map _json) { | 1862 IdentitytoolkitRelyingpartySignOutUserResponse.fromJson(core.Map _json) { |
| 1863 if (_json.containsKey("localId")) { | 1863 if (_json.containsKey("localId")) { |
| 1864 localId = _json["localId"]; | 1864 localId = _json["localId"]; |
| 1865 } | 1865 } |
| 1866 } | 1866 } |
| 1867 | 1867 |
| 1868 core.Map toJson() { | 1868 core.Map<core.String, core.Object> toJson() { |
| 1869 var _json = new core.Map(); | 1869 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1870 if (localId != null) { | 1870 if (localId != null) { |
| 1871 _json["localId"] = localId; | 1871 _json["localId"] = localId; |
| 1872 } | 1872 } |
| 1873 return _json; | 1873 return _json; |
| 1874 } | 1874 } |
| 1875 } | 1875 } |
| 1876 | 1876 |
| 1877 /** | 1877 /** |
| 1878 * Request to signup new user, create anonymous user or anonymous user reauth. | 1878 * Request to signup new user, create anonymous user or anonymous user reauth. |
| 1879 */ | 1879 */ |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1934 localId = _json["localId"]; | 1934 localId = _json["localId"]; |
| 1935 } | 1935 } |
| 1936 if (_json.containsKey("password")) { | 1936 if (_json.containsKey("password")) { |
| 1937 password = _json["password"]; | 1937 password = _json["password"]; |
| 1938 } | 1938 } |
| 1939 if (_json.containsKey("photoUrl")) { | 1939 if (_json.containsKey("photoUrl")) { |
| 1940 photoUrl = _json["photoUrl"]; | 1940 photoUrl = _json["photoUrl"]; |
| 1941 } | 1941 } |
| 1942 } | 1942 } |
| 1943 | 1943 |
| 1944 core.Map toJson() { | 1944 core.Map<core.String, core.Object> toJson() { |
| 1945 var _json = new core.Map(); | 1945 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 1946 if (captchaChallenge != null) { | 1946 if (captchaChallenge != null) { |
| 1947 _json["captchaChallenge"] = captchaChallenge; | 1947 _json["captchaChallenge"] = captchaChallenge; |
| 1948 } | 1948 } |
| 1949 if (captchaResponse != null) { | 1949 if (captchaResponse != null) { |
| 1950 _json["captchaResponse"] = captchaResponse; | 1950 _json["captchaResponse"] = captchaResponse; |
| 1951 } | 1951 } |
| 1952 if (disabled != null) { | 1952 if (disabled != null) { |
| 1953 _json["disabled"] = disabled; | 1953 _json["disabled"] = disabled; |
| 1954 } | 1954 } |
| 1955 if (displayName != null) { | 1955 if (displayName != null) { |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2054 signerKey = _json["signerKey"]; | 2054 signerKey = _json["signerKey"]; |
| 2055 } | 2055 } |
| 2056 if (_json.containsKey("targetProjectId")) { | 2056 if (_json.containsKey("targetProjectId")) { |
| 2057 targetProjectId = _json["targetProjectId"]; | 2057 targetProjectId = _json["targetProjectId"]; |
| 2058 } | 2058 } |
| 2059 if (_json.containsKey("users")) { | 2059 if (_json.containsKey("users")) { |
| 2060 users = _json["users"].map((value) => new UserInfo.fromJson(value)).toList
(); | 2060 users = _json["users"].map((value) => new UserInfo.fromJson(value)).toList
(); |
| 2061 } | 2061 } |
| 2062 } | 2062 } |
| 2063 | 2063 |
| 2064 core.Map toJson() { | 2064 core.Map<core.String, core.Object> toJson() { |
| 2065 var _json = new core.Map(); | 2065 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2066 if (allowOverwrite != null) { | 2066 if (allowOverwrite != null) { |
| 2067 _json["allowOverwrite"] = allowOverwrite; | 2067 _json["allowOverwrite"] = allowOverwrite; |
| 2068 } | 2068 } |
| 2069 if (delegatedProjectNumber != null) { | 2069 if (delegatedProjectNumber != null) { |
| 2070 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 2070 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 2071 } | 2071 } |
| 2072 if (hashAlgorithm != null) { | 2072 if (hashAlgorithm != null) { |
| 2073 _json["hashAlgorithm"] = hashAlgorithm; | 2073 _json["hashAlgorithm"] = hashAlgorithm; |
| 2074 } | 2074 } |
| 2075 if (memoryCost != null) { | 2075 if (memoryCost != null) { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2171 returnRefreshToken = _json["returnRefreshToken"]; | 2171 returnRefreshToken = _json["returnRefreshToken"]; |
| 2172 } | 2172 } |
| 2173 if (_json.containsKey("returnSecureToken")) { | 2173 if (_json.containsKey("returnSecureToken")) { |
| 2174 returnSecureToken = _json["returnSecureToken"]; | 2174 returnSecureToken = _json["returnSecureToken"]; |
| 2175 } | 2175 } |
| 2176 if (_json.containsKey("sessionId")) { | 2176 if (_json.containsKey("sessionId")) { |
| 2177 sessionId = _json["sessionId"]; | 2177 sessionId = _json["sessionId"]; |
| 2178 } | 2178 } |
| 2179 } | 2179 } |
| 2180 | 2180 |
| 2181 core.Map toJson() { | 2181 core.Map<core.String, core.Object> toJson() { |
| 2182 var _json = new core.Map(); | 2182 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2183 if (autoCreate != null) { | 2183 if (autoCreate != null) { |
| 2184 _json["autoCreate"] = autoCreate; | 2184 _json["autoCreate"] = autoCreate; |
| 2185 } | 2185 } |
| 2186 if (delegatedProjectNumber != null) { | 2186 if (delegatedProjectNumber != null) { |
| 2187 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 2187 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 2188 } | 2188 } |
| 2189 if (idToken != null) { | 2189 if (idToken != null) { |
| 2190 _json["idToken"] = idToken; | 2190 _json["idToken"] = idToken; |
| 2191 } | 2191 } |
| 2192 if (instanceId != null) { | 2192 if (instanceId != null) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2241 instanceId = _json["instanceId"]; | 2241 instanceId = _json["instanceId"]; |
| 2242 } | 2242 } |
| 2243 if (_json.containsKey("returnSecureToken")) { | 2243 if (_json.containsKey("returnSecureToken")) { |
| 2244 returnSecureToken = _json["returnSecureToken"]; | 2244 returnSecureToken = _json["returnSecureToken"]; |
| 2245 } | 2245 } |
| 2246 if (_json.containsKey("token")) { | 2246 if (_json.containsKey("token")) { |
| 2247 token = _json["token"]; | 2247 token = _json["token"]; |
| 2248 } | 2248 } |
| 2249 } | 2249 } |
| 2250 | 2250 |
| 2251 core.Map toJson() { | 2251 core.Map<core.String, core.Object> toJson() { |
| 2252 var _json = new core.Map(); | 2252 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2253 if (delegatedProjectNumber != null) { | 2253 if (delegatedProjectNumber != null) { |
| 2254 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 2254 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 2255 } | 2255 } |
| 2256 if (instanceId != null) { | 2256 if (instanceId != null) { |
| 2257 _json["instanceId"] = instanceId; | 2257 _json["instanceId"] = instanceId; |
| 2258 } | 2258 } |
| 2259 if (returnSecureToken != null) { | 2259 if (returnSecureToken != null) { |
| 2260 _json["returnSecureToken"] = returnSecureToken; | 2260 _json["returnSecureToken"] = returnSecureToken; |
| 2261 } | 2261 } |
| 2262 if (token != null) { | 2262 if (token != null) { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2318 password = _json["password"]; | 2318 password = _json["password"]; |
| 2319 } | 2319 } |
| 2320 if (_json.containsKey("pendingIdToken")) { | 2320 if (_json.containsKey("pendingIdToken")) { |
| 2321 pendingIdToken = _json["pendingIdToken"]; | 2321 pendingIdToken = _json["pendingIdToken"]; |
| 2322 } | 2322 } |
| 2323 if (_json.containsKey("returnSecureToken")) { | 2323 if (_json.containsKey("returnSecureToken")) { |
| 2324 returnSecureToken = _json["returnSecureToken"]; | 2324 returnSecureToken = _json["returnSecureToken"]; |
| 2325 } | 2325 } |
| 2326 } | 2326 } |
| 2327 | 2327 |
| 2328 core.Map toJson() { | 2328 core.Map<core.String, core.Object> toJson() { |
| 2329 var _json = new core.Map(); | 2329 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2330 if (captchaChallenge != null) { | 2330 if (captchaChallenge != null) { |
| 2331 _json["captchaChallenge"] = captchaChallenge; | 2331 _json["captchaChallenge"] = captchaChallenge; |
| 2332 } | 2332 } |
| 2333 if (captchaResponse != null) { | 2333 if (captchaResponse != null) { |
| 2334 _json["captchaResponse"] = captchaResponse; | 2334 _json["captchaResponse"] = captchaResponse; |
| 2335 } | 2335 } |
| 2336 if (delegatedProjectNumber != null) { | 2336 if (delegatedProjectNumber != null) { |
| 2337 _json["delegatedProjectNumber"] = delegatedProjectNumber; | 2337 _json["delegatedProjectNumber"] = delegatedProjectNumber; |
| 2338 } | 2338 } |
| 2339 if (email != null) { | 2339 if (email != null) { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2392 provider = _json["provider"]; | 2392 provider = _json["provider"]; |
| 2393 } | 2393 } |
| 2394 if (_json.containsKey("secret")) { | 2394 if (_json.containsKey("secret")) { |
| 2395 secret = _json["secret"]; | 2395 secret = _json["secret"]; |
| 2396 } | 2396 } |
| 2397 if (_json.containsKey("whitelistedAudiences")) { | 2397 if (_json.containsKey("whitelistedAudiences")) { |
| 2398 whitelistedAudiences = _json["whitelistedAudiences"]; | 2398 whitelistedAudiences = _json["whitelistedAudiences"]; |
| 2399 } | 2399 } |
| 2400 } | 2400 } |
| 2401 | 2401 |
| 2402 core.Map toJson() { | 2402 core.Map<core.String, core.Object> toJson() { |
| 2403 var _json = new core.Map(); | 2403 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2404 if (clientId != null) { | 2404 if (clientId != null) { |
| 2405 _json["clientId"] = clientId; | 2405 _json["clientId"] = clientId; |
| 2406 } | 2406 } |
| 2407 if (enabled != null) { | 2407 if (enabled != null) { |
| 2408 _json["enabled"] = enabled; | 2408 _json["enabled"] = enabled; |
| 2409 } | 2409 } |
| 2410 if (experimentPercent != null) { | 2410 if (experimentPercent != null) { |
| 2411 _json["experimentPercent"] = experimentPercent; | 2411 _json["experimentPercent"] = experimentPercent; |
| 2412 } | 2412 } |
| 2413 if (provider != null) { | 2413 if (provider != null) { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2510 newEmail = _json["newEmail"]; | 2510 newEmail = _json["newEmail"]; |
| 2511 } | 2511 } |
| 2512 if (_json.containsKey("requestType")) { | 2512 if (_json.containsKey("requestType")) { |
| 2513 requestType = _json["requestType"]; | 2513 requestType = _json["requestType"]; |
| 2514 } | 2514 } |
| 2515 if (_json.containsKey("userIp")) { | 2515 if (_json.containsKey("userIp")) { |
| 2516 userIp = _json["userIp"]; | 2516 userIp = _json["userIp"]; |
| 2517 } | 2517 } |
| 2518 } | 2518 } |
| 2519 | 2519 |
| 2520 core.Map toJson() { | 2520 core.Map<core.String, core.Object> toJson() { |
| 2521 var _json = new core.Map(); | 2521 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2522 if (androidInstallApp != null) { | 2522 if (androidInstallApp != null) { |
| 2523 _json["androidInstallApp"] = androidInstallApp; | 2523 _json["androidInstallApp"] = androidInstallApp; |
| 2524 } | 2524 } |
| 2525 if (androidMinimumVersion != null) { | 2525 if (androidMinimumVersion != null) { |
| 2526 _json["androidMinimumVersion"] = androidMinimumVersion; | 2526 _json["androidMinimumVersion"] = androidMinimumVersion; |
| 2527 } | 2527 } |
| 2528 if (androidPackageName != null) { | 2528 if (androidPackageName != null) { |
| 2529 _json["androidPackageName"] = androidPackageName; | 2529 _json["androidPackageName"] = androidPackageName; |
| 2530 } | 2530 } |
| 2531 if (canHandleCodeInApp != null) { | 2531 if (canHandleCodeInApp != null) { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2592 kind = _json["kind"]; | 2592 kind = _json["kind"]; |
| 2593 } | 2593 } |
| 2594 if (_json.containsKey("newEmail")) { | 2594 if (_json.containsKey("newEmail")) { |
| 2595 newEmail = _json["newEmail"]; | 2595 newEmail = _json["newEmail"]; |
| 2596 } | 2596 } |
| 2597 if (_json.containsKey("requestType")) { | 2597 if (_json.containsKey("requestType")) { |
| 2598 requestType = _json["requestType"]; | 2598 requestType = _json["requestType"]; |
| 2599 } | 2599 } |
| 2600 } | 2600 } |
| 2601 | 2601 |
| 2602 core.Map toJson() { | 2602 core.Map<core.String, core.Object> toJson() { |
| 2603 var _json = new core.Map(); | 2603 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2604 if (email != null) { | 2604 if (email != null) { |
| 2605 _json["email"] = email; | 2605 _json["email"] = email; |
| 2606 } | 2606 } |
| 2607 if (kind != null) { | 2607 if (kind != null) { |
| 2608 _json["kind"] = kind; | 2608 _json["kind"] = kind; |
| 2609 } | 2609 } |
| 2610 if (newEmail != null) { | 2610 if (newEmail != null) { |
| 2611 _json["newEmail"] = newEmail; | 2611 _json["newEmail"] = newEmail; |
| 2612 } | 2612 } |
| 2613 if (requestType != null) { | 2613 if (requestType != null) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 2641 federatedId = _json["federatedId"]; | 2641 federatedId = _json["federatedId"]; |
| 2642 } | 2642 } |
| 2643 if (_json.containsKey("photoUrl")) { | 2643 if (_json.containsKey("photoUrl")) { |
| 2644 photoUrl = _json["photoUrl"]; | 2644 photoUrl = _json["photoUrl"]; |
| 2645 } | 2645 } |
| 2646 if (_json.containsKey("providerId")) { | 2646 if (_json.containsKey("providerId")) { |
| 2647 providerId = _json["providerId"]; | 2647 providerId = _json["providerId"]; |
| 2648 } | 2648 } |
| 2649 } | 2649 } |
| 2650 | 2650 |
| 2651 core.Map toJson() { | 2651 core.Map<core.String, core.Object> toJson() { |
| 2652 var _json = new core.Map(); | 2652 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2653 if (displayName != null) { | 2653 if (displayName != null) { |
| 2654 _json["displayName"] = displayName; | 2654 _json["displayName"] = displayName; |
| 2655 } | 2655 } |
| 2656 if (federatedId != null) { | 2656 if (federatedId != null) { |
| 2657 _json["federatedId"] = federatedId; | 2657 _json["federatedId"] = federatedId; |
| 2658 } | 2658 } |
| 2659 if (photoUrl != null) { | 2659 if (photoUrl != null) { |
| 2660 _json["photoUrl"] = photoUrl; | 2660 _json["photoUrl"] = photoUrl; |
| 2661 } | 2661 } |
| 2662 if (providerId != null) { | 2662 if (providerId != null) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2737 photoUrl = _json["photoUrl"]; | 2737 photoUrl = _json["photoUrl"]; |
| 2738 } | 2738 } |
| 2739 if (_json.containsKey("providerUserInfo")) { | 2739 if (_json.containsKey("providerUserInfo")) { |
| 2740 providerUserInfo = _json["providerUserInfo"].map((value) => new SetAccount
InfoResponseProviderUserInfo.fromJson(value)).toList(); | 2740 providerUserInfo = _json["providerUserInfo"].map((value) => new SetAccount
InfoResponseProviderUserInfo.fromJson(value)).toList(); |
| 2741 } | 2741 } |
| 2742 if (_json.containsKey("refreshToken")) { | 2742 if (_json.containsKey("refreshToken")) { |
| 2743 refreshToken = _json["refreshToken"]; | 2743 refreshToken = _json["refreshToken"]; |
| 2744 } | 2744 } |
| 2745 } | 2745 } |
| 2746 | 2746 |
| 2747 core.Map toJson() { | 2747 core.Map<core.String, core.Object> toJson() { |
| 2748 var _json = new core.Map(); | 2748 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2749 if (displayName != null) { | 2749 if (displayName != null) { |
| 2750 _json["displayName"] = displayName; | 2750 _json["displayName"] = displayName; |
| 2751 } | 2751 } |
| 2752 if (email != null) { | 2752 if (email != null) { |
| 2753 _json["email"] = email; | 2753 _json["email"] = email; |
| 2754 } | 2754 } |
| 2755 if (emailVerified != null) { | 2755 if (emailVerified != null) { |
| 2756 _json["emailVerified"] = emailVerified; | 2756 _json["emailVerified"] = emailVerified; |
| 2757 } | 2757 } |
| 2758 if (expiresIn != null) { | 2758 if (expiresIn != null) { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2828 kind = _json["kind"]; | 2828 kind = _json["kind"]; |
| 2829 } | 2829 } |
| 2830 if (_json.containsKey("localId")) { | 2830 if (_json.containsKey("localId")) { |
| 2831 localId = _json["localId"]; | 2831 localId = _json["localId"]; |
| 2832 } | 2832 } |
| 2833 if (_json.containsKey("refreshToken")) { | 2833 if (_json.containsKey("refreshToken")) { |
| 2834 refreshToken = _json["refreshToken"]; | 2834 refreshToken = _json["refreshToken"]; |
| 2835 } | 2835 } |
| 2836 } | 2836 } |
| 2837 | 2837 |
| 2838 core.Map toJson() { | 2838 core.Map<core.String, core.Object> toJson() { |
| 2839 var _json = new core.Map(); | 2839 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2840 if (displayName != null) { | 2840 if (displayName != null) { |
| 2841 _json["displayName"] = displayName; | 2841 _json["displayName"] = displayName; |
| 2842 } | 2842 } |
| 2843 if (email != null) { | 2843 if (email != null) { |
| 2844 _json["email"] = email; | 2844 _json["email"] = email; |
| 2845 } | 2845 } |
| 2846 if (expiresIn != null) { | 2846 if (expiresIn != null) { |
| 2847 _json["expiresIn"] = expiresIn; | 2847 _json["expiresIn"] = expiresIn; |
| 2848 } | 2848 } |
| 2849 if (idToken != null) { | 2849 if (idToken != null) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 2872 | 2872 |
| 2873 UploadAccountResponseError.fromJson(core.Map _json) { | 2873 UploadAccountResponseError.fromJson(core.Map _json) { |
| 2874 if (_json.containsKey("index")) { | 2874 if (_json.containsKey("index")) { |
| 2875 index = _json["index"]; | 2875 index = _json["index"]; |
| 2876 } | 2876 } |
| 2877 if (_json.containsKey("message")) { | 2877 if (_json.containsKey("message")) { |
| 2878 message = _json["message"]; | 2878 message = _json["message"]; |
| 2879 } | 2879 } |
| 2880 } | 2880 } |
| 2881 | 2881 |
| 2882 core.Map toJson() { | 2882 core.Map<core.String, core.Object> toJson() { |
| 2883 var _json = new core.Map(); | 2883 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2884 if (index != null) { | 2884 if (index != null) { |
| 2885 _json["index"] = index; | 2885 _json["index"] = index; |
| 2886 } | 2886 } |
| 2887 if (message != null) { | 2887 if (message != null) { |
| 2888 _json["message"] = message; | 2888 _json["message"] = message; |
| 2889 } | 2889 } |
| 2890 return _json; | 2890 return _json; |
| 2891 } | 2891 } |
| 2892 } | 2892 } |
| 2893 | 2893 |
| 2894 /** Respone of uploading accounts in batch. */ | 2894 /** Respone of uploading accounts in batch. */ |
| 2895 class UploadAccountResponse { | 2895 class UploadAccountResponse { |
| 2896 /** The error encountered while processing the account info. */ | 2896 /** The error encountered while processing the account info. */ |
| 2897 core.List<UploadAccountResponseError> error; | 2897 core.List<UploadAccountResponseError> error; |
| 2898 /** The fixed string "identitytoolkit#UploadAccountResponse". */ | 2898 /** The fixed string "identitytoolkit#UploadAccountResponse". */ |
| 2899 core.String kind; | 2899 core.String kind; |
| 2900 | 2900 |
| 2901 UploadAccountResponse(); | 2901 UploadAccountResponse(); |
| 2902 | 2902 |
| 2903 UploadAccountResponse.fromJson(core.Map _json) { | 2903 UploadAccountResponse.fromJson(core.Map _json) { |
| 2904 if (_json.containsKey("error")) { | 2904 if (_json.containsKey("error")) { |
| 2905 error = _json["error"].map((value) => new UploadAccountResponseError.fromJ
son(value)).toList(); | 2905 error = _json["error"].map((value) => new UploadAccountResponseError.fromJ
son(value)).toList(); |
| 2906 } | 2906 } |
| 2907 if (_json.containsKey("kind")) { | 2907 if (_json.containsKey("kind")) { |
| 2908 kind = _json["kind"]; | 2908 kind = _json["kind"]; |
| 2909 } | 2909 } |
| 2910 } | 2910 } |
| 2911 | 2911 |
| 2912 core.Map toJson() { | 2912 core.Map<core.String, core.Object> toJson() { |
| 2913 var _json = new core.Map(); | 2913 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2914 if (error != null) { | 2914 if (error != null) { |
| 2915 _json["error"] = error.map((value) => (value).toJson()).toList(); | 2915 _json["error"] = error.map((value) => (value).toJson()).toList(); |
| 2916 } | 2916 } |
| 2917 if (kind != null) { | 2917 if (kind != null) { |
| 2918 _json["kind"] = kind; | 2918 _json["kind"] = kind; |
| 2919 } | 2919 } |
| 2920 return _json; | 2920 return _json; |
| 2921 } | 2921 } |
| 2922 } | 2922 } |
| 2923 | 2923 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2965 providerId = _json["providerId"]; | 2965 providerId = _json["providerId"]; |
| 2966 } | 2966 } |
| 2967 if (_json.containsKey("rawId")) { | 2967 if (_json.containsKey("rawId")) { |
| 2968 rawId = _json["rawId"]; | 2968 rawId = _json["rawId"]; |
| 2969 } | 2969 } |
| 2970 if (_json.containsKey("screenName")) { | 2970 if (_json.containsKey("screenName")) { |
| 2971 screenName = _json["screenName"]; | 2971 screenName = _json["screenName"]; |
| 2972 } | 2972 } |
| 2973 } | 2973 } |
| 2974 | 2974 |
| 2975 core.Map toJson() { | 2975 core.Map<core.String, core.Object> toJson() { |
| 2976 var _json = new core.Map(); | 2976 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 2977 if (displayName != null) { | 2977 if (displayName != null) { |
| 2978 _json["displayName"] = displayName; | 2978 _json["displayName"] = displayName; |
| 2979 } | 2979 } |
| 2980 if (email != null) { | 2980 if (email != null) { |
| 2981 _json["email"] = email; | 2981 _json["email"] = email; |
| 2982 } | 2982 } |
| 2983 if (federatedId != null) { | 2983 if (federatedId != null) { |
| 2984 _json["federatedId"] = federatedId; | 2984 _json["federatedId"] = federatedId; |
| 2985 } | 2985 } |
| 2986 if (phoneNumber != null) { | 2986 if (phoneNumber != null) { |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3107 screenName = _json["screenName"]; | 3107 screenName = _json["screenName"]; |
| 3108 } | 3108 } |
| 3109 if (_json.containsKey("validSince")) { | 3109 if (_json.containsKey("validSince")) { |
| 3110 validSince = _json["validSince"]; | 3110 validSince = _json["validSince"]; |
| 3111 } | 3111 } |
| 3112 if (_json.containsKey("version")) { | 3112 if (_json.containsKey("version")) { |
| 3113 version = _json["version"]; | 3113 version = _json["version"]; |
| 3114 } | 3114 } |
| 3115 } | 3115 } |
| 3116 | 3116 |
| 3117 core.Map toJson() { | 3117 core.Map<core.String, core.Object> toJson() { |
| 3118 var _json = new core.Map(); | 3118 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3119 if (createdAt != null) { | 3119 if (createdAt != null) { |
| 3120 _json["createdAt"] = createdAt; | 3120 _json["createdAt"] = createdAt; |
| 3121 } | 3121 } |
| 3122 if (customAuth != null) { | 3122 if (customAuth != null) { |
| 3123 _json["customAuth"] = customAuth; | 3123 _json["customAuth"] = customAuth; |
| 3124 } | 3124 } |
| 3125 if (disabled != null) { | 3125 if (disabled != null) { |
| 3126 _json["disabled"] = disabled; | 3126 _json["disabled"] = disabled; |
| 3127 } | 3127 } |
| 3128 if (displayName != null) { | 3128 if (displayName != null) { |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3405 screenName = _json["screenName"]; | 3405 screenName = _json["screenName"]; |
| 3406 } | 3406 } |
| 3407 if (_json.containsKey("timeZone")) { | 3407 if (_json.containsKey("timeZone")) { |
| 3408 timeZone = _json["timeZone"]; | 3408 timeZone = _json["timeZone"]; |
| 3409 } | 3409 } |
| 3410 if (_json.containsKey("verifiedProvider")) { | 3410 if (_json.containsKey("verifiedProvider")) { |
| 3411 verifiedProvider = _json["verifiedProvider"]; | 3411 verifiedProvider = _json["verifiedProvider"]; |
| 3412 } | 3412 } |
| 3413 } | 3413 } |
| 3414 | 3414 |
| 3415 core.Map toJson() { | 3415 core.Map<core.String, core.Object> toJson() { |
| 3416 var _json = new core.Map(); | 3416 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3417 if (action != null) { | 3417 if (action != null) { |
| 3418 _json["action"] = action; | 3418 _json["action"] = action; |
| 3419 } | 3419 } |
| 3420 if (appInstallationUrl != null) { | 3420 if (appInstallationUrl != null) { |
| 3421 _json["appInstallationUrl"] = appInstallationUrl; | 3421 _json["appInstallationUrl"] = appInstallationUrl; |
| 3422 } | 3422 } |
| 3423 if (appScheme != null) { | 3423 if (appScheme != null) { |
| 3424 _json["appScheme"] = appScheme; | 3424 _json["appScheme"] = appScheme; |
| 3425 } | 3425 } |
| 3426 if (context != null) { | 3426 if (context != null) { |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3559 idToken = _json["idToken"]; | 3559 idToken = _json["idToken"]; |
| 3560 } | 3560 } |
| 3561 if (_json.containsKey("kind")) { | 3561 if (_json.containsKey("kind")) { |
| 3562 kind = _json["kind"]; | 3562 kind = _json["kind"]; |
| 3563 } | 3563 } |
| 3564 if (_json.containsKey("refreshToken")) { | 3564 if (_json.containsKey("refreshToken")) { |
| 3565 refreshToken = _json["refreshToken"]; | 3565 refreshToken = _json["refreshToken"]; |
| 3566 } | 3566 } |
| 3567 } | 3567 } |
| 3568 | 3568 |
| 3569 core.Map toJson() { | 3569 core.Map<core.String, core.Object> toJson() { |
| 3570 var _json = new core.Map(); | 3570 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3571 if (expiresIn != null) { | 3571 if (expiresIn != null) { |
| 3572 _json["expiresIn"] = expiresIn; | 3572 _json["expiresIn"] = expiresIn; |
| 3573 } | 3573 } |
| 3574 if (idToken != null) { | 3574 if (idToken != null) { |
| 3575 _json["idToken"] = idToken; | 3575 _json["idToken"] = idToken; |
| 3576 } | 3576 } |
| 3577 if (kind != null) { | 3577 if (kind != null) { |
| 3578 _json["kind"] = kind; | 3578 _json["kind"] = kind; |
| 3579 } | 3579 } |
| 3580 if (refreshToken != null) { | 3580 if (refreshToken != null) { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3654 photoUrl = _json["photoUrl"]; | 3654 photoUrl = _json["photoUrl"]; |
| 3655 } | 3655 } |
| 3656 if (_json.containsKey("refreshToken")) { | 3656 if (_json.containsKey("refreshToken")) { |
| 3657 refreshToken = _json["refreshToken"]; | 3657 refreshToken = _json["refreshToken"]; |
| 3658 } | 3658 } |
| 3659 if (_json.containsKey("registered")) { | 3659 if (_json.containsKey("registered")) { |
| 3660 registered = _json["registered"]; | 3660 registered = _json["registered"]; |
| 3661 } | 3661 } |
| 3662 } | 3662 } |
| 3663 | 3663 |
| 3664 core.Map toJson() { | 3664 core.Map<core.String, core.Object> toJson() { |
| 3665 var _json = new core.Map(); | 3665 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3666 if (displayName != null) { | 3666 if (displayName != null) { |
| 3667 _json["displayName"] = displayName; | 3667 _json["displayName"] = displayName; |
| 3668 } | 3668 } |
| 3669 if (email != null) { | 3669 if (email != null) { |
| 3670 _json["email"] = email; | 3670 _json["email"] = email; |
| 3671 } | 3671 } |
| 3672 if (expiresIn != null) { | 3672 if (expiresIn != null) { |
| 3673 _json["expiresIn"] = expiresIn; | 3673 _json["expiresIn"] = expiresIn; |
| 3674 } | 3674 } |
| 3675 if (idToken != null) { | 3675 if (idToken != null) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3695 } | 3695 } |
| 3696 if (refreshToken != null) { | 3696 if (refreshToken != null) { |
| 3697 _json["refreshToken"] = refreshToken; | 3697 _json["refreshToken"] = refreshToken; |
| 3698 } | 3698 } |
| 3699 if (registered != null) { | 3699 if (registered != null) { |
| 3700 _json["registered"] = registered; | 3700 _json["registered"] = registered; |
| 3701 } | 3701 } |
| 3702 return _json; | 3702 return _json; |
| 3703 } | 3703 } |
| 3704 } | 3704 } |
| OLD | NEW |