gogol-classroom-0.3.0: Google Classroom SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Classroom.Types

Contents

Description

 

Synopsis

Service Configuration

classroomService :: ServiceConfig Source #

Default request referring to version v1 of the Google Classroom API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

classroomRostersReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.rosters.readonly"] Source #

View your Google Classroom class rosters

classroomCoursesScope :: Proxy '["https://www.googleapis.com/auth/classroom.courses"] Source #

Manage your Google Classroom classes

classroomCourseworkStudentsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.coursework.students.readonly"] Source #

View course work and grades for students in the Google Classroom classes you teach or administer

classroomProFileEmailsScope :: Proxy '["https://www.googleapis.com/auth/classroom.profile.emails"] Source #

View the email addresses of people in your classes

classroomProFilePhotosScope :: Proxy '["https://www.googleapis.com/auth/classroom.profile.photos"] Source #

View the profile photos of people in your classes

classroomCourseworkMeScope :: Proxy '["https://www.googleapis.com/auth/classroom.coursework.me"] Source #

Manage your course work and view your grades in Google Classroom

classroomCourseWorkReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.course-work.readonly"] Source #

View instructions for teacher-assigned work in your Google Classroom classes

classroomStudentSubmissionsStudentsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.student-submissions.students.readonly"] Source #

View course work and grades for students in the Google Classroom classes you teach or administer

classroomRostersScope :: Proxy '["https://www.googleapis.com/auth/classroom.rosters"] Source #

Manage your Google Classroom class rosters

classroomCoursesReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.courses.readonly"] Source #

View your Google Classroom classes

classroomCourseworkStudentsScope :: Proxy '["https://www.googleapis.com/auth/classroom.coursework.students"] Source #

Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer

classroomCourseworkMeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.coursework.me.readonly"] Source #

View your course work and grades in Google Classroom

classroomStudentSubmissionsMeReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/classroom.student-submissions.me.readonly"] Source #

View your course work and grades in Google Classroom

ListCourseAliasesResponse

data ListCourseAliasesResponse Source #

Response when listing course aliases.

See: listCourseAliasesResponse smart constructor.

Instances

Eq ListCourseAliasesResponse Source # 
Data ListCourseAliasesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListCourseAliasesResponse -> c ListCourseAliasesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListCourseAliasesResponse #

toConstr :: ListCourseAliasesResponse -> Constr #

dataTypeOf :: ListCourseAliasesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListCourseAliasesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListCourseAliasesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListCourseAliasesResponse -> ListCourseAliasesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListCourseAliasesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListCourseAliasesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListCourseAliasesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListCourseAliasesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListCourseAliasesResponse -> m ListCourseAliasesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCourseAliasesResponse -> m ListCourseAliasesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCourseAliasesResponse -> m ListCourseAliasesResponse #

Show ListCourseAliasesResponse Source # 
Generic ListCourseAliasesResponse Source # 
ToJSON ListCourseAliasesResponse Source # 
FromJSON ListCourseAliasesResponse Source # 
type Rep ListCourseAliasesResponse Source # 
type Rep ListCourseAliasesResponse = D1 (MetaData "ListCourseAliasesResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListCourseAliasesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcarAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseAlias])))))

listCourseAliasesResponse :: ListCourseAliasesResponse Source #

Creates a value of ListCourseAliasesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lcarNextPageToken :: Lens' ListCourseAliasesResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

CourseWork

data CourseWork Source #

Course work created by a teacher for students of the course.

See: courseWork smart constructor.

Instances

Eq CourseWork Source # 
Data CourseWork Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseWork -> c CourseWork #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseWork #

toConstr :: CourseWork -> Constr #

dataTypeOf :: CourseWork -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CourseWork) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseWork) #

gmapT :: (forall b. Data b => b -> b) -> CourseWork -> CourseWork #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseWork -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseWork -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseWork -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseWork -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseWork -> m CourseWork #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseWork -> m CourseWork #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseWork -> m CourseWork #

Show CourseWork Source # 
Generic CourseWork Source # 

Associated Types

type Rep CourseWork :: * -> * #

ToJSON CourseWork Source # 
FromJSON CourseWork Source # 
type Rep CourseWork Source # 
type Rep CourseWork = D1 (MetaData "CourseWork" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "CourseWork'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cwCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cwState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cwMaterials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Material]))) (S1 (MetaSel (Just Symbol "_cwCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cwMaxPoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_cwWorkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cwDueTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimeOfDay'))) (S1 (MetaSel (Just Symbol "_cwAssociatedWithDeveloper") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cwUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cwMultipleChoiceQuestion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MultipleChoiceQuestion)))) ((:*:) (S1 (MetaSel (Just Symbol "_cwId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cwSubmissionModificationMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cwDueDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date))) (S1 (MetaSel (Just Symbol "_cwTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cwAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cwAssignment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Assignment))) (S1 (MetaSel (Just Symbol "_cwDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

cwCreationTime :: Lens' CourseWork (Maybe Text) Source #

Timestamp when this course work was created. Read-only.

cwState :: Lens' CourseWork (Maybe Text) Source #

Status of this course work. If unspecified, the default state is `DRAFT`.

cwMaterials :: Lens' CourseWork [Material] Source #

Additional materials. CourseWork must have no more than 20 material items.

cwCourseId :: Lens' CourseWork (Maybe Text) Source #

Identifier of the course. Read-only.

cwMaxPoints :: Lens' CourseWork (Maybe Double) Source #

Maximum grade for this course work. If zero or unspecified, this assignment is considered ungraded. This must be a non-negative integer value.

cwWorkType :: Lens' CourseWork (Maybe Text) Source #

Type of this course work. The type is set when the course work is created and cannot be changed.

cwDueTime :: Lens' CourseWork (Maybe TimeOfDay') Source #

Optional time of day, in UTC, that submissions for this this course work are due. This must be specified if `due_date` is specified.

cwAssociatedWithDeveloper :: Lens' CourseWork (Maybe Bool) Source #

Whether this course work item is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.

cwUpdateTime :: Lens' CourseWork (Maybe Text) Source #

Timestamp of the most recent change to this course work. Read-only.

cwMultipleChoiceQuestion :: Lens' CourseWork (Maybe MultipleChoiceQuestion) Source #

Multiple choice question details. For read operations, this field is populated only when `work_type` is `MULTIPLE_CHOICE_QUESTION`. For write operations, this field must be specified when creating course work with a `work_type` of `MULTIPLE_CHOICE_QUESTION`, and it must not be set otherwise.

cwId :: Lens' CourseWork (Maybe Text) Source #

Classroom-assigned identifier of this course work, unique per course. Read-only.

cwSubmissionModificationMode :: Lens' CourseWork (Maybe Text) Source #

Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.

cwDueDate :: Lens' CourseWork (Maybe Date) Source #

Optional date, in UTC, that submissions for this this course work are due. This must be specified if `due_time` is specified.

cwTitle :: Lens' CourseWork (Maybe Text) Source #

Title of this course work. The title must be a valid UTF-8 string containing between 1 and 3000 characters.

cwAlternateLink :: Lens' CourseWork (Maybe Text) Source #

Absolute link to this course work in the Classroom web UI. This is only populated if `state` is `PUBLISHED`. Read-only.

cwAssignment :: Lens' CourseWork (Maybe Assignment) Source #

Assignment details. This is populated only when `work_type` is `ASSIGNMENT`. Read-only.

cwDescription :: Lens' CourseWork (Maybe Text) Source #

Optional description of this course work. If set, the description must be a valid UTF-8 string containing no more than 30,000 characters.

DriveFile

data DriveFile Source #

Representation of a Google Drive file.

See: driveFile smart constructor.

Instances

Eq DriveFile Source # 
Data DriveFile Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DriveFile -> c DriveFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DriveFile #

toConstr :: DriveFile -> Constr #

dataTypeOf :: DriveFile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DriveFile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DriveFile) #

gmapT :: (forall b. Data b => b -> b) -> DriveFile -> DriveFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DriveFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DriveFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> DriveFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DriveFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DriveFile -> m DriveFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFile -> m DriveFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFile -> m DriveFile #

Show DriveFile Source # 
Generic DriveFile Source # 

Associated Types

type Rep DriveFile :: * -> * #

ToJSON DriveFile Source # 
FromJSON DriveFile Source # 
type Rep DriveFile Source # 
type Rep DriveFile = D1 (MetaData "DriveFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "DriveFile'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dfThumbnailURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dfId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dfTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dfAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

driveFile :: DriveFile Source #

Creates a value of DriveFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dfThumbnailURL :: Lens' DriveFile (Maybe Text) Source #

URL of a thumbnail image of the Drive item. Read-only.

dfId :: Lens' DriveFile (Maybe Text) Source #

Drive API resource ID.

dfTitle :: Lens' DriveFile (Maybe Text) Source #

Title of the Drive item. Read-only.

dfAlternateLink :: Lens' DriveFile (Maybe Text) Source #

URL that can be used to access the Drive item. Read-only.

GuardianInvitation

data GuardianInvitation Source #

An invitation to become the guardian of a specified user, sent to a specified email address.

See: guardianInvitation smart constructor.

Instances

Eq GuardianInvitation Source # 
Data GuardianInvitation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GuardianInvitation -> c GuardianInvitation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GuardianInvitation #

toConstr :: GuardianInvitation -> Constr #

dataTypeOf :: GuardianInvitation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GuardianInvitation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GuardianInvitation) #

