Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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 GamesConfiguration (v1configuration).
20
 *
21
 * <p>
22
 * The Publishing API for Google Play Game Services.</p>
23
 *
24
 * <p>
25
 * For more information about this service, see the API
26
 * <a href="https://developers.google.com/games/services" target="_blank">Documentation</a>
27
 * </p>
28
 *
29
 * @author Google, Inc.
30
 */
31
#[AllowDynamicProperties]
32
class Google_Service_GamesConfiguration extends Google_Service
33
{
34
  /** View and manage your Google Play Developer account. */
35
  const ANDROIDPUBLISHER =
36
      "https://www.googleapis.com/auth/androidpublisher";
37
 
38
  public $achievementConfigurations;
39
  public $imageConfigurations;
40
  public $leaderboardConfigurations;
41
 
42
 
43
  /**
44
   * Constructs the internal representation of the GamesConfiguration service.
45
   *
46
   * @param Google_Client $client
47
   */
48
  public function __construct(Google_Client $client)
49
  {
50
    parent::__construct($client);
51
    $this->rootUrl = 'https://www.googleapis.com/';
52
    $this->servicePath = 'games/v1configuration/';
53
    $this->version = 'v1configuration';
54
    $this->serviceName = 'gamesConfiguration';
55
 
56
    $this->achievementConfigurations = new Google_Service_GamesConfiguration_AchievementConfigurations_Resource(
57
        $this,
58
        $this->serviceName,
59
        'achievementConfigurations',
60
        array(
61
          'methods' => array(
62
            'delete' => array(
63
              'path' => 'achievements/{achievementId}',
64
              'httpMethod' => 'DELETE',
65
              'parameters' => array(
66
                'achievementId' => array(
67
                  'location' => 'path',
68
                  'type' => 'string',
69
                  'required' => true,
70
                ),
71
              ),
72
            ),'get' => array(
73
              'path' => 'achievements/{achievementId}',
74
              'httpMethod' => 'GET',
75
              'parameters' => array(
76
                'achievementId' => array(
77
                  'location' => 'path',
78
                  'type' => 'string',
79
                  'required' => true,
80
                ),
81
              ),
82
            ),'insert' => array(
83
              'path' => 'applications/{applicationId}/achievements',
84
              'httpMethod' => 'POST',
85
              'parameters' => array(
86
                'applicationId' => array(
87
                  'location' => 'path',
88
                  'type' => 'string',
89
                  'required' => true,
90
                ),
91
              ),
92
            ),'list' => array(
93
              'path' => 'applications/{applicationId}/achievements',
94
              'httpMethod' => 'GET',
95
              'parameters' => array(
96
                'applicationId' => array(
97
                  'location' => 'path',
98
                  'type' => 'string',
99
                  'required' => true,
100
                ),
101
                'pageToken' => array(
102
                  'location' => 'query',
103
                  'type' => 'string',
104
                ),
105
                'maxResults' => array(
106
                  'location' => 'query',
107
                  'type' => 'integer',
108
                ),
109
              ),
110
            ),'patch' => array(
111
              'path' => 'achievements/{achievementId}',
112
              'httpMethod' => 'PATCH',
113
              'parameters' => array(
114
                'achievementId' => array(
115
                  'location' => 'path',
116
                  'type' => 'string',
117
                  'required' => true,
118
                ),
119
              ),
120
            ),'update' => array(
121
              'path' => 'achievements/{achievementId}',
122
              'httpMethod' => 'PUT',
123
              'parameters' => array(
124
                'achievementId' => array(
125
                  'location' => 'path',
126
                  'type' => 'string',
127
                  'required' => true,
128
                ),
129
              ),
130
            ),
131
          )
132
        )
133
    );
134
    $this->imageConfigurations = new Google_Service_GamesConfiguration_ImageConfigurations_Resource(
135
        $this,
136
        $this->serviceName,
137
        'imageConfigurations',
138
        array(
139
          'methods' => array(
140
            'upload' => array(
141
              'path' => 'images/{resourceId}/imageType/{imageType}',
142
              'httpMethod' => 'POST',
143
              'parameters' => array(
144
                'resourceId' => array(
145
                  'location' => 'path',
146
                  'type' => 'string',
147
                  'required' => true,
148
                ),
149
                'imageType' => array(
150
                  'location' => 'path',
151
                  'type' => 'string',
152
                  'required' => true,
153
                ),
154
              ),
155
            ),
156
          )
157
        )
158
    );
159
    $this->leaderboardConfigurations = new Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource(
160
        $this,
161
        $this->serviceName,
162
        'leaderboardConfigurations',
163
        array(
164
          'methods' => array(
165
            'delete' => array(
166
              'path' => 'leaderboards/{leaderboardId}',
167
              'httpMethod' => 'DELETE',
168
              'parameters' => array(
169
                'leaderboardId' => array(
170
                  'location' => 'path',
171
                  'type' => 'string',
172
                  'required' => true,
173
                ),
174
              ),
175
            ),'get' => array(
176
              'path' => 'leaderboards/{leaderboardId}',
177
              'httpMethod' => 'GET',
178
              'parameters' => array(
179
                'leaderboardId' => array(
180
                  'location' => 'path',
181
                  'type' => 'string',
182
                  'required' => true,
183
                ),
184
              ),
185
            ),'insert' => array(
186
              'path' => 'applications/{applicationId}/leaderboards',
187
              'httpMethod' => 'POST',
188
              'parameters' => array(
189
                'applicationId' => array(
190
                  'location' => 'path',
191
                  'type' => 'string',
192
                  'required' => true,
193
                ),
194
              ),
195
            ),'list' => array(
196
              'path' => 'applications/{applicationId}/leaderboards',
197
              'httpMethod' => 'GET',
198
              'parameters' => array(
199
                'applicationId' => array(
200
                  'location' => 'path',
201
                  'type' => 'string',
202
                  'required' => true,
203
                ),
204
                'pageToken' => array(
205
                  'location' => 'query',
206
                  'type' => 'string',
207
                ),
208
                'maxResults' => array(
209
                  'location' => 'query',
210
                  'type' => 'integer',
211
                ),
212
              ),
213
            ),'patch' => array(
214
              'path' => 'leaderboards/{leaderboardId}',
215
              'httpMethod' => 'PATCH',
216
              'parameters' => array(
217
                'leaderboardId' => array(
218
                  'location' => 'path',
219
                  'type' => 'string',
220
                  'required' => true,
221
                ),
222
              ),
223
            ),'update' => array(
224
              'path' => 'leaderboards/{leaderboardId}',
225
              'httpMethod' => 'PUT',
226
              'parameters' => array(
227
                'leaderboardId' => array(
228
                  'location' => 'path',
229
                  'type' => 'string',
230
                  'required' => true,
231
                ),
232
              ),
233
            ),
234
          )
235
        )
236
    );
237
  }
238
}
239
 
