Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 311 and 402] [Versions 311 and 403]

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