gmapT :: (forall b. Data b => b -> b) -> GuardianInvitation -> GuardianInvitation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GuardianInvitation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GuardianInvitation -> r #

gmapQ :: (forall d. Data d => d -> u) -> GuardianInvitation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GuardianInvitation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GuardianInvitation -> m GuardianInvitation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GuardianInvitation -> m GuardianInvitation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GuardianInvitation -> m GuardianInvitation #

Show GuardianInvitation Source # 
Generic GuardianInvitation Source # 
ToJSON GuardianInvitation Source # 
FromJSON GuardianInvitation Source # 
type Rep GuardianInvitation Source # 
type Rep GuardianInvitation = D1 (MetaData "GuardianInvitation" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "GuardianInvitation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_giCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_giStudentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_giState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_giInvitationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_giInvitedEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

guardianInvitation :: GuardianInvitation Source #

Creates a value of GuardianInvitation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

giCreationTime :: Lens' GuardianInvitation (Maybe Text) Source #

The time that this invitation was created. Read-only.

giStudentId :: Lens' GuardianInvitation (Maybe Text) Source #

ID of the student (in standard format)

giState :: Lens' GuardianInvitation (Maybe Text) Source #

The state that this invitation is in.

giInvitationId :: Lens' GuardianInvitation (Maybe Text) Source #

Unique identifier for this invitation. Read-only.

giInvitedEmailAddress :: Lens' GuardianInvitation (Maybe Text) Source #

Email address that the invitation was sent to. This field is only visible to domain administrators.

ReturnStudentSubmissionRequest

data ReturnStudentSubmissionRequest Source #

Request to return a student submission.

See: returnStudentSubmissionRequest smart constructor.

Instances

Eq ReturnStudentSubmissionRequest Source # 
Data ReturnStudentSubmissionRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReturnStudentSubmissionRequest -> c ReturnStudentSubmissionRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReturnStudentSubmissionRequest #

toConstr :: ReturnStudentSubmissionRequest -> Constr #

dataTypeOf :: ReturnStudentSubmissionRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReturnStudentSubmissionRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReturnStudentSubmissionRequest) #

gmapT :: (forall b. Data b => b -> b) -> ReturnStudentSubmissionRequest -> ReturnStudentSubmissionRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReturnStudentSubmissionRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReturnStudentSubmissionRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReturnStudentSubmissionRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReturnStudentSubmissionRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReturnStudentSubmissionRequest -> m ReturnStudentSubmissionRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReturnStudentSubmissionRequest -> m ReturnStudentSubmissionRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReturnStudentSubmissionRequest -> m ReturnStudentSubmissionRequest #

Show ReturnStudentSubmissionRequest Source # 
Generic ReturnStudentSubmissionRequest Source # 
ToJSON ReturnStudentSubmissionRequest Source # 
FromJSON ReturnStudentSubmissionRequest Source # 
type Rep ReturnStudentSubmissionRequest Source # 
type Rep ReturnStudentSubmissionRequest = D1 (MetaData "ReturnStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ReturnStudentSubmissionRequest'" PrefixI False) U1)

returnStudentSubmissionRequest :: ReturnStudentSubmissionRequest Source #

Creates a value of ReturnStudentSubmissionRequest with the minimum fields required to make a request.

ReclaimStudentSubmissionRequest

data ReclaimStudentSubmissionRequest Source #

Request to reclaim a student submission.

See: reclaimStudentSubmissionRequest smart constructor.

Instances

Eq ReclaimStudentSubmissionRequest Source # 
Data ReclaimStudentSubmissionRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReclaimStudentSubmissionRequest -> c ReclaimStudentSubmissionRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReclaimStudentSubmissionRequest #

toConstr :: ReclaimStudentSubmissionRequest -> Constr #

dataTypeOf :: ReclaimStudentSubmissionRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReclaimStudentSubmissionRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReclaimStudentSubmissionRequest) #

gmapT :: (forall b. Data b => b -> b) -> ReclaimStudentSubmissionRequest -> ReclaimStudentSubmissionRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReclaimStudentSubmissionRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReclaimStudentSubmissionRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReclaimStudentSubmissionRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReclaimStudentSubmissionRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReclaimStudentSubmissionRequest -> m ReclaimStudentSubmissionRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReclaimStudentSubmissionRequest -> m ReclaimStudentSubmissionRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReclaimStudentSubmissionRequest -> m ReclaimStudentSubmissionRequest #

Show ReclaimStudentSubmissionRequest Source # 
Generic ReclaimStudentSubmissionRequest Source # 
ToJSON ReclaimStudentSubmissionRequest Source # 
FromJSON ReclaimStudentSubmissionRequest Source # 
type Rep ReclaimStudentSubmissionRequest Source # 
type Rep ReclaimStudentSubmissionRequest = D1 (MetaData "ReclaimStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ReclaimStudentSubmissionRequest'" PrefixI False) U1)

reclaimStudentSubmissionRequest :: ReclaimStudentSubmissionRequest Source #

Creates a value of ReclaimStudentSubmissionRequest with the minimum fields required to make a request.

ListCourseWorkResponse

data ListCourseWorkResponse Source #

Response when listing course work.

See: listCourseWorkResponse smart constructor.

Instances

Eq ListCourseWorkResponse Source # 
Data ListCourseWorkResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListCourseWorkResponse -> c ListCourseWorkResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListCourseWorkResponse #

toConstr :: ListCourseWorkResponse -> Constr #

dataTypeOf :: ListCourseWorkResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListCourseWorkResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListCourseWorkResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListCourseWorkResponse -> ListCourseWorkResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListCourseWorkResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListCourseWorkResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListCourseWorkResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListCourseWorkResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListCourseWorkResponse -> m ListCourseWorkResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCourseWorkResponse -> m ListCourseWorkResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCourseWorkResponse -> m ListCourseWorkResponse #

Show ListCourseWorkResponse Source # 
Generic ListCourseWorkResponse Source # 
ToJSON ListCourseWorkResponse Source # 
FromJSON ListCourseWorkResponse Source # 
type Rep ListCourseWorkResponse Source # 
type Rep ListCourseWorkResponse = D1 (MetaData "ListCourseWorkResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListCourseWorkResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcwrCourseWork") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseWork]))) (S1 (MetaSel (Just Symbol "_lcwrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

listCourseWorkResponse :: ListCourseWorkResponse Source #

Creates a value of ListCourseWorkResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lcwrCourseWork :: Lens' ListCourseWorkResponse [CourseWork] Source #

Course work items that match the request.

lcwrNextPageToken :: Lens' ListCourseWorkResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances

Eq Empty Source # 

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty #

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Empty) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) #

gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

Show Empty Source # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
FromJSON Empty Source # 
type Rep Empty Source # 
type Rep Empty = D1 (MetaData "Empty" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Empty'" PrefixI False) U1)

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

GlobalPermission

data GlobalPermission Source #

Global user permission description.

See: globalPermission smart constructor.

Instances

Eq GlobalPermission Source # 
Data GlobalPermission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GlobalPermission -> c GlobalPermission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GlobalPermission #

toConstr :: GlobalPermission -> Constr #

dataTypeOf :: GlobalPermission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GlobalPermission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GlobalPermission) #

gmapT :: (forall b. Data b => b -> b) -> GlobalPermission -> GlobalPermission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GlobalPermission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GlobalPermission -> r #

gmapQ :: (forall d. Data d => d -> u) -> GlobalPermission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GlobalPermission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GlobalPermission -> m GlobalPermission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GlobalPermission -> m GlobalPermission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GlobalPermission -> m GlobalPermission #

Show GlobalPermission Source # 
Generic GlobalPermission Source # 
ToJSON GlobalPermission Source # 
FromJSON GlobalPermission Source # 
type Rep GlobalPermission Source # 
type Rep GlobalPermission = D1 (MetaData "GlobalPermission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "GlobalPermission'" PrefixI True) (S1 (MetaSel (Just Symbol "_gpPermission") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

globalPermission :: GlobalPermission Source #

Creates a value of GlobalPermission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Link

data Link Source #

URL item.

See: link smart constructor.

link :: Link Source #

Creates a value of Link with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lThumbnailURL :: Lens' Link (Maybe Text) Source #

URL of a thumbnail image of the target URL. Read-only.

lURL :: Lens' Link (Maybe Text) Source #

URL to link to. This must be a valid UTF-8 string containing between 1 and 2024 characters.

lTitle :: Lens' Link (Maybe Text) Source #

Title of the target of the URL. Read-only.

AssignmentSubmission

data AssignmentSubmission Source #

Student work for an assignment.

See: assignmentSubmission smart constructor.

Instances

Eq AssignmentSubmission Source # 
Data AssignmentSubmission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssignmentSubmission -> c AssignmentSubmission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssignmentSubmission #

toConstr :: AssignmentSubmission -> Constr #

dataTypeOf :: AssignmentSubmission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AssignmentSubmission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssignmentSubmission) #

gmapT :: (forall b. Data b => b -> b) -> AssignmentSubmission -> AssignmentSubmission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssignmentSubmission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssignmentSubmission -> r #

gmapQ :: (forall d. Data d => d -> u) -> AssignmentSubmission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AssignmentSubmission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssignmentSubmission -> m AssignmentSubmission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignmentSubmission -> m AssignmentSubmission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssignmentSubmission -> m AssignmentSubmission #

Show AssignmentSubmission Source # 
Generic AssignmentSubmission Source # 
ToJSON AssignmentSubmission Source # 
FromJSON AssignmentSubmission Source # 
type Rep AssignmentSubmission Source # 
type Rep AssignmentSubmission = D1 (MetaData "AssignmentSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "AssignmentSubmission'" PrefixI True) (S1 (MetaSel (Just Symbol "_asAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Attachment]))))

assignmentSubmission :: AssignmentSubmission Source #

Creates a value of AssignmentSubmission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

asAttachments :: Lens' AssignmentSubmission [Attachment] Source #

Attachments added by the student. Drive files that correspond to materials with a share mode of STUDENT_COPY may not exist yet if the student has not accessed the assignment in Classroom. Some attachment metadata is only populated if the requesting user has permission to access it. Identifier and alternate_link fields are always available, but others (e.g. title) may not be.

ModifyAttachmentsRequest

data ModifyAttachmentsRequest Source #

Request to modify the attachments of a student submission.

See: modifyAttachmentsRequest smart constructor.

Instances

Eq ModifyAttachmentsRequest Source # 
Data ModifyAttachmentsRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyAttachmentsRequest -> c ModifyAttachmentsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyAttachmentsRequest #

toConstr :: ModifyAttachmentsRequest -> Constr #

dataTypeOf :: ModifyAttachmentsRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ModifyAttachmentsRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyAttachmentsRequest) #

gmapT :: (forall b. Data b => b -> b) -> ModifyAttachmentsRequest -> ModifyAttachmentsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyAttachmentsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyAttachmentsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyAttachmentsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyAttachmentsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyAttachmentsRequest -> m ModifyAttachmentsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyAttachmentsRequest -> m ModifyAttachmentsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyAttachmentsRequest -> m ModifyAttachmentsRequest #

Show ModifyAttachmentsRequest Source # 
Generic ModifyAttachmentsRequest Source # 
ToJSON ModifyAttachmentsRequest Source # 
FromJSON ModifyAttachmentsRequest Source # 
type Rep ModifyAttachmentsRequest Source # 
type Rep ModifyAttachmentsRequest = D1 (MetaData "ModifyAttachmentsRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "ModifyAttachmentsRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_marAddAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Attachment]))))

