Skip to content

Commit 512670d

Browse files
1 parent 6e5d10e commit 512670d

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/Classroom/Course.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,12 @@ class Course extends \Google\Collection
170170
* @var string
171171
*/
172172
public $section;
173+
/**
174+
* Optional. The subject of the course.
175+
*
176+
* @var string
177+
*/
178+
public $subject;
173179
protected $teacherFolderType = DriveFolder::class;
174180
protected $teacherFolderDataType = '';
175181
/**
@@ -479,6 +485,22 @@ public function getSection()
479485
{
480486
return $this->section;
481487
}
488+
/**
489+
* Optional. The subject of the course.
490+
*
491+
* @param string $subject
492+
*/
493+
public function setSubject($subject)
494+
{
495+
$this->subject = $subject;
496+
}
497+
/**
498+
* @return string
499+
*/
500+
public function getSubject()
501+
{
502+
return $this->subject;
503+
}
482504
/**
483505
* Information about a Drive Folder that is shared with all teachers of the
484506
* course. This field will only be set for teachers of the course and domain

0 commit comments

Comments
 (0)