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\Classroom;
19
20class CourseWorkMaterial extends \Google\Collection
21{
22  protected $collection_key = 'materials';
23  /**
24   * @var string
25   */
26  public $alternateLink;
27  /**
28   * @var string
29   */
30  public $assigneeMode;
31  /**
32   * @var string
33   */
34  public $courseId;
35  /**
36   * @var string
37   */
38  public $creationTime;
39  /**
40   * @var string
41   */
42  public $creatorUserId;
43  /**
44   * @var string
45   */
46  public $description;
47  /**
48   * @var string
49   */
50  public $id;
51  protected $individualStudentsOptionsType = IndividualStudentsOptions::class;
52  protected $individualStudentsOptionsDataType = '';
53  protected $materialsType = Material::class;
54  protected $materialsDataType = 'array';
55  /**
56   * @var string
57   */
58  public $scheduledTime;
59  /**
60   * @var string
61   */
62  public $state;
63  /**
64   * @var string
65   */
66  public $title;
67  /**
68   * @var string
69   */
70  public $topicId;
71  /**
72   * @var string
73   */
74  public $updateTime;
75
76  /**
77   * @param string
78   */
79  public function setAlternateLink($alternateLink)
80  {
81    $this->alternateLink = $alternateLink;
82  }
83  /**
84   * @return string
85   */
86  public function getAlternateLink()
87  {
88    return $this->alternateLink;
89  }
90  /**
91   * @param string
92   */
93  public function setAssigneeMode($assigneeMode)
94  {
95    $this->assigneeMode = $assigneeMode;
96  }
97  /**
98   * @return string
99   */
100  public function getAssigneeMode()
101  {
102    return $this->assigneeMode;
103  }
104  /**
105   * @param string
106   */
107  public function setCourseId($courseId)
108  {
109    $this->courseId = $courseId;
110  }
111  /**
112   * @return string
113   */
114  public function getCourseId()
115  {
116    return $this->courseId;
117  }
118  /**
119   * @param string
120   */
121  public function setCreationTime($creationTime)
122  {
123    $this->creationTime = $creationTime;
124  }
125  /**
126   * @return string
127   */
128  public function getCreationTime()
129  {
130    return $this->creationTime;
131  }
132  /**
133   * @param string
134   */
135  public function setCreatorUserId($creatorUserId)
136  {
137    $this->creatorUserId = $creatorUserId;
138  }
139  /**
140   * @return string
141   */
142  public function getCreatorUserId()
143  {
144    return $this->creatorUserId;
145  }
146  /**
147   * @param string
148   */
149  public function setDescription($description)
150  {
151    $this->description = $description;
152  }
153  /**
154   * @return string
155   */
156  public function getDescription()
157  {
158    return $this->description;
159  }
160  /**
161   * @param string
162   */
163  public function setId($id)
164  {
165    $this->id = $id;
166  }
167  /**
168   * @return string
169   */
170  public function getId()
171  {
172    return $this->id;
173  }
174  /**
175   * @param IndividualStudentsOptions
176   */
177  public function setIndividualStudentsOptions(IndividualStudentsOptions $individualStudentsOptions)
178  {
179    $this->individualStudentsOptions = $individualStudentsOptions;
180  }
181  /**
182   * @return IndividualStudentsOptions
183   */
184  public function getIndividualStudentsOptions()
185  {
186    return $this->individualStudentsOptions;
187  }
188  /**
189   * @param Material[]
190   */
191  public function setMaterials($materials)
192  {
193    $this->materials = $materials;
194  }
195  /**
196   * @return Material[]
197   */
198  public function getMaterials()
199  {
200    return $this->materials;
201  }
202  /**
203   * @param string
204   */
205  public function setScheduledTime($scheduledTime)
206  {
207    $this->scheduledTime = $scheduledTime;
208  }
209  /**
210   * @return string
211   */
212  public function getScheduledTime()
213  {
214    return $this->scheduledTime;
215  }
216  /**
217   * @param string
218   */
219  public function setState($state)
220  {
221    $this->state = $state;
222  }
223  /**
224   * @return string
225   */
226  public function getState()
227  {
228    return $this->state;
229  }
230  /**
231   * @param string
232   */
233  public function setTitle($title)
234  {
235    $this->title = $title;
236  }
237  /**
238   * @return string
239   */
240  public function getTitle()
241  {
242    return $this->title;
243  }
244  /**
245   * @param string
246   */
247  public function setTopicId($topicId)
248  {
249    $this->topicId = $topicId;
250  }
251  /**
252   * @return string
253   */
254  public function getTopicId()
255  {
256    return $this->topicId;
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(CourseWorkMaterial::class, 'Google_Service_Classroom_CourseWorkMaterial');
276