Skip to content

Commit f0ca3df

Browse files
1 parent 8f0cafd commit f0ca3df

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

src/Classroom/AddOnAttachmentStudentSubmission.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ class AddOnAttachmentStudentSubmission extends \Google\Model
4444
* Student chose to "unsubmit" the assignment.
4545
*/
4646
public const POST_SUBMISSION_STATE_RECLAIMED_BY_STUDENT = 'RECLAIMED_BY_STUDENT';
47+
/**
48+
* Output only. Identifier of the course work submission under which this
49+
* attachment submission was made.
50+
*
51+
* @var string
52+
*/
53+
public $courseWorkSubmissionId;
54+
/**
55+
* Output only. Classroom-assigned identifier for this student submission.
56+
* This is unique among submissions for the relevant course work and add-on
57+
* attachment combination.
58+
*
59+
* @var string
60+
*/
61+
public $id;
4762
/**
4863
* Student grade on this attachment. If unset, no grade was set.
4964
*
@@ -65,6 +80,41 @@ class AddOnAttachmentStudentSubmission extends \Google\Model
6580
*/
6681
public $userId;
6782

83+
/**
84+
* Output only. Identifier of the course work submission under which this
85+
* attachment submission was made.
86+
*
87+
* @param string $courseWorkSubmissionId
88+
*/
89+
public function setCourseWorkSubmissionId($courseWorkSubmissionId)
90+
{
91+
$this->courseWorkSubmissionId = $courseWorkSubmissionId;
92+
}
93+
/**
94+
* @return string
95+
*/
96+
public function getCourseWorkSubmissionId()
97+
{
98+
return $this->courseWorkSubmissionId;
99+
}
100+
/**
101+
* Output only. Classroom-assigned identifier for this student submission.
102+
* This is unique among submissions for the relevant course work and add-on
103+
* attachment combination.
104+
*
105+
* @param string $id
106+
*/
107+
public function setId($id)
108+
{
109+
$this->id = $id;
110+
}
111+
/**
112+
* @return string
113+
*/
114+
public function getId()
115+
{
116+
return $this->id;
117+
}
68118
public function setPointsEarned($pointsEarned)
69119
{
70120
$this->pointsEarned = $pointsEarned;

0 commit comments

Comments
 (0)