[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Classroom;
|
---|
| 19 |
|
---|
| 20 | class AddOnAttachment extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'copyHistory';
|
---|
| 23 | protected $copyHistoryType = CopyHistory::class;
|
---|
| 24 | protected $copyHistoryDataType = 'array';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $courseId;
|
---|
| 29 | protected $dueDateType = Date::class;
|
---|
| 30 | protected $dueDateDataType = '';
|
---|
| 31 | protected $dueTimeType = TimeOfDay::class;
|
---|
| 32 | protected $dueTimeDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $id;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $itemId;
|
---|
| 41 | public $maxPoints;
|
---|
| 42 | /**
|
---|
| 43 | * @var string
|
---|
| 44 | */
|
---|
| 45 | public $postId;
|
---|
| 46 | protected $studentViewUriType = EmbedUri::class;
|
---|
| 47 | protected $studentViewUriDataType = '';
|
---|
| 48 | protected $studentWorkReviewUriType = EmbedUri::class;
|
---|
| 49 | protected $studentWorkReviewUriDataType = '';
|
---|
| 50 | protected $teacherViewUriType = EmbedUri::class;
|
---|
| 51 | protected $teacherViewUriDataType = '';
|
---|
| 52 | /**
|
---|
| 53 | * @var string
|
---|
| 54 | */
|
---|
| 55 | public $title;
|
---|
| 56 |
|
---|
| 57 | /**
|
---|
| 58 | * @param CopyHistory[]
|
---|
| 59 | */
|
---|
| 60 | public function setCopyHistory($copyHistory)
|
---|
| 61 | {
|
---|
| 62 | $this->copyHistory = $copyHistory;
|
---|
| 63 | }
|
---|
| 64 | /**
|
---|
| 65 | * @return CopyHistory[]
|
---|
| 66 | */
|
---|
| 67 | public function getCopyHistory()
|
---|
| 68 | {
|
---|
| 69 | return $this->copyHistory;
|
---|
| 70 | }
|
---|
| 71 | /**
|
---|
| 72 | * @param string
|
---|
| 73 | */
|
---|
| 74 | public function setCourseId($courseId)
|
---|
| 75 | {
|
---|
| 76 | $this->courseId = $courseId;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @return string
|
---|
| 80 | */
|
---|
| 81 | public function getCourseId()
|
---|
| 82 | {
|
---|
| 83 | return $this->courseId;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @param Date
|
---|
| 87 | */
|
---|
| 88 | public function setDueDate(Date $dueDate)
|
---|
| 89 | {
|
---|
| 90 | $this->dueDate = $dueDate;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return Date
|
---|
| 94 | */
|
---|
| 95 | public function getDueDate()
|
---|
| 96 | {
|
---|
| 97 | return $this->dueDate;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param TimeOfDay
|
---|
| 101 | */
|
---|
| 102 | public function setDueTime(TimeOfDay $dueTime)
|
---|
| 103 | {
|
---|
| 104 | $this->dueTime = $dueTime;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return TimeOfDay
|
---|
| 108 | */
|
---|
| 109 | public function getDueTime()
|
---|
| 110 | {
|
---|
| 111 | return $this->dueTime;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param string
|
---|
| 115 | */
|
---|
| 116 | public function setId($id)
|
---|
| 117 | {
|
---|
| 118 | $this->id = $id;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return string
|
---|
| 122 | */
|
---|
| 123 | public function getId()
|
---|
| 124 | {
|
---|
| 125 | return $this->id;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param string
|
---|
| 129 | */
|
---|
| 130 | public function setItemId($itemId)
|
---|
| 131 | {
|
---|
| 132 | $this->itemId = $itemId;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return string
|
---|
| 136 | */
|
---|
| 137 | public function getItemId()
|
---|
| 138 | {
|
---|
| 139 | return $this->itemId;
|
---|
| 140 | }
|
---|
| 141 | public function setMaxPoints($maxPoints)
|
---|
| 142 | {
|
---|
| 143 | $this->maxPoints = $maxPoints;
|
---|
| 144 | }
|
---|
| 145 | public function getMaxPoints()
|
---|
| 146 | {
|
---|
| 147 | return $this->maxPoints;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @param string
|
---|
| 151 | */
|
---|
| 152 | public function setPostId($postId)
|
---|
| 153 | {
|
---|
| 154 | $this->postId = $postId;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @return string
|
---|
| 158 | */
|
---|
| 159 | public function getPostId()
|
---|
| 160 | {
|
---|
| 161 | return $this->postId;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @param EmbedUri
|
---|
| 165 | */
|
---|
| 166 | public function setStudentViewUri(EmbedUri $studentViewUri)
|
---|
| 167 | {
|
---|
| 168 | $this->studentViewUri = $studentViewUri;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @return EmbedUri
|
---|
| 172 | */
|
---|
| 173 | public function getStudentViewUri()
|
---|
| 174 | {
|
---|
| 175 | return $this->studentViewUri;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @param EmbedUri
|
---|
| 179 | */
|
---|
| 180 | public function setStudentWorkReviewUri(EmbedUri $studentWorkReviewUri)
|
---|
| 181 | {
|
---|
| 182 | $this->studentWorkReviewUri = $studentWorkReviewUri;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @return EmbedUri
|
---|
| 186 | */
|
---|
| 187 | public function getStudentWorkReviewUri()
|
---|
| 188 | {
|
---|
| 189 | return $this->studentWorkReviewUri;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @param EmbedUri
|
---|
| 193 | */
|
---|
| 194 | public function setTeacherViewUri(EmbedUri $teacherViewUri)
|
---|
| 195 | {
|
---|
| 196 | $this->teacherViewUri = $teacherViewUri;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @return EmbedUri
|
---|
| 200 | */
|
---|
| 201 | public function getTeacherViewUri()
|
---|
| 202 | {
|
---|
| 203 | return $this->teacherViewUri;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @param string
|
---|
| 207 | */
|
---|
| 208 | public function setTitle($title)
|
---|
| 209 | {
|
---|
| 210 | $this->title = $title;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @return string
|
---|
| 214 | */
|
---|
| 215 | public function getTitle()
|
---|
| 216 | {
|
---|
| 217 | return $this->title;
|
---|
| 218 | }
|
---|
| 219 | }
|
---|
| 220 |
|
---|
| 221 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 222 | class_alias(AddOnAttachment::class, 'Google_Service_Classroom_AddOnAttachment');
|
---|