Ingen beskrivning

LogUserEventRequest.php 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?php
  2. /*
  3. * Copyright 2014 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. class Google_Service_Partners_LogUserEventRequest extends Google_Collection
  18. {
  19. protected $collection_key = 'eventDatas';
  20. public $eventAction;
  21. public $eventCategory;
  22. protected $eventDatasType = 'Google_Service_Partners_EventData';
  23. protected $eventDatasDataType = 'array';
  24. public $eventScope;
  25. protected $leadType = 'Google_Service_Partners_Lead';
  26. protected $leadDataType = '';
  27. protected $requestMetadataType = 'Google_Service_Partners_RequestMetadata';
  28. protected $requestMetadataDataType = '';
  29. public $url;
  30. public function setEventAction($eventAction)
  31. {
  32. $this->eventAction = $eventAction;
  33. }
  34. public function getEventAction()
  35. {
  36. return $this->eventAction;
  37. }
  38. public function setEventCategory($eventCategory)
  39. {
  40. $this->eventCategory = $eventCategory;
  41. }
  42. public function getEventCategory()
  43. {
  44. return $this->eventCategory;
  45. }
  46. /**
  47. * @param Google_Service_Partners_EventData
  48. */
  49. public function setEventDatas($eventDatas)
  50. {
  51. $this->eventDatas = $eventDatas;
  52. }
  53. /**
  54. * @return Google_Service_Partners_EventData
  55. */
  56. public function getEventDatas()
  57. {
  58. return $this->eventDatas;
  59. }
  60. public function setEventScope($eventScope)
  61. {
  62. $this->eventScope = $eventScope;
  63. }
  64. public function getEventScope()
  65. {
  66. return $this->eventScope;
  67. }
  68. /**
  69. * @param Google_Service_Partners_Lead
  70. */
  71. public function setLead(Google_Service_Partners_Lead $lead)
  72. {
  73. $this->lead = $lead;
  74. }
  75. /**
  76. * @return Google_Service_Partners_Lead
  77. */
  78. public function getLead()
  79. {
  80. return $this->lead;
  81. }
  82. /**
  83. * @param Google_Service_Partners_RequestMetadata
  84. */
  85. public function setRequestMetadata(Google_Service_Partners_RequestMetadata $requestMetadata)
  86. {
  87. $this->requestMetadata = $requestMetadata;
  88. }
  89. /**
  90. * @return Google_Service_Partners_RequestMetadata
  91. */
  92. public function getRequestMetadata()
  93. {
  94. return $this->requestMetadata;
  95. }
  96. public function setUrl($url)
  97. {
  98. $this->url = $url;
  99. }
  100. public function getUrl()
  101. {
  102. return $this->url;
  103. }
  104. }