| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Invitations.Accept |
class |
Classroom.Invitations.Create |
class |
Classroom.Invitations.Delete |
class |
Classroom.Invitations.Get |
class |
Classroom.Invitations.List |
| Constructor and Description |
|---|
Invitations() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Invitations.Accept |
accept(String id)
Accepts an invitation, removing it and adding the invited user to the teachers or students (as
appropriate) of the specified course.
|
Classroom.Invitations.Create |
create(Invitation content)
Creates an invitation.
|
Classroom.Invitations.Delete |
delete(String id)
Deletes an invitation.
|
Classroom.Invitations.Get |
get(String id)
Returns an invitation.
|
Classroom.Invitations.List |
list()
Returns a list of invitations that the requesting user is permitted to view, restricted to those
that match the list request.
|
public Classroom.Invitations.Accept accept(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - Identifier of the invitation to accept.IOExceptionpublic Classroom.Invitations.Create create(Invitation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the InvitationIOExceptionpublic Classroom.Invitations.Delete delete(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - Identifier of the invitation to delete.IOExceptionpublic Classroom.Invitations.Get get(String id) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.id - Identifier of the invitation to return.IOExceptionpublic Classroom.Invitations.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionCopyright © 2011–2022 Google. All rights reserved.