public class Classroom.Courses.Announcements
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Courses.Announcements.Create |
class |
Classroom.Courses.Announcements.Delete |
class |
Classroom.Courses.Announcements.Get |
class |
Classroom.Courses.Announcements.List |
class |
Classroom.Courses.Announcements.ModifyAssignees |
class |
Classroom.Courses.Announcements.Patch |
| Constructor and Description |
|---|
Announcements() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Courses.Announcements.Create |
create(java.lang.String courseId,
Announcement content)
Creates an announcement.
|
Classroom.Courses.Announcements.Delete |
delete(java.lang.String courseId,
java.lang.String id)
Deletes an announcement.
|
Classroom.Courses.Announcements.Get |
get(java.lang.String courseId,
java.lang.String id)
Returns an announcement.
|
Classroom.Courses.Announcements.List |
list(java.lang.String courseId)
Returns a list of announcements that the requester is permitted to view.
|
Classroom.Courses.Announcements.ModifyAssignees |
modifyAssignees(java.lang.String courseId,
java.lang.String id,
ModifyAnnouncementAssigneesRequest content)
Modifies assignee mode and options of an announcement.
|
Classroom.Courses.Announcements.Patch |
patch(java.lang.String courseId,
java.lang.String id,
Announcement content)
Updates one or more fields of an announcement.
|
public Classroom.Courses.Announcements.Create create(java.lang.String courseId, Announcement content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.content - the Announcementjava.io.IOExceptionpublic Classroom.Courses.Announcements.Delete delete(java.lang.String courseId, java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the announcement to delete.
This identifier is a Classroom-assigned identifier.java.io.IOExceptionpublic Classroom.Courses.Announcements.Get get(java.lang.String courseId, java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the announcement.java.io.IOExceptionpublic Classroom.Courses.Announcements.List list(java.lang.String courseId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.java.io.IOExceptionpublic Classroom.Courses.Announcements.ModifyAssignees modifyAssignees(java.lang.String courseId, java.lang.String id, ModifyAnnouncementAssigneesRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the announcement.content - the ModifyAnnouncementAssigneesRequestjava.io.IOExceptionpublic Classroom.Courses.Announcements.Patch patch(java.lang.String courseId, java.lang.String id, Announcement content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.courseId - Identifier of the course.
This identifier can be either the Classroom-assigned identifier or an
alias.id - Identifier of the announcement.content - the Announcementjava.io.IOException