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_DriveActivity_DriveActivity extends Google_Collection 19{ 20 protected $collection_key = 'targets'; 21 protected $actionsType = 'Google_Service_DriveActivity_Action'; 22 protected $actionsDataType = 'array'; 23 protected $actorsType = 'Google_Service_DriveActivity_Actor'; 24 protected $actorsDataType = 'array'; 25 protected $primaryActionDetailType = 'Google_Service_DriveActivity_ActionDetail'; 26 protected $primaryActionDetailDataType = ''; 27 protected $targetsType = 'Google_Service_DriveActivity_Target'; 28 protected $targetsDataType = 'array'; 29 protected $timeRangeType = 'Google_Service_DriveActivity_TimeRange'; 30 protected $timeRangeDataType = ''; 31 public $timestamp; 32 33 /** 34 * @param Google_Service_DriveActivity_Action 35 */ 36 public function setActions($actions) 37 { 38 $this->actions = $actions; 39 } 40 /** 41 * @return Google_Service_DriveActivity_Action 42 */ 43 public function getActions() 44 { 45 return $this->actions; 46 } 47 /** 48 * @param Google_Service_DriveActivity_Actor 49 */ 50 public function setActors($actors) 51 { 52 $this->actors = $actors; 53 } 54 /** 55 * @return Google_Service_DriveActivity_Actor 56 */ 57 public function getActors() 58 { 59 return $this->actors; 60 } 61 /** 62 * @param Google_Service_DriveActivity_ActionDetail 63 */ 64 public function setPrimaryActionDetail(Google_Service_DriveActivity_ActionDetail $primaryActionDetail) 65 { 66 $this->primaryActionDetail = $primaryActionDetail; 67 } 68 /** 69 * @return Google_Service_DriveActivity_ActionDetail 70 */ 71 public function getPrimaryActionDetail() 72 { 73 return $this->primaryActionDetail; 74 } 75 /** 76 * @param Google_Service_DriveActivity_Target 77 */ 78 public function setTargets($targets) 79 { 80 $this->targets = $targets; 81 } 82 /** 83 * @return Google_Service_DriveActivity_Target 84 */ 85 public function getTargets() 86 { 87 return $this->targets; 88 } 89 /** 90 * @param Google_Service_DriveActivity_TimeRange 91 */ 92 public function setTimeRange(Google_Service_DriveActivity_TimeRange $timeRange) 93 { 94 $this->timeRange = $timeRange; 95 } 96 /** 97 * @return Google_Service_DriveActivity_TimeRange 98 */ 99 public function getTimeRange() 100 { 101 return $this->timeRange; 102 } 103 public function setTimestamp($timestamp) 104 { 105 $this->timestamp = $timestamp; 106 } 107 public function getTimestamp() 108 { 109 return $this->timestamp; 110 } 111} 112