Class AddOnContext
Attachment-relevant metadata for Classroom add-ons in the context of a specific post.
Implements
Inherited Members
Namespace: Google.Apis.Classroom.v1.Data
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class AddOnContext : IDirectResponseSchema
Properties
CourseId
Immutable. Identifier of the course.
Declaration
[JsonProperty("courseId")]
public virtual string CourseId { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ItemId
Immutable. Identifier of the announcement, courseWork, or courseWorkMaterial under which the attachment is attached.
Declaration
[JsonProperty("itemId")]
public virtual string ItemId { get; set; }
Property Value
Type | Description |
---|---|
string |
PostId
Immutable. Deprecated, use item_id instead.
Declaration
[JsonProperty("postId")]
public virtual string PostId { get; set; }
Property Value
Type | Description |
---|---|
string |
StudentContext
Add-on context corresponding to the requesting user's role as a student. Its presence implies that the requesting user is a student in the course.
Declaration
[JsonProperty("studentContext")]
public virtual StudentContext StudentContext { get; set; }
Property Value
Type | Description |
---|---|
StudentContext |
SupportsStudentWork
Optional. Whether the post allows the teacher to see student work and passback grades.
Declaration
[JsonProperty("supportsStudentWork")]
public virtual bool? SupportsStudentWork { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TeacherContext
Add-on context corresponding to the requesting user's role as a teacher. Its presence implies that the requesting user is a teacher in the course.
Declaration
[JsonProperty("teacherContext")]
public virtual TeacherContext TeacherContext { get; set; }
Property Value
Type | Description |
---|---|
TeacherContext |