class Google::Apis::ClassroomV1::ListAnnouncementsResponse

Response when listing course work.

Attributes

announcements[RW]

Announcement items that match the request. Corresponds to the JSON property `announcements` @return [Array<Google::Apis::ClassroomV1::Announcement>]

next_page_token[RW]

Token identifying the next page of results to return. If empty, no further results are available. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/classroom_v1/classes.rb, line 1220
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/classroom_v1/classes.rb, line 1225
def update!(**args)
  @announcements = args[:announcements] if args.key?(:announcements)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end