class Google::Apis::ClassroomV1::ListCourseWorkResponse

Response when listing course work.

Attributes

course_work[RW]

Course work items that match the request. Corresponds to the JSON property `courseWork` @return [Array<Google::Apis::ClassroomV1::CourseWork>]

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 1298
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 1303
def update!(**args)
  @course_work = args[:course_work] if args.key?(:course_work)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end