courseId = $courseId; } /** * @return string */ public function getCourseId() { return $this->courseId; } /** * @param string */ public function setItemId($itemId) { $this->itemId = $itemId; } /** * @return string */ public function getItemId() { return $this->itemId; } /** * @param string */ public function setPostId($postId) { $this->postId = $postId; } /** * @return string */ public function getPostId() { return $this->postId; } /** * @param StudentContext */ public function setStudentContext(StudentContext $studentContext) { $this->studentContext = $studentContext; } /** * @return StudentContext */ public function getStudentContext() { return $this->studentContext; } /** * @param bool */ public function setSupportsStudentWork($supportsStudentWork) { $this->supportsStudentWork = $supportsStudentWork; } /** * @return bool */ public function getSupportsStudentWork() { return $this->supportsStudentWork; } /** * @param TeacherContext */ public function setTeacherContext(TeacherContext $teacherContext) { $this->teacherContext = $teacherContext; } /** * @return TeacherContext */ public function getTeacherContext() { return $this->teacherContext; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AddOnContext::class, 'Google_Service_Classroom_AddOnContext');