public final class Course
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Course() |
Modifier and Type | Method and Description |
---|---|
Course |
clone() |
java.lang.String |
getAlternateLink()
Absolute link to this course in the Classroom web UI.
|
java.lang.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.
|
java.lang.String |
getCourseGroupEmail()
The email address of a Google group containing all members of the course.
|
java.util.List<CourseMaterialSet> |
getCourseMaterialSets()
Sets of materials that appear on the "about" page of this course.
|
java.lang.String |
getCourseState()
State of the course.
|
java.lang.String |
getCreationTime()
Creation time of the course.
|
java.lang.String |
getDescription()
Optional description.
|
java.lang.String |
getDescriptionHeading()
Optional heading for the description.
|
java.lang.String |
getEnrollmentCode()
Enrollment code to use when joining this course.
|
java.lang.Boolean |
getGuardiansEnabled()
Whether or not guardian notifications are enabled for this course.
|
java.lang.String |
getId()
Identifier for this course assigned by Classroom.
|
java.lang.String |
getName()
Name of the course.
|
java.lang.String |
getOwnerId()
The identifier of the owner of a course.
|
java.lang.String |
getRoom()
Optional room location.
|
java.lang.String |
getSection()
Section of the course.
|
DriveFolder |
getTeacherFolder()
Information about a Drive Folder that is shared with all teachers of the course.
|
java.lang.String |
getTeacherGroupEmail()
The email address of a Google group containing all teachers of the course.
|
java.lang.String |
getUpdateTime()
Time of the most recent update to this course.
|
Course |
set(java.lang.String fieldName,
java.lang.Object value) |
Course |
setAlternateLink(java.lang.String alternateLink)
Absolute link to this course in the Classroom web UI.
|
Course |
setCalendarId(java.lang.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(java.lang.String courseGroupEmail)
The email address of a Google group containing all members of the course.
|
Course |
setCourseMaterialSets(java.util.List<CourseMaterialSet> courseMaterialSets)
Sets of materials that appear on the "about" page of this course.
|
Course |
setCourseState(java.lang.String courseState)
State of the course.
|
Course |
setCreationTime(java.lang.String creationTime)
Creation time of the course.
|
Course |
setDescription(java.lang.String description)
Optional description.
|
Course |
setDescriptionHeading(java.lang.String descriptionHeading)
Optional heading for the description.
|
Course |
setEnrollmentCode(java.lang.String enrollmentCode)
Enrollment code to use when joining this course.
|
Course |
setGuardiansEnabled(java.lang.Boolean guardiansEnabled)
Whether or not guardian notifications are enabled for this course.
|
Course |
setId(java.lang.String id)
Identifier for this course assigned by Classroom.
|
Course |
setName(java.lang.String name)
Name of the course.
|
Course |
setOwnerId(java.lang.String ownerId)
The identifier of the owner of a course.
|
Course |
setRoom(java.lang.String room)
Optional room location.
|
Course |
setSection(java.lang.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(java.lang.String teacherGroupEmail)
The email address of a Google group containing all teachers of the course.
|
Course |
setUpdateTime(java.lang.String updateTime)
Time of the most recent update to this course.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAlternateLink()
null
for nonepublic Course setAlternateLink(java.lang.String alternateLink)
alternateLink
- alternateLink or null
for nonepublic java.lang.String getCalendarId()
null
for nonepublic Course setCalendarId(java.lang.String calendarId)
calendarId
- calendarId or null
for nonepublic java.lang.String getCourseGroupEmail()
null
for nonepublic Course setCourseGroupEmail(java.lang.String courseGroupEmail)
courseGroupEmail
- courseGroupEmail or null
for nonepublic java.util.List<CourseMaterialSet> getCourseMaterialSets()
null
for nonepublic Course setCourseMaterialSets(java.util.List<CourseMaterialSet> courseMaterialSets)
courseMaterialSets
- courseMaterialSets or null
for nonepublic java.lang.String getCourseState()
null
for nonepublic Course setCourseState(java.lang.String courseState)
courseState
- courseState or null
for nonepublic java.lang.String getCreationTime()
null
for nonepublic Course setCreationTime(java.lang.String creationTime)
creationTime
- creationTime or null
for nonepublic java.lang.String getDescription()
null
for nonepublic Course setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getDescriptionHeading()
null
for nonepublic Course setDescriptionHeading(java.lang.String descriptionHeading)
descriptionHeading
- descriptionHeading or null
for nonepublic java.lang.String getEnrollmentCode()
null
for nonepublic Course setEnrollmentCode(java.lang.String enrollmentCode)
enrollmentCode
- enrollmentCode or null
for nonepublic java.lang.Boolean getGuardiansEnabled()
null
for nonepublic Course setGuardiansEnabled(java.lang.Boolean guardiansEnabled)
guardiansEnabled
- guardiansEnabled or null
for nonepublic java.lang.String getId()
null
for nonepublic Course setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getName()
null
for nonepublic Course setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getOwnerId()
null
for nonepublic Course setOwnerId(java.lang.String ownerId)
ownerId
- ownerId or null
for nonepublic java.lang.String getRoom()
null
for nonepublic Course setRoom(java.lang.String room)
room
- room or null
for nonepublic java.lang.String getSection()
null
for nonepublic Course setSection(java.lang.String section)
section
- section or null
for nonepublic DriveFolder getTeacherFolder()
null
for nonepublic Course setTeacherFolder(DriveFolder teacherFolder)
teacherFolder
- teacherFolder or null
for nonepublic java.lang.String getTeacherGroupEmail()
null
for nonepublic Course setTeacherGroupEmail(java.lang.String teacherGroupEmail)
teacherGroupEmail
- teacherGroupEmail or null
for nonepublic java.lang.String getUpdateTime()
null
for nonepublic Course setUpdateTime(java.lang.String updateTime)
updateTime
- updateTime or null
for nonepublic Course set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Course clone()
clone
in class com.google.api.client.json.GenericJson