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_Action extends Google_Model
19{
20  protected $actorType = 'Google_Service_DriveActivity_Actor';
21  protected $actorDataType = '';
22  protected $detailType = 'Google_Service_DriveActivity_ActionDetail';
23  protected $detailDataType = '';
24  protected $targetType = 'Google_Service_DriveActivity_Target';
25  protected $targetDataType = '';
26  protected $timeRangeType = 'Google_Service_DriveActivity_TimeRange';
27  protected $timeRangeDataType = '';
28  public $timestamp;
29
30  /**
31   * @param Google_Service_DriveActivity_Actor
32   */
33  public function setActor(Google_Service_DriveActivity_Actor $actor)
34  {
35    $this->actor = $actor;
36  }
37  /**
38   * @return Google_Service_DriveActivity_Actor
39   */
40  public function getActor()
41  {
42    return $this->actor;
43  }
44  /**
45   * @param Google_Service_DriveActivity_ActionDetail
46   */
47  public function setDetail(Google_Service_DriveActivity_ActionDetail $detail)
48  {
49    $this->detail = $detail;
50  }
51  /**
52   * @return Google_Service_DriveActivity_ActionDetail
53   */
54  public function getDetail()
55  {
56    return $this->detail;
57  }
58  /**
59   * @param Google_Service_DriveActivity_Target
60   */
61  public function setTarget(Google_Service_DriveActivity_Target $target)
62  {
63    $this->target = $target;
64  }
65  /**
66   * @return Google_Service_DriveActivity_Target
67   */
68  public function getTarget()
69  {
70    return $this->target;
71  }
72  /**
73   * @param Google_Service_DriveActivity_TimeRange
74   */
75  public function setTimeRange(Google_Service_DriveActivity_TimeRange $timeRange)
76  {
77    $this->timeRange = $timeRange;
78  }
79  /**
80   * @return Google_Service_DriveActivity_TimeRange
81   */
82  public function getTimeRange()
83  {
84    return $this->timeRange;
85  }
86  public function setTimestamp($timestamp)
87  {
88    $this->timestamp = $timestamp;
89  }
90  public function getTimestamp()
91  {
92    return $this->timestamp;
93  }
94}
95