public final class CourseWorkMaterial 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 |
|---|
CourseWorkMaterial() |
| Modifier and Type | Method and Description |
|---|---|
CourseWorkMaterial |
clone() |
String |
getAlternateLink()
Absolute link to this course work material in the Classroom web UI.
|
String |
getAssigneeMode()
Assignee mode of the course work material.
|
String |
getCourseId()
Identifier of the course.
|
String |
getCreationTime()
Timestamp when this course work material was created.
|
String |
getCreatorUserId()
Identifier for the user that created the course work material.
|
String |
getDescription()
Optional description of this course work material.
|
String |
getId()
Classroom-assigned identifier of this course work material, unique per course.
|
IndividualStudentsOptions |
getIndividualStudentsOptions()
Identifiers of students with access to the course work material.
|
List<Material> |
getMaterials()
Additional materials.
|
String |
getScheduledTime()
Optional timestamp when this course work material is scheduled to be published.
|
String |
getState()
Status of this course work material.
|
String |
getTitle()
Title of this course work material.
|
String |
getTopicId()
Identifier for the topic that this course work material is associated with.
|
String |
getUpdateTime()
Timestamp of the most recent change to this course work material.
|
CourseWorkMaterial |
set(String fieldName,
Object value) |
CourseWorkMaterial |
setAlternateLink(String alternateLink)
Absolute link to this course work material in the Classroom web UI.
|
CourseWorkMaterial |
setAssigneeMode(String assigneeMode)
Assignee mode of the course work material.
|
CourseWorkMaterial |
setCourseId(String courseId)
Identifier of the course.
|
CourseWorkMaterial |
setCreationTime(String creationTime)
Timestamp when this course work material was created.
|
CourseWorkMaterial |
setCreatorUserId(String creatorUserId)
Identifier for the user that created the course work material.
|
CourseWorkMaterial |
setDescription(String description)
Optional description of this course work material.
|
CourseWorkMaterial |
setId(String id)
Classroom-assigned identifier of this course work material, unique per course.
|
CourseWorkMaterial |
setIndividualStudentsOptions(IndividualStudentsOptions individualStudentsOptions)
Identifiers of students with access to the course work material.
|
CourseWorkMaterial |
setMaterials(List<Material> materials)
Additional materials.
|
CourseWorkMaterial |
setScheduledTime(String scheduledTime)
Optional timestamp when this course work material is scheduled to be published.
|
CourseWorkMaterial |
setState(String state)
Status of this course work material.
|
CourseWorkMaterial |
setTitle(String title)
Title of this course work material.
|
CourseWorkMaterial |
setTopicId(String topicId)
Identifier for the topic that this course work material is associated with.
|
CourseWorkMaterial |
setUpdateTime(String updateTime)
Timestamp of the most recent change to this course work material.
|
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 CourseWorkMaterial setAlternateLink(String alternateLink)
alternateLink - alternateLink or null for nonepublic String getAssigneeMode()
null for nonepublic CourseWorkMaterial setAssigneeMode(String assigneeMode)
assigneeMode - assigneeMode or null for nonepublic String getCourseId()
null for nonepublic CourseWorkMaterial setCourseId(String courseId)
courseId - courseId or null for nonepublic String getCreationTime()
null for nonepublic CourseWorkMaterial setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic String getCreatorUserId()
null for nonepublic CourseWorkMaterial setCreatorUserId(String creatorUserId)
creatorUserId - creatorUserId or null for nonepublic String getDescription()
null for nonepublic CourseWorkMaterial setDescription(String description)
description - description or null for nonepublic String getId()
null for nonepublic CourseWorkMaterial setId(String id)
id - id or null for nonepublic IndividualStudentsOptions getIndividualStudentsOptions()
null for nonepublic CourseWorkMaterial setIndividualStudentsOptions(IndividualStudentsOptions individualStudentsOptions)
individualStudentsOptions - individualStudentsOptions or null for nonepublic List<Material> getMaterials()
null for nonepublic CourseWorkMaterial setMaterials(List<Material> materials)
materials - materials or null for nonepublic String getScheduledTime()
null for nonepublic CourseWorkMaterial setScheduledTime(String scheduledTime)
scheduledTime - scheduledTime or null for nonepublic String getState()
null for nonepublic CourseWorkMaterial setState(String state)
state - state or null for nonepublic String getTitle()
null for nonepublic CourseWorkMaterial setTitle(String title)
title - title or null for nonepublic String getTopicId()
null for nonepublic CourseWorkMaterial setTopicId(String topicId)
topicId - topicId or null for nonepublic String getUpdateTime()
null for nonepublic CourseWorkMaterial setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic CourseWorkMaterial set(String fieldName, Object value)
set in class GenericJsonpublic CourseWorkMaterial clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.