source: vendor/google/apiclient-services/src/DriveActivity/DriveActivity.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 2.7 KB
Line 
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
18namespace Google\Service\DriveActivity;
19
20class DriveActivity extends \Google\Collection
21{
22 protected $collection_key = 'targets';
23 protected $actionsType = Action::class;
24 protected $actionsDataType = 'array';
25 protected $actorsType = Actor::class;
26 protected $actorsDataType = 'array';
27 protected $primaryActionDetailType = ActionDetail::class;
28 protected $primaryActionDetailDataType = '';
29 protected $targetsType = Target::class;
30 protected $targetsDataType = 'array';
31 protected $timeRangeType = TimeRange::class;
32 protected $timeRangeDataType = '';
33 /**
34 * @var string
35 */
36 public $timestamp;
37
38 /**
39 * @param Action[]
40 */
41 public function setActions($actions)
42 {
43 $this->actions = $actions;
44 }
45 /**
46 * @return Action[]
47 */
48 public function getActions()
49 {
50 return $this->actions;
51 }
52 /**
53 * @param Actor[]
54 */
55 public function setActors($actors)
56 {
57 $this->actors = $actors;
58 }
59 /**
60 * @return Actor[]
61 */
62 public function getActors()
63 {
64 return $this->actors;
65 }
66 /**
67 * @param ActionDetail
68 */
69 public function setPrimaryActionDetail(ActionDetail $primaryActionDetail)
70 {
71 $this->primaryActionDetail = $primaryActionDetail;
72 }
73 /**
74 * @return ActionDetail
75 */
76 public function getPrimaryActionDetail()
77 {
78 return $this->primaryActionDetail;
79 }
80 /**
81 * @param Target[]
82 */
83 public function setTargets($targets)
84 {
85 $this->targets = $targets;
86 }
87 /**
88 * @return Target[]
89 */
90 public function getTargets()
91 {
92 return $this->targets;
93 }
94 /**
95 * @param TimeRange
96 */
97 public function setTimeRange(TimeRange $timeRange)
98 {
99 $this->timeRange = $timeRange;
100 }
101 /**
102 * @return TimeRange
103 */
104 public function getTimeRange()
105 {
106 return $this->timeRange;
107 }
108 /**
109 * @param string
110 */
111 public function setTimestamp($timestamp)
112 {
113 $this->timestamp = $timestamp;
114 }
115 /**
116 * @return string
117 */
118 public function getTimestamp()
119 {
120 return $this->timestamp;
121 }
122}
123
124// Adding a class alias for backwards compatibility with the previous class name.
125class_alias(DriveActivity::class, 'Google_Service_DriveActivity_DriveActivity');
Note: See TracBrowser for help on using the repository browser.