Skip to content

Commit

Permalink
fix(classroom): update the API
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent d2c140e commit 1bc4cb0
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions src/apis/classroom/v1.ts
Expand Up @@ -3749,9 +3749,8 @@ export namespace classroom_v1 {
studentSubmissions: Resource$Courses$Coursework$Studentsubmissions;
constructor(context: APIRequestContext) {
this.context = context;
this.studentSubmissions = new Resource$Courses$Coursework$Studentsubmissions(
this.context
);
this.studentSubmissions =
new Resource$Courses$Coursework$Studentsubmissions(this.context);
}

/**
Expand Down Expand Up @@ -4934,7 +4933,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$Get;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$Get;
options = {};
}

Expand Down Expand Up @@ -5090,7 +5090,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$List;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$List;
options = {};
}

Expand Down Expand Up @@ -5157,8 +5158,8 @@ export namespace classroom_v1 {
* google.options({auth: authClient});
*
* // Do the magic
* const res = await classroom.courses.courseWork.studentSubmissions.modifyAttachments(
* {
* const res =
* await classroom.courses.courseWork.studentSubmissions.modifyAttachments({
* // Identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias.
* courseId: 'placeholder-value',
* // Identifier of the course work.
Expand All @@ -5173,8 +5174,7 @@ export namespace classroom_v1 {
* // "addAttachments": []
* // }
* },
* }
* );
* });
* console.log(res.data);
*
* // Example response
Expand Down Expand Up @@ -5259,7 +5259,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$Modifyattachments;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$Modifyattachments;
options = {};
}

Expand Down Expand Up @@ -5440,7 +5441,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$Patch;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$Patch;
options = {};
}

Expand Down Expand Up @@ -5577,7 +5579,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$Reclaim;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$Reclaim;
options = {};
}

Expand Down Expand Up @@ -5714,7 +5717,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$Return;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$Return;
options = {};
}

Expand Down Expand Up @@ -5851,7 +5855,8 @@ export namespace classroom_v1 {

if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Courses$Coursework$Studentsubmissions$Turnin;
params =
{} as Params$Resource$Courses$Coursework$Studentsubmissions$Turnin;
options = {};
}

Expand Down

0 comments on commit 1bc4cb0

Please sign in to comment.