暫無描述

Activity.php 2.4KB

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_Reports_Activity extends Google_Collection
  18. {
  19. protected $collection_key = 'events';
  20. protected $actorType = 'Google_Service_Reports_ActivityActor';
  21. protected $actorDataType = '';
  22. public $etag;
  23. protected $eventsType = 'Google_Service_Reports_ActivityEvents';
  24. protected $eventsDataType = 'array';
  25. protected $idType = 'Google_Service_Reports_ActivityId';
  26. protected $idDataType = '';
  27. public $ipAddress;
  28. public $kind;
  29. public $ownerDomain;
  30. /**
  31. * @param Google_Service_Reports_ActivityActor
  32. */
  33. public function setActor(Google_Service_Reports_ActivityActor $actor)
  34. {
  35. $this->actor = $actor;
  36. }
  37. /**
  38. * @return Google_Service_Reports_ActivityActor
  39. */
  40. public function getActor()
  41. {
  42. return $this->actor;
  43. }
  44. public function setEtag($etag)
  45. {
  46. $this->etag = $etag;
  47. }
  48. public function getEtag()
  49. {
  50. return $this->etag;
  51. }
  52. /**
  53. * @param Google_Service_Reports_ActivityEvents
  54. */
  55. public function setEvents($events)
  56. {
  57. $this->events = $events;
  58. }
  59. /**
  60. * @return Google_Service_Reports_ActivityEvents
  61. */
  62. public function getEvents()
  63. {
  64. return $this->events;
  65. }
  66. /**
  67. * @param Google_Service_Reports_ActivityId
  68. */
  69. public function setId(Google_Service_Reports_ActivityId $id)
  70. {
  71. $this->id = $id;
  72. }
  73. /**
  74. * @return Google_Service_Reports_ActivityId
  75. */
  76. public function getId()
  77. {
  78. return $this->id;
  79. }
  80. public function setIpAddress($ipAddress)
  81. {
  82. $this->ipAddress = $ipAddress;
  83. }
  84. public function getIpAddress()
  85. {
  86. return $this->ipAddress;
  87. }
  88. public function setKind($kind)
  89. {
  90. $this->kind = $kind;
  91. }
  92. public function getKind()
  93. {
  94. return $this->kind;
  95. }
  96. public function setOwnerDomain($ownerDomain)
  97. {
  98. $this->ownerDomain = $ownerDomain;
  99. }
  100. public function getOwnerDomain()
  101. {
  102. return $this->ownerDomain;
  103. }
  104. }