Show / Hide Table of Contents

Class CourseWorkMaterial

Course work material created by a teacher for students of the course

Inheritance
object
CourseWorkMaterial
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Classroom.v1.Data
Assembly: Google.Apis.Classroom.v1.dll
Syntax
public class CourseWorkMaterial : IDirectResponseSchema

Properties

AlternateLink

Absolute link to this course work material in the Classroom web UI. This is only populated if state is PUBLISHED. Read-only.

Declaration
[JsonProperty("alternateLink")]
public virtual string AlternateLink { get; set; }
Property Value
Type Description
string

AssigneeMode

Assignee mode of the course work material. If unspecified, the default value is ALL_STUDENTS.

Declaration
[JsonProperty("assigneeMode")]
public virtual string AssigneeMode { get; set; }
Property Value
Type Description
string

CourseId

Identifier of the course. Read-only.

Declaration
[JsonProperty("courseId")]
public virtual string CourseId { get; set; }
Property Value
Type Description
string

CreationTime

object representation of CreationTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreationTimeDateTimeOffset instead.")]
public virtual object CreationTime { get; set; }
Property Value
Type Description
object

CreationTimeDateTimeOffset

DateTimeOffset representation of CreationTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreationTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreationTimeRaw

Timestamp when this course work material was created. Read-only.

Declaration
[JsonProperty("creationTime")]
public virtual string CreationTimeRaw { get; set; }
Property Value
Type Description
string

CreatorUserId

Identifier for the user that created the course work material. Read-only.

Declaration
[JsonProperty("creatorUserId")]
public virtual string CreatorUserId { get; set; }
Property Value
Type Description
string

Description

Optional description of this course work material. The text must be a valid UTF-8 string containing no more than 30,000 characters.

Declaration
[JsonProperty("description")]
public virtual string Description { 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

Id

Classroom-assigned identifier of this course work material, unique per course. Read-only.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

IndividualStudentsOptions

Identifiers of students with access to the course work material. This field is set only if assigneeMode is INDIVIDUAL_STUDENTS. If the assigneeMode is INDIVIDUAL_STUDENTS, then only students specified in this field can see the course work material.

Declaration
[JsonProperty("individualStudentsOptions")]
public virtual IndividualStudentsOptions IndividualStudentsOptions { get; set; }
Property Value
Type Description
IndividualStudentsOptions

Materials

Additional materials. A course work material must have no more than 20 material items.

Declaration
[JsonProperty("materials")]
public virtual IList<Material> Materials { get; set; }
Property Value
Type Description
IList<Material>

ScheduledTime

object representation of ScheduledTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ScheduledTimeDateTimeOffset instead.")]
public virtual object ScheduledTime { get; set; }
Property Value
Type Description
object

ScheduledTimeDateTimeOffset

DateTimeOffset representation of ScheduledTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ScheduledTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ScheduledTimeRaw

Optional timestamp when this course work material is scheduled to be published.

Declaration
[JsonProperty("scheduledTime")]
public virtual string ScheduledTimeRaw { get; set; }
Property Value
Type Description
string

State

Status of this course work material. If unspecified, the default state is DRAFT.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Title

Title of this course work material. The title must be a valid UTF-8 string containing between 1 and 3000 characters.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
string

TopicId

Identifier for the topic that this course work material is associated with. Must match an existing topic in the course.

Declaration
[JsonProperty("topicId")]
public virtual string TopicId { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Timestamp of the most recent change to this course work material. Read-only.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In This Article
Back to top Generated by DocFX