240
 
241
/**
242
 * The "achievementConfigurations" collection of methods.
243
 * Typical usage is:
244
 *  <code>
245
 *   $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
246
 *   $achievementConfigurations = $gamesConfigurationService->achievementConfigurations;
247
 *  </code>
248
 */
249
#[AllowDynamicProperties]
250
class Google_Service_GamesConfiguration_AchievementConfigurations_Resource extends Google_Service_Resource
251
{
252
 
253
  /**
254
   * Delete the achievement configuration with the given ID.
255
   * (achievementConfigurations.delete)
256
   *
257
   * @param string $achievementId The ID of the achievement used by this method.
258
   * @param array $optParams Optional parameters.
259
   */
260
  public function delete($achievementId, $optParams = array())
261
  {
262
    $params = array('achievementId' => $achievementId);
263
    $params = array_merge($params, $optParams);
264
    return $this->call('delete', array($params));
265
  }
266
 
267
  /**
268
   * Retrieves the metadata of the achievement configuration with the given ID.
269
   * (achievementConfigurations.get)
270
   *
271
   * @param string $achievementId The ID of the achievement used by this method.
272
   * @param array $optParams Optional parameters.
273
   * @return Google_Service_GamesConfiguration_AchievementConfiguration
274
   */
275
  public function get($achievementId, $optParams = array())
276
  {
277
    $params = array('achievementId' => $achievementId);
278
    $params = array_merge($params, $optParams);
279
    return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
280
  }
281
 
282
  /**
283
   * Insert a new achievement configuration in this application.
284
   * (achievementConfigurations.insert)
285
   *
286
   * @param string $applicationId The application ID from the Google Play
287
   * developer console.
288
   * @param Google_AchievementConfiguration $postBody
289
   * @param array $optParams Optional parameters.
290
   * @return Google_Service_GamesConfiguration_AchievementConfiguration
291
   */
292
  public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
293
  {
294
    $params = array('applicationId' => $applicationId, 'postBody' => $postBody);
295
    $params = array_merge($params, $optParams);
296
    return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
297
  }
298
 
299
  /**
300
   * Returns a list of the achievement configurations in this application.
301
   * (achievementConfigurations.listAchievementConfigurations)
302
   *
303
   * @param string $applicationId The application ID from the Google Play
304
   * developer console.
305
   * @param array $optParams Optional parameters.
306
   *
307
   * @opt_param string pageToken The token returned by the previous request.
308
   * @opt_param int maxResults The maximum number of resource configurations to
309
   * return in the response, used for paging. For any response, the actual number
310
   * of resources returned may be less than the specified maxResults.
311
   * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse
312
   */
313
  public function listAchievementConfigurations($applicationId, $optParams = array())
314
  {
315
    $params = array('applicationId' => $applicationId);
316
    $params = array_merge($params, $optParams);
317
    return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse");
318
  }
319
 
320
  /**
321
   * Update the metadata of the achievement configuration with the given ID. This
322
   * method supports patch semantics. (achievementConfigurations.patch)
323
   *
324
   * @param string $achievementId The ID of the achievement used by this method.
325
   * @param Google_AchievementConfiguration $postBody
326
   * @param array $optParams Optional parameters.
327
   * @return Google_Service_GamesConfiguration_AchievementConfiguration
328
   */
329
  public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
330
  {
331
    $params = array('achievementId' => $achievementId, 'postBody' => $postBody);
332
    $params = array_merge($params, $optParams);
333
    return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
334
  }
335
 
336
  /**
337
   * Update the metadata of the achievement configuration with the given ID.
338
   * (achievementConfigurations.update)
339
   *
340
   * @param string $achievementId The ID of the achievement used by this method.
341
   * @param Google_AchievementConfiguration $postBody
342
   * @param array $optParams Optional parameters.
343
   * @return Google_Service_GamesConfiguration_AchievementConfiguration
344
   */
345
  public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array())
