PageRenderTime 167ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 0ms

/lib/google/src/Google/Service/Partners.php

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