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