Test Failed
Push — master ( d99c6b...fb4ca3 )
by Stiofan
15:44
created

VerifyAssertionResponse::getFullName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * Copyright 2010 Google Inc.
4
 *
5
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6
 * use this file except in compliance with the License. You may obtain a copy of
7
 * the License at
8
 *
9
 * http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 * Unless required by applicable law or agreed to in writing, software
12
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
 * License for the specific language governing permissions and limitations under
15
 * the License.
16
 */
17
18
/**
19
 * Service definition for IdentityToolkit (v3).
20
 *
21
 * <p>
22
 * Help the third party sites to implement federated login.</p>
23
 *
24
 * <p>
25
 * For more information about this service, see the API
26
 * <a href="https://developers.google.com/identity-toolkit/v3/" target="_blank">Documentation</a>
27
 * </p>
28
 *
29
 * @author Google, Inc.
30
 */
31
class Google_Service_IdentityToolkit extends Google_Service
32
{
33
34
35
  public $relyingparty;
36
  
37
38
  /**
39
   * Constructs the internal representation of the IdentityToolkit service.
40
   *
41
   * @param Google_Client $client
42
   */
43
  public function __construct(Google_Client $client)
44
  {
45
    parent::__construct($client);
46
    $this->rootUrl = 'https://www.googleapis.com/';
47
    $this->servicePath = 'identitytoolkit/v3/relyingparty/';
48
    $this->version = 'v3';
49
    $this->serviceName = 'identitytoolkit';
0 ignored issues
show
Bug introduced by
The property serviceName does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
50
51
    $this->relyingparty = new Google_Service_IdentityToolkit_Relyingparty_Resource(
52
        $this,
53
        $this->serviceName,
54
        'relyingparty',
55
        array(
56
          'methods' => array(
57
            'createAuthUri' => array(
58
              'path' => 'createAuthUri',
59
              'httpMethod' => 'POST',
60
              'parameters' => array(),
61
            ),'deleteAccount' => array(
62
              'path' => 'deleteAccount',
63
              'httpMethod' => 'POST',
64
              'parameters' => array(),
65
            ),'downloadAccount' => array(
66
              'path' => 'downloadAccount',
67
              'httpMethod' => 'POST',
68
              'parameters' => array(),
69
            ),'getAccountInfo' => array(
70
              'path' => 'getAccountInfo',
71
              'httpMethod' => 'POST',
72
              'parameters' => array(),
73
            ),'getOobConfirmationCode' => array(
74
              'path' => 'getOobConfirmationCode',
75
              'httpMethod' => 'POST',
76
              'parameters' => array(),
77
            ),'getPublicKeys' => array(
78
              'path' => 'publicKeys',
79
              'httpMethod' => 'GET',
80
              'parameters' => array(),
81
            ),'getRecaptchaParam' => array(
82
              'path' => 'getRecaptchaParam',
83
              'httpMethod' => 'GET',
84
              'parameters' => array(),
85
            ),'resetPassword' => array(
86
              'path' => 'resetPassword',
87
              'httpMethod' => 'POST',
88
              'parameters' => array(),
89
            ),'setAccountInfo' => array(
90
              'path' => 'setAccountInfo',
91
              'httpMethod' => 'POST',
92
              'parameters' => array(),
93
            ),'uploadAccount' => array(
94
              'path' => 'uploadAccount',
95
              'httpMethod' => 'POST',
96
              'parameters' => array(),
97
            ),'verifyAssertion' => array(
98
              'path' => 'verifyAssertion',
99
              'httpMethod' => 'POST',
100
              'parameters' => array(),
101
            ),'verifyPassword' => array(
102
              'path' => 'verifyPassword',
103
              'httpMethod' => 'POST',
104
              'parameters' => array(),
105
            ),
106
          )
107
        )
108
    );
109
  }
110
}
111
112
113
/**
114
 * The "relyingparty" collection of methods.
115
 * Typical usage is:
116
 *  <code>
117
 *   $identitytoolkitService = new Google_Service_IdentityToolkit(...);
118
 *   $relyingparty = $identitytoolkitService->relyingparty;
119
 *  </code>
120
 */
121
class Google_Service_IdentityToolkit_Relyingparty_Resource extends Google_Service_Resource
122
{
123
124
  /**
125
   * Creates the URI used by the IdP to authenticate the user.
126
   * (relyingparty.createAuthUri)
127
   *
128
   * @param Google_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody
129
   * @param array $optParams Optional parameters.
130
   * @return Google_Service_IdentityToolkit_CreateAuthUriResponse
131
   */
132
  public function createAuthUri(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest $postBody, $optParams = array())
133
  {
134
    $params = array('postBody' => $postBody);
135
    $params = array_merge($params, $optParams);
136
    return $this->call('createAuthUri', array($params), "Google_Service_IdentityToolkit_CreateAuthUriResponse");
137
  }
138
139
  /**
140
   * Delete user account. (relyingparty.deleteAccount)
141
   *
142
   * @param Google_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody
143
   * @param array $optParams Optional parameters.
144
   * @return Google_Service_IdentityToolkit_DeleteAccountResponse
145
   */
146
  public function deleteAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest $postBody, $optParams = array())
147
  {
148
    $params = array('postBody' => $postBody);
149
    $params = array_merge($params, $optParams);
150
    return $this->call('deleteAccount', array($params), "Google_Service_IdentityToolkit_DeleteAccountResponse");
151
  }
152
153
  /**
154
   * Batch download user accounts. (relyingparty.downloadAccount)
155
   *
156
   * @param Google_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody
157
   * @param array $optParams Optional parameters.
158
   * @return Google_Service_IdentityToolkit_DownloadAccountResponse
159
   */
160
  public function downloadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest $postBody, $optParams = array())
161
  {
162
    $params = array('postBody' => $postBody);
163
    $params = array_merge($params, $optParams);
164
    return $this->call('downloadAccount', array($params), "Google_Service_IdentityToolkit_DownloadAccountResponse");
165
  }
166
167
  /**
168
   * Returns the account info. (relyingparty.getAccountInfo)
169
   *
170
   * @param Google_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody
171
   * @param array $optParams Optional parameters.
172
   * @return Google_Service_IdentityToolkit_GetAccountInfoResponse
173
   */
174
  public function getAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest $postBody, $optParams = array())
