2015-12-03 01:10:07 +00:00
|
|
|
# Copyright 2015 Google Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
require 'date'
|
|
|
|
require 'google/apis/core/base_service'
|
|
|
|
require 'google/apis/core/json_representation'
|
|
|
|
require 'google/apis/core/hashable'
|
|
|
|
require 'google/apis/errors'
|
|
|
|
|
|
|
|
module Google
|
|
|
|
module Apis
|
|
|
|
module ClassroomV1
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Attachment
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListGuardianInvitationsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseWork
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class DriveFile
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class DriveFolder
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListCourseAliasesResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ShortAnswerSubmission
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseMaterial
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class MultipleChoiceSubmission
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Link
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ModifyAttachmentsRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class TimeOfDay
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Form
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class MultipleChoiceQuestion
|
2016-08-17 17:19:48 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseMaterialSet
|
2016-08-17 17:19:48 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class StudentSubmission
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseAlias
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListGuardiansResponse
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Guardian
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Teacher
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class UserProfile
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ReclaimStudentSubmissionRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Student
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListTeachersResponse
|
2016-08-17 17:19:48 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Course
|
2016-08-17 17:19:48 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ReturnStudentSubmissionRequest
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class GuardianInvitation
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class TurnInStudentSubmissionRequest
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class YouTubeVideo
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Empty
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListCourseWorkResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class SharedDriveFile
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class GlobalPermission
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Material
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AssignmentSubmission
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Date
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Assignment
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListCoursesResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Invitation
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListStudentSubmissionsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Name
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListInvitationsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListStudentsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Attachment
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
|
2017-02-13 23:28:52 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
|
|
|
|
|
|
|
|
property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListGuardianInvitationsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseWork
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :id, as: 'id'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :submission_modification_mode, as: 'submissionModificationMode'
|
|
|
|
property :associated_with_developer, as: 'associatedWithDeveloper'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :alternate_link, as: 'alternateLink'
|
|
|
|
property :work_type, as: 'workType'
|
|
|
|
collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :state, as: 'state'
|
|
|
|
property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation
|
2017-02-13 23:28:52 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :course_id, as: 'courseId'
|
|
|
|
property :max_points, as: 'maxPoints'
|
|
|
|
property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation
|
|
|
|
|
|
|
|
property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class DriveFile
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :thumbnail_url, as: 'thumbnailUrl'
|
2016-05-25 16:16:15 +00:00
|
|
|
property :title, as: 'title'
|
|
|
|
property :alternate_link, as: 'alternateLink'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :id, as: 'id'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class DriveFolder
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :alternate_link, as: 'alternateLink'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :id, as: 'id'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListCourseAliasesResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation
|
2015-12-03 01:10:07 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ShortAnswerSubmission
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :answer, as: 'answer'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseMaterial
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
|
2016-08-17 17:19:48 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
|
2015-12-03 01:10:07 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class MultipleChoiceSubmission
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :answer, as: 'answer'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Link
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :url, as: 'url'
|
|
|
|
property :thumbnail_url, as: 'thumbnailUrl'
|
|
|
|
property :title, as: 'title'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ModifyAttachmentsRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :add_attachments, as: 'addAttachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
|
2015-12-03 01:10:07 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class TimeOfDay
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :nanos, as: 'nanos'
|
|
|
|
property :hours, as: 'hours'
|
|
|
|
property :minutes, as: 'minutes'
|
|
|
|
property :seconds, as: 'seconds'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Form
|
2015-12-03 01:10:07 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :thumbnail_url, as: 'thumbnailUrl'
|
|
|
|
property :form_url, as: 'formUrl'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :response_url, as: 'responseUrl'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class MultipleChoiceQuestion
|
2017-01-13 23:04:35 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :choices, as: 'choices'
|
2017-01-13 23:04:35 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseMaterialSet
|
2017-01-13 23:04:35 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation
|
2017-01-13 23:04:35 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :title, as: 'title'
|
2017-01-13 23:04:35 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class StudentSubmission
|
2016-08-17 17:19:48 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :id, as: 'id'
|
|
|
|
property :course_work_type, as: 'courseWorkType'
|
|
|
|
property :assigned_grade, as: 'assignedGrade'
|
|
|
|
property :associated_with_developer, as: 'associatedWithDeveloper'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
property :alternate_link, as: 'alternateLink'
|
|
|
|
property :draft_grade, as: 'draftGrade'
|
2017-03-10 21:11:09 +00:00
|
|
|
property :user_id, as: 'userId'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation
|
2017-02-13 23:28:52 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :state, as: 'state'
|
|
|
|
property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :course_id, as: 'courseId'
|
|
|
|
property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation
|
|
|
|
|
|
|
|
property :late, as: 'late'
|
|
|
|
property :course_work_id, as: 'courseWorkId'
|
2016-08-17 17:19:48 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class CourseAlias
|
2016-08-17 17:19:48 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :alias, as: 'alias'
|
2016-08-17 17:19:48 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
class ListGuardiansResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-10 21:11:09 +00:00
|
|
|
collection :guardians, as: 'guardians', class: Google::Apis::ClassroomV1::Guardian, decorator: Google::Apis::ClassroomV1::Guardian::Representation
|
|
|
|
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
class Guardian
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-10 21:11:09 +00:00
|
|
|
property :guardian_profile, as: 'guardianProfile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
property :invited_email_address, as: 'invitedEmailAddress'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :student_id, as: 'studentId'
|
|
|
|
property :guardian_id, as: 'guardianId'
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Teacher
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :course_id, as: 'courseId'
|
2017-03-27 22:14:47 +00:00
|
|
|
property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
|
|
|
|
|
|
|
|
property :user_id, as: 'userId'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class UserProfile
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :email_address, as: 'emailAddress'
|
|
|
|
collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :id, as: 'id'
|
|
|
|
property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation
|
|
|
|
|
|
|
|
property :photo_url, as: 'photoUrl'
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ReclaimStudentSubmissionRequest
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Student
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :course_id, as: 'courseId'
|
|
|
|
property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :user_id, as: 'userId'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListTeachersResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Course
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :id, as: 'id'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :update_time, as: 'updateTime'
|
|
|
|
property :section, as: 'section'
|
|
|
|
property :alternate_link, as: 'alternateLink'
|
|
|
|
property :teacher_group_email, as: 'teacherGroupEmail'
|
|
|
|
property :guardians_enabled, as: 'guardiansEnabled'
|
|
|
|
property :owner_id, as: 'ownerId'
|
|
|
|
property :description_heading, as: 'descriptionHeading'
|
|
|
|
property :course_group_email, as: 'courseGroupEmail'
|
|
|
|
property :course_state, as: 'courseState'
|
|
|
|
property :room, as: 'room'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :enrollment_code, as: 'enrollmentCode'
|
|
|
|
property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ReturnStudentSubmissionRequest
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class GuardianInvitation
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :creation_time, as: 'creationTime'
|
|
|
|
property :invitation_id, as: 'invitationId'
|
|
|
|
property :state, as: 'state'
|
|
|
|
property :invited_email_address, as: 'invitedEmailAddress'
|
|
|
|
property :student_id, as: 'studentId'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class TurnInStudentSubmissionRequest
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class YouTubeVideo
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :thumbnail_url, as: 'thumbnailUrl'
|
|
|
|
property :title, as: 'title'
|
|
|
|
property :alternate_link, as: 'alternateLink'
|
|
|
|
property :id, as: 'id'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Empty
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
class ListCourseWorkResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-03-10 21:11:09 +00:00
|
|
|
collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation
|
|
|
|
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class SharedDriveFile
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :share_mode, as: 'shareMode'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class GlobalPermission
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :permission, as: 'permission'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Material
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::SharedDriveFile, decorator: Google::Apis::ClassroomV1::SharedDriveFile::Representation
|
2017-03-10 21:11:09 +00:00
|
|
|
|
|
|
|
property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
property :youtube_video, as: 'youtubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class AssignmentSubmission
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :attachments, as: 'attachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation
|
|
|
|
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Date
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :month, as: 'month'
|
|
|
|
property :year, as: 'year'
|
|
|
|
property :day, as: 'day'
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Assignment
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation
|
2017-02-13 23:28:52 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListCoursesResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-10 21:11:09 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
2017-03-27 22:14:47 +00:00
|
|
|
collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation
|
|
|
|
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Invitation
|
2017-02-13 23:28:52 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :course_id, as: 'courseId'
|
|
|
|
property :role, as: 'role'
|
|
|
|
property :user_id, as: 'userId'
|
|
|
|
property :id, as: 'id'
|
2017-02-13 23:28:52 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListStudentSubmissionsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation
|
|
|
|
|
2017-03-10 21:11:09 +00:00
|
|
|
end
|
|
|
|
end
|
2017-02-13 23:28:52 +00:00
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class Name
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :given_name, as: 'givenName'
|
|
|
|
property :family_name, as: 'familyName'
|
|
|
|
property :full_name, as: 'fullName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListInvitationsResponse
|
2017-03-10 21:11:09 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation
|
|
|
|
|
2016-05-25 16:16:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-03-27 22:14:47 +00:00
|
|
|
class ListStudentsResponse
|
2016-05-25 16:16:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-03-27 22:14:47 +00:00
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation
|
2016-05-25 16:16:15 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|