modifyAttachmentsRequest :: ModifyAttachmentsRequest Source #

Creates a value of ModifyAttachmentsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

marAddAttachments :: Lens' ModifyAttachmentsRequest [Attachment] Source #

Attachments to add. A student submission may not have more than 20 attachments. Form attachments are not supported.

ListStudentSubmissionsResponse

data ListStudentSubmissionsResponse Source #

Response when listing student submissions.

See: listStudentSubmissionsResponse smart constructor.

Instances

Eq ListStudentSubmissionsResponse Source # 
Data ListStudentSubmissionsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListStudentSubmissionsResponse -> c ListStudentSubmissionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListStudentSubmissionsResponse #

toConstr :: ListStudentSubmissionsResponse -> Constr #

dataTypeOf :: ListStudentSubmissionsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListStudentSubmissionsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListStudentSubmissionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListStudentSubmissionsResponse -> ListStudentSubmissionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListStudentSubmissionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListStudentSubmissionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListStudentSubmissionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListStudentSubmissionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListStudentSubmissionsResponse -> m ListStudentSubmissionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStudentSubmissionsResponse -> m ListStudentSubmissionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStudentSubmissionsResponse -> m ListStudentSubmissionsResponse #

Show ListStudentSubmissionsResponse Source # 
Generic ListStudentSubmissionsResponse Source # 
ToJSON ListStudentSubmissionsResponse Source # 
FromJSON ListStudentSubmissionsResponse Source # 
type Rep ListStudentSubmissionsResponse Source # 
type Rep ListStudentSubmissionsResponse = D1 (MetaData "ListStudentSubmissionsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListStudentSubmissionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lssrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lssrStudentSubmissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StudentSubmission])))))

listStudentSubmissionsResponse :: ListStudentSubmissionsResponse Source #

Creates a value of ListStudentSubmissionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lssrNextPageToken :: Lens' ListStudentSubmissionsResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

Material

data Material Source #

Material attached to course work. When creating attachments, setting the `form` field is not supported.

See: material smart constructor.

Instances

Eq Material Source # 
Data Material Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Material -> c Material #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Material #

toConstr :: Material -> Constr #

dataTypeOf :: Material -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Material) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Material) #

gmapT :: (forall b. Data b => b -> b) -> Material -> Material #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Material -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Material -> r #

gmapQ :: (forall d. Data d => d -> u) -> Material -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Material -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Material -> m Material #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Material -> m Material #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Material -> m Material #

Show Material Source # 
Generic Material Source # 

Associated Types

type Rep Material :: * -> * #

Methods

from :: Material -> Rep Material x #

to :: Rep Material x -> Material #

ToJSON Material Source # 
FromJSON Material Source # 
type Rep Material Source # 
type Rep Material = D1 (MetaData "Material" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Material'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mDriveFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SharedDriveFile))) (S1 (MetaSel (Just Symbol "_mLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Link)))) ((:*:) (S1 (MetaSel (Just Symbol "_mYouTubeVideo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe YouTubeVideo))) (S1 (MetaSel (Just Symbol "_mForm") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Form))))))

material :: Material Source #

Creates a value of Material with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mDriveFile :: Lens' Material (Maybe SharedDriveFile) Source #

Google Drive file material.

mLink :: Lens' Material (Maybe Link) Source #

Link material. On creation, will be upgraded to a more appropriate type if possible, and this will be reflected in the response.

mYouTubeVideo :: Lens' Material (Maybe YouTubeVideo) Source #

YouTube video material.

mForm :: Lens' Material (Maybe Form) Source #

Google Forms material.

MultipleChoiceSubmission

data MultipleChoiceSubmission Source #

Student work for a multiple-choice question.

See: multipleChoiceSubmission smart constructor.

Instances

Eq MultipleChoiceSubmission Source # 
Data MultipleChoiceSubmission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MultipleChoiceSubmission -> c MultipleChoiceSubmission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MultipleChoiceSubmission #

toConstr :: MultipleChoiceSubmission -> Constr #

dataTypeOf :: MultipleChoiceSubmission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MultipleChoiceSubmission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MultipleChoiceSubmission) #

gmapT :: (forall b. Data b => b -> b) -> MultipleChoiceSubmission -> MultipleChoiceSubmission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MultipleChoiceSubmission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MultipleChoiceSubmission -> r #

gmapQ :: (forall d. Data d => d -> u) -> MultipleChoiceSubmission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MultipleChoiceSubmission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MultipleChoiceSubmission -> m MultipleChoiceSubmission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MultipleChoiceSubmission -> m MultipleChoiceSubmission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MultipleChoiceSubmission -> m MultipleChoiceSubmission #

Show MultipleChoiceSubmission Source # 
Generic MultipleChoiceSubmission Source # 
ToJSON MultipleChoiceSubmission Source # 
FromJSON MultipleChoiceSubmission Source # 
type Rep MultipleChoiceSubmission Source # 
type Rep MultipleChoiceSubmission = D1 (MetaData "MultipleChoiceSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "MultipleChoiceSubmission'" PrefixI True) (S1 (MetaSel (Just Symbol "_mcsAnswer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

multipleChoiceSubmission :: MultipleChoiceSubmission Source #

Creates a value of MultipleChoiceSubmission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ListInvitationsResponse

data ListInvitationsResponse Source #

Response when listing invitations.

See: listInvitationsResponse smart constructor.

Instances

Eq ListInvitationsResponse Source # 
Data ListInvitationsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListInvitationsResponse -> c ListInvitationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListInvitationsResponse #

toConstr :: ListInvitationsResponse -> Constr #

dataTypeOf :: ListInvitationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListInvitationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListInvitationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListInvitationsResponse -> ListInvitationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListInvitationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListInvitationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListInvitationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListInvitationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListInvitationsResponse -> m ListInvitationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInvitationsResponse -> m ListInvitationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListInvitationsResponse -> m ListInvitationsResponse #

Show ListInvitationsResponse Source # 
Generic ListInvitationsResponse Source # 
ToJSON ListInvitationsResponse Source # 
FromJSON ListInvitationsResponse Source # 
type Rep ListInvitationsResponse Source # 
type Rep ListInvitationsResponse = D1 (MetaData "ListInvitationsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListInvitationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lirInvitations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Invitation])))))

listInvitationsResponse :: ListInvitationsResponse Source #

Creates a value of ListInvitationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lirNextPageToken :: Lens' ListInvitationsResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lirInvitations :: Lens' ListInvitationsResponse [Invitation] Source #

Invitations that match the list request.

Guardian

data Guardian Source #

Association between a student and a guardian of that student. The guardian may receive information about the student's course work.

See: guardian smart constructor.

Instances

Eq Guardian Source # 
Data Guardian Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Guardian -> c Guardian #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Guardian #

toConstr :: Guardian -> Constr #

dataTypeOf :: Guardian -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Guardian) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Guardian) #

