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\CloudSupport;
19
20class CloudsupportCase extends \Google\Collection
21{
22  protected $collection_key = 'subscriberEmailAddresses';
23  protected $classificationType = CaseClassification::class;
24  protected $classificationDataType = '';
25  /**
26   * @var string
27   */
28  public $createTime;
29  protected $creatorType = Actor::class;
30  protected $creatorDataType = '';
31  /**
32   * @var string
33   */
34  public $description;
35  /**
36   * @var string
37   */
38  public $displayName;
39  /**
40   * @var bool
41   */
42  public $escalated;
43  /**
44   * @var string
45   */
46  public $name;
47  /**
48   * @var string
49   */
50  public $priority;
51  /**
52   * @var string
53   */
54  public $severity;
55  /**
56   * @var string
57   */
58  public $state;
59  /**
60   * @var string[]
61   */
62  public $subscriberEmailAddresses;
63  /**
64   * @var bool
65   */
66  public $testCase;
67  /**
68   * @var string
69   */
70  public $timeZone;
71  /**
72   * @var string
73   */
74  public $updateTime;
75
76  /**
77   * @param CaseClassification
78   */
79  public function setClassification(CaseClassification $classification)
80  {
81    $this->classification = $classification;
82  }
83  /**
84   * @return CaseClassification
85   */
86  public function getClassification()
87  {
88    return $this->classification;
89  }
90  /**
91   * @param string
92   */
93  public function setCreateTime($createTime)
94  {
95    $this->createTime = $createTime;
96  }
97  /**
98   * @return string
99   */
100  public function getCreateTime()
101  {
102    return $this->createTime;
103  }
104  /**
105   * @param Actor
106   */
107  public function setCreator(Actor $creator)
108  {
109    $this->creator = $creator;
110  }
111  /**
112   * @return Actor
113   */
114  public function getCreator()
115  {
116    return $this->creator;
117  }
118  /**
119   * @param string
120   */
121  public function setDescription($description)
122  {
123    $this->description = $description;
124  }
125  /**
126   * @return string
127   */
128  public function getDescription()
129  {
130    return $this->description;
131  }
132  /**
133   * @param string
134   */
135  public function setDisplayName($displayName)
136  {
137    $this->displayName = $displayName;
138  }
139  /**
140   * @return string
141   */
142  public function getDisplayName()
143  {
144    return $this->displayName;
145  }
146  /**
147   * @param bool
148   */
149  public function setEscalated($escalated)
150  {
151    $this->escalated = $escalated;
152  }
153  /**
154   * @return bool
155   */
156  public function getEscalated()
157  {
158    return $this->escalated;
159  }
160  /**
161   * @param string
162   */
163  public function setName($name)
164  {
165    $this->name = $name;
166  }
167  /**
168   * @return string
169   */
170  public function getName()
171  {
172    return $this->name;
173  }
174  /**
175   * @param string
176   */
177  public function setPriority($priority)
178  {
179    $this->priority = $priority;
180  }
181  /**
182   * @return string
183   */
184  public function getPriority()
185  {
186    return $this->priority;
187  }
188  /**
189   * @param string
190   */
191  public function setSeverity($severity)
192  {
193    $this->severity = $severity;
194  }
195  /**
196   * @return string
197   */
198  public function getSeverity()
199  {
200    return $this->severity;
201  }
202  /**
203   * @param string
204   */
205  public function setState($state)
206  {
207    $this->state = $state;
208  }
209  /**
210   * @return string
211   */
212  public function getState()
213  {
214    return $this->state;
215  }
216  /**
217   * @param string[]
218   */
219  public function setSubscriberEmailAddresses($subscriberEmailAddresses)
220  {
221    $this->subscriberEmailAddresses = $subscriberEmailAddresses;
222  }
223  /**
224   * @return string[]
225   */
226  public function getSubscriberEmailAddresses()
227  {
228    return $this->subscriberEmailAddresses;
229  }
230  /**
231   * @param bool
232   */
233  public function setTestCase($testCase)
234  {
235    $this->testCase = $testCase;
236  }
237  /**
238   * @return bool
239   */
240  public function getTestCase()
241  {
242    return $this->testCase;
243  }
244  /**
245   * @param string
246   */
247  public function setTimeZone($timeZone)
248  {
249    $this->timeZone = $timeZone;
250  }
251  /**
252   * @return string
253   */
254  public function getTimeZone()
255  {
256    return $this->timeZone;
257  }
258  /**
259   * @param string
260   */
261  public function setUpdateTime($updateTime)
262  {
263    $this->updateTime = $updateTime;
264  }
265  /**
266   * @return string
267   */
268  public function getUpdateTime()
269  {
270    return $this->updateTime;
271  }
272}
273
274// Adding a class alias for backwards compatibility with the previous class name.
275class_alias(CloudsupportCase::class, 'Google_Service_CloudSupport_CloudsupportCase');
276