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

Side by Side Diff: generated/googleapis/lib/identitytoolkit/v3.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/iam/v1.dart ('k') | generated/googleapis/lib/kgsearch/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.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 2082 matching lines...) Expand 10 before | Expand all | Expand 10 after
2093 if (users != null) { 2093 if (users != null) {
2094 _json["users"] = users.map((value) => (value).toJson()).toList(); 2094 _json["users"] = users.map((value) => (value).toJson()).toList();
2095 } 2095 }
2096 return _json; 2096 return _json;
2097 } 2097 }
2098 } 2098 }
2099 2099
2100 /** Request to verify the IDP assertion. */ 2100 /** Request to verify the IDP assertion. */
2101 class IdentitytoolkitRelyingpartyVerifyAssertionRequest { 2101 class IdentitytoolkitRelyingpartyVerifyAssertionRequest {
2102 /** 2102 /**
2103 * When it's true, automatically creates a new account if the user doesn't
2104 * exist. When it's false, allows existing user to sign in normally and throws
2105 * exception if the user doesn't exist.
2106 */
2107 core.bool autoCreate;
2108 /**
2103 * GCP project number of the requesting delegated app. Currently only intended 2109 * GCP project number of the requesting delegated app. Currently only intended
2104 * for Firebase V1 migration. 2110 * for Firebase V1 migration.
2105 */ 2111 */
2106 core.String delegatedProjectNumber; 2112 core.String delegatedProjectNumber;
2107 /** The GITKit token of the authenticated user. */ 2113 /** The GITKit token of the authenticated user. */
2108 core.String idToken; 2114 core.String idToken;
2109 /** Instance id token of the app. */ 2115 /** Instance id token of the app. */
2110 core.String instanceId; 2116 core.String instanceId;
2111 /** 2117 /**
2112 * The GITKit token for the non-trusted IDP pending to be confirmed by the 2118 * The GITKit token for the non-trusted IDP pending to be confirmed by the
(...skipping 17 matching lines...) Expand all
2130 /** Whether return sts id token and refresh token instead of gitkit token. */ 2136 /** Whether return sts id token and refresh token instead of gitkit token. */
2131 core.bool returnSecureToken; 2137 core.bool returnSecureToken;
2132 /** 2138 /**
2133 * Session ID, which should match the one in previous createAuthUri request. 2139 * Session ID, which should match the one in previous createAuthUri request.
2134 */ 2140 */
2135 core.String sessionId; 2141 core.String sessionId;
2136 2142
2137 IdentitytoolkitRelyingpartyVerifyAssertionRequest(); 2143 IdentitytoolkitRelyingpartyVerifyAssertionRequest();
2138 2144
2139 IdentitytoolkitRelyingpartyVerifyAssertionRequest.fromJson(core.Map _json) { 2145 IdentitytoolkitRelyingpartyVerifyAssertionRequest.fromJson(core.Map _json) {
2146 if (_json.containsKey("autoCreate")) {
2147 autoCreate = _json["autoCreate"];
2148 }
2140 if (_json.containsKey("delegatedProjectNumber")) { 2149 if (_json.containsKey("delegatedProjectNumber")) {
2141 delegatedProjectNumber = _json["delegatedProjectNumber"]; 2150 delegatedProjectNumber = _json["delegatedProjectNumber"];
2142 } 2151 }
2143 if (_json.containsKey("idToken")) { 2152 if (_json.containsKey("idToken")) {
2144 idToken = _json["idToken"]; 2153 idToken = _json["idToken"];
2145 } 2154 }
2146 if (_json.containsKey("instanceId")) { 2155 if (_json.containsKey("instanceId")) {
2147 instanceId = _json["instanceId"]; 2156 instanceId = _json["instanceId"];
2148 } 2157 }
2149 if (_json.containsKey("pendingIdToken")) { 2158 if (_json.containsKey("pendingIdToken")) {
(...skipping 14 matching lines...) Expand all
2164 if (_json.containsKey("returnSecureToken")) { 2173 if (_json.containsKey("returnSecureToken")) {
2165 returnSecureToken = _json["returnSecureToken"]; 2174 returnSecureToken = _json["returnSecureToken"];
2166 } 2175 }
2167 if (_json.containsKey("sessionId")) { 2176 if (_json.containsKey("sessionId")) {
2168 sessionId = _json["sessionId"]; 2177 sessionId = _json["sessionId"];
2169 } 2178 }
2170 } 2179 }
2171 2180
2172 core.Map toJson() { 2181 core.Map toJson() {
2173 var _json = new core.Map(); 2182 var _json = new core.Map();
2183 if (autoCreate != null) {
2184 _json["autoCreate"] = autoCreate;
2185 }
2174 if (delegatedProjectNumber != null) { 2186 if (delegatedProjectNumber != null) {
2175 _json["delegatedProjectNumber"] = delegatedProjectNumber; 2187 _json["delegatedProjectNumber"] = delegatedProjectNumber;
2176 } 2188 }
2177 if (idToken != null) { 2189 if (idToken != null) {
2178 _json["idToken"] = idToken; 2190 _json["idToken"] = idToken;
2179 } 2191 }
2180 if (instanceId != null) { 2192 if (instanceId != null) {
2181 _json["instanceId"] = instanceId; 2193 _json["instanceId"] = instanceId;
2182 } 2194 }
2183 if (pendingIdToken != null) { 2195 if (pendingIdToken != null) {
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
2409 } 2421 }
2410 return _json; 2422 return _json;
2411 } 2423 }
2412 } 2424 }
2413 2425
2414 /** 2426 /**
2415 * Request of getting a code for user confirmation (reset password, change email 2427 * Request of getting a code for user confirmation (reset password, change email
2416 * etc.) 2428 * etc.)
2417 */ 2429 */
2418 class Relyingparty { 2430 class Relyingparty {
2431 /**
2432 * whether or not to install the android app on the device where the link is
2433 * opened
2434 */
2435 core.bool androidInstallApp;
2436 /**
2437 * minimum version of the app. if the version on the device is lower than this
2438 * version then the user is taken to the play store to upgrade the app
2439 */
2440 core.String androidMinimumVersion;
2441 /** android package name of the android app to handle the action code */
2442 core.String androidPackageName;
2443 /**
2444 * whether or not the app can handle the oob code without first going to web
2445 */
2446 core.bool canHandleCodeInApp;
2419 /** The recaptcha response from the user. */ 2447 /** The recaptcha response from the user. */
2420 core.String captchaResp; 2448 core.String captchaResp;
2421 /** The recaptcha challenge presented to the user. */ 2449 /** The recaptcha challenge presented to the user. */
2422 core.String challenge; 2450 core.String challenge;
2451 /** The url to continue to the Gitkit app */
2452 core.String continueUrl;
2423 /** The email of the user. */ 2453 /** The email of the user. */
2424 core.String email; 2454 core.String email;
2455 /** iOS app store id to download the app if it's not already installed */
2456 core.String iOSAppStoreId;
2457 /** the iOS bundle id of iOS app to handle the action code */
2458 core.String iOSBundleId;
2425 /** The user's Gitkit login token for email change. */ 2459 /** The user's Gitkit login token for email change. */
2426 core.String idToken; 2460 core.String idToken;
2427 /** The fixed string "identitytoolkit#relyingparty". */ 2461 /** The fixed string "identitytoolkit#relyingparty". */
2428 core.String kind; 2462 core.String kind;
2429 /** The new email if the code is for email change. */ 2463 /** The new email if the code is for email change. */
2430 core.String newEmail; 2464 core.String newEmail;
2431 /** The request type. */ 2465 /** The request type. */
2432 core.String requestType; 2466 core.String requestType;
2433 /** The IP address of the user. */ 2467 /** The IP address of the user. */
2434 core.String userIp; 2468 core.String userIp;
2435 2469
2436 Relyingparty(); 2470 Relyingparty();
2437 2471
2438 Relyingparty.fromJson(core.Map _json) { 2472 Relyingparty.fromJson(core.Map _json) {
2473 if (_json.containsKey("androidInstallApp")) {
2474 androidInstallApp = _json["androidInstallApp"];
2475 }
2476 if (_json.containsKey("androidMinimumVersion")) {
2477 androidMinimumVersion = _json["androidMinimumVersion"];
2478 }
2479 if (_json.containsKey("androidPackageName")) {
2480 androidPackageName = _json["androidPackageName"];
2481 }
2482 if (_json.containsKey("canHandleCodeInApp")) {
2483 canHandleCodeInApp = _json["canHandleCodeInApp"];
2484 }
2439 if (_json.containsKey("captchaResp")) { 2485 if (_json.containsKey("captchaResp")) {
2440 captchaResp = _json["captchaResp"]; 2486 captchaResp = _json["captchaResp"];
2441 } 2487 }
2442 if (_json.containsKey("challenge")) { 2488 if (_json.containsKey("challenge")) {
2443 challenge = _json["challenge"]; 2489 challenge = _json["challenge"];
2444 } 2490 }
2491 if (_json.containsKey("continueUrl")) {
2492 continueUrl = _json["continueUrl"];
2493 }
2445 if (_json.containsKey("email")) { 2494 if (_json.containsKey("email")) {
2446 email = _json["email"]; 2495 email = _json["email"];
2447 } 2496 }
2497 if (_json.containsKey("iOSAppStoreId")) {
2498 iOSAppStoreId = _json["iOSAppStoreId"];
2499 }
2500 if (_json.containsKey("iOSBundleId")) {
2501 iOSBundleId = _json["iOSBundleId"];
2502 }
2448 if (_json.containsKey("idToken")) { 2503 if (_json.containsKey("idToken")) {
2449 idToken = _json["idToken"]; 2504 idToken = _json["idToken"];
2450 } 2505 }
2451 if (_json.containsKey("kind")) { 2506 if (_json.containsKey("kind")) {
2452 kind = _json["kind"]; 2507 kind = _json["kind"];
2453 } 2508 }
2454 if (_json.containsKey("newEmail")) { 2509 if (_json.containsKey("newEmail")) {
2455 newEmail = _json["newEmail"]; 2510 newEmail = _json["newEmail"];
2456 } 2511 }
2457 if (_json.containsKey("requestType")) { 2512 if (_json.containsKey("requestType")) {
2458 requestType = _json["requestType"]; 2513 requestType = _json["requestType"];
2459 } 2514 }
2460 if (_json.containsKey("userIp")) { 2515 if (_json.containsKey("userIp")) {
2461 userIp = _json["userIp"]; 2516 userIp = _json["userIp"];
2462 } 2517 }
2463 } 2518 }
2464 2519
2465 core.Map toJson() { 2520 core.Map toJson() {
2466 var _json = new core.Map(); 2521 var _json = new core.Map();
2522 if (androidInstallApp != null) {
2523 _json["androidInstallApp"] = androidInstallApp;
2524 }
2525 if (androidMinimumVersion != null) {
2526 _json["androidMinimumVersion"] = androidMinimumVersion;
2527 }
2528 if (androidPackageName != null) {
2529 _json["androidPackageName"] = androidPackageName;
2530 }
2531 if (canHandleCodeInApp != null) {
2532 _json["canHandleCodeInApp"] = canHandleCodeInApp;
2533 }
2467 if (captchaResp != null) { 2534 if (captchaResp != null) {
2468 _json["captchaResp"] = captchaResp; 2535 _json["captchaResp"] = captchaResp;
2469 } 2536 }
2470 if (challenge != null) { 2537 if (challenge != null) {
2471 _json["challenge"] = challenge; 2538 _json["challenge"] = challenge;
2472 } 2539 }
2540 if (continueUrl != null) {
2541 _json["continueUrl"] = continueUrl;
2542 }
2473 if (email != null) { 2543 if (email != null) {
2474 _json["email"] = email; 2544 _json["email"] = email;
2475 } 2545 }
2546 if (iOSAppStoreId != null) {
2547 _json["iOSAppStoreId"] = iOSAppStoreId;
2548 }
2549 if (iOSBundleId != null) {
2550 _json["iOSBundleId"] = iOSBundleId;
2551 }
2476 if (idToken != null) { 2552 if (idToken != null) {
2477 _json["idToken"] = idToken; 2553 _json["idToken"] = idToken;
2478 } 2554 }
2479 if (kind != null) { 2555 if (kind != null) {
2480 _json["kind"] = kind; 2556 _json["kind"] = kind;
2481 } 2557 }
2482 if (newEmail != null) { 2558 if (newEmail != null) {
2483 _json["newEmail"] = newEmail; 2559 _json["newEmail"] = newEmail;
2484 } 2560 }
2485 if (requestType != null) { 2561 if (requestType != null) {
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
3603 } 3679 }
3604 if (refreshToken != null) { 3680 if (refreshToken != null) {
3605 _json["refreshToken"] = refreshToken; 3681 _json["refreshToken"] = refreshToken;
3606 } 3682 }
3607 if (registered != null) { 3683 if (registered != null) {
3608 _json["registered"] = registered; 3684 _json["registered"] = registered;
3609 } 3685 }
3610 return _json; 3686 return _json;
3611 } 3687 }
3612 } 3688 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/iam/v1.dart ('k') | generated/googleapis/lib/kgsearch/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698