346
  {
347
    $params = array('achievementId' => $achievementId, 'postBody' => $postBody);
348
    $params = array_merge($params, $optParams);
349
    return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");
350
  }
351
}
352
 
353
/**
354
 * The "imageConfigurations" collection of methods.
355
 * Typical usage is:
356
 *  <code>
357
 *   $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
358
 *   $imageConfigurations = $gamesConfigurationService->imageConfigurations;
359
 *  </code>
360
 */
361
#[AllowDynamicProperties]
362
class Google_Service_GamesConfiguration_ImageConfigurations_Resource extends Google_Service_Resource
363
{
364
 
365
  /**
366
   * Uploads an image for a resource with the given ID and image type.
367
   * (imageConfigurations.upload)
368
   *
369
   * @param string $resourceId The ID of the resource used by this method.
370
   * @param string $imageType Selects which image in a resource for this method.
371
   * @param array $optParams Optional parameters.
372
   * @return Google_Service_GamesConfiguration_ImageConfiguration
373
   */
374
  public function upload($resourceId, $imageType, $optParams = array())
375
  {
376
    $params = array('resourceId' => $resourceId, 'imageType' => $imageType);
377
    $params = array_merge($params, $optParams);
378
    return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration");
379
  }
380
}
381
 
382
/**
383
 * The "leaderboardConfigurations" collection of methods.
384
 * Typical usage is:
385
 *  <code>
386
 *   $gamesConfigurationService = new Google_Service_GamesConfiguration(...);
387
 *   $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations;
388
 *  </code>
389
 */