175
  {
176
    $params = array('postBody' => $postBody);
177
    $params = array_merge($params, $optParams);
178
    return $this->call('getAccountInfo', array($params), "Google_Service_IdentityToolkit_GetAccountInfoResponse");
179
  }
180
181
  /**
182
   * Get a code for user action confirmation.
183
   * (relyingparty.getOobConfirmationCode)
184
   *
185
   * @param Google_Relyingparty $postBody
186
   * @param array $optParams Optional parameters.
187
   * @return Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse
188
   */
189
  public function getOobConfirmationCode(Google_Service_IdentityToolkit_Relyingparty $postBody, $optParams = array())
190
  {
191
    $params = array('postBody' => $postBody);
192
    $params = array_merge($params, $optParams);
193
    return $this->call('getOobConfirmationCode', array($params), "Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse");
194
  }
195
196
  /**
197
   * Get token signing public key. (relyingparty.getPublicKeys)
198
   *
199
   * @param array $optParams Optional parameters.
200
   * @return Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse
201
   */
202
  public function getPublicKeys($optParams = array())
203
  {
204
    $params = array();
205
    $params = array_merge($params, $optParams);
206
    return $this->call('getPublicKeys', array($params), "Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse");
207
  }
208
209
  /**
210
   * Get recaptcha secure param. (relyingparty.getRecaptchaParam)
211
   *
212
   * @param array $optParams Optional parameters.
213
   * @return Google_Service_IdentityToolkit_GetRecaptchaParamResponse
214
   */
215
  public function getRecaptchaParam($optParams = array())
216
  {
217
    $params = array();
218
    $params = array_merge($params, $optParams);
219
    return $this->call('getRecaptchaParam', array($params), "Google_Service_IdentityToolkit_GetRecaptchaParamResponse");
220
  }
221
222
  /**
223
   * Reset password for a user. (relyingparty.resetPassword)
224
   *
225
   * @param Google_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody
226
   * @param array $optParams Optional parameters.
227
   * @return Google_Service_IdentityToolkit_ResetPasswordResponse
228
   */
229
  public function resetPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array())
230
  {
231
    $params = array('postBody' => $postBody);
232
    $params = array_merge($params, $optParams);
233
    return $this->call('resetPassword', array($params), "Google_Service_IdentityToolkit_ResetPasswordResponse");
234
  }
235
236
  /**
237
   * Set account info for a user. (relyingparty.setAccountInfo)
238
   *
239
   * @param Google_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody
240
   * @param array $optParams Optional parameters.
241
   * @return Google_Service_IdentityToolkit_SetAccountInfoResponse
242
   */
243
  public function setAccountInfo(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest $postBody, $optParams = array())
244
  {
245
    $params = array('postBody' => $postBody);
246
    $params = array_merge($params, $optParams);
247
    return $this->call('setAccountInfo', array($params), "Google_Service_IdentityToolkit_SetAccountInfoResponse");
248
  }
249
250
  /**
251
   * Batch upload existing user accounts. (relyingparty.uploadAccount)
252
   *
253
   * @param Google_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody
254
   * @param array $optParams Optional parameters.
255
   * @return Google_Service_IdentityToolkit_UploadAccountResponse
256
   */
257
  public function uploadAccount(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest $postBody, $optParams = array())
258
  {
259
    $params = array('postBody' => $postBody);
260
    $params = array_merge($params, $optParams);
261
    return $this->call('uploadAccount', array($params), "Google_Service_IdentityToolkit_UploadAccountResponse");
262
  }
263
264
  /**
265
   * Verifies the assertion returned by the IdP. (relyingparty.verifyAssertion)
266
   *
267
   * @param Google_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody
268
   * @param array $optParams Optional parameters.
269
   * @return Google_Service_IdentityToolkit_VerifyAssertionResponse
270
   */
271
  public function verifyAssertion(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest $postBody, $optParams = array())
272
  {
273
    $params = array('postBody' => $postBody);
274
    $params = array_merge($params, $optParams);
275
    return $this->call('verifyAssertion', array($params), "Google_Service_IdentityToolkit_VerifyAssertionResponse");
276
  }
277
278
  /**
279
   * Verifies the user entered password. (relyingparty.verifyPassword)
280
   *
281
   * @param Google_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody
282
   * @param array $optParams Optional parameters.
283
   * @return Google_Service_IdentityToolkit_VerifyPasswordResponse
284
   */
285
  public function verifyPassword(Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest $postBody, $optParams = array())
286
  {
287
    $params = array('postBody' => $postBody);
288
    $params = array_merge($params, $optParams);
289
    return $this->call('verifyPassword', array($params), "Google_Service_IdentityToolkit_VerifyPasswordResponse");
290
  }
