source: vendor/google/apiclient-services/src/Integrations/EnterpriseCrmEventbusProtoWorkflowAlertConfig.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 5.4 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\Integrations;
19
20class EnterpriseCrmEventbusProtoWorkflowAlertConfig extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $aggregationPeriod;
26 /**
27 * @var bool
28 */
29 public $alertDisabled;
30 /**
31 * @var string
32 */
33 public $alertName;
34 /**
35 * @var string
36 */
37 public $clientId;
38 /**
39 * @var string
40 */
41 public $durationThresholdMs;
42 protected $errorEnumListType = EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList::class;
43 protected $errorEnumListDataType = '';
44 /**
45 * @var string
46 */
47 public $metricType;
48 /**
49 * @var int
50 */
51 public $numAggregationPeriods;
52 /**
53 * @var bool
54 */
55 public $onlyFinalAttempt;
56 /**
57 * @var string
58 */
59 public $playbookUrl;
60 /**
61 * @var string
62 */
63 public $thresholdType;
64 protected $thresholdValueType = EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue::class;
65 protected $thresholdValueDataType = '';
66 protected $warningEnumListType = EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList::class;
67 protected $warningEnumListDataType = '';
68
69 /**
70 * @param string
71 */
72 public function setAggregationPeriod($aggregationPeriod)
73 {
74 $this->aggregationPeriod = $aggregationPeriod;
75 }
76 /**
77 * @return string
78 */
79 public function getAggregationPeriod()
80 {
81 return $this->aggregationPeriod;
82 }
83 /**
84 * @param bool
85 */
86 public function setAlertDisabled($alertDisabled)
87 {
88 $this->alertDisabled = $alertDisabled;
89 }
90 /**
91 * @return bool
92 */
93 public function getAlertDisabled()
94 {
95 return $this->alertDisabled;
96 }
97 /**
98 * @param string
99 */
100 public function setAlertName($alertName)
101 {
102 $this->alertName = $alertName;
103 }
104 /**
105 * @return string
106 */
107 public function getAlertName()
108 {
109 return $this->alertName;
110 }
111 /**
112 * @param string
113 */
114 public function setClientId($clientId)
115 {
116 $this->clientId = $clientId;
117 }
118 /**
119 * @return string
120 */
121 public function getClientId()
122 {
123 return $this->clientId;
124 }
125 /**
126 * @param string
127 */
128 public function setDurationThresholdMs($durationThresholdMs)
129 {
130 $this->durationThresholdMs = $durationThresholdMs;
131 }
132 /**
133 * @return string
134 */
135 public function getDurationThresholdMs()
136 {
137 return $this->durationThresholdMs;
138 }
139 /**
140 * @param EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
141 */
142 public function setErrorEnumList(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList $errorEnumList)
143 {
144 $this->errorEnumList = $errorEnumList;
145 }
146 /**
147 * @return EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
148 */
149 public function getErrorEnumList()
150 {
151 return $this->errorEnumList;
152 }
153 /**
154 * @param string
155 */
156 public function setMetricType($metricType)
157 {
158 $this->metricType = $metricType;
159 }
160 /**
161 * @return string
162 */
163 public function getMetricType()
164 {
165 return $this->metricType;
166 }
167 /**
168 * @param int
169 */
170 public function setNumAggregationPeriods($numAggregationPeriods)
171 {
172 $this->numAggregationPeriods = $numAggregationPeriods;
173 }
174 /**
175 * @return int
176 */
177 public function getNumAggregationPeriods()
178 {
179 return $this->numAggregationPeriods;
180 }
181 /**
182 * @param bool
183 */
184 public function setOnlyFinalAttempt($onlyFinalAttempt)
185 {
186 $this->onlyFinalAttempt = $onlyFinalAttempt;
187 }
188 /**
189 * @return bool
190 */
191 public function getOnlyFinalAttempt()
192 {
193 return $this->onlyFinalAttempt;
194 }
195 /**
196 * @param string
197 */
198 public function setPlaybookUrl($playbookUrl)
199 {
200 $this->playbookUrl = $playbookUrl;
201 }
202 /**
203 * @return string
204 */
205 public function getPlaybookUrl()
206 {
207 return $this->playbookUrl;
208 }
209 /**
210 * @param string
211 */
212 public function setThresholdType($thresholdType)
213 {
214 $this->thresholdType = $thresholdType;
215 }
216 /**
217 * @return string
218 */
219 public function getThresholdType()
220 {
221 return $this->thresholdType;
222 }
223 /**
224 * @param EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue
225 */
226 public function setThresholdValue(EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue $thresholdValue)
227 {
228 $this->thresholdValue = $thresholdValue;
229 }
230 /**
231 * @return EnterpriseCrmEventbusProtoBaseAlertConfigThresholdValue
232 */
233 public function getThresholdValue()
234 {
235 return $this->thresholdValue;
236 }
237 /**
238 * @param EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
239 */
240 public function setWarningEnumList(EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList $warningEnumList)
241 {
242 $this->warningEnumList = $warningEnumList;
243 }
244 /**
245 * @return EnterpriseCrmEventbusProtoBaseAlertConfigErrorEnumList
246 */
247 public function getWarningEnumList()
248 {
249 return $this->warningEnumList;
250 }
251}
252
253// Adding a class alias for backwards compatibility with the previous class name.
254class_alias(EnterpriseCrmEventbusProtoWorkflowAlertConfig::class, 'Google_Service_Integrations_EnterpriseCrmEventbusProtoWorkflowAlertConfig');
Note: See TracBrowser for help on using the repository browser.