Show / Hide Table of Contents

Class StudentSubmission

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

Inheritance
System.Object
StudentSubmission
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.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
System.Nullable<System.Double>

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
System.Nullable<System.Boolean>

CourseId

Identifier of the course. Read-only.

Declaration
[JsonProperty("courseId")]
public virtual string CourseId { get; set; }
Property Value
Type Description
System.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
System.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
System.String

CreationTime

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

Declaration
[JsonProperty("creationTime")]
public virtual object CreationTime { get; set; }
Property Value
Type Description
System.Object

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
System.Nullable<System.Double>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.String

Late

Whether this submission is late. Read-only.

Declaration
[JsonProperty("late")]
public virtual bool? Late { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

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
System.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
System.Collections.Generic.IList<SubmissionHistory>

UpdateTime

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 object UpdateTime { get; set; }
Property Value
Type Description
System.Object

UserId

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

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

Implements

IDirectResponseSchema
In This Article
Back to top