291
}
292
293
294
295
296
class Google_Service_IdentityToolkit_CreateAuthUriResponse extends Google_Model
297
{
298
  protected $internal_gapi_mappings = array(
299
  );
300
  public $authUri;
301
  public $captchaRequired;
302
  public $forExistingProvider;
303
  public $kind;
304
  public $providerId;
305
  public $registered;
306
307
308
  public function setAuthUri($authUri)
309
  {
310
    $this->authUri = $authUri;
311
  }
312
  public function getAuthUri()
313
  {
314
    return $this->authUri;
315
  }
316
  public function setCaptchaRequired($captchaRequired)
317
  {
318
    $this->captchaRequired = $captchaRequired;
319
  }
320
  public function getCaptchaRequired()
321
  {
322
    return $this->captchaRequired;
323
  }
324
  public function setForExistingProvider($forExistingProvider)
325
  {
326
    $this->forExistingProvider = $forExistingProvider;
327
  }
328
  public function getForExistingProvider()
329
  {
330
    return $this->forExistingProvider;
331
  }
332
  public function setKind($kind)
333
  {
334
    $this->kind = $kind;
335
  }
336
  public function getKind()
337
  {
338
    return $this->kind;
339
  }
340
  public function setProviderId($providerId)
341
  {
342
    $this->providerId = $providerId;
343
  }
344
  public function getProviderId()
345
  {
346
    return $this->providerId;
347
  }
348
  public function setRegistered($registered)
349
  {
350
    $this->registered = $registered;
351
  }
352
  public function getRegistered()
353
  {
354
    return $this->registered;
355
  }
356
}
357
358
class Google_Service_IdentityToolkit_DeleteAccountResponse extends Google_Model
359
{
360
  protected $internal_gapi_mappings = array(
361
  );
362
  public $kind;
363
364
365
  public function setKind($kind)
366
  {
367
    $this->kind = $kind;
368
  }
369
  public function getKind()
370
  {
371
    return $this->kind;
372
  }
373
}
374
375
class Google_Service_IdentityToolkit_DownloadAccountResponse extends Google_Collection
376
{
377
  protected $collection_key = 'users';
378
  protected $internal_gapi_mappings = array(
379
  );
380
  public $kind;
381
  public $nextPageToken;
382
  protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
383
  protected $usersDataType = 'array';
384
385
386
  public function setKind($kind)
387
  {
388
    $this->kind = $kind;
389
  }
390
  public function getKind()
391
  {
392
    return $this->kind;
393
  }
394
  public function setNextPageToken($nextPageToken)
395
  {
396
    $this->nextPageToken = $nextPageToken;
397
  }
398
  public function getNextPageToken()
399
  {
400
    return $this->nextPageToken;
401
  }
402
  public function setUsers($users)
403
  {
404
    $this->users = $users;
0 ignored issues
show
Bug introduced by
The property users does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
405
  }
406
  public function getUsers()
407
  {
408
    return $this->users;
409
  }
410
}
411
412
class Google_Service_IdentityToolkit_GetAccountInfoResponse extends Google_Collection
413
{
414
  protected $collection_key = 'users';
415
  protected $internal_gapi_mappings = array(
416
  );
417
  public $kind;
418
  protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
419
  protected $usersDataType = 'array';
420
421
422
  public function setKind($kind)
423
  {
424
    $this->kind = $kind;
425
  }
426
  public function getKind()
427
  {
428
    return $this->kind;
429
  }
430
  public function setUsers($users)
431
  {
432
    $this->users = $users;
0 ignored issues
show
Bug introduced by
The property users does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
433
  }
434
  public function getUsers()
435
  {
436
    return $this->users;
437
  }
438
}
439
440
class Google_Service_IdentityToolkit_GetOobConfirmationCodeResponse extends Google_Model
441
{
442
  protected $internal_gapi_mappings = array(
443
  );
444
  public $kind;
445
  public $oobCode;
446
447
448
  public function setKind($kind)
449
  {
450
    $this->kind = $kind;
451
  }
452
  public function getKind()
453
  {
454
    return $this->kind;
455
  }
456
  public function setOobCode($oobCode)
457
  {
458
    $this->oobCode = $oobCode;
459
  }
460
  public function getOobCode()
461
  {
462
    return $this->oobCode;
463
  }
464
}
465
466
class Google_Service_IdentityToolkit_GetRecaptchaParamResponse extends Google_Model
467
{
468
  protected $internal_gapi_mappings = array(
469
  );
470
  public $kind;
471
  public $recaptchaSiteKey;
472
  public $recaptchaStoken;
473
474
475
  public function setKind($kind)
476
  {
477
    $this->kind = $kind;
478
  }
479
  public function getKind()
480
  {
481
    return $this->kind;
482
  }
483
  public function setRecaptchaSiteKey($recaptchaSiteKey)
484
  {
485
    $this->recaptchaSiteKey = $recaptchaSiteKey;
486
  }
487
  public function getRecaptchaSiteKey()
488
  {
489
    return $this->recaptchaSiteKey;
490
  }
491
  public function setRecaptchaStoken($recaptchaStoken)
492
  {
493
    $this->recaptchaStoken = $recaptchaStoken;
494
  }
495
  public function getRecaptchaStoken()
496
  {
497
    return $this->recaptchaStoken;
498
  }
499
}
500
501
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyCreateAuthUriRequest extends Google_Model
502
{
503
  protected $internal_gapi_mappings = array(
504
  );
505
  public $appId;
506
  public $clientId;
507
  public $context;
508
  public $continueUri;
509
  public $identifier;
510
  public $oauthConsumerKey;
511
  public $oauthScope;
512
  public $openidRealm;
513
  public $otaApp;
514
  public $providerId;
515
516
517
  public function setAppId($appId)
518
  {
519
    $this->appId = $appId;
520
  }
521
  public function getAppId()
522
  {
523
    return $this->appId;
524
  }
525
  public function setClientId($clientId)
526
  {
527
    $this->clientId = $clientId;
528
  }
529
  public function getClientId()
530
  {
531
    return $this->clientId;
532
  }
533
  public function setContext($context)
534
  {
535
    $this->context = $context;
536
  }
537
  public function getContext()
538
  {
539
    return $this->context;
540
  }
541
  public function setContinueUri($continueUri)
542
  {
543
    $this->continueUri = $continueUri;
544
  }
545
  public function getContinueUri()
546
  {
547
    return $this->continueUri;
548
  }
549
  public function setIdentifier($identifier)
550
  {
551
    $this->identifier = $identifier;
552
  }
553
  public function getIdentifier()
554
  {
555
    return $this->identifier;
556
  }
557
  public function setOauthConsumerKey($oauthConsumerKey)
558
  {
559
    $this->oauthConsumerKey = $oauthConsumerKey;
560
  }
561
  public function getOauthConsumerKey()
562
  {
563
    return $this->oauthConsumerKey;
564
  }
565
  public function setOauthScope($oauthScope)
566
  {
567
    $this->oauthScope = $oauthScope;
568
  }
569
  public function getOauthScope()
570
  {
571
    return $this->oauthScope;
572
  }
573
  public function setOpenidRealm($openidRealm)
574
  {
575
    $this->openidRealm = $openidRealm;
576
  }
577
  public function getOpenidRealm()
578
  {
579
    return $this->openidRealm;
580
  }
581
  public function setOtaApp($otaApp)
582
  {
583
    $this->otaApp = $otaApp;
584
  }
585
  public function getOtaApp()
586
  {
587
    return $this->otaApp;
588
  }
589
  public function setProviderId($providerId)
590
  {
591
    $this->providerId = $providerId;
592
  }
593
  public function getProviderId()
594
  {
595
    return $this->providerId;
596
  }
597
}
598
599
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDeleteAccountRequest extends Google_Model
600
{
601
  protected $internal_gapi_mappings = array(
602
  );
603
  public $localId;
604
605
606
  public function setLocalId($localId)
607
  {
608
    $this->localId = $localId;
609
  }
610
  public function getLocalId()
611
  {
612
    return $this->localId;
613
  }
614
}
615
616
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyDownloadAccountRequest extends Google_Model
617
{
618
  protected $internal_gapi_mappings = array(
619
  );
620
  public $maxResults;
621
  public $nextPageToken;
622
623
624
  public function setMaxResults($maxResults)
625
  {
626
    $this->maxResults = $maxResults;
627
  }
628
  public function getMaxResults()
629
  {
630
    return $this->maxResults;
631
  }
632
  public function setNextPageToken($nextPageToken)
633
  {
634
    $this->nextPageToken = $nextPageToken;
635
  }
636
  public function getNextPageToken()
637
  {
638
    return $this->nextPageToken;
639
  }
640
}
641
642
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetAccountInfoRequest extends Google_Collection
643
{
644
  protected $collection_key = 'localId';
645
  protected $internal_gapi_mappings = array(
646
  );
647
  public $email;
648
  public $idToken;
649
  public $localId;
650
651
652
  public function setEmail($email)
653
  {
654
    $this->email = $email;
655
  }
656
  public function getEmail()
657
  {
658
    return $this->email;
659
  }
660
  public function setIdToken($idToken)
661
  {
662
    $this->idToken = $idToken;
663
  }
664
  public function getIdToken()
665
  {
666
    return $this->idToken;
667
  }
668
  public function setLocalId($localId)
669
  {
670
    $this->localId = $localId;
671
  }
672
  public function getLocalId()
673
  {
674
    return $this->localId;
675
  }
676
}
677
678
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyGetPublicKeysResponse extends Google_Model
679
{
680
}
681
682
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest extends Google_Model
683
{
684
  protected $internal_gapi_mappings = array(
685
  );
686
  public $email;
687
  public $newPassword;
688
  public $oldPassword;
689
  public $oobCode;
690
691
692
  public function setEmail($email)
693
  {
694
    $this->email = $email;
695
  }
696
  public function getEmail()
697
  {
698
    return $this->email;
699
  }
700
  public function setNewPassword($newPassword)
701
  {
702
    $this->newPassword = $newPassword;
703
  }
704
  public function getNewPassword()
705
  {
706
    return $this->newPassword;
707
  }
708
  public function setOldPassword($oldPassword)
709
  {
710
    $this->oldPassword = $oldPassword;
711
  }
712
  public function getOldPassword()
713
  {
714
    return $this->oldPassword;
715
  }
716
  public function setOobCode($oobCode)
717
  {
718
    $this->oobCode = $oobCode;
719
  }
720
  public function getOobCode()
721
  {
722
    return $this->oobCode;
723
  }
724
}
725
726
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartySetAccountInfoRequest extends Google_Collection
727
{
728
  protected $collection_key = 'provider';
729
  protected $internal_gapi_mappings = array(
730
  );
731
  public $captchaChallenge;
732
  public $captchaResponse;
733
  public $disableUser;
734
  public $displayName;
735
  public $email;
736
  public $emailVerified;
737
  public $idToken;
738
  public $localId;
739
  public $oobCode;
740
  public $password;
741
  public $provider;
742
  public $upgradeToFederatedLogin;
743
  public $validSince;
744
745
746
  public function setCaptchaChallenge($captchaChallenge)
747
  {
748
    $this->captchaChallenge = $captchaChallenge;
749
  }
750
  public function getCaptchaChallenge()
751
  {
752
    return $this->captchaChallenge;
753
  }
754
  public function setCaptchaResponse($captchaResponse)
755
  {
756
    $this->captchaResponse = $captchaResponse;
757
  }
758
  public function getCaptchaResponse()
759
  {
760
    return $this->captchaResponse;
761
  }
762
  public function setDisableUser($disableUser)
763
  {
764
    $this->disableUser = $disableUser;
765
  }
766
  public function getDisableUser()
767
  {
768
    return $this->disableUser;
769
  }
770
  public function setDisplayName($displayName)
771
  {
772
    $this->displayName = $displayName;
773
  }
774
  public function getDisplayName()
775
  {
776
    return $this->displayName;
777
  }
778
  public function setEmail($email)
779
  {
780
    $this->email = $email;
781
  }
782
  public function getEmail()
783
  {
784
    return $this->email;
785
  }
786
  public function setEmailVerified($emailVerified)
787
  {
788
    $this->emailVerified = $emailVerified;
789
  }
790
  public function getEmailVerified()
791
  {
792
    return $this->emailVerified;
793
  }
794
  public function setIdToken($idToken)
795
  {
796
    $this->idToken = $idToken;
797
  }
798
  public function getIdToken()
799
  {
800
    return $this->idToken;
801
  }
802
  public function setLocalId($localId)
803
  {
804
    $this->localId = $localId;
805
  }
806
  public function getLocalId()
807
  {
808
    return $this->localId;
809
  }
810
  public function setOobCode($oobCode)
811
  {
812
    $this->oobCode = $oobCode;
813
  }
814
  public function getOobCode()
815
  {
816
    return $this->oobCode;
817
  }
818
  public function setPassword($password)
819
  {
820
    $this->password = $password;
821
  }
822
  public function getPassword()
823
  {
824
    return $this->password;
825
  }
826
  public function setProvider($provider)
827
  {
828
    $this->provider = $provider;
829
  }
830
  public function getProvider()
831
  {
832
    return $this->provider;
833
  }
834
  public function setUpgradeToFederatedLogin($upgradeToFederatedLogin)
835
  {
836
    $this->upgradeToFederatedLogin = $upgradeToFederatedLogin;
837
  }
838
  public function getUpgradeToFederatedLogin()
839
  {
840
    return $this->upgradeToFederatedLogin;
841
  }
842
  public function setValidSince($validSince)
843
  {
844
    $this->validSince = $validSince;
845
  }
846
  public function getValidSince()
847
  {
848
    return $this->validSince;
849
  }
850
}
851
852
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyUploadAccountRequest extends Google_Collection
853
{
854
  protected $collection_key = 'users';
855
  protected $internal_gapi_mappings = array(
856
  );
857
  public $hashAlgorithm;
858
  public $memoryCost;
859
  public $rounds;
860
  public $saltSeparator;
861
  public $signerKey;
862
  protected $usersType = 'Google_Service_IdentityToolkit_UserInfo';
863
  protected $usersDataType = 'array';
864
865
866
  public function setHashAlgorithm($hashAlgorithm)
867
  {
868
    $this->hashAlgorithm = $hashAlgorithm;
869
  }
870
  public function getHashAlgorithm()
871
  {
872
    return $this->hashAlgorithm;
873
  }
874
  public function setMemoryCost($memoryCost)
875
  {
876
    $this->memoryCost = $memoryCost;
877
  }
878
  public function getMemoryCost()
879
  {
880
    return $this->memoryCost;
881
  }
882
  public function setRounds($rounds)
883
  {
884
    $this->rounds = $rounds;
885
  }
886
  public function getRounds()
887
  {
888
    return $this->rounds;
889
  }
890
  public function setSaltSeparator($saltSeparator)
891
  {
892
    $this->saltSeparator = $saltSeparator;
893
  }
894
  public function getSaltSeparator()
895
  {
896
    return $this->saltSeparator;
897
  }
898
  public function setSignerKey($signerKey)
899
  {
900
    $this->signerKey = $signerKey;
901
  }
902
  public function getSignerKey()
903
  {
904
    return $this->signerKey;
905
  }
906
  public function setUsers($users)
907
  {
908
    $this->users = $users;
0 ignored issues
show
Bug introduced by
The property users does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
909
  }
910
  public function getUsers()
911
  {
912
    return $this->users;
913
  }
914
}
915
916
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyAssertionRequest extends Google_Model
917
{
918
  protected $internal_gapi_mappings = array(
919
  );
920
  public $pendingIdToken;
921
  public $postBody;
922
  public $requestUri;
923
  public $returnRefreshToken;
924
925
926
  public function setPendingIdToken($pendingIdToken)
927
  {
928
    $this->pendingIdToken = $pendingIdToken;
929
  }
930
  public function getPendingIdToken()
931
  {
932
    return $this->pendingIdToken;
933
  }
934
  public function setPostBody($postBody)
935
  {
936
    $this->postBody = $postBody;
937
  }
938
  public function getPostBody()
939
  {
940
    return $this->postBody;
941
  }
942
  public function setRequestUri($requestUri)
943
  {
944
    $this->requestUri = $requestUri;
945
  }
946
  public function getRequestUri()
947
  {
948
    return $this->requestUri;
949
  }
950
  public function setReturnRefreshToken($returnRefreshToken)
951
  {
952
    $this->returnRefreshToken = $returnRefreshToken;
953
  }
954
  public function getReturnRefreshToken()
955
  {
956
    return $this->returnRefreshToken;
957
  }
958
}
959
960
class Google_Service_IdentityToolkit_IdentitytoolkitRelyingpartyVerifyPasswordRequest extends Google_Model
961
{
962
  protected $internal_gapi_mappings = array(
963
  );
964
  public $captchaChallenge;
965
  public $captchaResponse;
966
  public $email;
967
  public $password;
968
  public $pendingIdToken;
969
970
971
  public function setCaptchaChallenge($captchaChallenge)
972
  {
973
    $this->captchaChallenge = $captchaChallenge;
974
  }
975
  public function getCaptchaChallenge()
976
  {
977
    return $this->captchaChallenge;
978
  }
979
  public function setCaptchaResponse($captchaResponse)
980
  {
981
    $this->captchaResponse = $captchaResponse;
982
  }
983
  public function getCaptchaResponse()
984
  {
985
    return $this->captchaResponse;
986
  }
987
  public function setEmail($email)
988
  {
989
    $this->email = $email;
990
  }
991
  public function getEmail()
992
  {
993
    return $this->email;
994
  }
995
  public function setPassword($password)
996
  {
997
    $this->password = $password;
998
  }
999
  public function getPassword()
1000
  {
1001
    return $this->password;
1002
  }
1003
  public function setPendingIdToken($pendingIdToken)
1004
  {
1005
    $this->pendingIdToken = $pendingIdToken;
1006
  }
1007
  public function getPendingIdToken()
1008
  {
1009
    return $this->pendingIdToken;
1010
  }
1011
}
1012
1013
class Google_Service_IdentityToolkit_Relyingparty extends Google_Model
1014
{
1015
  protected $internal_gapi_mappings = array(
1016
  );
1017
  public $captchaResp;
1018
  public $challenge;
1019
  public $email;
1020
  public $idToken;
1021
  public $kind;
1022
  public $newEmail;
1023
  public $requestType;
1024
  public $userIp;
1025
1026
1027
  public function setCaptchaResp($captchaResp)
1028
  {
1029
    $this->captchaResp = $captchaResp;
1030
  }
1031
  public function getCaptchaResp()
1032
  {
1033
    return $this->captchaResp;
1034
  }
1035
  public function setChallenge($challenge)
1036
  {
1037
    $this->challenge = $challenge;
1038
  }
1039
  public function getChallenge()
1040
  {
1041
    return $this->challenge;
1042
  }
1043
  public function setEmail($email)
1044
  {
1045
    $this->email = $email;
1046
  }
1047
  public function getEmail()
1048
  {
1049
    return $this->email;
1050
  }
1051
  public function setIdToken($idToken)
1052
  {
1053
    $this->idToken = $idToken;
1054
  }
1055
  public function getIdToken()
1056
  {
1057
    return $this->idToken;
1058
  }
1059
  public function setKind($kind)
1060
  {
1061
    $this->kind = $kind;
1062
  }
1063
  public function getKind()
1064
  {
1065
    return $this->kind;
1066
  }
1067
  public function setNewEmail($newEmail)
1068
  {
1069
    $this->newEmail = $newEmail;
1070
  }
1071
  public function getNewEmail()
1072
  {
1073
    return $this->newEmail;
1074
  }
1075
  public function setRequestType($requestType)
1076
  {
1077
    $this->requestType = $requestType;
1078
  }
1079
  public function getRequestType()
1080
  {
1081
    return $this->requestType;
1082
  }
1083
  public function setUserIp($userIp)
1084
  {
1085
    $this->userIp = $userIp;
1086
  }
1087
  public function getUserIp()
1088
  {
1089
    return $this->userIp;
1090
  }
1091
}
1092
1093 View Code Duplication
class Google_Service_IdentityToolkit_ResetPasswordResponse extends Google_Model
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
1094
{
1095
  protected $internal_gapi_mappings = array(
1096
  );
1097
  public $email;
1098
  public $kind;
1099
1100
1101
  public function setEmail($email)
1102
  {
1103
    $this->email = $email;
1104
  }
1105
  public function getEmail()
1106
  {
1107
    return $this->email;
1108
  }
1109
  public function setKind($kind)
1110
  {
1111
    $this->kind = $kind;
1112
  }
1113
  public function getKind()
1114
  {
1115
    return $this->kind;
1116
  }
1117
}
1118
1119
class Google_Service_IdentityToolkit_SetAccountInfoResponse extends Google_Collection
1120
{
1121
  protected $collection_key = 'providerUserInfo';
1122
  protected $internal_gapi_mappings = array(
1123
  );
1124
  public $displayName;
1125
  public $email;
1126
  public $idToken;
1127
  public $kind;
1128
  protected $providerUserInfoType = 'Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo';
1129
  protected $providerUserInfoDataType = 'array';
1130
1131
1132
  public function setDisplayName($displayName)
1133
  {
1134
    $this->displayName = $displayName;
1135
  }
1136
  public function getDisplayName()
1137
  {
1138
    return $this->displayName;
1139
  }
1140
  public function setEmail($email)
1141
  {
1142
    $this->email = $email;
1143
  }
1144
  public function getEmail()
1145
  {
1146
    return $this->email;
1147
  }
1148
  public function setIdToken($idToken)
1149
  {
1150
    $this->idToken = $idToken;
1151
  }
1152
  public function getIdToken()
1153
  {
1154
    return $this->idToken;
1155
  }
1156
  public function setKind($kind)
1157
  {
1158
    $this->kind = $kind;
1159
  }
1160
  public function getKind()
1161
  {
1162
    return $this->kind;
1163
  }
1164
  public function setProviderUserInfo($providerUserInfo)
1165
  {
1166
    $this->providerUserInfo = $providerUserInfo;
1167
  }
1168
  public function getProviderUserInfo()
1169
  {
1170
    return $this->providerUserInfo;
1171
  }
1172
}
1173
1174
class Google_Service_IdentityToolkit_SetAccountInfoResponseProviderUserInfo extends Google_Model
1175
{
1176
  protected $internal_gapi_mappings = array(
1177
  );
1178
  public $displayName;
1179
  public $photoUrl;
1180
  public $providerId;
1181
1182
1183
  public function setDisplayName($displayName)
1184
  {
1185
    $this->displayName = $displayName;
1186
  }
1187
  public function getDisplayName()
1188
  {
1189
    return $this->displayName;
1190
  }
1191
  public function setPhotoUrl($photoUrl)
1192
  {
1193
    $this->photoUrl = $photoUrl;
1194
  }
1195
  public function getPhotoUrl()
1196
  {
1197
    return $this->photoUrl;
1198
  }
1199
  public function setProviderId($providerId)
1200
  {
1201
    $this->providerId = $providerId;
1202
  }
1203
  public function getProviderId()
1204
  {
1205
    return $this->providerId;
1206
  }
1207
}
1208
1209
class Google_Service_IdentityToolkit_UploadAccountResponse extends Google_Collection
1210
{
1211
  protected $collection_key = 'error';
1212
  protected $internal_gapi_mappings = array(
1213
  );
1214
  protected $errorType = 'Google_Service_IdentityToolkit_UploadAccountResponseError';
1215
  protected $errorDataType = 'array';
1216
  public $kind;
1217
1218
1219
  public function setError($error)
1220
  {
1221
    $this->error = $error;
0 ignored issues
show
Bug introduced by
The property error does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
1222
  }
1223
  public function getError()
1224
  {
1225
    return $this->error;
1226
  }
1227
  public function setKind($kind)
1228
  {
1229
    $this->kind = $kind;
1230
  }
1231
  public function getKind()
1232
  {
1233
    return $this->kind;
1234
  }
1235
}
1236
1237
class Google_Service_IdentityToolkit_UploadAccountResponseError extends Google_Model
1238
{
1239
  protected $internal_gapi_mappings = array(
1240
  );
1241
  public $index;
1242
  public $message;
1243
1244
1245
  public function setIndex($index)
1246
  {
1247
    $this->index = $index;
1248
  }
1249
  public function getIndex()
1250
  {
1251
    return $this->index;
1252
  }
1253
  public function setMessage($message)
1254
  {
1255
    $this->message = $message;
1256
  }
1257
  public function getMessage()
1258
  {
1259
    return $this->message;
1260
  }
1261
}
1262
1263
class Google_Service_IdentityToolkit_UserInfo extends Google_Collection
1264
{
1265
  protected $collection_key = 'providerUserInfo';
1266
  protected $internal_gapi_mappings = array(
1267
  );
1268
  public $disabled;
1269
  public $displayName;
1270
  public $email;
1271
  public $emailVerified;
1272
  public $localId;
1273
  public $passwordHash;
1274
  public $passwordUpdatedAt;
1275
  public $photoUrl;
1276
  protected $providerUserInfoType = 'Google_Service_IdentityToolkit_UserInfoProviderUserInfo';
1277
  protected $providerUserInfoDataType = 'array';
1278
  public $salt;
1279
  public $validSince;
1280
  public $version;
1281
1282
1283
  public function setDisabled($disabled)
1284
  {
1285
    $this->disabled = $disabled;
1286
  }
1287
  public function getDisabled()
1288
  {
1289
    return $this->disabled;
1290
  }
1291
  public function setDisplayName($displayName)
1292
  {
1293
    $this->displayName = $displayName;
1294
  }
1295
  public function getDisplayName()
1296
  {
1297
    return $this->displayName;
1298
  }
1299
  public function setEmail($email)
1300
  {
1301
    $this->email = $email;
1302
  }
1303
  public function getEmail()
1304
  {
1305
    return $this->email;
1306
  }
1307
  public function setEmailVerified($emailVerified)
1308
  {
1309
    $this->emailVerified = $emailVerified;
1310
  }
1311
  public function getEmailVerified()
1312
  {
1313
    return $this->emailVerified;
1314
  }
1315
  public function setLocalId($localId)
1316
  {
1317
    $this->localId = $localId;
1318
  }
1319
  public function getLocalId()
1320
  {
1321
    return $this->localId;
1322
  }
1323
  public function setPasswordHash($passwordHash)
1324
  {
1325
    $this->passwordHash = $passwordHash;
1326
  }
1327
  public function getPasswordHash()
1328
  {
1329
    return $this->passwordHash;
1330
  }
1331
  public function setPasswordUpdatedAt($passwordUpdatedAt)
1332
  {
1333
    $this->passwordUpdatedAt = $passwordUpdatedAt;
1334
  }
1335
  public function getPasswordUpdatedAt()
1336
  {
1337
    return $this->passwordUpdatedAt;
1338
  }
1339
  public function setPhotoUrl($photoUrl)
1340
  {
1341
    $this->photoUrl = $photoUrl;
1342
  }
1343
  public function getPhotoUrl()
1344
  {
1345
    return $this->photoUrl;
1346
  }
1347
  public function setProviderUserInfo($providerUserInfo)
1348
  {
1349
    $this->providerUserInfo = $providerUserInfo;
1350
  }
1351
  public function getProviderUserInfo()
1352
  {
1353
    return $this->providerUserInfo;
1354
  }
1355
  public function setSalt($salt)
1356
  {
1357
    $this->salt = $salt;
1358
  }
1359
  public function getSalt()
1360
  {
1361
    return $this->salt;
1362
  }
1363
  public function setValidSince($validSince)
1364
  {
1365
    $this->validSince = $validSince;
1366
  }
1367
  public function getValidSince()
1368
  {
1369
    return $this->validSince;
1370
  }
1371
  public function setVersion($version)
1372
  {
1373
    $this->version = $version;
1374
  }
1375
  public function getVersion()
1376
  {
1377
    return $this->version;
1378
  }
1379
}
1380
1381
class Google_Service_IdentityToolkit_UserInfoProviderUserInfo extends Google_Model
1382
{
1383
  protected $internal_gapi_mappings = array(
1384
  );
1385
  public $displayName;
1386
  public $federatedId;
1387
  public $photoUrl;
1388
  public $providerId;
1389
1390
1391
  public function setDisplayName($displayName)
1392
  {
1393
    $this->displayName = $displayName;
1394
  }
1395
  public function getDisplayName()
1396
  {
1397
    return $this->displayName;
1398
  }
1399
  public function setFederatedId($federatedId)
1400
  {
1401
    $this->federatedId = $federatedId;
1402
  }
1403
  public function getFederatedId()
1404
  {
1405
    return $this->federatedId;
1406
  }
1407
  public function setPhotoUrl($photoUrl)
1408
  {
1409
    $this->photoUrl = $photoUrl;
1410
  }
1411
  public function getPhotoUrl()
1412
  {
1413
    return $this->photoUrl;
1414
  }
1415
  public function setProviderId($providerId)
1416
  {
1417
    $this->providerId = $providerId;
1418
  }
1419
  public function getProviderId()
1420
  {
1421
    return $this->providerId;
1422
  }
1423
}
1424
1425
class Google_Service_IdentityToolkit_VerifyAssertionResponse extends Google_Collection
1426
{
1427
  protected $collection_key = 'verifiedProvider';
1428
  protected $internal_gapi_mappings = array(
1429
  );
1430
  public $action;
1431
  public $appInstallationUrl;
1432
  public $appScheme;
1433
  public $context;
1434
  public $dateOfBirth;
1435
  public $displayName;
1436
  public $email;
1437
  public $emailRecycled;
1438
  public $emailVerified;
1439
  public $federatedId;
1440
  public $firstName;
1441
  public $fullName;
1442
  public $idToken;
1443
  public $inputEmail;
1444
  public $kind;
1445
  public $language;
1446
  public $lastName;
1447
  public $localId;
1448
  public $needConfirmation;
1449
  public $nickName;
1450
  public $oauthAccessToken;
1451
  public $oauthAuthorizationCode;
1452
  public $oauthExpireIn;
1453
  public $oauthRequestToken;
1454
  public $oauthScope;
1455
  public $originalEmail;
1456
  public $photoUrl;
1457
  public $providerId;
1458
  public $timeZone;
1459
  public $verifiedProvider;
1460
1461
1462
  public function setAction($action)
1463
  {
1464
    $this->action = $action;
1465
  }
1466
  public function getAction()
1467
  {
1468
    return $this->action;
1469
  }
1470
  public function setAppInstallationUrl($appInstallationUrl)
1471
  {
1472
    $this->appInstallationUrl = $appInstallationUrl;
1473
  }
1474
  public function getAppInstallationUrl()
1475
  {
1476
    return $this->appInstallationUrl;
1477
  }
1478
  public function setAppScheme($appScheme)
1479
  {
1480
    $this->appScheme = $appScheme;
1481
  }
1482
  public function getAppScheme()
1483
  {
1484
    return $this->appScheme;
1485
  }
1486
  public function setContext($context)
1487
  {
1488
    $this->context = $context;
1489
  }
1490
  public function getContext()
1491
  {
1492
    return $this->context;
1493
  }
1494
  public function setDateOfBirth($dateOfBirth)
1495
  {
1496
    $this->dateOfBirth = $dateOfBirth;
1497
  }
1498
  public function getDateOfBirth()
1499
  {
1500
    return $this->dateOfBirth;
1501
  }
1502
  public function setDisplayName($displayName)
1503
  {
1504
    $this->displayName = $displayName;
1505
  }
1506
  public function getDisplayName()
1507
  {
1508
    return $this->displayName;
1509
  }
1510
  public function setEmail($email)
1511
  {
1512
    $this->email = $email;
1513
  }
1514
  public function getEmail()
1515
  {
1516
    return $this->email;
1517
  }
1518
  public function setEmailRecycled($emailRecycled)
1519
  {
1520
    $this->emailRecycled = $emailRecycled;
1521
  }
1522
  public function getEmailRecycled()
1523
  {
1524
    return $this->emailRecycled;
1525
  }
1526
  public function setEmailVerified($emailVerified)
1527
  {
1528
    $this->emailVerified = $emailVerified;
1529
  }
1530
  public function getEmailVerified()
1531
  {
1532
    return $this->emailVerified;
1533
  }
1534
  public function setFederatedId($federatedId)
1535
  {
1536
    $this->federatedId = $federatedId;
1537
  }
1538
  public function getFederatedId()
1539
  {
1540
    return $this->federatedId;
1541
  }
1542
  public function setFirstName($firstName)
1543
  {
1544
    $this->firstName = $firstName;
1545
  }
1546
  public function getFirstName()
1547
  {
1548
    return $this->firstName;
1549
  }
1550
  public function setFullName($fullName)
1551
  {
1552
    $this->fullName = $fullName;
1553
  }
1554
  public function getFullName()
1555
  {
1556
    return $this->fullName;
1557
  }
1558
  public function setIdToken($idToken)
1559
  {
1560
    $this->idToken = $idToken;
1561
  }
1562
  public function getIdToken()
1563
  {
1564
    return $this->idToken;
1565
  }
1566
  public function setInputEmail($inputEmail)
1567
  {
1568
    $this->inputEmail = $inputEmail;
1569
  }
1570
  public function getInputEmail()
1571
  {
1572
    return $this->inputEmail;
1573
  }
1574
  public function setKind($kind)
1575
  {
1576
    $this->kind = $kind;
1577
  }
1578
  public function getKind()
1579
  {
1580
    return $this->kind;
1581
  }
1582
  public function setLanguage($language)
1583
  {
1584
    $this->language = $language;
1585
  }
1586
  public function getLanguage()
1587
  {
1588
    return $this->language;
1589
  }
1590
  public function setLastName($lastName)
1591
  {
1592
    $this->lastName = $lastName;
1593
  }
1594
  public function getLastName()
1595
  {
1596
    return $this->lastName;
1597
  }
1598
  public function setLocalId($localId)
1599
  {
1600
    $this->localId = $localId;
1601
  }
1602
  public function getLocalId()
1603
  {
1604
    return $this->localId;
1605
  }
1606
  public function setNeedConfirmation($needConfirmation)
1607
  {
1608
    $this->needConfirmation = $needConfirmation;
1609
  }
1610
  public function getNeedConfirmation()
1611
  {
1612
    return $this->needConfirmation;
1613
  }
1614
  public function setNickName($nickName)
1615
  {
1616
    $this->nickName = $nickName;
1617
  }
1618
  public function getNickName()
1619
  {
1620
    return $this->nickName;
1621
  }
1622
  public function setOauthAccessToken($oauthAccessToken)
1623
  {
1624
    $this->oauthAccessToken = $oauthAccessToken;
1625
  }
1626
  public function getOauthAccessToken()
1627
  {
1628
    return $this->oauthAccessToken;
1629
  }
1630
  public function setOauthAuthorizationCode($oauthAuthorizationCode)
1631
  {
1632
    $this->oauthAuthorizationCode = $oauthAuthorizationCode;
1633
  }
1634
  public function getOauthAuthorizationCode()
1635
  {
1636
    return $this->oauthAuthorizationCode;
1637
  }
1638
  public function setOauthExpireIn($oauthExpireIn)
1639
  {
1640
    $this->oauthExpireIn = $oauthExpireIn;
1641
  }
1642
  public function getOauthExpireIn()
1643
  {
1644
    return $this->oauthExpireIn;
1645
  }
1646
  public function setOauthRequestToken($oauthRequestToken)
1647
  {
1648
    $this->oauthRequestToken = $oauthRequestToken;
1649
  }
1650
  public function getOauthRequestToken()
1651
  {
1652
    return $this->oauthRequestToken;
1653
  }
1654
  public function setOauthScope($oauthScope)
1655
  {
1656
    $this->oauthScope = $oauthScope;
1657
  }
1658
  public function getOauthScope()
1659
  {
1660
    return $this->oauthScope;
1661
  }
1662
  public function setOriginalEmail($originalEmail)
1663
  {
1664
    $this->originalEmail = $originalEmail;
1665
  }
1666
  public function getOriginalEmail()
1667
  {
1668
    return $this->originalEmail;
1669
  }
1670
  public function setPhotoUrl($photoUrl)
1671
  {
1672
    $this->photoUrl = $photoUrl;
1673
  }
1674
  public function getPhotoUrl()
1675
  {
1676
    return $this->photoUrl;
1677
  }
1678
  public function setProviderId($providerId)
1679
  {
1680
    $this->providerId = $providerId;
1681
  }
1682
  public function getProviderId()
1683
  {
1684
    return $this->providerId;
1685
  }
1686
  public function setTimeZone($timeZone)
1687
  {
1688
    $this->timeZone = $timeZone;
1689
  }
1690
  public function getTimeZone()
1691
  {
1692
    return $this->timeZone;
1693
  }
1694
  public function setVerifiedProvider($verifiedProvider)
1695
  {
1696
    $this->verifiedProvider = $verifiedProvider;
1697
  }
1698
  public function getVerifiedProvider()
1699
  {
1700
    return $this->verifiedProvider;
1701
  }
1702
}
1703
1704
class Google_Service_IdentityToolkit_VerifyPasswordResponse extends Google_Model
1705
{
1706
  protected $internal_gapi_mappings = array(
1707
  );
1708
  public $displayName;
1709
  public $email;
1710
  public $idToken;
1711
  public $kind;
1712
  public $localId;
1713
  public $photoUrl;
1714
  public $registered;
1715
1716
1717
  public function setDisplayName($displayName)
1718
  {
1719
    $this->displayName = $displayName;
1720
  }
1721
  public function getDisplayName()
1722
  {
1723
    return $this->displayName;
1724
  }
1725
  public function setEmail($email)
1726
  {
1727
    $this->email = $email;
1728
  }
1729
  public function getEmail()
1730
  {
1731
    return $this->email;
1732
  }
1733
  public function setIdToken($idToken)
1734
  {
1735
    $this->idToken = $idToken;
1736
  }
1737
  public function getIdToken()
1738
  {
1739
    return $this->idToken;
1740
  }
1741
  public function setKind($kind)
1742
  {
1743
    $this->kind = $kind;
1744
  }
1745
  public function getKind()
1746
  {
1747
    return $this->kind;
1748
  }
1749
  public function setLocalId($localId)
1750
  {
1751
    $this->localId = $localId;
1752
  }
1753
  public function getLocalId()
1754
  {
1755
    return $this->localId;
1756
  }
1757
  public function setPhotoUrl($photoUrl)
1758
  {
1759
    $this->photoUrl = $photoUrl;
1760
  }
1761
  public function getPhotoUrl()
1762
  {
1763
    return $this->photoUrl;
1764
  }
1765
  public function setRegistered($registered)
1766
  {
1767
    $this->registered = $registered;
1768
  }
1769
  public function getRegistered()
1770
  {
1771
    return $this->registered;
1772
  }
1773
}
1774