source: vendor/google/apiclient-services/src/AlertCenter/RuleViolationInfo.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 4.3 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\AlertCenter;
19
20class RuleViolationInfo extends \Google\Collection
21{
22 protected $collection_key = 'triggeredActionTypes';
23 /**
24 * @var string
25 */
26 public $dataSource;
27 /**
28 * @var string
29 */
30 public $eventType;
31 protected $matchInfoType = MatchInfo::class;
32 protected $matchInfoDataType = 'array';
33 /**
34 * @var string[]
35 */
36 public $recipients;
37 protected $resourceInfoType = ResourceInfo::class;
38 protected $resourceInfoDataType = '';
39 protected $ruleInfoType = RuleInfo::class;
40 protected $ruleInfoDataType = '';
41 /**
42 * @var string[]
43 */
44 public $suppressedActionTypes;
45 /**
46 * @var string
47 */
48 public $trigger;
49 protected $triggeredActionInfoType = ActionInfo::class;
50 protected $triggeredActionInfoDataType = 'array';
51 /**
52 * @var string[]
53 */
54 public $triggeredActionTypes;
55 /**
56 * @var string
57 */
58 public $triggeringUserEmail;
59
60 /**
61 * @param string
62 */
63 public function setDataSource($dataSource)
64 {
65 $this->dataSource = $dataSource;
66 }
67 /**
68 * @return string
69 */
70 public function getDataSource()
71 {
72 return $this->dataSource;
73 }
74 /**
75 * @param string
76 */
77 public function setEventType($eventType)
78 {
79 $this->eventType = $eventType;
80 }
81 /**
82 * @return string
83 */
84 public function getEventType()
85 {
86 return $this->eventType;
87 }
88 /**
89 * @param MatchInfo[]
90 */
91 public function setMatchInfo($matchInfo)
92 {
93 $this->matchInfo = $matchInfo;
94 }
95 /**
96 * @return MatchInfo[]
97 */
98 public function getMatchInfo()
99 {
100 return $this->matchInfo;
101 }
102 /**
103 * @param string[]
104 */
105 public function setRecipients($recipients)
106 {
107 $this->recipients = $recipients;
108 }
109 /**
110 * @return string[]
111 */
112 public function getRecipients()
113 {
114 return $this->recipients;
115 }
116 /**
117 * @param ResourceInfo
118 */
119 public function setResourceInfo(ResourceInfo $resourceInfo)
120 {
121 $this->resourceInfo = $resourceInfo;
122 }
123 /**
124 * @return ResourceInfo
125 */
126 public function getResourceInfo()
127 {
128 return $this->resourceInfo;
129 }
130 /**
131 * @param RuleInfo
132 */
133 public function setRuleInfo(RuleInfo $ruleInfo)
134 {
135 $this->ruleInfo = $ruleInfo;
136 }
137 /**
138 * @return RuleInfo
139 */
140 public function getRuleInfo()
141 {
142 return $this->ruleInfo;
143 }
144 /**
145 * @param string[]
146 */
147 public function setSuppressedActionTypes($suppressedActionTypes)
148 {
149 $this->suppressedActionTypes = $suppressedActionTypes;
150 }
151 /**
152 * @return string[]
153 */
154 public function getSuppressedActionTypes()
155 {
156 return $this->suppressedActionTypes;
157 }
158 /**
159 * @param string
160 */
161 public function setTrigger($trigger)
162 {
163 $this->trigger = $trigger;
164 }
165 /**
166 * @return string
167 */
168 public function getTrigger()
169 {
170 return $this->trigger;
171 }
172 /**
173 * @param ActionInfo[]
174 */
175 public function setTriggeredActionInfo($triggeredActionInfo)
176 {
177 $this->triggeredActionInfo = $triggeredActionInfo;
178 }
179 /**
180 * @return ActionInfo[]
181 */
182 public function getTriggeredActionInfo()
183 {
184 return $this->triggeredActionInfo;
185 }
186 /**
187 * @param string[]
188 */
189 public function setTriggeredActionTypes($triggeredActionTypes)
190 {
191 $this->triggeredActionTypes = $triggeredActionTypes;
192 }
193 /**
194 * @return string[]
195 */
196 public function getTriggeredActionTypes()
197 {
198 return $this->triggeredActionTypes;
199 }
200 /**
201 * @param string
202 */
203 public function setTriggeringUserEmail($triggeringUserEmail)
204 {
205 $this->triggeringUserEmail = $triggeringUserEmail;
206 }
207 /**
208 * @return string
209 */
210 public function getTriggeringUserEmail()
211 {
212 return $this->triggeringUserEmail;
213 }
214}
215
216// Adding a class alias for backwards compatibility with the previous class name.
217class_alias(RuleViolationInfo::class, 'Google_Service_AlertCenter_RuleViolationInfo');
Note: See TracBrowser for help on using the repository browser.