[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\AnalyticsReporting;
|
---|
| 19 |
|
---|
| 20 | class SearchUserActivityRequest extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'activityTypes';
|
---|
| 23 | /**
|
---|
| 24 | * @var string[]
|
---|
| 25 | */
|
---|
| 26 | public $activityTypes;
|
---|
| 27 | protected $dateRangeType = DateRange::class;
|
---|
| 28 | protected $dateRangeDataType = '';
|
---|
| 29 | /**
|
---|
| 30 | * @var int
|
---|
| 31 | */
|
---|
| 32 | public $pageSize;
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $pageToken;
|
---|
| 37 | protected $userType = User::class;
|
---|
| 38 | protected $userDataType = '';
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $viewId;
|
---|
| 43 |
|
---|
| 44 | /**
|
---|
| 45 | * @param string[]
|
---|
| 46 | */
|
---|
| 47 | public function setActivityTypes($activityTypes)
|
---|
| 48 | {
|
---|
| 49 | $this->activityTypes = $activityTypes;
|
---|
| 50 | }
|
---|
| 51 | /**
|
---|
| 52 | * @return string[]
|
---|
| 53 | */
|
---|
| 54 | public function getActivityTypes()
|
---|
| 55 | {
|
---|
| 56 | return $this->activityTypes;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * @param DateRange
|
---|
| 60 | */
|
---|
| 61 | public function setDateRange(DateRange $dateRange)
|
---|
| 62 | {
|
---|
| 63 | $this->dateRange = $dateRange;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * @return DateRange
|
---|
| 67 | */
|
---|
| 68 | public function getDateRange()
|
---|
| 69 | {
|
---|
| 70 | return $this->dateRange;
|
---|
| 71 | }
|
---|
| 72 | /**
|
---|
| 73 | * @param int
|
---|
| 74 | */
|
---|
| 75 | public function setPageSize($pageSize)
|
---|
| 76 | {
|
---|
| 77 | $this->pageSize = $pageSize;
|
---|
| 78 | }
|
---|
| 79 | /**
|
---|
| 80 | * @return int
|
---|
| 81 | */
|
---|
| 82 | public function getPageSize()
|
---|
| 83 | {
|
---|
| 84 | return $this->pageSize;
|
---|
| 85 | }
|
---|
| 86 | /**
|
---|
| 87 | * @param string
|
---|
| 88 | */
|
---|
| 89 | public function setPageToken($pageToken)
|
---|
| 90 | {
|
---|
| 91 | $this->pageToken = $pageToken;
|
---|
| 92 | }
|
---|
| 93 | /**
|
---|
| 94 | * @return string
|
---|
| 95 | */
|
---|
| 96 | public function getPageToken()
|
---|
| 97 | {
|
---|
| 98 | return $this->pageToken;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @param User
|
---|
| 102 | */
|
---|
| 103 | public function setUser(User $user)
|
---|
| 104 | {
|
---|
| 105 | $this->user = $user;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @return User
|
---|
| 109 | */
|
---|
| 110 | public function getUser()
|
---|
| 111 | {
|
---|
| 112 | return $this->user;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @param string
|
---|
| 116 | */
|
---|
| 117 | public function setViewId($viewId)
|
---|
| 118 | {
|
---|
| 119 | $this->viewId = $viewId;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @return string
|
---|
| 123 | */
|
---|
| 124 | public function getViewId()
|
---|
| 125 | {
|
---|
| 126 | return $this->viewId;
|
---|
| 127 | }
|
---|
| 128 | }
|
---|
| 129 |
|
---|
| 130 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 131 | class_alias(SearchUserActivityRequest::class, 'Google_Service_AnalyticsReporting_SearchUserActivityRequest');
|
---|