public final class Course extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Classroom API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Course() |
| Modifier and Type | Method and Description |
|---|---|
Course |
clone() |
String |
getAlternateLink()
Absolute link to this course in the Classroom web UI.
|
String |
getCalendarId()
The Calendar ID for a calendar that all course members can see, to which Classroom adds events
for course work and announcements in the course.
|
String |
getCourseGroupEmail()
The email address of a Google group containing all members of the course.
|
List<CourseMaterialSet> |
getCourseMaterialSets()
Sets of materials that appear on the "about" page of this course.
|
String |
getCourseState()
State of the course.
|
String |
getCreationTime()
Creation time of the course.
|
String |
getDescription()
Optional description.
|
String |
getDescriptionHeading()
Optional heading for the description.
|
String |
getEnrollmentCode()
Enrollment code to use when joining this course.
|
GradebookSettings |
getGradebookSettings()
The gradebook settings that specify how a student's overall grade for the course will be
calculated and who it will be displayed to.
|
Boolean |
getGuardiansEnabled()
Whether or not guardian notifications are enabled for this course.
|
String |
getId()
Identifier for this course assigned by Classroom.
|
String |
getName()
Name of the course.
|
String |
getOwnerId()
The identifier of the owner of a course.
|
String |
getRoom()
Optional room location.
|
String |
getSection()
Section of the course.
|
DriveFolder |
getTeacherFolder()
Information about a Drive Folder that is shared with all teachers of the course.
|
String |
getTeacherGroupEmail()
The email address of a Google group containing all teachers of the course.
|
String |
getUpdateTime()
Time of the most recent update to this course.
|
Course |
set(String fieldName,
Object value) |
Course |
setAlternateLink(String alternateLink)
Absolute link to this course in the Classroom web UI.
|
Course |
setCalendarId(String calendarId)
The Calendar ID for a calendar that all course members can see, to which Classroom adds events
for course work and announcements in the course.
|
Course |
setCourseGroupEmail(String courseGroupEmail)
The email address of a Google group containing all members of the course.
|
Course |
setCourseMaterialSets(List<CourseMaterialSet> courseMaterialSets)
Sets of materials that appear on the "about" page of this course.
|
Course |
setCourseState(String courseState)
State of the course.
|
Course |
setCreationTime(String creationTime)
Creation time of the course.
|
Course |
setDescription(String description)
Optional description.
|
Course |
setDescriptionHeading(String descriptionHeading)
Optional heading for the description.
|
Course |
setEnrollmentCode(String enrollmentCode)
Enrollment code to use when joining this course.
|
Course |
setGradebookSettings(GradebookSettings gradebookSettings)
The gradebook settings that specify how a student's overall grade for the course will be
calculated and who it will be displayed to.
|
Course |
setGuardiansEnabled(Boolean guardiansEnabled)
Whether or not guardian notifications are enabled for this course.
|
Course |
setId(String id)
Identifier for this course assigned by Classroom.
|
Course |
setName(String name)
Name of the course.
|
Course |
setOwnerId(String ownerId)
The identifier of the owner of a course.
|
Course |
setRoom(String room)
Optional room location.
|
Course |
setSection(String section)
Section of the course.
|
Course |
setTeacherFolder(DriveFolder teacherFolder)
Information about a Drive Folder that is shared with all teachers of the course.
|
Course |
setTeacherGroupEmail(String teacherGroupEmail)
The email address of a Google group containing all teachers of the course.
|
Course |
setUpdateTime(String updateTime)
Time of the most recent update to this course.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAlternateLink()
null for nonepublic Course setAlternateLink(String alternateLink)
alternateLink - alternateLink or null for nonepublic String getCalendarId()
null for nonepublic Course setCalendarId(String calendarId)
calendarId - calendarId or null for nonepublic String getCourseGroupEmail()
null for nonepublic Course setCourseGroupEmail(String courseGroupEmail)
courseGroupEmail - courseGroupEmail or null for nonepublic List<CourseMaterialSet> getCourseMaterialSets()
null for nonepublic Course setCourseMaterialSets(List<CourseMaterialSet> courseMaterialSets)
courseMaterialSets - courseMaterialSets or null for nonepublic String getCourseState()
null for nonepublic Course setCourseState(String courseState)
courseState - courseState or null for nonepublic String getCreationTime()
null for nonepublic Course setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic String getDescription()
null for nonepublic Course setDescription(String description)
description - description or null for nonepublic String getDescriptionHeading()
null for nonepublic Course setDescriptionHeading(String descriptionHeading)
descriptionHeading - descriptionHeading or null for nonepublic String getEnrollmentCode()
null for nonepublic Course setEnrollmentCode(String enrollmentCode)
enrollmentCode - enrollmentCode or null for nonepublic GradebookSettings getGradebookSettings()
null for nonepublic Course setGradebookSettings(GradebookSettings gradebookSettings)
gradebookSettings - gradebookSettings or null for nonepublic Boolean getGuardiansEnabled()
null for nonepublic Course setGuardiansEnabled(Boolean guardiansEnabled)
guardiansEnabled - guardiansEnabled or null for nonepublic String getId()
null for nonepublic Course setId(String id)
id - id or null for nonepublic String getName()
null for nonepublic Course setName(String name)
name - name or null for nonepublic String getOwnerId()
null for nonepublic Course setOwnerId(String ownerId)
ownerId - ownerId or null for nonepublic String getRoom()
null for nonepublic Course setRoom(String room)
room - room or null for nonepublic String getSection()
null for nonepublic Course setSection(String section)
section - section or null for nonepublic DriveFolder getTeacherFolder()
null for nonepublic Course setTeacherFolder(DriveFolder teacherFolder)
teacherFolder - teacherFolder or null for nonepublic String getTeacherGroupEmail()
null for nonepublic Course setTeacherGroupEmail(String teacherGroupEmail)
teacherGroupEmail - teacherGroupEmail or null for nonepublic String getUpdateTime()
null for nonepublic Course setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Course set(String fieldName, Object value)
set in class GenericJsonpublic Course clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.