public final class CourseWork 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 |
|---|
CourseWork() |
| Modifier and Type | Method and Description |
|---|---|
CourseWork |
clone() |
String |
getAlternateLink()
Absolute link to this course work in the Classroom web UI.
|
String |
getAssigneeMode()
Assignee mode of the coursework.
|
Assignment |
getAssignment()
Assignment details.
|
Boolean |
getAssociatedWithDeveloper()
Whether this course work item is associated with the Developer Console project making the
request.
|
String |
getCourseId()
Identifier of the course.
|
String |
getCreationTime()
Timestamp when this course work was created.
|
String |
getCreatorUserId()
Identifier for the user that created the coursework.
|
String |
getDescription()
Optional description of this course work.
|
Date |
getDueDate()
Optional date, in UTC, that submissions for this course work are due.
|
TimeOfDay |
getDueTime()
Optional time of day, in UTC, that submissions for this course work are due.
|
GradeCategory |
getGradeCategory()
The category that this coursework's grade contributes to.
|
String |
getId()
Classroom-assigned identifier of this course work, unique per course.
|
IndividualStudentsOptions |
getIndividualStudentsOptions()
Identifiers of students with access to the coursework.
|
List<Material> |
getMaterials()
Additional materials.
|
Double |
getMaxPoints()
Maximum grade for this course work.
|
MultipleChoiceQuestion |
getMultipleChoiceQuestion()
Multiple choice question details.
|
String |
getScheduledTime()
Optional timestamp when this course work is scheduled to be published.
|
String |
getState()
Status of this course work.
|
String |
getSubmissionModificationMode()
Setting to determine when students are allowed to modify submissions.
|
String |
getTitle()
Title of this course work.
|
String |
getTopicId()
Identifier for the topic that this coursework is associated with.
|
String |
getUpdateTime()
Timestamp of the most recent change to this course work.
|
String |
getWorkType()
Type of this course work.
|
CourseWork |
set(String fieldName,
Object value) |
CourseWork |
setAlternateLink(String alternateLink)
Absolute link to this course work in the Classroom web UI.
|
CourseWork |
setAssigneeMode(String assigneeMode)
Assignee mode of the coursework.
|
CourseWork |
setAssignment(Assignment assignment)
Assignment details.
|
CourseWork |
setAssociatedWithDeveloper(Boolean associatedWithDeveloper)
Whether this course work item is associated with the Developer Console project making the
request.
|
CourseWork |
setCourseId(String courseId)
Identifier of the course.
|
CourseWork |
setCreationTime(String creationTime)
Timestamp when this course work was created.
|
CourseWork |
setCreatorUserId(String creatorUserId)
Identifier for the user that created the coursework.
|
CourseWork |
setDescription(String description)
Optional description of this course work.
|
CourseWork |
setDueDate(Date dueDate)
Optional date, in UTC, that submissions for this course work are due.
|
CourseWork |
setDueTime(TimeOfDay dueTime)
Optional time of day, in UTC, that submissions for this course work are due.
|
CourseWork |
setGradeCategory(GradeCategory gradeCategory)
The category that this coursework's grade contributes to.
|
CourseWork |
setId(String id)
Classroom-assigned identifier of this course work, unique per course.
|
CourseWork |
setIndividualStudentsOptions(IndividualStudentsOptions individualStudentsOptions)
Identifiers of students with access to the coursework.
|
CourseWork |
setMaterials(List<Material> materials)
Additional materials.
|
CourseWork |
setMaxPoints(Double maxPoints)
Maximum grade for this course work.
|
CourseWork |
setMultipleChoiceQuestion(MultipleChoiceQuestion multipleChoiceQuestion)
Multiple choice question details.
|
CourseWork |
setScheduledTime(String scheduledTime)
Optional timestamp when this course work is scheduled to be published.
|
CourseWork |
setState(String state)
Status of this course work.
|
CourseWork |
setSubmissionModificationMode(String submissionModificationMode)
Setting to determine when students are allowed to modify submissions.
|
CourseWork |
setTitle(String title)
Title of this course work.
|
CourseWork |
setTopicId(String topicId)
Identifier for the topic that this coursework is associated with.
|
CourseWork |
setUpdateTime(String updateTime)
Timestamp of the most recent change to this course work.
|
CourseWork |
setWorkType(String workType)
Type of this course work.
|
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 CourseWork setAlternateLink(String alternateLink)
alternateLink - alternateLink or null for nonepublic String getAssigneeMode()
null for nonepublic CourseWork setAssigneeMode(String assigneeMode)
assigneeMode - assigneeMode or null for nonepublic Assignment getAssignment()
null for nonepublic CourseWork setAssignment(Assignment assignment)
assignment - assignment or null for nonepublic Boolean getAssociatedWithDeveloper()
null for nonepublic CourseWork setAssociatedWithDeveloper(Boolean associatedWithDeveloper)
associatedWithDeveloper - associatedWithDeveloper or null for nonepublic String getCourseId()
null for nonepublic CourseWork setCourseId(String courseId)
courseId - courseId or null for nonepublic String getCreationTime()
null for nonepublic CourseWork setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic String getCreatorUserId()
null for nonepublic CourseWork setCreatorUserId(String creatorUserId)
creatorUserId - creatorUserId or null for nonepublic String getDescription()
null for nonepublic CourseWork setDescription(String description)
description - description or null for nonepublic Date getDueDate()
null for nonepublic CourseWork setDueDate(Date dueDate)
dueDate - dueDate or null for nonepublic TimeOfDay getDueTime()
null for nonepublic CourseWork setDueTime(TimeOfDay dueTime)
dueTime - dueTime or null for nonepublic GradeCategory getGradeCategory()
null for nonepublic CourseWork setGradeCategory(GradeCategory gradeCategory)
gradeCategory - gradeCategory or null for nonepublic String getId()
null for nonepublic CourseWork setId(String id)
id - id or null for nonepublic IndividualStudentsOptions getIndividualStudentsOptions()
null for nonepublic CourseWork setIndividualStudentsOptions(IndividualStudentsOptions individualStudentsOptions)
individualStudentsOptions - individualStudentsOptions or null for nonepublic List<Material> getMaterials()
null for nonepublic CourseWork setMaterials(List<Material> materials)
materials - materials or null for nonepublic Double getMaxPoints()
null for nonepublic CourseWork setMaxPoints(Double maxPoints)
maxPoints - maxPoints or null for nonepublic MultipleChoiceQuestion getMultipleChoiceQuestion()
null for nonepublic CourseWork setMultipleChoiceQuestion(MultipleChoiceQuestion multipleChoiceQuestion)
multipleChoiceQuestion - multipleChoiceQuestion or null for nonepublic String getScheduledTime()
null for nonepublic CourseWork setScheduledTime(String scheduledTime)
scheduledTime - scheduledTime or null for nonepublic String getState()
null for nonepublic CourseWork setState(String state)
state - state or null for nonepublic String getSubmissionModificationMode()
null for nonepublic CourseWork setSubmissionModificationMode(String submissionModificationMode)
submissionModificationMode - submissionModificationMode or null for nonepublic String getTitle()
null for nonepublic CourseWork setTitle(String title)
title - title or null for nonepublic String getTopicId()
null for nonepublic CourseWork setTopicId(String topicId)
topicId - topicId or null for nonepublic String getUpdateTime()
null for nonepublic CourseWork setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic String getWorkType()
null for nonepublic CourseWork setWorkType(String workType)
workType - workType or null for nonepublic CourseWork set(String fieldName, Object value)
set in class GenericJsonpublic CourseWork clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.