gmapT :: (forall b. Data b => b -> b) -> Guardian -> Guardian #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Guardian -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Guardian -> r #

gmapQ :: (forall d. Data d => d -> u) -> Guardian -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Guardian -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Guardian -> m Guardian #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Guardian -> m Guardian #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Guardian -> m Guardian #

Show Guardian Source # 
Generic Guardian Source # 

Associated Types

type Rep Guardian :: * -> * #

Methods

from :: Guardian -> Rep Guardian x #

to :: Rep Guardian x -> Guardian #

ToJSON Guardian Source # 
FromJSON Guardian Source # 
type Rep Guardian Source # 
type Rep Guardian = D1 (MetaData "Guardian" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Guardian'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gStudentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gGuardianId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gInvitedEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gGuardianProFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserProFile))))))

guardian :: Guardian Source #

Creates a value of Guardian with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gStudentId :: Lens' Guardian (Maybe Text) Source #

Identifier for the student to whom the guardian relationship applies.

gGuardianId :: Lens' Guardian (Maybe Text) Source #

Identifier for the guardian.

gInvitedEmailAddress :: Lens' Guardian (Maybe Text) Source #

The email address to which the initial guardian invitation was sent. This field is only visible to domain administrators.

gGuardianProFile :: Lens' Guardian (Maybe UserProFile) Source #

User profile for the guardian.

CourseMaterial

data CourseMaterial Source #

A material attached to a course as part of a material set.

See: courseMaterial smart constructor.

Instances

Eq CourseMaterial Source # 
Data CourseMaterial Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseMaterial -> c CourseMaterial #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseMaterial #

toConstr :: CourseMaterial -> Constr #

dataTypeOf :: CourseMaterial -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CourseMaterial) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseMaterial) #

gmapT :: (forall b. Data b => b -> b) -> CourseMaterial -> CourseMaterial #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseMaterial -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseMaterial -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseMaterial -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseMaterial -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseMaterial -> m CourseMaterial #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseMaterial -> m CourseMaterial #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseMaterial -> m CourseMaterial #

Show CourseMaterial Source # 
Generic CourseMaterial Source # 

Associated Types

type Rep CourseMaterial :: * -> * #

ToJSON CourseMaterial Source # 
FromJSON CourseMaterial Source # 
type Rep CourseMaterial Source # 
type Rep CourseMaterial = D1 (MetaData "CourseMaterial" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "CourseMaterial'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cmDriveFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFile))) (S1 (MetaSel (Just Symbol "_cmLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Link)))) ((:*:) (S1 (MetaSel (Just Symbol "_cmYouTubeVideo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe YouTubeVideo))) (S1 (MetaSel (Just Symbol "_cmForm") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Form))))))

courseMaterial :: CourseMaterial Source #

Creates a value of CourseMaterial with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cmDriveFile :: Lens' CourseMaterial (Maybe DriveFile) Source #

Google Drive file attachment.

cmForm :: Lens' CourseMaterial (Maybe Form) Source #

Google Forms attachment.

ShortAnswerSubmission

data ShortAnswerSubmission Source #

Student work for a short answer question.

See: shortAnswerSubmission smart constructor.

Instances

Eq ShortAnswerSubmission Source # 
Data ShortAnswerSubmission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ShortAnswerSubmission -> c ShortAnswerSubmission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ShortAnswerSubmission #

toConstr :: ShortAnswerSubmission -> Constr #

dataTypeOf :: ShortAnswerSubmission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ShortAnswerSubmission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ShortAnswerSubmission) #

gmapT :: (forall b. Data b => b -> b) -> ShortAnswerSubmission -> ShortAnswerSubmission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ShortAnswerSubmission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ShortAnswerSubmission -> r #

gmapQ :: (forall d. Data d => d -> u) -> ShortAnswerSubmission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ShortAnswerSubmission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ShortAnswerSubmission -> m ShortAnswerSubmission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ShortAnswerSubmission -> m ShortAnswerSubmission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ShortAnswerSubmission -> m ShortAnswerSubmission #

Show ShortAnswerSubmission Source # 
Generic ShortAnswerSubmission Source # 
ToJSON ShortAnswerSubmission Source # 
FromJSON ShortAnswerSubmission Source # 
type Rep ShortAnswerSubmission Source # 
type Rep ShortAnswerSubmission = D1 (MetaData "ShortAnswerSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "ShortAnswerSubmission'" PrefixI True) (S1 (MetaSel (Just Symbol "_sasAnswer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

shortAnswerSubmission :: ShortAnswerSubmission Source #

Creates a value of ShortAnswerSubmission with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sasAnswer :: Lens' ShortAnswerSubmission (Maybe Text) Source #

Student response to a short-answer question.

Invitation

data Invitation Source #

An invitation to join a course.

See: invitation smart constructor.

Instances

Eq Invitation Source # 
Data Invitation Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Invitation -> c Invitation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Invitation #

toConstr :: Invitation -> Constr #

dataTypeOf :: Invitation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Invitation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Invitation) #

gmapT :: (forall b. Data b => b -> b) -> Invitation -> Invitation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Invitation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Invitation -> r #

gmapQ :: (forall d. Data d => d -> u) -> Invitation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Invitation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Invitation -> m Invitation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Invitation -> m Invitation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Invitation -> m Invitation #

Show Invitation Source # 
Generic Invitation Source # 

Associated Types

type Rep Invitation :: * -> * #

ToJSON Invitation Source # 
FromJSON Invitation Source # 
type Rep Invitation Source # 
type Rep Invitation = D1 (MetaData "Invitation" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Invitation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_iRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_iId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

invitation :: Invitation Source #

Creates a value of Invitation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

iCourseId :: Lens' Invitation (Maybe Text) Source #

Identifier of the course to invite the user to.

iUserId :: Lens' Invitation (Maybe Text) Source #

Identifier of the invited user. When specified as a parameter of a request, this identifier can be set to one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user

iRole :: Lens' Invitation (Maybe Text) Source #

Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.

iId :: Lens' Invitation (Maybe Text) Source #

Identifier assigned by Classroom. Read-only.

Attachment

data Attachment Source #

Attachment added to student assignment work. When creating attachments, setting the `form` field is not supported.

See: attachment smart constructor.

Instances

Eq Attachment Source # 
Data Attachment Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Attachment -> c Attachment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Attachment #

toConstr :: Attachment -> Constr #

dataTypeOf :: Attachment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Attachment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Attachment) #

gmapT :: (forall b. Data b => b -> b) -> Attachment -> Attachment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Attachment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Attachment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Attachment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Attachment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Attachment -> m Attachment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Attachment -> m Attachment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Attachment -> m Attachment #

Show Attachment Source # 
Generic Attachment Source # 

Associated Types

type Rep Attachment :: * -> * #

ToJSON Attachment Source # 
FromJSON Attachment Source # 
type Rep Attachment Source # 
type Rep Attachment = D1 (MetaData "Attachment" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Attachment'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aDriveFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFile))) (S1 (MetaSel (Just Symbol "_aLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Link)))) ((:*:) (S1 (MetaSel (Just Symbol "_aYouTubeVideo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe YouTubeVideo))) (S1 (MetaSel (Just Symbol "_aForm") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Form))))))

attachment :: Attachment Source #

Creates a value of Attachment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aDriveFile :: Lens' Attachment (Maybe DriveFile) Source #

Google Drive file attachment.

aLink :: Lens' Attachment (Maybe Link) Source #

Link attachment.

aYouTubeVideo :: Lens' Attachment (Maybe YouTubeVideo) Source #

Youtube video attachment.

aForm :: Lens' Attachment (Maybe Form) Source #

Google Forms attachment.

StudentSubmission

data StudentSubmission Source #

Student submission for course work. StudentSubmission items are generated when a CourseWork item is created. StudentSubmissions that have never been accessed (i.e. with `state` = NEW) may not have a creation time or update time.

See: studentSubmission smart constructor.

Instances

Eq StudentSubmission Source # 
Data StudentSubmission Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StudentSubmission -> c StudentSubmission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StudentSubmission #

toConstr :: StudentSubmission -> Constr #

dataTypeOf :: StudentSubmission -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StudentSubmission) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StudentSubmission) #

gmapT :: (forall b. Data b => b -> b) -> StudentSubmission -> StudentSubmission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StudentSubmission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StudentSubmission -> r #

gmapQ :: (forall d. Data d => d -> u) -> StudentSubmission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StudentSubmission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StudentSubmission -> m StudentSubmission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StudentSubmission -> m StudentSubmission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StudentSubmission -> m StudentSubmission #

Show StudentSubmission Source # 
Generic StudentSubmission Source # 
ToJSON StudentSubmission Source # 
FromJSON StudentSubmission Source # 
type Rep StudentSubmission Source # 
type Rep StudentSubmission = D1 (MetaData "StudentSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "StudentSubmission'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ssCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssLate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_ssState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ssMultipleChoiceSubmission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MultipleChoiceSubmission))) (S1 (MetaSel (Just Symbol "_ssAssignmentSubmission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssignmentSubmission)))) ((:*:) (S1 (MetaSel (Just Symbol "_ssShortAnswerSubmission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ShortAnswerSubmission))) (S1 (MetaSel (Just Symbol "_ssAssociatedWithDeveloper") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ssUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ssCourseWorkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssAssignedGrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ssId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssDraftGrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))) ((:*:) (S1 (MetaSel (Just Symbol "_ssAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ssCourseWorkId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

ssCreationTime :: Lens' StudentSubmission (Maybe Text) Source #

Creation time of this submission. This may be unset if the student has not accessed this item. Read-only.

ssLate :: Lens' StudentSubmission (Maybe Bool) Source #

Whether this submission is late. Read-only.

ssState :: Lens' StudentSubmission (Maybe Text) Source #

State of this submission. Read-only.

ssCourseId :: Lens' StudentSubmission (Maybe Text) Source #

Identifier of the course. Read-only.

ssMultipleChoiceSubmission :: Lens' StudentSubmission (Maybe MultipleChoiceSubmission) Source #

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

ssAssignmentSubmission :: Lens' StudentSubmission (Maybe AssignmentSubmission) Source #

Submission content when course_work_type is ASSIGNMENT .

ssShortAnswerSubmission :: Lens' StudentSubmission (Maybe ShortAnswerSubmission) Source #

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

ssAssociatedWithDeveloper :: Lens' StudentSubmission (Maybe Bool) Source #

Whether this student submission is associated with the Developer Console project making the request. See google.classroom.Work.CreateCourseWork for more details. Read-only.

ssUserId :: Lens' StudentSubmission (Maybe Text) Source #

Identifier for the student that owns this submission. Read-only.

ssUpdateTime :: Lens' StudentSubmission (Maybe Text) Source #

Last update time of this submission. This may be unset if the student has not accessed this item. Read-only.

ssCourseWorkType :: Lens' StudentSubmission (Maybe Text) Source #

Type of course work this submission is for. Read-only.

ssAssignedGrade :: Lens' StudentSubmission (Maybe Double) Source #

Optional grade. If unset, no grade was set. This must be a non-negative integer value. This may be modified only by course teachers.

ssId :: Lens' StudentSubmission (Maybe Text) Source #

Classroom-assigned Identifier for the student submission. This is unique among submissions for the relevant course work. Read-only.

ssDraftGrade :: Lens' StudentSubmission (Maybe Double) Source #

Optional pending grade. If unset, no grade was set. This must be a non-negative integer value. This is only visible to and modifiable by course teachers.

ssAlternateLink :: Lens' StudentSubmission (Maybe Text) Source #

Absolute link to the submission in the Classroom web UI. Read-only.

ssCourseWorkId :: Lens' StudentSubmission (Maybe Text) Source #

Identifier for the course work this corresponds to. Read-only.

ListGuardiansResponse

data ListGuardiansResponse Source #

Response when listing guardians.

See: listGuardiansResponse smart constructor.

Instances

Eq ListGuardiansResponse Source # 
Data ListGuardiansResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListGuardiansResponse -> c ListGuardiansResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListGuardiansResponse #

toConstr :: ListGuardiansResponse -> Constr #

dataTypeOf :: ListGuardiansResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListGuardiansResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListGuardiansResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListGuardiansResponse -> ListGuardiansResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListGuardiansResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListGuardiansResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListGuardiansResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListGuardiansResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListGuardiansResponse -> m ListGuardiansResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGuardiansResponse -> m ListGuardiansResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGuardiansResponse -> m ListGuardiansResponse #

Show ListGuardiansResponse Source # 
Generic ListGuardiansResponse Source # 
ToJSON ListGuardiansResponse Source # 
FromJSON ListGuardiansResponse Source # 
type Rep ListGuardiansResponse Source # 
type Rep ListGuardiansResponse = D1 (MetaData "ListGuardiansResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListGuardiansResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lgrGuardians") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Guardian])))))

listGuardiansResponse :: ListGuardiansResponse Source #

Creates a value of ListGuardiansResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgrNextPageToken :: Lens' ListGuardiansResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lgrGuardians :: Lens' ListGuardiansResponse [Guardian] Source #

Guardians on this page of results that met the criteria specified in the request.

Date

data Date Source #

Represents a whole calendar date, e.g. date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant, e.g. credit card expiration date. The year may be 0 to represent a month and day independent of year, e.g. anniversary date. Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.

See: date smart constructor.

Instances

Eq Date Source # 

Methods

(==) :: Date -> Date -> Bool #

(/=) :: Date -> Date -> Bool #

Data Date Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Date -> c Date #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Date #

toConstr :: Date -> Constr #

dataTypeOf :: Date -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Date) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Date) #

gmapT :: (forall b. Data b => b -> b) -> Date -> Date #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Date -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Date -> r #

gmapQ :: (forall d. Data d => d -> u) -> Date -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Date -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Date -> m Date #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Date -> m Date #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Date -> m Date #

Show Date Source # 

Methods

showsPrec :: Int -> Date -> ShowS #

show :: Date -> String #

showList :: [Date] -> ShowS #

Generic Date Source # 

Associated Types

type Rep Date :: * -> * #

Methods

from :: Date -> Rep Date x #

to :: Rep Date x -> Date #

ToJSON Date Source # 
FromJSON Date Source # 
type Rep Date Source # 
type Rep Date = D1 (MetaData "Date" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Date'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_dYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_dMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

date :: Date Source #

Creates a value of Date with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dDay :: Lens' Date (Maybe Int32) Source #

Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year/month where the day is not significant.

dYear :: Lens' Date (Maybe Int32) Source #

Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.

dMonth :: Lens' Date (Maybe Int32) Source #

Month of year. Must be from 1 to 12.

YouTubeVideo

data YouTubeVideo Source #

YouTube video item.

See: youTubeVideo smart constructor.

Instances

Eq YouTubeVideo Source # 
Data YouTubeVideo Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> YouTubeVideo -> c YouTubeVideo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c YouTubeVideo #

toConstr :: YouTubeVideo -> Constr #

dataTypeOf :: YouTubeVideo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c YouTubeVideo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c YouTubeVideo) #

gmapT :: (forall b. Data b => b -> b) -> YouTubeVideo -> YouTubeVideo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> YouTubeVideo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> YouTubeVideo -> r #

gmapQ :: (forall d. Data d => d -> u) -> YouTubeVideo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> YouTubeVideo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> YouTubeVideo -> m YouTubeVideo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> YouTubeVideo -> m YouTubeVideo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> YouTubeVideo -> m YouTubeVideo #

Show YouTubeVideo Source # 
Generic YouTubeVideo Source # 

Associated Types

type Rep YouTubeVideo :: * -> * #

ToJSON YouTubeVideo Source # 
FromJSON YouTubeVideo Source # 
type Rep YouTubeVideo Source # 
type Rep YouTubeVideo = D1 (MetaData "YouTubeVideo" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "YouTubeVideo'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ytvThumbnailURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ytvId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ytvTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ytvAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

youTubeVideo :: YouTubeVideo Source #

Creates a value of YouTubeVideo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ytvThumbnailURL :: Lens' YouTubeVideo (Maybe Text) Source #

URL of a thumbnail image of the YouTube video. Read-only.

ytvId :: Lens' YouTubeVideo (Maybe Text) Source #

YouTube API resource ID.

ytvTitle :: Lens' YouTubeVideo (Maybe Text) Source #

Title of the YouTube video. Read-only.

ytvAlternateLink :: Lens' YouTubeVideo (Maybe Text) Source #

URL that can be used to view the YouTube video. Read-only.

Teacher

data Teacher Source #

Teacher of a course.

See: teacher smart constructor.

Instances

Eq Teacher Source # 

Methods

(==) :: Teacher -> Teacher -> Bool #

(/=) :: Teacher -> Teacher -> Bool #

Data Teacher Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Teacher -> c Teacher #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Teacher #

toConstr :: Teacher -> Constr #

dataTypeOf :: Teacher -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Teacher) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Teacher) #

gmapT :: (forall b. Data b => b -> b) -> Teacher -> Teacher #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Teacher -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Teacher -> r #

gmapQ :: (forall d. Data d => d -> u) -> Teacher -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Teacher -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Teacher -> m Teacher #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Teacher -> m Teacher #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Teacher -> m Teacher #

Show Teacher Source # 
Generic Teacher Source # 

Associated Types

type Rep Teacher :: * -> * #

Methods

from :: Teacher -> Rep Teacher x #

to :: Rep Teacher x -> Teacher #

ToJSON Teacher Source # 
FromJSON Teacher Source # 
type Rep Teacher Source # 
type Rep Teacher = D1 (MetaData "Teacher" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Teacher'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tProFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserProFile))) (S1 (MetaSel (Just Symbol "_tUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

teacher :: Teacher Source #

Creates a value of Teacher with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tCourseId :: Lens' Teacher (Maybe Text) Source #

Identifier of the course. Read-only.

tProFile :: Lens' Teacher (Maybe UserProFile) Source #

Global user information for the teacher. Read-only.

tUserId :: Lens' Teacher (Maybe Text) Source #

Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user

CourseMaterialSet

data CourseMaterialSet Source #

A set of materials that appears on the "About" page of the course. These materials might include a syllabus, schedule, or other background information relating to the course as a whole.

See: courseMaterialSet smart constructor.

Instances

Eq CourseMaterialSet Source # 
Data CourseMaterialSet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseMaterialSet -> c CourseMaterialSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseMaterialSet #

toConstr :: CourseMaterialSet -> Constr #

dataTypeOf :: CourseMaterialSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CourseMaterialSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseMaterialSet) #

gmapT :: (forall b. Data b => b -> b) -> CourseMaterialSet -> CourseMaterialSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseMaterialSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseMaterialSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseMaterialSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseMaterialSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseMaterialSet -> m CourseMaterialSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseMaterialSet -> m CourseMaterialSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseMaterialSet -> m CourseMaterialSet #

Show CourseMaterialSet Source # 
Generic CourseMaterialSet Source # 
ToJSON CourseMaterialSet Source # 
FromJSON CourseMaterialSet Source # 
type Rep CourseMaterialSet Source # 
type Rep CourseMaterialSet = D1 (MetaData "CourseMaterialSet" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "CourseMaterialSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cmsMaterials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseMaterial]))) (S1 (MetaSel (Just Symbol "_cmsTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

courseMaterialSet :: CourseMaterialSet Source #

Creates a value of CourseMaterialSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cmsMaterials :: Lens' CourseMaterialSet [CourseMaterial] Source #

Materials attached to this set.

Name

data Name Source #

Details of the user's name.

See: name smart constructor.

Instances

Eq Name Source # 

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Data Name Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Name -> c Name #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Name #

toConstr :: Name -> Constr #

dataTypeOf :: Name -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Name) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Name) #

gmapT :: (forall b. Data b => b -> b) -> Name -> Name #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQ :: (forall d. Data d => d -> u) -> Name -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Name -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

Show Name Source # 

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Generic Name Source # 

Associated Types

type Rep Name :: * -> * #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

ToJSON Name Source # 
FromJSON Name Source # 
type Rep Name Source # 
type Rep Name = D1 (MetaData "Name" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Name'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_nGivenName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_nFullName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_nFamilyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

name :: Name Source #

Creates a value of Name with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nGivenName :: Lens' Name (Maybe Text) Source #

The user's first name. Read-only.

nFullName :: Lens' Name (Maybe Text) Source #

The user's full name formed by concatenating the first and last name values. Read-only.

nFamilyName :: Lens' Name (Maybe Text) Source #

The user's last name. Read-only.

ListCoursesResponse

data ListCoursesResponse Source #

Response when listing courses.

See: listCoursesResponse smart constructor.

Instances

Eq ListCoursesResponse Source # 
Data ListCoursesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListCoursesResponse -> c ListCoursesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListCoursesResponse #

toConstr :: ListCoursesResponse -> Constr #

dataTypeOf :: ListCoursesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListCoursesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListCoursesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListCoursesResponse -> ListCoursesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListCoursesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListCoursesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListCoursesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListCoursesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListCoursesResponse -> m ListCoursesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCoursesResponse -> m ListCoursesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCoursesResponse -> m ListCoursesResponse #

Show ListCoursesResponse Source # 
Generic ListCoursesResponse Source # 
ToJSON ListCoursesResponse Source # 
FromJSON ListCoursesResponse Source # 
type Rep ListCoursesResponse Source # 
type Rep ListCoursesResponse = D1 (MetaData "ListCoursesResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListCoursesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcrCourses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Course])))))

listCoursesResponse :: ListCoursesResponse Source #

Creates a value of ListCoursesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lcrNextPageToken :: Lens' ListCoursesResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lcrCourses :: Lens' ListCoursesResponse [Course] Source #

Courses that match the list request.

TurnInStudentSubmissionRequest

data TurnInStudentSubmissionRequest Source #

Request to turn in a student submission.

See: turnInStudentSubmissionRequest smart constructor.

Instances

Eq TurnInStudentSubmissionRequest Source # 
Data TurnInStudentSubmissionRequest Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TurnInStudentSubmissionRequest -> c TurnInStudentSubmissionRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TurnInStudentSubmissionRequest #

toConstr :: TurnInStudentSubmissionRequest -> Constr #

dataTypeOf :: TurnInStudentSubmissionRequest -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TurnInStudentSubmissionRequest) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TurnInStudentSubmissionRequest) #

gmapT :: (forall b. Data b => b -> b) -> TurnInStudentSubmissionRequest -> TurnInStudentSubmissionRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TurnInStudentSubmissionRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TurnInStudentSubmissionRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> TurnInStudentSubmissionRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TurnInStudentSubmissionRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TurnInStudentSubmissionRequest -> m TurnInStudentSubmissionRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TurnInStudentSubmissionRequest -> m TurnInStudentSubmissionRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TurnInStudentSubmissionRequest -> m TurnInStudentSubmissionRequest #

Show TurnInStudentSubmissionRequest Source # 
Generic TurnInStudentSubmissionRequest Source # 
ToJSON TurnInStudentSubmissionRequest Source # 
FromJSON TurnInStudentSubmissionRequest Source # 
type Rep TurnInStudentSubmissionRequest Source # 
type Rep TurnInStudentSubmissionRequest = D1 (MetaData "TurnInStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "TurnInStudentSubmissionRequest'" PrefixI False) U1)

turnInStudentSubmissionRequest :: TurnInStudentSubmissionRequest Source #

Creates a value of TurnInStudentSubmissionRequest with the minimum fields required to make a request.

UserProFile

data UserProFile Source #

Global information for a user.

See: userProFile smart constructor.

Instances

Eq UserProFile Source # 
Data UserProFile Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserProFile -> c UserProFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserProFile #

toConstr :: UserProFile -> Constr #

dataTypeOf :: UserProFile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UserProFile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserProFile) #

gmapT :: (forall b. Data b => b -> b) -> UserProFile -> UserProFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserProFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserProFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserProFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserProFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserProFile -> m UserProFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserProFile -> m UserProFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserProFile -> m UserProFile #

Show UserProFile Source # 
Generic UserProFile Source # 

Associated Types

type Rep UserProFile :: * -> * #

ToJSON UserProFile Source # 
FromJSON UserProFile Source # 
type Rep UserProFile Source # 
type Rep UserProFile = D1 (MetaData "UserProFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "UserProFile'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_upfPhotoURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upfName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Name)))) ((:*:) (S1 (MetaSel (Just Symbol "_upfEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_upfId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_upfPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GlobalPermission])))))))

userProFile :: UserProFile Source #

Creates a value of UserProFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

upfPhotoURL :: Lens' UserProFile (Maybe Text) Source #

URL of user's profile photo. Read-only.

upfName :: Lens' UserProFile (Maybe Name) Source #

Name of the user. Read-only.

upfEmailAddress :: Lens' UserProFile (Maybe Text) Source #

Email address of the user. Read-only.

upfId :: Lens' UserProFile (Maybe Text) Source #

Identifier of the user. Read-only.

upfPermissions :: Lens' UserProFile [GlobalPermission] Source #

Global permissions of the user. Read-only.

DriveFolder

data DriveFolder Source #

Representation of a Google Drive folder.

See: driveFolder smart constructor.

Instances

Eq DriveFolder Source # 
Data DriveFolder Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DriveFolder -> c DriveFolder #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DriveFolder #

toConstr :: DriveFolder -> Constr #

dataTypeOf :: DriveFolder -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DriveFolder) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DriveFolder) #

gmapT :: (forall b. Data b => b -> b) -> DriveFolder -> DriveFolder #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DriveFolder -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DriveFolder -> r #

gmapQ :: (forall d. Data d => d -> u) -> DriveFolder -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DriveFolder -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DriveFolder -> m DriveFolder #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFolder -> m DriveFolder #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFolder -> m DriveFolder #

Show DriveFolder Source # 
Generic DriveFolder Source # 

Associated Types

type Rep DriveFolder :: * -> * #

ToJSON DriveFolder Source # 
FromJSON DriveFolder Source # 
type Rep DriveFolder Source # 
type Rep DriveFolder = D1 (MetaData "DriveFolder" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "DriveFolder'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

driveFolder :: DriveFolder Source #

Creates a value of DriveFolder with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dId :: Lens' DriveFolder (Maybe Text) Source #

Drive API resource ID.

dTitle :: Lens' DriveFolder (Maybe Text) Source #

Title of the Drive folder. Read-only.

dAlternateLink :: Lens' DriveFolder (Maybe Text) Source #

URL that can be used to access the Drive folder. Read-only.

MultipleChoiceQuestion

data MultipleChoiceQuestion Source #

Additional details for multiple-choice questions.

See: multipleChoiceQuestion smart constructor.

Instances

Eq MultipleChoiceQuestion Source # 
Data MultipleChoiceQuestion Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MultipleChoiceQuestion -> c MultipleChoiceQuestion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MultipleChoiceQuestion #

toConstr :: MultipleChoiceQuestion -> Constr #

dataTypeOf :: MultipleChoiceQuestion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MultipleChoiceQuestion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MultipleChoiceQuestion) #

gmapT :: (forall b. Data b => b -> b) -> MultipleChoiceQuestion -> MultipleChoiceQuestion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MultipleChoiceQuestion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MultipleChoiceQuestion -> r #

gmapQ :: (forall d. Data d => d -> u) -> MultipleChoiceQuestion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MultipleChoiceQuestion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MultipleChoiceQuestion -> m MultipleChoiceQuestion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MultipleChoiceQuestion -> m MultipleChoiceQuestion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MultipleChoiceQuestion -> m MultipleChoiceQuestion #

Show MultipleChoiceQuestion Source # 
Generic MultipleChoiceQuestion Source # 
ToJSON MultipleChoiceQuestion Source # 
FromJSON MultipleChoiceQuestion Source # 
type Rep MultipleChoiceQuestion Source # 
type Rep MultipleChoiceQuestion = D1 (MetaData "MultipleChoiceQuestion" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "MultipleChoiceQuestion'" PrefixI True) (S1 (MetaSel (Just Symbol "_mcqChoices") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

multipleChoiceQuestion :: MultipleChoiceQuestion Source #

Creates a value of MultipleChoiceQuestion with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Course

data Course Source #

A Course in Classroom.

See: course smart constructor.

Instances

Eq Course Source # 

Methods

(==) :: Course -> Course -> Bool #

(/=) :: Course -> Course -> Bool #

Data Course Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Course -> c Course #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Course #

toConstr :: Course -> Constr #

dataTypeOf :: Course -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Course) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Course) #

gmapT :: (forall b. Data b => b -> b) -> Course -> Course #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Course -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Course -> r #

gmapQ :: (forall d. Data d => d -> u) -> Course -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Course -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Course -> m Course #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Course -> m Course #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Course -> m Course #

Show Course Source # 
Generic Course Source # 

Associated Types

type Rep Course :: * -> * #

Methods

from :: Course -> Rep Course x #

to :: Rep Course x -> Course #

ToJSON Course Source # 
FromJSON Course Source # 
type Rep Course Source # 
type Rep Course = D1 (MetaData "Course" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Course'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cRoom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cCourseMaterialSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseMaterialSet]))) (S1 (MetaSel (Just Symbol "_cTeacherGroupEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cTeacherFolder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFolder))) (S1 (MetaSel (Just Symbol "_cCourseState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cGuardiansEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cEnrollmentCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cCourseGroupEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_cDescriptionHeading") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cSection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

cCreationTime :: Lens' Course (Maybe Text) Source #

Creation time of the course. Specifying this field in a course update mask results in an error. Read-only.

cRoom :: Lens' Course (Maybe Text) Source #

Optional room location. For example, "301". If set, this field must be a valid UTF-8 string and no longer than 650 characters.

cCourseMaterialSets :: Lens' Course [CourseMaterialSet] Source #

Sets of materials that appear on the "about" page of this course. Read-only.

cTeacherGroupEmail :: Lens' Course (Maybe Text) Source #

The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions. Read-only.

cTeacherFolder :: Lens' Course (Maybe DriveFolder) Source #

Information about a Drive Folder that is shared with all teachers of the course. This field will only be set for teachers of the course and domain administrators. Read-only.

cCourseState :: Lens' Course (Maybe Text) Source #

State of the course. If unspecified, the default state is `PROVISIONED`.

cGuardiansEnabled :: Lens' Course (Maybe Bool) Source #

Whether or not guardian notifications are enabled for this course. Read-only.

cEnrollmentCode :: Lens' Course (Maybe Text) Source #

Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error. Read-only.

cUpdateTime :: Lens' Course (Maybe Text) Source #

Time of the most recent update to this course. Specifying this field in a course update mask results in an error. Read-only.

cOwnerId :: Lens' Course (Maybe Text) Source #

The identifier of the owner of a course. When specified as a parameter of a create course request, this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user This must be set in a create request. Specifying this field in a course update mask results in an `INVALID_ARGUMENT` error.

cName :: Lens' Course (Maybe Text) Source #

Name of the course. For example, "10th Grade Biology". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.

cId :: Lens' Course (Maybe Text) Source #

Identifier for this course assigned by Classroom. When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask results in an error.

cAlternateLink :: Lens' Course (Maybe Text) Source #

Absolute link to this course in the Classroom web UI. Read-only.

cCourseGroupEmail :: Lens' Course (Maybe Text) Source #

The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions. Read-only.

cDescription :: Lens' Course (Maybe Text) Source #

Optional description. For example, "We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.

cDescriptionHeading :: Lens' Course (Maybe Text) Source #

Optional heading for the description. For example, "Welcome to 10th Grade Biology." If set, this field must be a valid UTF-8 string and no longer than 3600 characters.

cSection :: Lens' Course (Maybe Text) Source #

Section of the course. For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.

TimeOfDay'

data TimeOfDay' Source #

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may chose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

See: timeOfDay smart constructor.

Instances

Eq TimeOfDay' Source # 
Data TimeOfDay' Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeOfDay' -> c TimeOfDay' #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeOfDay' #

toConstr :: TimeOfDay' -> Constr #

dataTypeOf :: TimeOfDay' -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TimeOfDay') #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeOfDay') #

gmapT :: (forall b. Data b => b -> b) -> TimeOfDay' -> TimeOfDay' #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfDay' -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfDay' -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimeOfDay' -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeOfDay' -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeOfDay' -> m TimeOfDay' #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfDay' -> m TimeOfDay' #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfDay' -> m TimeOfDay' #

Show TimeOfDay' Source # 
Generic TimeOfDay' Source # 

Associated Types

type Rep TimeOfDay' :: * -> * #

ToJSON TimeOfDay' Source # 
FromJSON TimeOfDay' Source # 
type Rep TimeOfDay' Source # 
type Rep TimeOfDay' = D1 (MetaData "TimeOfDay'" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "TimeOfDay''" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_todNanos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_todHours") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) ((:*:) (S1 (MetaSel (Just Symbol "_todMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_todSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

timeOfDay :: TimeOfDay' Source #

Creates a value of TimeOfDay with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

todNanos :: Lens' TimeOfDay' (Maybe Int32) Source #

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

todHours :: Lens' TimeOfDay' (Maybe Int32) Source #

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

todMinutes :: Lens' TimeOfDay' (Maybe Int32) Source #

Minutes of hour of day. Must be from 0 to 59.

todSeconds :: Lens' TimeOfDay' (Maybe Int32) Source #

Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

ListGuardianInvitationsResponse

data ListGuardianInvitationsResponse Source #

Response when listing guardian invitations.

See: listGuardianInvitationsResponse smart constructor.

Instances

Eq ListGuardianInvitationsResponse Source # 
Data ListGuardianInvitationsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListGuardianInvitationsResponse -> c ListGuardianInvitationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListGuardianInvitationsResponse #

toConstr :: ListGuardianInvitationsResponse -> Constr #

dataTypeOf :: ListGuardianInvitationsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListGuardianInvitationsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListGuardianInvitationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListGuardianInvitationsResponse -> ListGuardianInvitationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListGuardianInvitationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListGuardianInvitationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListGuardianInvitationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListGuardianInvitationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListGuardianInvitationsResponse -> m ListGuardianInvitationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGuardianInvitationsResponse -> m ListGuardianInvitationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGuardianInvitationsResponse -> m ListGuardianInvitationsResponse #

Show ListGuardianInvitationsResponse Source # 
Generic ListGuardianInvitationsResponse Source # 
ToJSON ListGuardianInvitationsResponse Source # 
FromJSON ListGuardianInvitationsResponse Source # 
type Rep ListGuardianInvitationsResponse Source # 
type Rep ListGuardianInvitationsResponse = D1 (MetaData "ListGuardianInvitationsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListGuardianInvitationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lgirGuardianInvitations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GuardianInvitation])))))

listGuardianInvitationsResponse :: ListGuardianInvitationsResponse Source #

Creates a value of ListGuardianInvitationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgirNextPageToken :: Lens' ListGuardianInvitationsResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lgirGuardianInvitations :: Lens' ListGuardianInvitationsResponse [GuardianInvitation] Source #

Guardian invitations that matched the list request.

Assignment

data Assignment Source #

Additional details for assignments.

See: assignment smart constructor.

Instances

Eq Assignment Source # 
Data Assignment Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Assignment -> c Assignment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Assignment #

toConstr :: Assignment -> Constr #

dataTypeOf :: Assignment -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Assignment) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Assignment) #

gmapT :: (forall b. Data b => b -> b) -> Assignment -> Assignment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Assignment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Assignment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Assignment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Assignment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

Show Assignment Source # 
Generic Assignment Source # 

Associated Types

type Rep Assignment :: * -> * #

ToJSON Assignment Source # 
FromJSON Assignment Source # 
type Rep Assignment Source # 
type Rep Assignment = D1 (MetaData "Assignment" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "Assignment'" PrefixI True) (S1 (MetaSel (Just Symbol "_aStudentWorkFolder") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DriveFolder))))

assignment :: Assignment Source #

Creates a value of Assignment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aStudentWorkFolder :: Lens' Assignment (Maybe DriveFolder) Source #

Drive folder where attachments from student submissions are placed. This is only populated for course teachers.

ListStudentsResponse

data ListStudentsResponse Source #

Response when listing students.

See: listStudentsResponse smart constructor.

Instances

Eq ListStudentsResponse Source # 
Data ListStudentsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListStudentsResponse -> c ListStudentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListStudentsResponse #

toConstr :: ListStudentsResponse -> Constr #

dataTypeOf :: ListStudentsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListStudentsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListStudentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListStudentsResponse -> ListStudentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListStudentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListStudentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListStudentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListStudentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListStudentsResponse -> m ListStudentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStudentsResponse -> m ListStudentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStudentsResponse -> m ListStudentsResponse #

Show ListStudentsResponse Source # 
Generic ListStudentsResponse Source # 
ToJSON ListStudentsResponse Source # 
FromJSON ListStudentsResponse Source # 
type Rep ListStudentsResponse Source # 
type Rep ListStudentsResponse = D1 (MetaData "ListStudentsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListStudentsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsrStudents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Student])))))

listStudentsResponse :: ListStudentsResponse Source #

Creates a value of ListStudentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsrNextPageToken :: Lens' ListStudentsResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lsrStudents :: Lens' ListStudentsResponse [Student] Source #

Students who match the list request.

SharedDriveFile

data SharedDriveFile Source #

Drive file that is used as material for course work.

See: sharedDriveFile smart constructor.

Instances

Eq SharedDriveFile Source # 
Data SharedDriveFile Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SharedDriveFile -> c SharedDriveFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SharedDriveFile #

toConstr :: SharedDriveFile -> Constr #

dataTypeOf :: SharedDriveFile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SharedDriveFile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SharedDriveFile) #

gmapT :: (forall b. Data b => b -> b) -> SharedDriveFile -> SharedDriveFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SharedDriveFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SharedDriveFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> SharedDriveFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SharedDriveFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SharedDriveFile -> m SharedDriveFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SharedDriveFile -> m SharedDriveFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SharedDriveFile -> m SharedDriveFile #

Show SharedDriveFile Source # 
Generic SharedDriveFile Source # 
ToJSON SharedDriveFile Source # 
FromJSON SharedDriveFile Source # 
type Rep SharedDriveFile Source # 
type Rep SharedDriveFile = D1 (MetaData "SharedDriveFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "SharedDriveFile'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sdfDriveFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFile))) (S1 (MetaSel (Just Symbol "_sdfShareMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

sharedDriveFile :: SharedDriveFile Source #

Creates a value of SharedDriveFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdfShareMode :: Lens' SharedDriveFile (Maybe Text) Source #

Mechanism by which students access the Drive item.

CourseAlias

data CourseAlias Source #

Alternative identifier for a course. An alias uniquely identifies a course. It must be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and can be created only by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console project ID that created the alias and can be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return `ALREADY_EXISTS` if a previous one has succeeded.

See: courseAlias smart constructor.

Instances

Eq CourseAlias Source # 
Data CourseAlias Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseAlias -> c CourseAlias #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseAlias #

toConstr :: CourseAlias -> Constr #

dataTypeOf :: CourseAlias -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CourseAlias) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseAlias) #

gmapT :: (forall b. Data b => b -> b) -> CourseAlias -> CourseAlias #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseAlias -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseAlias -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseAlias -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseAlias -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseAlias -> m CourseAlias #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseAlias -> m CourseAlias #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseAlias -> m CourseAlias #

Show CourseAlias Source # 
Generic CourseAlias Source # 

Associated Types

type Rep CourseAlias :: * -> * #

ToJSON CourseAlias Source # 
FromJSON CourseAlias Source # 
type Rep CourseAlias Source # 
type Rep CourseAlias = D1 (MetaData "CourseAlias" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" True) (C1 (MetaCons "CourseAlias'" PrefixI True) (S1 (MetaSel (Just Symbol "_caAlias") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

courseAlias :: CourseAlias Source #

Creates a value of CourseAlias with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

caAlias :: Lens' CourseAlias (Maybe Text) Source #

Alias string. The format of the string indicates the desired alias scoping. * `d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:` indicates a project-scoped alias. Example: `p:abc123` This field has a maximum length of 256 characters.

Form

data Form Source #

Google Forms item.

See: form smart constructor.

Instances

Eq Form Source # 

Methods

(==) :: Form -> Form -> Bool #

(/=) :: Form -> Form -> Bool #

Data Form Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Form -> c Form #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Form #

toConstr :: Form -> Constr #

dataTypeOf :: Form -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Form) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Form) #

gmapT :: (forall b. Data b => b -> b) -> Form -> Form #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r #

gmapQ :: (forall d. Data d => d -> u) -> Form -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Form -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Form -> m Form #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form #

Show Form Source # 

Methods

showsPrec :: Int -> Form -> ShowS #

show :: Form -> String #

showList :: [Form] -> ShowS #

Generic Form Source # 

Associated Types

type Rep Form :: * -> * #

Methods

from :: Form -> Rep Form x #

to :: Rep Form x -> Form #

ToJSON Form Source # 
FromJSON Form Source # 
type Rep Form Source # 
type Rep Form = D1 (MetaData "Form" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Form'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fThumbnailURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fFormURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_fTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_fResponseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

form :: Form Source #

Creates a value of Form with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fThumbnailURL :: Lens' Form (Maybe Text) Source #

URL of a thumbnail image of the Form. Read-only.

fFormURL :: Lens' Form (Maybe Text) Source #

URL of the form.

fTitle :: Lens' Form (Maybe Text) Source #

Title of the Form. Read-only.

fResponseURL :: Lens' Form (Maybe Text) Source #

URL of the form responses document. Only set if respsonses have been recorded and only when the requesting user is an editor of the form. Read-only.

ListTeachersResponse

data ListTeachersResponse Source #

Response when listing teachers.

See: listTeachersResponse smart constructor.

Instances

Eq ListTeachersResponse Source # 
Data ListTeachersResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTeachersResponse -> c ListTeachersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTeachersResponse #

toConstr :: ListTeachersResponse -> Constr #

dataTypeOf :: ListTeachersResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListTeachersResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTeachersResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListTeachersResponse -> ListTeachersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTeachersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTeachersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTeachersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTeachersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTeachersResponse -> m ListTeachersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTeachersResponse -> m ListTeachersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTeachersResponse -> m ListTeachersResponse #

Show ListTeachersResponse Source # 
Generic ListTeachersResponse Source # 
ToJSON ListTeachersResponse Source # 
FromJSON ListTeachersResponse Source # 
type Rep ListTeachersResponse Source # 
type Rep ListTeachersResponse = D1 (MetaData "ListTeachersResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "ListTeachersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ltrTeachers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Teacher])))))

listTeachersResponse :: ListTeachersResponse Source #

Creates a value of ListTeachersResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ltrNextPageToken :: Lens' ListTeachersResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

ltrTeachers :: Lens' ListTeachersResponse [Teacher] Source #

Teachers who match the list request.

Student

data Student Source #

Student in a course.

See: student smart constructor.

Instances

Eq Student Source # 

Methods

(==) :: Student -> Student -> Bool #

(/=) :: Student -> Student -> Bool #

Data Student Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Student -> c Student #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Student #

toConstr :: Student -> Constr #

dataTypeOf :: Student -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Student) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Student) #

gmapT :: (forall b. Data b => b -> b) -> Student -> Student #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Student -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Student -> r #

gmapQ :: (forall d. Data d => d -> u) -> Student -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Student -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Student -> m Student #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Student -> m Student #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Student -> m Student #

Show Student Source # 
Generic Student Source # 

Associated Types

type Rep Student :: * -> * #

Methods

from :: Student -> Rep Student x #

to :: Rep Student x -> Student #

ToJSON Student Source # 
FromJSON Student Source # 
type Rep Student Source # 
type Rep Student = D1 (MetaData "Student" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-Euho0DOVp7IFBMFcN4kr1b" False) (C1 (MetaCons "Student'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sProFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserProFile)))) ((:*:) (S1 (MetaSel (Just Symbol "_sStudentWorkFolder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFolder))) (S1 (MetaSel (Just Symbol "_sUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

student :: Student Source #

Creates a value of Student with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sCourseId :: Lens' Student (Maybe Text) Source #

Identifier of the course. Read-only.

sProFile :: Lens' Student (Maybe UserProFile) Source #

Global user information for the student. Read-only.

sStudentWorkFolder :: Lens' Student (Maybe DriveFolder) Source #

Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only.

sUserId :: Lens' Student (Maybe Text) Source #

Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user