source: vendor/google/apiclient-services/src/Analytics/CustomMetric.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 4.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\Analytics;
19
20class CustomMetric extends \Google\Model
21{
22 protected $internal_gapi_mappings = [
23 "maxValue" => "max_value",
24 "minValue" => "min_value",
25 ];
26 /**
27 * @var string
28 */
29 public $accountId;
30 /**
31 * @var bool
32 */
33 public $active;
34 /**
35 * @var string
36 */
37 public $created;
38 /**
39 * @var string
40 */
41 public $id;
42 /**
43 * @var int
44 */
45 public $index;
46 /**
47 * @var string
48 */
49 public $kind;
50 /**
51 * @var string
52 */
53 public $maxValue;
54 /**
55 * @var string
56 */
57 public $minValue;
58 /**
59 * @var string
60 */
61 public $name;
62 protected $parentLinkType = CustomMetricParentLink::class;
63 protected $parentLinkDataType = '';
64 /**
65 * @var string
66 */
67 public $scope;
68 /**
69 * @var string
70 */
71 public $selfLink;
72 /**
73 * @var string
74 */
75 public $type;
76 /**
77 * @var string
78 */
79 public $updated;
80 /**
81 * @var string
82 */
83 public $webPropertyId;
84
85 /**
86 * @param string
87 */
88 public function setAccountId($accountId)
89 {
90 $this->accountId = $accountId;
91 }
92 /**
93 * @return string
94 */
95 public function getAccountId()
96 {
97 return $this->accountId;
98 }
99 /**
100 * @param bool
101 */
102 public function setActive($active)
103 {
104 $this->active = $active;
105 }
106 /**
107 * @return bool
108 */
109 public function getActive()
110 {
111 return $this->active;
112 }
113 /**
114 * @param string
115 */
116 public function setCreated($created)
117 {
118 $this->created = $created;
119 }
120 /**
121 * @return string
122 */
123 public function getCreated()
124 {
125 return $this->created;
126 }
127 /**
128 * @param string
129 */
130 public function setId($id)
131 {
132 $this->id = $id;
133 }
134 /**
135 * @return string
136 */
137 public function getId()
138 {
139 return $this->id;
140 }
141 /**
142 * @param int
143 */
144 public function setIndex($index)
145 {
146 $this->index = $index;
147 }
148 /**
149 * @return int
150 */
151 public function getIndex()
152 {
153 return $this->index;
154 }
155 /**
156 * @param string
157 */
158 public function setKind($kind)
159 {
160 $this->kind = $kind;
161 }
162 /**
163 * @return string
164 */
165 public function getKind()
166 {
167 return $this->kind;
168 }
169 /**
170 * @param string
171 */
172 public function setMaxValue($maxValue)
173 {
174 $this->maxValue = $maxValue;
175 }
176 /**
177 * @return string
178 */
179 public function getMaxValue()
180 {
181 return $this->maxValue;
182 }
183 /**
184 * @param string
185 */
186 public function setMinValue($minValue)
187 {
188 $this->minValue = $minValue;
189 }
190 /**
191 * @return string
192 */
193 public function getMinValue()
194 {
195 return $this->minValue;
196 }
197 /**
198 * @param string
199 */
200 public function setName($name)
201 {
202 $this->name = $name;
203 }
204 /**
205 * @return string
206 */
207 public function getName()
208 {
209 return $this->name;
210 }
211 /**
212 * @param CustomMetricParentLink
213 */
214 public function setParentLink(CustomMetricParentLink $parentLink)
215 {
216 $this->parentLink = $parentLink;
217 }
218 /**
219 * @return CustomMetricParentLink
220 */
221 public function getParentLink()
222 {
223 return $this->parentLink;
224 }
225 /**
226 * @param string
227 */
228 public function setScope($scope)
229 {
230 $this->scope = $scope;
231 }
232 /**
233 * @return string
234 */
235 public function getScope()
236 {
237 return $this->scope;
238 }
239 /**
240 * @param string
241 */
242 public function setSelfLink($selfLink)
243 {
244 $this->selfLink = $selfLink;
245 }
246 /**
247 * @return string
248 */
249 public function getSelfLink()
250 {
251 return $this->selfLink;
252 }
253 /**
254 * @param string
255 */
256 public function setType($type)
257 {
258 $this->type = $type;
259 }
260 /**
261 * @return string
262 */
263 public function getType()
264 {
265 return $this->type;
266 }
267 /**
268 * @param string
269 */
270 public function setUpdated($updated)
271 {
272 $this->updated = $updated;
273 }
274 /**
275 * @return string
276 */
277 public function getUpdated()
278 {
279 return $this->updated;
280 }
281 /**
282 * @param string
283 */
284 public function setWebPropertyId($webPropertyId)
285 {
286 $this->webPropertyId = $webPropertyId;
287 }
288 /**
289 * @return string
290 */
291 public function getWebPropertyId()
292 {
293 return $this->webPropertyId;
294 }
295}
296
297// Adding a class alias for backwards compatibility with the previous class name.
298class_alias(CustomMetric::class, 'Google_Service_Analytics_CustomMetric');
Note: See TracBrowser for help on using the repository browser.