Show / Hide Table of Contents

Class StudentSubmission

Student submission for course work. StudentSubmission items are generated when a CourseWork item is created. Student submissions that have never been accessed (i.e. with state = NEW) may not have a creation time or update time.

Inheritance
object
StudentSubmission
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 StudentSubmission : IDirectResponseSchema

Properties

AlternateLink

Absolute link to the submission in the Classroom web UI. Read-only.

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

AssignedGrade

Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This may be modified only by course teachers.

Declaration
[JsonProperty("assignedGrade")]
public virtual double? AssignedGrade { get; set; }
Property Value
Type Description
double?

AssignedRubricGrades

Assigned rubric grades based on the rubric's Criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any Criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.

Declaration
[JsonProperty("assignedRubricGrades")]
public virtual IDictionary<string, RubricGrade> AssignedRubricGrades { get; set; }
Property Value
Type Description
IDictionary<string, RubricGrade>

AssignmentSubmission

Submission content when course_work_type is ASSIGNMENT. Students can modify this content using ModifyAttachments.

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

AssociatedWithDeveloper

Whether this student submission is associated with the Developer Console project making the request. See CreateCourseWork for more details. Read-only.

Declaration
[JsonProperty("associatedWithDeveloper")]
public virtual bool? AssociatedWithDeveloper { get; set; }
Property Value
Type Description
bool?

CourseId

Identifier of the course. Read-only.

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

CourseWorkId

Identifier for the course work this corresponds to. Read-only.

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

CourseWorkType

Type of course work this submission is for. Read-only.

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

Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.

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

DraftGrade

Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (that is, non-integer) values are allowed, but are rounded to two decimal places. This is only visible to and modifiable by course teachers.

Declaration
[JsonProperty("draftGrade")]
public virtual double? DraftGrade { get; set; }
Property Value
Type Description
double?

DraftRubricGrades

Pending rubric grades based on the rubric's criteria. This map is empty if there is no rubric attached to this course work or if a rubric is attached, but no grades have been set on any criteria. Entries are only populated for grades that have been set. Key: The rubric's criterion ID. Read-only.

Declaration
[JsonProperty("draftRubricGrades")]
public virtual IDictionary<string, RubricGrade> DraftRubricGrades { get; set; }
Property Value
Type Description
IDictionary<string, RubricGrade>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.

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

Late

Whether this submission is late. Read-only.

Declaration
[JsonProperty("late")]
public virtual bool? Late { get; set; }
Property Value
Type Description
bool?

MultipleChoiceSubmission

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

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

ShortAnswerSubmission

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

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

State

State of this submission. Read-only.

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

SubmissionHistory

The history of the submission (includes state and grade histories). Read-only.

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

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

Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.

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

UserId

Identifier for the student that owns this submission. Read-only.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX