Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

   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 Partners (v2).
  20   *
  21   * <p>
  22   * Lets advertisers search certified companies and create contact leads with
  23   * them, and also audits the usage of clients.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="https://developers.google.com/partners/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  #[AllowDynamicProperties]
  33  class Google_Service_Partners extends Google_Service
  34  {
  35  
  36  
  37    public $clientMessages;
  38    public $companies;
  39    public $companies_leads;
  40    public $userEvents;
  41    public $userStates;
  42    
  43  
  44    /**
  45     * Constructs the internal representation of the Partners service.
  46     *
  47     * @param Google_Client $client
  48     */
  49    public function __construct(Google_Client $client)
  50    {
  51      parent::__construct($client);
  52      $this->rootUrl = 'https://partners.googleapis.com/';
  53      $this->servicePath = '';
  54      $this->version = 'v2';
  55      $this->serviceName = 'partners';
  56  
  57      $this->clientMessages = new Google_Service_Partners_ClientMessages_Resource(
  58          $this,
  59          $this->serviceName,
  60          'clientMessages',
  61          array(
  62            'methods' => array(
  63              'log' => array(
  64                'path' => 'v2/clientMessages:log',
  65                'httpMethod' => 'POST',
  66                'parameters' => array(),
  67              ),
  68            )
  69          )
  70      );
  71      $this->companies = new Google_Service_Partners_Companies_Resource(
  72          $this,
  73          $this->serviceName,
  74          'companies',
  75          array(
  76            'methods' => array(
  77              'get' => array(
  78                'path' => 'v2/companies/{companyId}',
  79                'httpMethod' => 'GET',
  80                'parameters' => array(
  81                  'companyId' => array(
  82                    'location' => 'path',
  83                    'type' => 'string',
  84                    'required' => true,
  85                  ),
  86                  'orderBy' => array(
  87                    'location' => 'query',
  88                    'type' => 'string',
  89                  ),
  90                  'requestMetadata.userOverrides.userId' => array(
  91                    'location' => 'query',
  92                    'type' => 'string',
  93                  ),
  94                  'requestMetadata.userOverrides.ipAddress' => array(
  95                    'location' => 'query',
  96                    'type' => 'string',
  97                  ),
  98                  'requestMetadata.partnersSessionId' => array(
  99                    'location' => 'query',
 100                    'type' => 'string',
 101                  ),
 102                  'requestMetadata.trafficSource.trafficSubId' => array(
 103                    'location' => 'query',
 104                    'type' => 'string',
 105                  ),
 106                  'requestMetadata.locale' => array(
 107                    'location' => 'query',
 108                    'type' => 'string',
 109                  ),
 110                  'address' => array(
 111                    'location' => 'query',
 112                    'type' => 'string',
 113                  ),
 114                  'requestMetadata.experimentIds' => array(
 115                    'location' => 'query',
 116                    'type' => 'string',
 117                    'repeated' => true,
 118                  ),
 119                  'currencyCode' => array(
 120                    'location' => 'query',
 121                    'type' => 'string',
 122                  ),
 123                  'requestMetadata.trafficSource.trafficSourceId' => array(
 124                    'location' => 'query',
 125                    'type' => 'string',
 126                  ),
 127                  'view' => array(
 128                    'location' => 'query',
 129                    'type' => 'string',
 130                  ),
 131                ),
 132              ),'list' => array(
 133                'path' => 'v2/companies',
 134                'httpMethod' => 'GET',
 135                'parameters' => array(
 136                  'orderBy' => array(
 137                    'location' => 'query',
 138                    'type' => 'string',
 139                  ),
 140                  'pageSize' => array(
 141                    'location' => 'query',
 142                    'type' => 'integer',
 143                  ),
 144                  'requestMetadata.partnersSessionId' => array(
 145                    'location' => 'query',
 146                    'type' => 'string',
 147                  ),
 148                  'maxMonthlyBudget.currencyCode' => array(
 149                    'location' => 'query',
 150                    'type' => 'string',
 151                  ),
 152                  'maxMonthlyBudget.nanos' => array(
 153                    'location' => 'query',
 154                    'type' => 'integer',
 155                  ),
 156                  'languageCodes' => array(
 157                    'location' => 'query',
 158                    'type' => 'string',
 159                    'repeated' => true,
 160                  ),
 161                  'minMonthlyBudget.nanos' => array(
 162                    'location' => 'query',
 163                    'type' => 'integer',
 164                  ),
 165                  'requestMetadata.trafficSource.trafficSubId' => array(
 166                    'location' => 'query',
 167                    'type' => 'string',
 168                  ),
 169                  'industries' => array(
 170                    'location' => 'query',
 171                    'type' => 'string',
 172                    'repeated' => true,
 173                  ),
 174                  'minMonthlyBudget.currencyCode' => array(
 175                    'location' => 'query',
 176                    'type' => 'string',
 177                  ),
 178                  'minMonthlyBudget.units' => array(
 179                    'location' => 'query',
 180                    'type' => 'string',
 181                  ),
 182                  'pageToken' => array(
 183                    'location' => 'query',
 184                    'type' => 'string',
 185                  ),
 186                  'requestMetadata.locale' => array(
 187                    'location' => 'query',
 188                    'type' => 'string',
 189                  ),
 190                  'requestMetadata.trafficSource.trafficSourceId' => array(
 191                    'location' => 'query',
 192                    'type' => 'string',
 193                  ),
 194                  'companyName' => array(
 195                    'location' => 'query',
 196                    'type' => 'string',
 197                  ),
 198                  'address' => array(
 199                    'location' => 'query',
 200                    'type' => 'string',
 201                  ),
 202                  'services' => array(
 203                    'location' => 'query',
 204                    'type' => 'string',
 205                    'repeated' => true,
 206                  ),
 207                  'requestMetadata.experimentIds' => array(
 208                    'location' => 'query',
 209                    'type' => 'string',
 210                    'repeated' => true,
 211                  ),
 212                  'gpsMotivations' => array(
 213                    'location' => 'query',
 214                    'type' => 'string',
 215                    'repeated' => true,
 216                  ),
 217                  'requestMetadata.userOverrides.ipAddress' => array(
 218                    'location' => 'query',
 219                    'type' => 'string',
 220                  ),
 221                  'websiteUrl' => array(
 222                    'location' => 'query',
 223                    'type' => 'string',
 224                  ),
 225                  'requestMetadata.userOverrides.userId' => array(
 226                    'location' => 'query',
 227                    'type' => 'string',
 228                  ),
 229                  'view' => array(
 230                    'location' => 'query',
 231                    'type' => 'string',
 232                  ),
 233                  'maxMonthlyBudget.units' => array(
 234                    'location' => 'query',
 235                    'type' => 'string',
 236                  ),
 237                ),
 238              ),
 239            )
 240          )
 241      );
 242      $this->companies_leads = new Google_Service_Partners_CompaniesLeads_Resource(
 243          $this,
 244          $this->serviceName,
 245          'leads',
 246          array(
 247            'methods' => array(
 248              'create' => array(
 249                'path' => 'v2/companies/{companyId}/leads',
 250                'httpMethod' => 'POST',
 251                'parameters' => array(
 252                  'companyId' => array(
 253                    'location' => 'path',
 254                    'type' => 'string',
 255                    'required' => true,
 256                  ),
 257                ),
 258              ),
 259            )
 260          )
 261      );
 262      $this->userEvents = new Google_Service_Partners_UserEvents_Resource(
 263          $this,
 264          $this->serviceName,
 265          'userEvents',
 266          array(
 267            'methods' => array(
 268              'log' => array(
 269                'path' => 'v2/userEvents:log',
 270                'httpMethod' => 'POST',
 271                'parameters' => array(),
 272              ),
 273            )
 274          )
 275      );
 276      $this->userStates = new Google_Service_Partners_UserStates_Resource(
 277          $this,
 278          $this->serviceName,
 279          'userStates',
 280          array(
 281            'methods' => array(
 282              'list' => array(
 283                'path' => 'v2/userStates',
 284                'httpMethod' => 'GET',
 285                'parameters' => array(
 286                  'requestMetadata.userOverrides.userId' => array(
 287                    'location' => 'query',
 288                    'type' => 'string',
 289                  ),
 290                  'requestMetadata.userOverrides.ipAddress' => array(
 291                    'location' => 'query',
 292                    'type' => 'string',
 293                  ),
 294                  'requestMetadata.partnersSessionId' => array(
 295                    'location' => 'query',
 296                    'type' => 'string',
 297                  ),
 298                  'requestMetadata.trafficSource.trafficSubId' => array(
 299                    'location' => 'query',
 300                    'type' => 'string',
 301                  ),
 302                  'requestMetadata.locale' => array(
 303                    'location' => 'query',
 304                    'type' => 'string',
 305                  ),
 306                  'requestMetadata.experimentIds' => array(
 307                    'location' => 'query',
 308                    'type' => 'string',
 309                    'repeated' => true,
 310                  ),
 311                  'requestMetadata.trafficSource.trafficSourceId' => array(
 312                    'location' => 'query',
 313                    'type' => 'string',
 314                  ),
 315                ),
 316              ),
 317            )
 318          )
 319      );
 320    }
 321  }
 322  
 323  
 324  /**
 325   * The "clientMessages" collection of methods.
 326   * Typical usage is:
 327   *  <code>
 328   *   $partnersService = new Google_Service_Partners(...);
 329   *   $clientMessages = $partnersService->clientMessages;
 330   *  </code>
 331   */
 332  #[AllowDynamicProperties]
 333  class Google_Service_Partners_ClientMessages_Resource extends Google_Service_Resource
 334  {
 335  
 336    /**
 337     * Logs a generic message from the client, such as `Failed to render component`,
 338     * `Profile page is running slow`, `More than 500 users have accessed this
 339     * result.`, etc. (clientMessages.log)
 340     *
 341     * @param Google_LogMessageRequest $postBody
 342     * @param array $optParams Optional parameters.
 343     * @return Google_Service_Partners_LogMessageResponse
 344     */
 345    public function log(Google_Service_Partners_LogMessageRequest $postBody, $optParams = array())
 346    {
 347      $params = array('postBody' => $postBody);
 348      $params = array_merge($params, $optParams);
 349      return $this->call('log', array($params), "Google_Service_Partners_LogMessageResponse");
 350    }
 351  }
 352  
 353  /**
 354   * The "companies" collection of methods.
 355   * Typical usage is:
 356   *  <code>
 357   *   $partnersService = new Google_Service_Partners(...);
 358   *   $companies = $partnersService->companies;
 359   *  </code>
 360   */
 361  #[AllowDynamicProperties]
 362  class Google_Service_Partners_Companies_Resource extends Google_Service_Resource
 363  {
 364  
 365    /**
 366     * Gets a company. (companies.get)
 367     *
 368     * @param string $companyId The ID of the company to retrieve.
 369     * @param array $optParams Optional parameters.
 370     *
 371     * @opt_param string orderBy How to order addresses within the returned company.
 372     * Currently, only `address` and `address desc` is supported which will sorted
 373     * by closest to farthest in distance from given address and farthest to closest
 374     * distance from given address respectively.
 375     * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
 376     * impersonate instead of the user's ID.
 377     * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
 378     * instead of the user's geo-located IP address.
 379     * @opt_param string requestMetadata.partnersSessionId Google Partners session
 380     * ID.
 381     * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
 382     * identifier to indicate where the traffic comes from. An identifier has
 383     * multiple letters created by a team which redirected the traffic to us.
 384     * @opt_param string requestMetadata.locale Locale to use for the current
 385     * request.
 386     * @opt_param string address The address to use for sorting the company's
 387     * addresses by proximity. If not given, the geo-located address of the request
 388     * is used. Used when order_by is set.
 389     * @opt_param string requestMetadata.experimentIds Experiment IDs the current
 390     * request belongs to.
 391     * @opt_param string currencyCode If the company's budget is in a different
 392     * currency code than this one, then the converted budget is converted to this
 393     * currency code.
 394     * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
 395     * indicate where the traffic comes from. An identifier has multiple letters
 396     * created by a team which redirected the traffic to us.
 397     * @opt_param string view The view of `Company` resource to be returned. This
 398     * must not be `COMPANY_VIEW_UNSPECIFIED`.
 399     * @return Google_Service_Partners_GetCompanyResponse
 400     */
 401    public function get($companyId, $optParams = array())
 402    {
 403      $params = array('companyId' => $companyId);
 404      $params = array_merge($params, $optParams);
 405      return $this->call('get', array($params), "Google_Service_Partners_GetCompanyResponse");
 406    }
 407  
 408    /**
 409     * Lists companies. (companies.listCompanies)
 410     *
 411     * @param array $optParams Optional parameters.
 412     *
 413     * @opt_param string orderBy How to order addresses within the returned
 414     * companies. Currently, only `address` and `address desc` is supported which
 415     * will sorted by closest to farthest in distance from given address and
 416     * farthest to closest distance from given address respectively.
 417     * @opt_param int pageSize Requested page size. Server may return fewer
 418     * companies than requested. If unspecified, server picks an appropriate
 419     * default.
 420     * @opt_param string requestMetadata.partnersSessionId Google Partners session
 421     * ID.
 422     * @opt_param string maxMonthlyBudget.currencyCode The 3-letter currency code
 423     * defined in ISO 4217.
 424     * @opt_param int maxMonthlyBudget.nanos Number of nano (10^-9) units of the
 425     * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
 426     * `units` is positive, `nanos` must be positive or zero. If `units` is zero,
 427     * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos`
 428     * must be negative or zero. For example $-1.75 is represented as `units`=-1 and
 429     * `nanos`=-750,000,000.
 430     * @opt_param string languageCodes List of language codes that company can
 431     * support. Only primary language subtags are accepted as defined by BCP 47
 432     * (IETF BCP 47, "Tags for Identifying Languages").
 433     * @opt_param int minMonthlyBudget.nanos Number of nano (10^-9) units of the
 434     * amount. The value must be between -999,999,999 and +999,999,999 inclusive. If
 435     * `units` is positive, `nanos` must be positive or zero. If `units` is zero,
 436     * `nanos` can be positive, zero, or negative. If `units` is negative, `nanos`
 437     * must be negative or zero. For example $-1.75 is represented as `units`=-1 and
 438     * `nanos`=-750,000,000.
 439     * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
 440     * identifier to indicate where the traffic comes from. An identifier has
 441     * multiple letters created by a team which redirected the traffic to us.
 442     * @opt_param string industries List of industries the company can help with.
 443     * @opt_param string minMonthlyBudget.currencyCode The 3-letter currency code
 444     * defined in ISO 4217.
 445     * @opt_param string minMonthlyBudget.units The whole units of the amount. For
 446     * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
 447     * @opt_param string pageToken A token identifying a page of results that the
 448     * server returns. Typically, this is the value of
 449     * `ListCompaniesResponse.next_page_token` returned from the previous call to
 450     * ListCompanies.
 451     * @opt_param string requestMetadata.locale Locale to use for the current
 452     * request.
 453     * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
 454     * indicate where the traffic comes from. An identifier has multiple letters
 455     * created by a team which redirected the traffic to us.
 456     * @opt_param string companyName Company name to search for.
 457     * @opt_param string address The address to use when searching for companies. If
 458     * not given, the geo-located address of the request is used.
 459     * @opt_param string services List of services the company can help with.
 460     * @opt_param string requestMetadata.experimentIds Experiment IDs the current
 461     * request belongs to.
 462     * @opt_param string gpsMotivations List of reasons for using Google Partner
 463     * Search to get companies.
 464     * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
 465     * instead of the user's geo-located IP address.
 466     * @opt_param string websiteUrl Website URL that will help to find a better
 467     * matched company. .
 468     * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
 469     * impersonate instead of the user's ID.
 470     * @opt_param string view The view of the `Company` resource to be returned.
 471     * This must not be `COMPANY_VIEW_UNSPECIFIED`.
 472     * @opt_param string maxMonthlyBudget.units The whole units of the amount. For
 473     * example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
 474     * @return Google_Service_Partners_ListCompaniesResponse
 475     */
 476    public function listCompanies($optParams = array())
 477    {
 478      $params = array();
 479      $params = array_merge($params, $optParams);
 480      return $this->call('list', array($params), "Google_Service_Partners_ListCompaniesResponse");
 481    }
 482  }
 483  
 484  /**
 485   * The "leads" collection of methods.
 486   * Typical usage is:
 487   *  <code>
 488   *   $partnersService = new Google_Service_Partners(...);
 489   *   $leads = $partnersService->leads;
 490   *  </code>
 491   */
 492  #[AllowDynamicProperties]
 493  class Google_Service_Partners_CompaniesLeads_Resource extends Google_Service_Resource
 494  {
 495  
 496    /**
 497     * Creates an advertiser lead for the given company ID. (leads.create)
 498     *
 499     * @param string $companyId The ID of the company to contact.
 500     * @param Google_CreateLeadRequest $postBody
 501     * @param array $optParams Optional parameters.
 502     * @return Google_Service_Partners_CreateLeadResponse
 503     */
 504    public function create($companyId, Google_Service_Partners_CreateLeadRequest $postBody, $optParams = array())
 505    {
 506      $params = array('companyId' => $companyId, 'postBody' => $postBody);
 507      $params = array_merge($params, $optParams);
 508      return $this->call('create', array($params), "Google_Service_Partners_CreateLeadResponse");
 509    }
 510  }
 511  
 512  /**
 513   * The "userEvents" collection of methods.
 514   * Typical usage is:
 515   *  <code>
 516   *   $partnersService = new Google_Service_Partners(...);
 517   *   $userEvents = $partnersService->userEvents;
 518   *  </code>
 519   */
 520  #[AllowDynamicProperties]
 521  class Google_Service_Partners_UserEvents_Resource extends Google_Service_Resource
 522  {
 523  
 524    /**
 525     * Logs a user event. (userEvents.log)
 526     *
 527     * @param Google_LogUserEventRequest $postBody
 528     * @param array $optParams Optional parameters.
 529     * @return Google_Service_Partners_LogUserEventResponse
 530     */
 531    public function log(Google_Service_Partners_LogUserEventRequest $postBody, $optParams = array())
 532    {
 533      $params = array('postBody' => $postBody);
 534      $params = array_merge($params, $optParams);
 535      return $this->call('log', array($params), "Google_Service_Partners_LogUserEventResponse");
 536    }
 537  }
 538  
 539  /**
 540   * The "userStates" collection of methods.
 541   * Typical usage is:
 542   *  <code>
 543   *   $partnersService = new Google_Service_Partners(...);
 544   *   $userStates = $partnersService->userStates;
 545   *  </code>
 546   */
 547  #[AllowDynamicProperties]
 548  class Google_Service_Partners_UserStates_Resource extends Google_Service_Resource
 549  {
 550  
 551    /**
 552     * Lists states for current user. (userStates.listUserStates)
 553     *
 554     * @param array $optParams Optional parameters.
 555     *
 556     * @opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
 557     * impersonate instead of the user's ID.
 558     * @opt_param string requestMetadata.userOverrides.ipAddress IP address to use
 559     * instead of the user's geo-located IP address.
 560     * @opt_param string requestMetadata.partnersSessionId Google Partners session
 561     * ID.
 562     * @opt_param string requestMetadata.trafficSource.trafficSubId Second level
 563     * identifier to indicate where the traffic comes from. An identifier has
 564     * multiple letters created by a team which redirected the traffic to us.
 565     * @opt_param string requestMetadata.locale Locale to use for the current
 566     * request.
 567     * @opt_param string requestMetadata.experimentIds Experiment IDs the current
 568     * request belongs to.
 569     * @opt_param string requestMetadata.trafficSource.trafficSourceId Identifier to
 570     * indicate where the traffic comes from. An identifier has multiple letters
 571     * created by a team which redirected the traffic to us.
 572     * @return Google_Service_Partners_ListUserStatesResponse
 573     */
 574    public function listUserStates($optParams = array())
 575    {
 576      $params = array();
 577      $params = array_merge($params, $optParams);
 578      return $this->call('list', array($params), "Google_Service_Partners_ListUserStatesResponse");
 579    }
 580  }
 581  
 582  
 583  
 584  
 585  #[AllowDynamicProperties]
 586  class Google_Service_Partners_CertificationExamStatus extends Google_Model
 587  {
 588    protected $internal_gapi_mappings = array(
 589    );
 590    public $numberUsersPass;
 591    public $type;
 592  
 593  
 594    public function setNumberUsersPass($numberUsersPass)
 595    {
 596      $this->numberUsersPass = $numberUsersPass;
 597    }
 598    public function getNumberUsersPass()
 599    {
 600      return $this->numberUsersPass;
 601    }
 602    public function setType($type)
 603    {
 604      $this->type = $type;
 605    }
 606    public function getType()
 607    {
 608      return $this->type;
 609    }
 610  }
 611  
 612  #[AllowDynamicProperties]
 613  class Google_Service_Partners_CertificationStatus extends Google_Collection
 614  {
 615    protected $collection_key = 'examStatuses';
 616    protected $internal_gapi_mappings = array(
 617    );
 618    protected $examStatusesType = 'Google_Service_Partners_CertificationExamStatus';
 619    protected $examStatusesDataType = 'array';
 620    public $isCertified;
 621    public $type;
 622  
 623  
 624    public function setExamStatuses($examStatuses)
 625    {
 626      $this->examStatuses = $examStatuses;
 627    }
 628    public function getExamStatuses()
 629    {
 630      return $this->examStatuses;
 631    }
 632    public function setIsCertified($isCertified)
 633    {
 634      $this->isCertified = $isCertified;
 635    }
 636    public function getIsCertified()
 637    {
 638      return $this->isCertified;
 639    }
 640    public function setType($type)
 641    {
 642      $this->type = $type;
 643    }
 644    public function getType()
 645    {
 646      return $this->type;
 647    }
 648  }
 649  
 650  #[AllowDynamicProperties]
 651  class Google_Service_Partners_Company extends Google_Collection
 652  {
 653    protected $collection_key = 'services';
 654    protected $internal_gapi_mappings = array(
 655    );
 656    protected $certificationStatusesType = 'Google_Service_Partners_CertificationStatus';
 657    protected $certificationStatusesDataType = 'array';
 658    protected $convertedMinMonthlyBudgetType = 'Google_Service_Partners_Money';
 659    protected $convertedMinMonthlyBudgetDataType = '';
 660    public $id;
 661    public $industries;
 662    protected $localizedInfosType = 'Google_Service_Partners_LocalizedCompanyInfo';
 663    protected $localizedInfosDataType = 'array';
 664    protected $locationsType = 'Google_Service_Partners_Location';
 665    protected $locationsDataType = 'array';
 666    public $name;
 667    protected $originalMinMonthlyBudgetType = 'Google_Service_Partners_Money';
 668    protected $originalMinMonthlyBudgetDataType = '';
 669    protected $publicProfileType = 'Google_Service_Partners_PublicProfile';
 670    protected $publicProfileDataType = '';
 671    protected $ranksType = 'Google_Service_Partners_Rank';
 672    protected $ranksDataType = 'array';
 673    public $services;
 674    public $websiteUrl;
 675  
 676  
 677    public function setCertificationStatuses($certificationStatuses)
 678    {
 679      $this->certificationStatuses = $certificationStatuses;
 680    }
 681    public function getCertificationStatuses()
 682    {
 683      return $this->certificationStatuses;
 684    }
 685    public function setConvertedMinMonthlyBudget(Google_Service_Partners_Money $convertedMinMonthlyBudget)
 686    {
 687      $this->convertedMinMonthlyBudget = $convertedMinMonthlyBudget;
 688    }
 689    public function getConvertedMinMonthlyBudget()
 690    {
 691      return $this->convertedMinMonthlyBudget;
 692    }
 693    public function setId($id)
 694    {
 695      $this->id = $id;
 696    }
 697    public function getId()
 698    {
 699      return $this->id;
 700    }
 701    public function setIndustries($industries)
 702    {
 703      $this->industries = $industries;
 704    }
 705    public function getIndustries()
 706    {
 707      return $this->industries;
 708    }
 709    public function setLocalizedInfos($localizedInfos)
 710    {
 711      $this->localizedInfos = $localizedInfos;
 712    }
 713    public function getLocalizedInfos()
 714    {
 715      return $this->localizedInfos;
 716    }
 717    public function setLocations($locations)
 718    {
 719      $this->locations = $locations;
 720    }
 721    public function getLocations()
 722    {
 723      return $this->locations;
 724    }
 725    public function setName($name)
 726    {
 727      $this->name = $name;
 728    }
 729    public function getName()
 730    {
 731      return $this->name;
 732    }
 733    public function setOriginalMinMonthlyBudget(Google_Service_Partners_Money $originalMinMonthlyBudget)
 734    {
 735      $this->originalMinMonthlyBudget = $originalMinMonthlyBudget;
 736    }
 737    public function getOriginalMinMonthlyBudget()
 738    {
 739      return $this->originalMinMonthlyBudget;
 740    }
 741    public function setPublicProfile(Google_Service_Partners_PublicProfile $publicProfile)
 742    {
 743      $this->publicProfile = $publicProfile;
 744    }
 745    public function getPublicProfile()
 746    {
 747      return $this->publicProfile;
 748    }
 749    public function setRanks($ranks)
 750    {
 751      $this->ranks = $ranks;
 752    }
 753    public function getRanks()
 754    {
 755      return $this->ranks;
 756    }
 757    public function setServices($services)
 758    {
 759      $this->services = $services;
 760    }
 761    public function getServices()
 762    {
 763      return $this->services;
 764    }
 765    public function setWebsiteUrl($websiteUrl)
 766    {
 767      $this->websiteUrl = $websiteUrl;
 768    }
 769    public function getWebsiteUrl()
 770    {
 771      return $this->websiteUrl;
 772    }
 773  }
 774  
 775  #[AllowDynamicProperties]
 776  class Google_Service_Partners_CreateLeadRequest extends Google_Model
 777  {
 778    protected $internal_gapi_mappings = array(
 779    );
 780    protected $leadType = 'Google_Service_Partners_Lead';
 781    protected $leadDataType = '';
 782    protected $recaptchaChallengeType = 'Google_Service_Partners_RecaptchaChallenge';
 783    protected $recaptchaChallengeDataType = '';
 784    protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
 785    protected $requestMetadataDataType = '';
 786  
 787  
 788    public function setLead(Google_Service_Partners_Lead $lead)
 789    {
 790      $this->lead = $lead;
 791    }
 792    public function getLead()
 793    {
 794      return $this->lead;
 795    }
 796    public function setRecaptchaChallenge(Google_Service_Partners_RecaptchaChallenge $recaptchaChallenge)
 797    {
 798      $this->recaptchaChallenge = $recaptchaChallenge;
 799    }
 800    public function getRecaptchaChallenge()
 801    {
 802      return $this->recaptchaChallenge;
 803    }
 804    public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
 805    {
 806      $this->requestMetadata = $requestMetadata;
 807    }
 808    public function getRequestMetadata()
 809    {
 810      return $this->requestMetadata;
 811    }
 812  }
 813  
 814  #[AllowDynamicProperties]
 815  class Google_Service_Partners_CreateLeadResponse extends Google_Model
 816  {
 817    protected $internal_gapi_mappings = array(
 818    );
 819    protected $leadType = 'Google_Service_Partners_Lead';
 820    protected $leadDataType = '';
 821    public $recaptchaStatus;
 822    protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
 823    protected $responseMetadataDataType = '';
 824  
 825  
 826    public function setLead(Google_Service_Partners_Lead $lead)
 827    {
 828      $this->lead = $lead;
 829    }
 830    public function getLead()
 831    {
 832      return $this->lead;
 833    }
 834    public function setRecaptchaStatus($recaptchaStatus)
 835    {
 836      $this->recaptchaStatus = $recaptchaStatus;
 837    }
 838    public function getRecaptchaStatus()
 839    {
 840      return $this->recaptchaStatus;
 841    }
 842    public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
 843    {
 844      $this->responseMetadata = $responseMetadata;
 845    }
 846    public function getResponseMetadata()
 847    {
 848      return $this->responseMetadata;
 849    }
 850  }
 851  
 852  #[AllowDynamicProperties]
 853  class Google_Service_Partners_DebugInfo extends Google_Model
 854  {
 855    protected $internal_gapi_mappings = array(
 856    );
 857    public $serverInfo;
 858    public $serverTraceInfo;
 859    public $serviceUrl;
 860  
 861  
 862    public function setServerInfo($serverInfo)
 863    {
 864      $this->serverInfo = $serverInfo;
 865    }
 866    public function getServerInfo()
 867    {
 868      return $this->serverInfo;
 869    }
 870    public function setServerTraceInfo($serverTraceInfo)
 871    {
 872      $this->serverTraceInfo = $serverTraceInfo;
 873    }
 874    public function getServerTraceInfo()
 875    {
 876      return $this->serverTraceInfo;
 877    }
 878    public function setServiceUrl($serviceUrl)
 879    {
 880      $this->serviceUrl = $serviceUrl;
 881    }
 882    public function getServiceUrl()
 883    {
 884      return $this->serviceUrl;
 885    }
 886  }
 887  
 888  #[AllowDynamicProperties]
 889  class Google_Service_Partners_EventData extends Google_Collection
 890  {
 891    protected $collection_key = 'values';
 892    protected $internal_gapi_mappings = array(
 893    );
 894    public $key;
 895    public $values;
 896  
 897  
 898    public function setKey($key)
 899    {
 900      $this->key = $key;
 901    }
 902    public function getKey()
 903    {
 904      return $this->key;
 905    }
 906    public function setValues($values)
 907    {
 908      $this->values = $values;
 909    }
 910    public function getValues()
 911    {
 912      return $this->values;
 913    }
 914  }
 915  
 916  #[AllowDynamicProperties]
 917  class Google_Service_Partners_GetCompanyResponse extends Google_Model
 918  {
 919    protected $internal_gapi_mappings = array(
 920    );
 921    protected $companyType = 'Google_Service_Partners_Company';
 922    protected $companyDataType = '';
 923    protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
 924    protected $responseMetadataDataType = '';
 925  
 926  
 927    public function setCompany(Google_Service_Partners_Company $company)
 928    {
 929      $this->company = $company;
 930    }
 931    public function getCompany()
 932    {
 933      return $this->company;
 934    }
 935    public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
 936    {
 937      $this->responseMetadata = $responseMetadata;
 938    }
 939    public function getResponseMetadata()
 940    {
 941      return $this->responseMetadata;
 942    }
 943  }
 944  
 945  #[AllowDynamicProperties]
 946  class Google_Service_Partners_LatLng extends Google_Model
 947  {
 948    protected $internal_gapi_mappings = array(
 949    );
 950    public $latitude;
 951    public $longitude;
 952  
 953  
 954    public function setLatitude($latitude)
 955    {
 956      $this->latitude = $latitude;
 957    }
 958    public function getLatitude()
 959    {
 960      return $this->latitude;
 961    }
 962    public function setLongitude($longitude)
 963    {
 964      $this->longitude = $longitude;
 965    }
 966    public function getLongitude()
 967    {
 968      return $this->longitude;
 969    }
 970  }
 971  
 972  #[AllowDynamicProperties]
 973  class Google_Service_Partners_Lead extends Google_Collection
 974  {
 975    protected $collection_key = 'gpsMotivations';
 976    protected $internal_gapi_mappings = array(
 977    );
 978    public $comments;
 979    public $email;
 980    public $familyName;
 981    public $givenName;
 982    public $gpsMotivations;
 983    public $id;
 984    protected $minMonthlyBudgetType = 'Google_Service_Partners_Money';
 985    protected $minMonthlyBudgetDataType = '';
 986    public $phoneNumber;
 987    public $type;
 988    public $websiteUrl;
 989  
 990  
 991    public function setComments($comments)
 992    {
 993      $this->comments = $comments;
 994    }
 995    public function getComments()
 996    {
 997      return $this->comments;
 998    }
 999    public function setEmail($email)
1000    {
1001      $this->email = $email;
1002    }
1003    public function getEmail()
1004    {
1005      return $this->email;
1006    }
1007    public function setFamilyName($familyName)
1008    {
1009      $this->familyName = $familyName;
1010    }
1011    public function getFamilyName()
1012    {
1013      return $this->familyName;
1014    }
1015    public function setGivenName($givenName)
1016    {
1017      $this->givenName = $givenName;
1018    }
1019    public function getGivenName()
1020    {
1021      return $this->givenName;
1022    }
1023    public function setGpsMotivations($gpsMotivations)
1024    {
1025      $this->gpsMotivations = $gpsMotivations;
1026    }
1027    public function getGpsMotivations()
1028    {
1029      return $this->gpsMotivations;
1030    }
1031    public function setId($id)
1032    {
1033      $this->id = $id;
1034    }
1035    public function getId()
1036    {
1037      return $this->id;
1038    }
1039    public function setMinMonthlyBudget(Google_Service_Partners_Money $minMonthlyBudget)
1040    {
1041      $this->minMonthlyBudget = $minMonthlyBudget;
1042    }
1043    public function getMinMonthlyBudget()
1044    {
1045      return $this->minMonthlyBudget;
1046    }
1047    public function setPhoneNumber($phoneNumber)
1048    {
1049      $this->phoneNumber = $phoneNumber;
1050    }
1051    public function getPhoneNumber()
1052    {
1053      return $this->phoneNumber;
1054    }
1055    public function setType($type)
1056    {
1057      $this->type = $type;
1058    }
1059    public function getType()
1060    {
1061      return $this->type;
1062    }
1063    public function setWebsiteUrl($websiteUrl)
1064    {
1065      $this->websiteUrl = $websiteUrl;
1066    }
1067    public function getWebsiteUrl()
1068    {
1069      return $this->websiteUrl;
1070    }
1071  }
1072  
1073  #[AllowDynamicProperties]
1074  class Google_Service_Partners_ListCompaniesResponse extends Google_Collection
1075  {
1076    protected $collection_key = 'companies';
1077    protected $internal_gapi_mappings = array(
1078    );
1079    protected $companiesType = 'Google_Service_Partners_Company';
1080    protected $companiesDataType = 'array';
1081    public $nextPageToken;
1082    protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1083    protected $responseMetadataDataType = '';
1084  
1085  
1086    public function setCompanies($companies)
1087    {
1088      $this->companies = $companies;
1089    }
1090    public function getCompanies()
1091    {
1092      return $this->companies;
1093    }
1094    public function setNextPageToken($nextPageToken)
1095    {
1096      $this->nextPageToken = $nextPageToken;
1097    }
1098    public function getNextPageToken()
1099    {
1100      return $this->nextPageToken;
1101    }
1102    public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1103    {
1104      $this->responseMetadata = $responseMetadata;
1105    }
1106    public function getResponseMetadata()
1107    {
1108      return $this->responseMetadata;
1109    }
1110  }
1111  
1112  #[AllowDynamicProperties]
1113  class Google_Service_Partners_ListUserStatesResponse extends Google_Collection
1114  {
1115    protected $collection_key = 'userStates';
1116    protected $internal_gapi_mappings = array(
1117    );
1118    protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1119    protected $responseMetadataDataType = '';
1120    public $userStates;
1121  
1122  
1123    public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1124    {
1125      $this->responseMetadata = $responseMetadata;
1126    }
1127    public function getResponseMetadata()
1128    {
1129      return $this->responseMetadata;
1130    }
1131    public function setUserStates($userStates)
1132    {
1133      $this->userStates = $userStates;
1134    }
1135    public function getUserStates()
1136    {
1137      return $this->userStates;
1138    }
1139  }
1140  
1141  #[AllowDynamicProperties]
1142  class Google_Service_Partners_LocalizedCompanyInfo extends Google_Collection
1143  {
1144    protected $collection_key = 'countryCodes';
1145    protected $internal_gapi_mappings = array(
1146    );
1147    public $countryCodes;
1148    public $displayName;
1149    public $languageCode;
1150    public $overview;
1151  
1152  
1153    public function setCountryCodes($countryCodes)
1154    {
1155      $this->countryCodes = $countryCodes;
1156    }
1157    public function getCountryCodes()
1158    {
1159      return $this->countryCodes;
1160    }
1161    public function setDisplayName($displayName)
1162    {
1163      $this->displayName = $displayName;
1164    }
1165    public function getDisplayName()
1166    {
1167      return $this->displayName;
1168    }
1169    public function setLanguageCode($languageCode)
1170    {
1171      $this->languageCode = $languageCode;
1172    }
1173    public function getLanguageCode()
1174    {
1175      return $this->languageCode;
1176    }
1177    public function setOverview($overview)
1178    {
1179      $this->overview = $overview;
1180    }
1181    public function getOverview()
1182    {
1183      return $this->overview;
1184    }
1185  }
1186  
1187  #[AllowDynamicProperties]
1188  class Google_Service_Partners_Location extends Google_Model
1189  {
1190    protected $internal_gapi_mappings = array(
1191    );
1192    public $address;
1193    protected $latLngType = 'Google_Service_Partners_LatLng';
1194    protected $latLngDataType = '';
1195  
1196  
1197    public function setAddress($address)
1198    {
1199      $this->address = $address;
1200    }
1201    public function getAddress()
1202    {
1203      return $this->address;
1204    }
1205    public function setLatLng(Google_Service_Partners_LatLng $latLng)
1206    {
1207      $this->latLng = $latLng;
1208    }
1209    public function getLatLng()
1210    {
1211      return $this->latLng;
1212    }
1213  }
1214  
1215  #[AllowDynamicProperties]
1216  class Google_Service_Partners_LogMessageRequest extends Google_Model
1217  {
1218    protected $internal_gapi_mappings = array(
1219    );
1220    public $clientInfo;
1221    public $details;
1222    public $level;
1223    protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
1224    protected $requestMetadataDataType = '';
1225  
1226  
1227    public function setClientInfo($clientInfo)
1228    {
1229      $this->clientInfo = $clientInfo;
1230    }
1231    public function getClientInfo()
1232    {
1233      return $this->clientInfo;
1234    }
1235    public function setDetails($details)
1236    {
1237      $this->details = $details;
1238    }
1239    public function getDetails()
1240    {
1241      return $this->details;
1242    }
1243    public function setLevel($level)
1244    {
1245      $this->level = $level;
1246    }
1247    public function getLevel()
1248    {
1249      return $this->level;
1250    }
1251    public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
1252    {
1253      $this->requestMetadata = $requestMetadata;
1254    }
1255    public function getRequestMetadata()
1256    {
1257      return $this->requestMetadata;
1258    }
1259  }
1260  
1261  #[AllowDynamicProperties]
1262  class Google_Service_Partners_LogMessageRequestClientInfo extends Google_Model
1263  {
1264  }
1265  
1266  #[AllowDynamicProperties]
1267  class Google_Service_Partners_LogMessageResponse extends Google_Model
1268  {
1269    protected $internal_gapi_mappings = array(
1270    );
1271    protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1272    protected $responseMetadataDataType = '';
1273  
1274  
1275    public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1276    {
1277      $this->responseMetadata = $responseMetadata;
1278    }
1279    public function getResponseMetadata()
1280    {
1281      return $this->responseMetadata;
1282    }
1283  }
1284  
1285  #[AllowDynamicProperties]
1286  class Google_Service_Partners_LogUserEventRequest extends Google_Collection
1287  {
1288    protected $collection_key = 'eventDatas';
1289    protected $internal_gapi_mappings = array(
1290    );
1291    public $eventAction;
1292    public $eventCategory;
1293    protected $eventDatasType = 'Google_Service_Partners_EventData';
1294    protected $eventDatasDataType = 'array';
1295    public $eventScope;
1296    protected $leadType = 'Google_Service_Partners_Lead';
1297    protected $leadDataType = '';
1298    protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
1299    protected $requestMetadataDataType = '';
1300    public $url;
1301  
1302  
1303    public function setEventAction($eventAction)
1304    {
1305      $this->eventAction = $eventAction;
1306    }
1307    public function getEventAction()
1308    {
1309      return $this->eventAction;
1310    }
1311    public function setEventCategory($eventCategory)
1312    {
1313      $this->eventCategory = $eventCategory;
1314    }
1315    public function getEventCategory()
1316    {
1317      return $this->eventCategory;
1318    }
1319    public function setEventDatas($eventDatas)
1320    {
1321      $this->eventDatas = $eventDatas;
1322    }
1323    public function getEventDatas()
1324    {
1325      return $this->eventDatas;
1326    }
1327    public function setEventScope($eventScope)
1328    {
1329      $this->eventScope = $eventScope;
1330    }
1331    public function getEventScope()
1332    {
1333      return $this->eventScope;
1334    }
1335    public function setLead(Google_Service_Partners_Lead $lead)
1336    {
1337      $this->lead = $lead;
1338    }
1339    public function getLead()
1340    {
1341      return $this->lead;
1342    }
1343    public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
1344    {
1345      $this->requestMetadata = $requestMetadata;
1346    }
1347    public function getRequestMetadata()
1348    {
1349      return $this->requestMetadata;
1350    }
1351    public function setUrl($url)
1352    {
1353      $this->url = $url;
1354    }
1355    public function getUrl()
1356    {
1357      return $this->url;
1358    }
1359  }
1360  
1361  #[AllowDynamicProperties]
1362  class Google_Service_Partners_LogUserEventResponse extends Google_Model
1363  {
1364    protected $internal_gapi_mappings = array(
1365    );
1366    protected $responseMetadataType = 'Google_Service_Partners_ResponseMetadata';
1367    protected $responseMetadataDataType = '';
1368  
1369  
1370    public function setResponseMetadata(Google_Service_Partners_ResponseMetadata $responseMetadata)
1371    {
1372      $this->responseMetadata = $responseMetadata;
1373    }
1374    public function getResponseMetadata()
1375    {
1376      return $this->responseMetadata;
1377    }
1378  }
1379  
1380  #[AllowDynamicProperties]
1381  class Google_Service_Partners_Money extends Google_Model
1382  {
1383    protected $internal_gapi_mappings = array(
1384    );
1385    public $currencyCode;
1386    public $nanos;
1387    public $units;
1388  
1389  
1390    public function setCurrencyCode($currencyCode)
1391    {
1392      $this->currencyCode = $currencyCode;
1393    }
1394    public function getCurrencyCode()
1395    {
1396      return $this->currencyCode;
1397    }
1398    public function setNanos($nanos)
1399    {
1400      $this->nanos = $nanos;
1401    }
1402    public function getNanos()
1403    {
1404      return $this->nanos;
1405    }
1406    public function setUnits($units)
1407    {
1408      $this->units = $units;
1409    }
1410    public function getUnits()
1411    {
1412      return $this->units;
1413    }
1414  }
1415  
1416  #[AllowDynamicProperties]
1417  class Google_Service_Partners_PublicProfile extends Google_Model
1418  {
1419    protected $internal_gapi_mappings = array(
1420    );
1421    public $displayImageUrl;
1422    public $displayName;
1423    public $id;
1424    public $url;
1425  
1426  
1427    public function setDisplayImageUrl($displayImageUrl)
1428    {
1429      $this->displayImageUrl = $displayImageUrl;
1430    }
1431    public function getDisplayImageUrl()
1432    {
1433      return $this->displayImageUrl;
1434    }
1435    public function setDisplayName($displayName)
1436    {
1437      $this->displayName = $displayName;
1438    }
1439    public function getDisplayName()
1440    {
1441      return $this->displayName;
1442    }
1443    public function setId($id)
1444    {
1445      $this->id = $id;
1446    }
1447    public function getId()
1448    {
1449      return $this->id;
1450    }
1451    public function setUrl($url)
1452    {
1453      $this->url = $url;
1454    }
1455    public function getUrl()
1456    {
1457      return $this->url;
1458    }
1459  }
1460  
1461  #[AllowDynamicProperties]
1462  class Google_Service_Partners_Rank extends Google_Model
1463  {
1464    protected $internal_gapi_mappings = array(
1465    );
1466    public $type;
1467    public $value;
1468  
1469  
1470    public function setType($type)
1471    {
1472      $this->type = $type;
1473    }
1474    public function getType()
1475    {
1476      return $this->type;
1477    }
1478    public function setValue($value)
1479    {
1480      $this->value = $value;
1481    }
1482    public function getValue()
1483    {
1484      return $this->value;
1485    }
1486  }
1487  
1488  #[AllowDynamicProperties]
1489  class Google_Service_Partners_RecaptchaChallenge extends Google_Model
1490  {
1491    protected $internal_gapi_mappings = array(
1492    );
1493    public $id;
1494    public $response;
1495  
1496  
1497    public function setId($id)
1498    {
1499      $this->id = $id;
1500    }
1501    public function getId()
1502    {
1503      return $this->id;
1504    }
1505    public function setResponse($response)
1506    {
1507      $this->response = $response;
1508    }
1509    public function getResponse()
1510    {
1511      return $this->response;
1512    }
1513  }
1514  
1515  #[AllowDynamicProperties]
1516  class Google_Service_Partners_RequestMetadata extends Google_Collection
1517  {
1518    protected $collection_key = 'experimentIds';
1519    protected $internal_gapi_mappings = array(
1520    );
1521    public $experimentIds;
1522    public $locale;
1523    public $partnersSessionId;
1524    protected $trafficSourceType = 'Google_Service_Partners_TrafficSource';
1525    protected $trafficSourceDataType = '';
1526    protected $userOverridesType = 'Google_Service_Partners_UserOverrides';
1527    protected $userOverridesDataType = '';
1528  
1529  
1530    public function setExperimentIds($experimentIds)
1531    {
1532      $this->experimentIds = $experimentIds;
1533    }
1534    public function getExperimentIds()
1535    {
1536      return $this->experimentIds;
1537    }
1538    public function setLocale($locale)
1539    {
1540      $this->locale = $locale;
1541    }
1542    public function getLocale()
1543    {
1544      return $this->locale;
1545    }
1546    public function setPartnersSessionId($partnersSessionId)
1547    {
1548      $this->partnersSessionId = $partnersSessionId;
1549    }
1550    public function getPartnersSessionId()
1551    {
1552      return $this->partnersSessionId;
1553    }
1554    public function setTrafficSource(Google_Service_Partners_TrafficSource $trafficSource)
1555    {
1556      $this->trafficSource = $trafficSource;
1557    }
1558    public function getTrafficSource()
1559    {
1560      return $this->trafficSource;
1561    }
1562    public function setUserOverrides(Google_Service_Partners_UserOverrides $userOverrides)
1563    {
1564      $this->userOverrides = $userOverrides;
1565    }
1566    public function getUserOverrides()
1567    {
1568      return $this->userOverrides;
1569    }
1570  }
1571  
1572  #[AllowDynamicProperties]
1573  class Google_Service_Partners_ResponseMetadata extends Google_Model
1574  {
1575    protected $internal_gapi_mappings = array(
1576    );
1577    protected $debugInfoType = 'Google_Service_Partners_DebugInfo';
1578    protected $debugInfoDataType = '';
1579  
1580  
1581    public function setDebugInfo(Google_Service_Partners_DebugInfo $debugInfo)
1582    {
1583      $this->debugInfo = $debugInfo;
1584    }
1585    public function getDebugInfo()
1586    {
1587      return $this->debugInfo;
1588    }
1589  }
1590  
1591  #[AllowDynamicProperties]
1592  class Google_Service_Partners_TrafficSource extends Google_Model
1593  {
1594    protected $internal_gapi_mappings = array(
1595    );
1596    public $trafficSourceId;
1597    public $trafficSubId;
1598  
1599  
1600    public function setTrafficSourceId($trafficSourceId)
1601    {
1602      $this->trafficSourceId = $trafficSourceId;
1603    }
1604    public function getTrafficSourceId()
1605    {
1606      return $this->trafficSourceId;
1607    }
1608    public function setTrafficSubId($trafficSubId)
1609    {
1610      $this->trafficSubId = $trafficSubId;
1611    }
1612    public function getTrafficSubId()
1613    {
1614      return $this->trafficSubId;
1615    }
1616  }
1617  
1618  #[AllowDynamicProperties]
1619  class Google_Service_Partners_UserOverrides extends Google_Model
1620  {
1621    protected $internal_gapi_mappings = array(
1622    );
1623    public $ipAddress;
1624    public $userId;
1625  
1626  
1627    public function setIpAddress($ipAddress)
1628    {
1629      $this->ipAddress = $ipAddress;
1630    }
1631    public function getIpAddress()
1632    {
1633      return $this->ipAddress;
1634    }
1635    public function setUserId($userId)
1636    {
1637      $this->userId = $userId;
1638    }
1639    public function getUserId()
1640    {
1641      return $this->userId;
1642    }
1643  }