390
#[AllowDynamicProperties]
391
class Google_Service_GamesConfiguration_LeaderboardConfigurations_Resource extends Google_Service_Resource
392
{
393
 
394
  /**
395
   * Delete the leaderboard configuration with the given ID.
396
   * (leaderboardConfigurations.delete)
397
   *
398
   * @param string $leaderboardId The ID of the leaderboard.
399
   * @param array $optParams Optional parameters.
400
   */
401
  public function delete($leaderboardId, $optParams = array())
402
  {
403
    $params = array('leaderboardId' => $leaderboardId);
404
    $params = array_merge($params, $optParams);
405
    return $this->call('delete', array($params));
406
  }
407
 
408
  /**
409
   * Retrieves the metadata of the leaderboard configuration with the given ID.
410
   * (leaderboardConfigurations.get)
411
   *
412
   * @param string $leaderboardId The ID of the leaderboard.
413
   * @param array $optParams Optional parameters.
414
   * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
415
   */
416
  public function get($leaderboardId, $optParams = array())
417
  {
418
    $params = array('leaderboardId' => $leaderboardId);
419
    $params = array_merge($params, $optParams);
420
    return $this->call('get', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
421
  }
422
 
423
  /**
424
   * Insert a new leaderboard configuration in this application.
425
   * (leaderboardConfigurations.insert)
426
   *
427
   * @param string $applicationId The application ID from the Google Play
428
   * developer console.
429
   * @param Google_LeaderboardConfiguration $postBody
430
   * @param array $optParams Optional parameters.
431
   * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
432
   */
433
  public function insert($applicationId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
434
  {
435
    $params = array('applicationId' => $applicationId, 'postBody' => $postBody);
436
    $params = array_merge($params, $optParams);
437
    return $this->call('insert', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
438
  }
439
 
440
  /**
441
   * Returns a list of the leaderboard configurations in this application.
442
   * (leaderboardConfigurations.listLeaderboardConfigurations)
443
   *
444
   * @param string $applicationId The application ID from the Google Play
445
   * developer console.
446
   * @param array $optParams Optional parameters.
447
   *
448
   * @opt_param string pageToken The token returned by the previous request.
449
   * @opt_param int maxResults The maximum number of resource configurations to
450
   * return in the response, used for paging. For any response, the actual number
451
   * of resources returned may be less than the specified maxResults.
452
   * @return Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse
453
   */
454
  public function listLeaderboardConfigurations($applicationId, $optParams = array())
455
  {
456
    $params = array('applicationId' => $applicationId);
457
    $params = array_merge($params, $optParams);
458
    return $this->call('list', array($params), "Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse");
459
  }
460
 
461
  /**
462
   * Update the metadata of the leaderboard configuration with the given ID. This
463
   * method supports patch semantics. (leaderboardConfigurations.patch)
464
   *
465
   * @param string $leaderboardId The ID of the leaderboard.
466
   * @param Google_LeaderboardConfiguration $postBody
467
   * @param array $optParams Optional parameters.
468
   * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
469
   */
470
  public function patch($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
471
  {
472
    $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
473
    $params = array_merge($params, $optParams);
474
    return $this->call('patch', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
475
  }
476
 
477
  /**
478
   * Update the metadata of the leaderboard configuration with the given ID.
479
   * (leaderboardConfigurations.update)
480
   *
481
   * @param string $leaderboardId The ID of the leaderboard.
482
   * @param Google_LeaderboardConfiguration $postBody
483
   * @param array $optParams Optional parameters.
484
   * @return Google_Service_GamesConfiguration_LeaderboardConfiguration
485
   */
486
  public function update($leaderboardId, Google_Service_GamesConfiguration_LeaderboardConfiguration $postBody, $optParams = array())
487
  {
488
    $params = array('leaderboardId' => $leaderboardId, 'postBody' => $postBody);
489
    $params = array_merge($params, $optParams);
490
    return $this->call('update', array($params), "Google_Service_GamesConfiguration_LeaderboardConfiguration");
491
  }
492
}
493
 
494
 
495
 
496
 
497
#[AllowDynamicProperties]
498
class Google_Service_GamesConfiguration_AchievementConfiguration extends Google_Model
499
{
500
  protected $internal_gapi_mappings = array(
501
  );
502
  public $achievementType;
503
  protected $draftType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
504
  protected $draftDataType = '';
505
  public $id;
506
  public $initialState;
507
  public $kind;
508
  protected $publishedType = 'Google_Service_GamesConfiguration_AchievementConfigurationDetail';
509
  protected $publishedDataType = '';
510
  public $stepsToUnlock;
511
  public $token;
512
 
513
 
514
  public function setAchievementType($achievementType)
515
  {
516
    $this->achievementType = $achievementType;
517
  }
518
  public function getAchievementType()
519
  {
520
    return $this->achievementType;
521
  }
522
  public function setDraft(Google_Service_GamesConfiguration_AchievementConfigurationDetail $draft)
523
  {
524
    $this->draft = $draft;
525
  }
526
  public function getDraft()
527
  {
528
    return $this->draft;
529
  }
530
  public function setId($id)
531
  {
532
    $this->id = $id;
533
  }
534
  public function getId()
535
  {
536
    return $this->id;
537
  }
538
  public function setInitialState($initialState)
539
  {
540
    $this->initialState = $initialState;
541
  }
542
  public function getInitialState()
543
  {
544
    return $this->initialState;
545
  }
546
  public function setKind($kind)
547
  {
548
    $this->kind = $kind;
549
  }
550
  public function getKind()
551
  {
552
    return $this->kind;
553
  }
554
  public function setPublished(Google_Service_GamesConfiguration_AchievementConfigurationDetail $published)
555
  {
556
    $this->published = $published;
557
  }
558
  public function getPublished()
559
  {
560
    return $this->published;
561
  }
562
  public function setStepsToUnlock($stepsToUnlock)
563
  {
564
    $this->stepsToUnlock = $stepsToUnlock;
565
  }
566
  public function getStepsToUnlock()
567
  {
568
    return $this->stepsToUnlock;
569
  }
570
  public function setToken($token)
571
  {
572
    $this->token = $token;
573
  }
574
  public function getToken()
575
  {
576
    return $this->token;
577
  }
578
}
579
 
580
#[AllowDynamicProperties]
581
class Google_Service_GamesConfiguration_AchievementConfigurationDetail extends Google_Model
582
{
583
  protected $internal_gapi_mappings = array(
584
  );
585
  protected $descriptionType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
586
  protected $descriptionDataType = '';
587
  public $iconUrl;
588
  public $kind;
589
  protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
590
  protected $nameDataType = '';
591
  public $pointValue;
592
  public $sortRank;
593
 
594
 
595
  public function setDescription(Google_Service_GamesConfiguration_LocalizedStringBundle $description)
596
  {
597
    $this->description = $description;
598
  }
599
  public function getDescription()
600
  {
601
    return $this->description;
602
  }
603
  public function setIconUrl($iconUrl)
604
  {
605
    $this->iconUrl = $iconUrl;
606
  }
607
  public function getIconUrl()
608
  {
609
    return $this->iconUrl;
610
  }
611
  public function setKind($kind)
612
  {
613
    $this->kind = $kind;
614
  }
615
  public function getKind()
616
  {
617
    return $this->kind;
618
  }
619
  public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
620
  {
621
    $this->name = $name;
622
  }
623
  public function getName()
624
  {
625
    return $this->name;
626
  }
627
  public function setPointValue($pointValue)
628
  {
629
    $this->pointValue = $pointValue;
630
  }
631
  public function getPointValue()
632
  {
633
    return $this->pointValue;
634
  }
635
  public function setSortRank($sortRank)
636
  {
637
    $this->sortRank = $sortRank;
638
  }
639
  public function getSortRank()
640
  {
641
    return $this->sortRank;
642
  }
643
}
644
 
645
#[AllowDynamicProperties]
646
class Google_Service_GamesConfiguration_AchievementConfigurationListResponse extends Google_Collection
647
{
648
  protected $collection_key = 'items';
649
  protected $internal_gapi_mappings = array(
650
  );
651
  protected $itemsType = 'Google_Service_GamesConfiguration_AchievementConfiguration';
652
  protected $itemsDataType = 'array';
653
  public $kind;
654
  public $nextPageToken;
655
 
656
 
657
  public function setItems($items)
658
  {
659
    $this->items = $items;
660
  }
661
  public function getItems()
662
  {
663
    return $this->items;
664
  }
665
  public function setKind($kind)
666
  {
667
    $this->kind = $kind;
668
  }
669
  public function getKind()
670
  {
671
    return $this->kind;
672
  }
673
  public function setNextPageToken($nextPageToken)
674
  {
675
    $this->nextPageToken = $nextPageToken;
676
  }
677
  public function getNextPageToken()
678
  {
679
    return $this->nextPageToken;
680
  }
681
}
682
 
683
#[AllowDynamicProperties]
684
class Google_Service_GamesConfiguration_GamesNumberAffixConfiguration extends Google_Model
685
{
686
  protected $internal_gapi_mappings = array(
687
  );
688
  protected $fewType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
689
  protected $fewDataType = '';
690
  protected $manyType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
691
  protected $manyDataType = '';
692
  protected $oneType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
693
  protected $oneDataType = '';
694
  protected $otherType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
695
  protected $otherDataType = '';
696
  protected $twoType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
697
  protected $twoDataType = '';
698
  protected $zeroType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
699
  protected $zeroDataType = '';
700
 
701
 
702
  public function setFew(Google_Service_GamesConfiguration_LocalizedStringBundle $few)
703
  {
704
    $this->few = $few;
705
  }
706
  public function getFew()
707
  {
708
    return $this->few;
709
  }
710
  public function setMany(Google_Service_GamesConfiguration_LocalizedStringBundle $many)
711
  {
712
    $this->many = $many;
713
  }
714
  public function getMany()
715
  {
716
    return $this->many;
717
  }
718
  public function setOne(Google_Service_GamesConfiguration_LocalizedStringBundle $one)
719
  {
720
    $this->one = $one;
721
  }
722
  public function getOne()
723
  {
724
    return $this->one;
725
  }
726
  public function setOther(Google_Service_GamesConfiguration_LocalizedStringBundle $other)
727
  {
728
    $this->other = $other;
729
  }
730
  public function getOther()
731
  {
732
    return $this->other;
733
  }
734
  public function setTwo(Google_Service_GamesConfiguration_LocalizedStringBundle $two)
735
  {
736
    $this->two = $two;
737
  }
738
  public function getTwo()
739
  {
740
    return $this->two;
741
  }
742
  public function setZero(Google_Service_GamesConfiguration_LocalizedStringBundle $zero)
743
  {
744
    $this->zero = $zero;
745
  }
746
  public function getZero()
747
  {
748
    return $this->zero;
749
  }
750
}
751
 
752
#[AllowDynamicProperties]
753
class Google_Service_GamesConfiguration_GamesNumberFormatConfiguration extends Google_Model
754
{
755
  protected $internal_gapi_mappings = array(
756
  );
757
  public $currencyCode;
758
  public $numDecimalPlaces;
759
  public $numberFormatType;
760
  protected $suffixType = 'Google_Service_GamesConfiguration_GamesNumberAffixConfiguration';
761
  protected $suffixDataType = '';
762
 
763
 
764
  public function setCurrencyCode($currencyCode)
765
  {
766
    $this->currencyCode = $currencyCode;
767
  }
768
  public function getCurrencyCode()
769
  {
770
    return $this->currencyCode;
771
  }
772
  public function setNumDecimalPlaces($numDecimalPlaces)
773
  {
774
    $this->numDecimalPlaces = $numDecimalPlaces;
775
  }
776
  public function getNumDecimalPlaces()
777
  {
778
    return $this->numDecimalPlaces;
779
  }
780
  public function setNumberFormatType($numberFormatType)
781
  {
782
    $this->numberFormatType = $numberFormatType;
783
  }
784
  public function getNumberFormatType()
785
  {
786
    return $this->numberFormatType;
787
  }
788
  public function setSuffix(Google_Service_GamesConfiguration_GamesNumberAffixConfiguration $suffix)
789
  {
790
    $this->suffix = $suffix;
791
  }
792
  public function getSuffix()
793
  {
794
    return $this->suffix;
795
  }
796
}
797
 
798
#[AllowDynamicProperties]
799
class Google_Service_GamesConfiguration_ImageConfiguration extends Google_Model
800
{
801
  protected $internal_gapi_mappings = array(
802
  );
803
  public $imageType;
804
  public $kind;
805
  public $resourceId;
806
  public $url;
807
 
808
 
809
  public function setImageType($imageType)
810
  {
811
    $this->imageType = $imageType;
812
  }
813
  public function getImageType()
814
  {
815
    return $this->imageType;
816
  }
817
  public function setKind($kind)
818
  {
819
    $this->kind = $kind;
820
  }
821
  public function getKind()
822
  {
823
    return $this->kind;
824
  }
825
  public function setResourceId($resourceId)
826
  {
827
    $this->resourceId = $resourceId;
828
  }
829
  public function getResourceId()
830
  {
831
    return $this->resourceId;
832
  }
833
  public function setUrl($url)
834
  {
835
    $this->url = $url;
836
  }
837
  public function getUrl()
838
  {
839
    return $this->url;
840
  }
841
}
842
 
843
#[AllowDynamicProperties]
844
class Google_Service_GamesConfiguration_LeaderboardConfiguration extends Google_Model
845
{
846
  protected $internal_gapi_mappings = array(
847
  );
848
  protected $draftType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
849
  protected $draftDataType = '';
850
  public $id;
851
  public $kind;
852
  protected $publishedType = 'Google_Service_GamesConfiguration_LeaderboardConfigurationDetail';
853
  protected $publishedDataType = '';
854
  public $scoreMax;
855
  public $scoreMin;
856
  public $scoreOrder;
857
  public $token;
858
 
859
 
860
  public function setDraft(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $draft)
861
  {
862
    $this->draft = $draft;
863
  }
864
  public function getDraft()
865
  {
866
    return $this->draft;
867
  }
868
  public function setId($id)
869
  {
870
    $this->id = $id;
871
  }
872
  public function getId()
873
  {
874
    return $this->id;
875
  }
876
  public function setKind($kind)
877
  {
878
    $this->kind = $kind;
879
  }
880
  public function getKind()
881
  {
882
    return $this->kind;
883
  }
884
  public function setPublished(Google_Service_GamesConfiguration_LeaderboardConfigurationDetail $published)
885
  {
886
    $this->published = $published;
887
  }
888
  public function getPublished()
889
  {
890
    return $this->published;
891
  }
892
  public function setScoreMax($scoreMax)
893
  {
894
    $this->scoreMax = $scoreMax;
895
  }
896
  public function getScoreMax()
897
  {
898
    return $this->scoreMax;
899
  }
900
  public function setScoreMin($scoreMin)
901
  {
902
    $this->scoreMin = $scoreMin;
903
  }
904
  public function getScoreMin()
905
  {
906
    return $this->scoreMin;
907
  }
908
  public function setScoreOrder($scoreOrder)
909
  {
910
    $this->scoreOrder = $scoreOrder;
911
  }
912
  public function getScoreOrder()
913
  {
914
    return $this->scoreOrder;
915
  }
916
  public function setToken($token)
917
  {
918
    $this->token = $token;
919
  }
920
  public function getToken()
921
  {
922
    return $this->token;
923
  }
924
}
925
 
926
#[AllowDynamicProperties]
927
class Google_Service_GamesConfiguration_LeaderboardConfigurationDetail extends Google_Model
928
{
929
  protected $internal_gapi_mappings = array(
930
  );
931
  public $iconUrl;
932
  public $kind;
933
  protected $nameType = 'Google_Service_GamesConfiguration_LocalizedStringBundle';
934
  protected $nameDataType = '';
935
  protected $scoreFormatType = 'Google_Service_GamesConfiguration_GamesNumberFormatConfiguration';
936
  protected $scoreFormatDataType = '';
937
  public $sortRank;
938
 
939
 
940
  public function setIconUrl($iconUrl)
941
  {
942
    $this->iconUrl = $iconUrl;
943
  }
944
  public function getIconUrl()
945
  {
946
    return $this->iconUrl;
947
  }
948
  public function setKind($kind)
949
  {
950
    $this->kind = $kind;
951
  }
952
  public function getKind()
953
  {
954
    return $this->kind;
955
  }
956
  public function setName(Google_Service_GamesConfiguration_LocalizedStringBundle $name)
957
  {
958
    $this->name = $name;
959
  }
960
  public function getName()
961
  {
962
    return $this->name;
963
  }
964
  public function setScoreFormat(Google_Service_GamesConfiguration_GamesNumberFormatConfiguration $scoreFormat)
965
  {
966
    $this->scoreFormat = $scoreFormat;
967
  }
968
  public function getScoreFormat()
969
  {
970
    return $this->scoreFormat;
971
  }
972
  public function setSortRank($sortRank)
973
  {
974
    $this->sortRank = $sortRank;
975
  }
976
  public function getSortRank()
977
  {
978
    return $this->sortRank;
979
  }
980
}
981
 
982
#[AllowDynamicProperties]
983
class Google_Service_GamesConfiguration_LeaderboardConfigurationListResponse extends Google_Collection
984
{
985
  protected $collection_key = 'items';
986
  protected $internal_gapi_mappings = array(
987
  );
988
  protected $itemsType = 'Google_Service_GamesConfiguration_LeaderboardConfiguration';
989
  protected $itemsDataType = 'array';
990
  public $kind;
991
  public $nextPageToken;
992
 
993
 
994
  public function setItems($items)
995
  {
996
    $this->items = $items;
997
  }
998
  public function getItems()
999
  {
1000
    return $this->items;
1001
  }
1002
  public function setKind($kind)
1003
  {
1004
    $this->kind = $kind;
1005
  }
1006
  public function getKind()
1007
  {
1008
    return $this->kind;
1009
  }
1010
  public function setNextPageToken($nextPageToken)
1011
  {
1012
    $this->nextPageToken = $nextPageToken;
1013
  }
1014
  public function getNextPageToken()
1015
  {
1016
    return $this->nextPageToken;
1017
  }
1018
}
1019
 
1020
#[AllowDynamicProperties]
1021
class Google_Service_GamesConfiguration_LocalizedString extends Google_Model
1022
{
1023
  protected $internal_gapi_mappings = array(
1024
  );
1025
  public $kind;
1026
  public $locale;
1027
  public $value;
1028
 
1029
 
1030
  public function setKind($kind)
1031
  {
1032
    $this->kind = $kind;
1033
  }
1034
  public function getKind()
1035
  {
1036
    return $this->kind;
1037
  }
1038
  public function setLocale($locale)
1039
  {
1040
    $this->locale = $locale;
1041
  }
1042
  public function getLocale()
1043
  {
1044
    return $this->locale;
1045
  }
1046
  public function setValue($value)
1047
  {
1048
    $this->value = $value;
1049
  }
1050
  public function getValue()
1051
  {
1052
    return $this->value;
1053
  }
1054
}
1055
 
1056
#[AllowDynamicProperties]
1057
class Google_Service_GamesConfiguration_LocalizedStringBundle extends Google_Collection
1058
{
1059
  protected $collection_key = 'translations';
1060
  protected $internal_gapi_mappings = array(
1061
  );
1062
  public $kind;
1063
  protected $translationsType = 'Google_Service_GamesConfiguration_LocalizedString';
1064
  protected $translationsDataType = 'array';
1065
 
1066
 
1067
  public function setKind($kind)
1068
  {
1069
    $this->kind = $kind;
1070
  }
1071
  public function getKind()
1072
  {
1073
    return $this->kind;
1074
  }
1075
  public function setTranslations($translations)
1076
  {
1077
    $this->translations = $translations;
1078
  }
1079
  public function getTranslations()
1080
  {
1081
    return $this->translations;
1082
  }
1083
}