CoursesAnnouncementsResource class

Constructors

CoursesAnnouncementsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(Announcement request, String courseId, {String? $fields}) Future<Announcement>
Creates an announcement.
delete(String courseId, String id, {String? $fields}) Future<Empty>
Deletes an announcement.
get(String courseId, String id, {String? $fields}) Future<Announcement>
Returns an announcement.
list(String courseId, {List<String>? announcementStates, String? orderBy, int? pageSize, String? pageToken, String? $fields}) Future<ListAnnouncementsResponse>
Returns a list of announcements that the requester is permitted to view.
modifyAssignees(ModifyAnnouncementAssigneesRequest request, String courseId, String id, {String? $fields}) Future<Announcement>
Modifies assignee mode and options of an announcement.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Announcement request, String courseId, String id, {String? updateMask, String? $fields}) Future<Announcement>
Updates one or more fields of an announcement.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited