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 #

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"] #

View your Google Classroom class rosters

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

Manage your Google Classroom classes

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

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"] #

View the email addresses of people in your classes

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

View the profile photos of people in your classes

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

Manage your course work and view your grades in Google Classroom

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

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

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

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"] #

Manage your Google Classroom class rosters

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

View your Google Classroom classes

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

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"] #

View your course work and grades in Google Classroom

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

View your course work and grades in Google Classroom

ListCourseAliasesResponse

data ListCourseAliasesResponse #

Response when listing course aliases.

See: listCourseAliasesResponse smart constructor.

Instances

Eq ListCourseAliasesResponse # 
Data ListCourseAliasesResponse # 

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 # 
Generic ListCourseAliasesResponse # 
ToJSON ListCourseAliasesResponse # 
FromJSON ListCourseAliasesResponse # 
type Rep ListCourseAliasesResponse # 
type Rep ListCourseAliasesResponse = D1 (MetaData "ListCourseAliasesResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

CourseWork

data CourseWork #

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

See: courseWork smart constructor.

Instances

Eq CourseWork # 
Data CourseWork # 

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 # 
Generic CourseWork # 

Associated Types

type Rep CourseWork :: * -> * #

ToJSON CourseWork # 
FromJSON CourseWork # 
type Rep CourseWork # 
type Rep CourseWork = D1 (MetaData "CourseWork" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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) #

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

cwState :: Lens' CourseWork (Maybe Text) #

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

cwMaterials :: Lens' CourseWork [Material] #

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

cwCourseId :: Lens' CourseWork (Maybe Text) #

Identifier of the course. Read-only.

cwMaxPoints :: Lens' CourseWork (Maybe Double) #

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) #

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

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

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) #

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) #

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

cwMultipleChoiceQuestion :: Lens' CourseWork (Maybe MultipleChoiceQuestion) #

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) #

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

cwSubmissionModificationMode :: Lens' CourseWork (Maybe Text) #

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) #

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) #

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) #

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) #

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

cwDescription :: Lens' CourseWork (Maybe Text) #

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 #

Representation of a Google Drive file.

See: driveFile smart constructor.

Instances

Eq DriveFile # 
Data DriveFile # 

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 # 
Generic DriveFile # 

Associated Types

type Rep DriveFile :: * -> * #

ToJSON DriveFile # 
FromJSON DriveFile # 
type Rep DriveFile # 
type Rep DriveFile = D1 (MetaData "DriveFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

dfId :: Lens' DriveFile (Maybe Text) #

Drive API resource ID.

dfTitle :: Lens' DriveFile (Maybe Text) #

Title of the Drive item. Read-only.

dfAlternateLink :: Lens' DriveFile (Maybe Text) #

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

GuardianInvitation

data GuardianInvitation #

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

See: guardianInvitation smart constructor.

Instances

Eq GuardianInvitation # 
Data GuardianInvitation # 

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 # 
Generic GuardianInvitation # 
ToJSON GuardianInvitation # 
FromJSON GuardianInvitation # 
type Rep GuardianInvitation # 
type Rep GuardianInvitation = D1 (MetaData "GuardianInvitation" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

giStudentId :: Lens' GuardianInvitation (Maybe Text) #

ID of the student (in standard format)

giState :: Lens' GuardianInvitation (Maybe Text) #

The state that this invitation is in.

giInvitationId :: Lens' GuardianInvitation (Maybe Text) #

Unique identifier for this invitation. Read-only.

giInvitedEmailAddress :: Lens' GuardianInvitation (Maybe Text) #

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

ReturnStudentSubmissionRequest

data ReturnStudentSubmissionRequest #

Request to return a student submission.

See: returnStudentSubmissionRequest smart constructor.

Instances

Eq ReturnStudentSubmissionRequest # 
Data ReturnStudentSubmissionRequest # 

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 # 
Generic ReturnStudentSubmissionRequest # 
ToJSON ReturnStudentSubmissionRequest # 
FromJSON ReturnStudentSubmissionRequest # 
type Rep ReturnStudentSubmissionRequest # 
type Rep ReturnStudentSubmissionRequest = D1 (MetaData "ReturnStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" False) (C1 (MetaCons "ReturnStudentSubmissionRequest'" PrefixI False) U1)

returnStudentSubmissionRequest :: ReturnStudentSubmissionRequest #

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

ReclaimStudentSubmissionRequest

data ReclaimStudentSubmissionRequest #

Request to reclaim a student submission.

See: reclaimStudentSubmissionRequest smart constructor.

Instances

Eq ReclaimStudentSubmissionRequest # 
Data ReclaimStudentSubmissionRequest # 

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 # 
Generic ReclaimStudentSubmissionRequest # 
ToJSON ReclaimStudentSubmissionRequest # 
FromJSON ReclaimStudentSubmissionRequest # 
type Rep ReclaimStudentSubmissionRequest # 
type Rep ReclaimStudentSubmissionRequest = D1 (MetaData "ReclaimStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" False) (C1 (MetaCons "ReclaimStudentSubmissionRequest'" PrefixI False) U1)

reclaimStudentSubmissionRequest :: ReclaimStudentSubmissionRequest #

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

ListCourseWorkResponse

data ListCourseWorkResponse #

Response when listing course work.

See: listCourseWorkResponse smart constructor.

Instances

Eq ListCourseWorkResponse # 
Data ListCourseWorkResponse # 

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 # 
Generic ListCourseWorkResponse # 
ToJSON ListCourseWorkResponse # 
FromJSON ListCourseWorkResponse # 
type Rep ListCourseWorkResponse # 
type Rep ListCourseWorkResponse = D1 (MetaData "ListCourseWorkResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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] #

Course work items that match the request.

lcwrNextPageToken :: Lens' ListCourseWorkResponse (Maybe Text) #

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

Empty

data Empty #

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 # 

Methods

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

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

Data Empty # 

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 # 

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty # 

Associated Types

type Rep Empty :: * -> * #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

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

empty :: Empty #

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

GlobalPermission

data GlobalPermission #

Global user permission description.

See: globalPermission smart constructor.

Instances

Eq GlobalPermission # 
Data GlobalPermission # 

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 # 
Generic GlobalPermission # 
ToJSON GlobalPermission # 
FromJSON GlobalPermission # 
type Rep GlobalPermission # 
type Rep GlobalPermission = D1 (MetaData "GlobalPermission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" True) (C1 (MetaCons "GlobalPermission'" PrefixI True) (S1 (MetaSel (Just Symbol "_gpPermission") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

globalPermission :: GlobalPermission #

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 #

URL item.

See: link smart constructor.

link :: Link #

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) #

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

lURL :: Lens' Link (Maybe Text) #

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

lTitle :: Lens' Link (Maybe Text) #

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

AssignmentSubmission

data AssignmentSubmission #

Student work for an assignment.

See: assignmentSubmission smart constructor.

Instances

Eq AssignmentSubmission # 
Data AssignmentSubmission # 

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 # 
Generic AssignmentSubmission # 
ToJSON AssignmentSubmission # 
FromJSON AssignmentSubmission # 
type Rep AssignmentSubmission # 
type Rep AssignmentSubmission = D1 (MetaData "AssignmentSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" True) (C1 (MetaCons "AssignmentSubmission'" PrefixI True) (S1 (MetaSel (Just Symbol "_asAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Attachment]))))

assignmentSubmission :: AssignmentSubmission #

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] #

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 #

Request to modify the attachments of a student submission.

See: modifyAttachmentsRequest smart constructor.

Instances

Eq ModifyAttachmentsRequest # 
Data ModifyAttachmentsRequest # 

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 # 
Generic ModifyAttachmentsRequest # 
ToJSON ModifyAttachmentsRequest # 
FromJSON ModifyAttachmentsRequest # 
type Rep ModifyAttachmentsRequest # 
type Rep ModifyAttachmentsRequest = D1 (MetaData "ModifyAttachmentsRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" True) (C1 (MetaCons "ModifyAttachmentsRequest'" PrefixI True) (S1 (MetaSel (Just Symbol "_marAddAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Attachment]))))

modifyAttachmentsRequest :: ModifyAttachmentsRequest #

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] #

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

ListStudentSubmissionsResponse

data ListStudentSubmissionsResponse #

Response when listing student submissions.

See: listStudentSubmissionsResponse smart constructor.

Instances

Eq ListStudentSubmissionsResponse # 
Data ListStudentSubmissionsResponse # 

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 # 
Generic ListStudentSubmissionsResponse # 
ToJSON ListStudentSubmissionsResponse # 
FromJSON ListStudentSubmissionsResponse # 
type Rep ListStudentSubmissionsResponse # 
type Rep ListStudentSubmissionsResponse = D1 (MetaData "ListStudentSubmissionsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

Material

data Material #

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

See: material smart constructor.

Instances

Eq Material # 
Data Material # 

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 # 
Generic Material # 

Associated Types

type Rep Material :: * -> * #

Methods

from :: Material -> Rep Material x #

to :: Rep Material x -> Material #

ToJSON Material # 
FromJSON Material # 
type Rep Material # 
type Rep Material = D1 (MetaData "Material" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Google Drive file material.

mLink :: Lens' Material (Maybe Link) #

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) #

YouTube video material.

mForm :: Lens' Material (Maybe Form) #

Google Forms material.

MultipleChoiceSubmission

data MultipleChoiceSubmission #

Student work for a multiple-choice question.

See: multipleChoiceSubmission smart constructor.

Instances

Eq MultipleChoiceSubmission # 
Data MultipleChoiceSubmission # 

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 # 
Generic MultipleChoiceSubmission # 
ToJSON MultipleChoiceSubmission # 
FromJSON MultipleChoiceSubmission # 
type Rep MultipleChoiceSubmission # 
type Rep MultipleChoiceSubmission = D1 (MetaData "MultipleChoiceSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" True) (C1 (MetaCons "MultipleChoiceSubmission'" PrefixI True) (S1 (MetaSel (Just Symbol "_mcsAnswer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

multipleChoiceSubmission :: MultipleChoiceSubmission #

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:

mcsAnswer :: Lens' MultipleChoiceSubmission (Maybe Text) #

Student's select choice.

ListInvitationsResponse

data ListInvitationsResponse #

Response when listing invitations.

See: listInvitationsResponse smart constructor.

Instances

Eq ListInvitationsResponse # 
Data ListInvitationsResponse # 

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 # 
Generic ListInvitationsResponse # 
ToJSON ListInvitationsResponse # 
FromJSON ListInvitationsResponse # 
type Rep ListInvitationsResponse # 
type Rep ListInvitationsResponse = D1 (MetaData "ListInvitationsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

lirInvitations :: Lens' ListInvitationsResponse [Invitation] #

Invitations that match the list request.

Guardian

data Guardian #

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 # 
Data Guardian # 

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 # 
Generic Guardian # 

Associated Types

type Rep Guardian :: * -> * #

Methods

from :: Guardian -> Rep Guardian x #

to :: Rep Guardian x -> Guardian #

ToJSON Guardian # 
FromJSON Guardian # 
type Rep Guardian # 
type Rep Guardian = D1 (MetaData "Guardian" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Identifier for the student to whom the guardian relationship applies.

gGuardianId :: Lens' Guardian (Maybe Text) #

Identifier for the guardian.

gInvitedEmailAddress :: Lens' Guardian (Maybe Text) #

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

gGuardianProFile :: Lens' Guardian (Maybe UserProFile) #

User profile for the guardian.

CourseMaterial

data CourseMaterial #

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

See: courseMaterial smart constructor.

Instances

Eq CourseMaterial # 
Data CourseMaterial # 

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 # 
Generic CourseMaterial # 

Associated Types

type Rep CourseMaterial :: * -> * #

ToJSON CourseMaterial # 
FromJSON CourseMaterial # 
type Rep CourseMaterial # 
type Rep CourseMaterial = D1 (MetaData "CourseMaterial" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Google Drive file attachment.

cmLink :: Lens' CourseMaterial (Maybe Link) #

Link atatchment.

cmYouTubeVideo :: Lens' CourseMaterial (Maybe YouTubeVideo) #

Youtube video attachment.

cmForm :: Lens' CourseMaterial (Maybe Form) #

Google Forms attachment.

ShortAnswerSubmission

data ShortAnswerSubmission #

Student work for a short answer question.

See: shortAnswerSubmission smart constructor.

Instances

Eq ShortAnswerSubmission # 
Data ShortAnswerSubmission # 

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 # 
Generic ShortAnswerSubmission # 
ToJSON ShortAnswerSubmission # 
FromJSON ShortAnswerSubmission # 
type Rep ShortAnswerSubmission # 
type Rep ShortAnswerSubmission = D1 (MetaData "ShortAnswerSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" True) (C1 (MetaCons "ShortAnswerSubmission'" PrefixI True) (S1 (MetaSel (Just Symbol "_sasAnswer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

shortAnswerSubmission :: ShortAnswerSubmission #

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) #

Student response to a short-answer question.

Invitation

data Invitation #

An invitation to join a course.

See: invitation smart constructor.

Instances

Eq Invitation # 
Data Invitation # 

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 # 
Generic Invitation # 

Associated Types

type Rep Invitation :: * -> * #

ToJSON Invitation # 
FromJSON Invitation # 
type Rep Invitation # 
type Rep Invitation = D1 (MetaData "Invitation" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Identifier of the course to invite the user to.

iUserId :: Lens' Invitation (Maybe Text) #

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) #

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

iId :: Lens' Invitation (Maybe Text) #

Identifier assigned by Classroom. Read-only.

Attachment

data Attachment #

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

See: attachment smart constructor.

Instances

Eq Attachment # 
Data Attachment # 

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 # 
Generic Attachment # 

Associated Types

type Rep Attachment :: * -> * #

ToJSON Attachment # 
FromJSON Attachment # 
type Rep Attachment # 
type Rep Attachment = D1 (MetaData "Attachment" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Google Drive file attachment.

aLink :: Lens' Attachment (Maybe Link) #

Link attachment.

aYouTubeVideo :: Lens' Attachment (Maybe YouTubeVideo) #

Youtube video attachment.

aForm :: Lens' Attachment (Maybe Form) #

Google Forms attachment.

StudentSubmission

data StudentSubmission #

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 # 
Data StudentSubmission # 

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 # 
Generic StudentSubmission # 
ToJSON StudentSubmission # 
FromJSON StudentSubmission # 
type Rep StudentSubmission # 
type Rep StudentSubmission = D1 (MetaData "StudentSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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) #

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

ssLate :: Lens' StudentSubmission (Maybe Bool) #

Whether this submission is late. Read-only.

ssState :: Lens' StudentSubmission (Maybe Text) #

State of this submission. Read-only.

ssCourseId :: Lens' StudentSubmission (Maybe Text) #

Identifier of the course. Read-only.

ssMultipleChoiceSubmission :: Lens' StudentSubmission (Maybe MultipleChoiceSubmission) #

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

ssAssignmentSubmission :: Lens' StudentSubmission (Maybe AssignmentSubmission) #

Submission content when course_work_type is ASSIGNMENT .

ssShortAnswerSubmission :: Lens' StudentSubmission (Maybe ShortAnswerSubmission) #

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

ssAssociatedWithDeveloper :: Lens' StudentSubmission (Maybe Bool) #

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) #

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

ssUpdateTime :: Lens' StudentSubmission (Maybe Text) #

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) #

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

ssAssignedGrade :: Lens' StudentSubmission (Maybe Double) #

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) #

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

ssDraftGrade :: Lens' StudentSubmission (Maybe Double) #

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) #

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

ssCourseWorkId :: Lens' StudentSubmission (Maybe Text) #

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

ListGuardiansResponse

data ListGuardiansResponse #

Response when listing guardians.

See: listGuardiansResponse smart constructor.

Instances

Eq ListGuardiansResponse # 
Data ListGuardiansResponse # 

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 # 
Generic ListGuardiansResponse # 
ToJSON ListGuardiansResponse # 
FromJSON ListGuardiansResponse # 
type Rep ListGuardiansResponse # 
type Rep ListGuardiansResponse = D1 (MetaData "ListGuardiansResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

lgrGuardians :: Lens' ListGuardiansResponse [Guardian] #

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

Date

data Date #

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 # 

Methods

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

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

Data Date # 

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 # 

Methods

showsPrec :: Int -> Date -> ShowS #

show :: Date -> String #

showList :: [Date] -> ShowS #

Generic Date # 

Associated Types

type Rep Date :: * -> * #

Methods

from :: Date -> Rep Date x #

to :: Rep Date x -> Date #

ToJSON Date # 
FromJSON Date # 
type Rep Date # 
type Rep Date = D1 (MetaData "Date" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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) #

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

dMonth :: Lens' Date (Maybe Int32) #

Month of year. Must be from 1 to 12.

YouTubeVideo

data YouTubeVideo #

YouTube video item.

See: youTubeVideo smart constructor.

Instances

Eq YouTubeVideo # 
Data YouTubeVideo # 

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 # 
Generic YouTubeVideo # 

Associated Types

type Rep YouTubeVideo :: * -> * #

ToJSON YouTubeVideo # 
FromJSON YouTubeVideo # 
type Rep YouTubeVideo # 
type Rep YouTubeVideo = D1 (MetaData "YouTubeVideo" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

ytvId :: Lens' YouTubeVideo (Maybe Text) #

YouTube API resource ID.

ytvTitle :: Lens' YouTubeVideo (Maybe Text) #

Title of the YouTube video. Read-only.

ytvAlternateLink :: Lens' YouTubeVideo (Maybe Text) #

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

Teacher

data Teacher #

Teacher of a course.

See: teacher smart constructor.

Instances

Eq Teacher # 

Methods

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

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

Data Teacher # 

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 # 
Generic Teacher # 

Associated Types

type Rep Teacher :: * -> * #

Methods

from :: Teacher -> Rep Teacher x #

to :: Rep Teacher x -> Teacher #

ToJSON Teacher # 
FromJSON Teacher # 
type Rep Teacher # 
type Rep Teacher = D1 (MetaData "Teacher" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Identifier of the course. Read-only.

tProFile :: Lens' Teacher (Maybe UserProFile) #

Global user information for the teacher. Read-only.

tUserId :: Lens' Teacher (Maybe Text) #

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 #

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 # 
Data CourseMaterialSet # 

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 # 
Generic CourseMaterialSet # 
ToJSON CourseMaterialSet # 
FromJSON CourseMaterialSet # 
type Rep CourseMaterialSet # 
type Rep CourseMaterialSet = D1 (MetaData "CourseMaterialSet" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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] #

Materials attached to this set.

cmsTitle :: Lens' CourseMaterialSet (Maybe Text) #

Title for this set.

Name

data Name #

Details of the user's name.

See: name smart constructor.

Instances

Eq Name # 

Methods

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

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

Data Name # 

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 # 

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Generic Name # 

Associated Types

type Rep Name :: * -> * #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

ToJSON Name # 
FromJSON Name # 
type Rep Name # 
type Rep Name = D1 (MetaData "Name" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

The user's first name. Read-only.

nFullName :: Lens' Name (Maybe Text) #

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

nFamilyName :: Lens' Name (Maybe Text) #

The user's last name. Read-only.

ListCoursesResponse

data ListCoursesResponse #

Response when listing courses.

See: listCoursesResponse smart constructor.

Instances

Eq ListCoursesResponse # 
Data ListCoursesResponse # 

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 # 
Generic ListCoursesResponse # 
ToJSON ListCoursesResponse # 
FromJSON ListCoursesResponse # 
type Rep ListCoursesResponse # 
type Rep ListCoursesResponse = D1 (MetaData "ListCoursesResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

lcrCourses :: Lens' ListCoursesResponse [Course] #

Courses that match the list request.

TurnInStudentSubmissionRequest

data TurnInStudentSubmissionRequest #

Request to turn in a student submission.

See: turnInStudentSubmissionRequest smart constructor.

Instances

Eq TurnInStudentSubmissionRequest # 
Data TurnInStudentSubmissionRequest # 

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 # 
Generic TurnInStudentSubmissionRequest # 
ToJSON TurnInStudentSubmissionRequest # 
FromJSON TurnInStudentSubmissionRequest # 
type Rep TurnInStudentSubmissionRequest # 
type Rep TurnInStudentSubmissionRequest = D1 (MetaData "TurnInStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" False) (C1 (MetaCons "TurnInStudentSubmissionRequest'" PrefixI False) U1)

turnInStudentSubmissionRequest :: TurnInStudentSubmissionRequest #

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

UserProFile

data UserProFile #

Global information for a user.

See: userProFile smart constructor.

Instances

Eq UserProFile # 
Data UserProFile # 

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 # 
Generic UserProFile # 

Associated Types

type Rep UserProFile :: * -> * #

ToJSON UserProFile # 
FromJSON UserProFile # 
type Rep UserProFile # 
type Rep UserProFile = D1 (MetaData "UserProFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

upfName :: Lens' UserProFile (Maybe Name) #

Name of the user. Read-only.

upfEmailAddress :: Lens' UserProFile (Maybe Text) #

Email address of the user. Read-only.

upfId :: Lens' UserProFile (Maybe Text) #

Identifier of the user. Read-only.

upfPermissions :: Lens' UserProFile [GlobalPermission] #

Global permissions of the user. Read-only.

DriveFolder

data DriveFolder #

Representation of a Google Drive folder.

See: driveFolder smart constructor.

Instances

Eq DriveFolder # 
Data DriveFolder # 

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 # 
Generic DriveFolder # 

Associated Types

type Rep DriveFolder :: * -> * #

ToJSON DriveFolder # 
FromJSON DriveFolder # 
type Rep DriveFolder # 
type Rep DriveFolder = D1 (MetaData "DriveFolder" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Drive API resource ID.

dTitle :: Lens' DriveFolder (Maybe Text) #

Title of the Drive folder. Read-only.

dAlternateLink :: Lens' DriveFolder (Maybe Text) #

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

MultipleChoiceQuestion

data MultipleChoiceQuestion #

Additional details for multiple-choice questions.

See: multipleChoiceQuestion smart constructor.

Instances

Eq MultipleChoiceQuestion # 
Data MultipleChoiceQuestion # 

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 # 
Generic MultipleChoiceQuestion # 
ToJSON MultipleChoiceQuestion # 
FromJSON MultipleChoiceQuestion # 
type Rep MultipleChoiceQuestion # 
type Rep MultipleChoiceQuestion = D1 (MetaData "MultipleChoiceQuestion" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" True) (C1 (MetaCons "MultipleChoiceQuestion'" PrefixI True) (S1 (MetaSel (Just Symbol "_mcqChoices") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

multipleChoiceQuestion :: MultipleChoiceQuestion #

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 #

A Course in Classroom.

See: course smart constructor.

Instances

Eq Course # 

Methods

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

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

Data Course # 

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 # 
Generic Course # 

Associated Types

type Rep Course :: * -> * #

Methods

from :: Course -> Rep Course x #

to :: Rep Course x -> Course #

ToJSON Course # 
FromJSON Course # 
type Rep Course # 
type Rep Course = D1 (MetaData "Course" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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) #

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

cRoom :: Lens' Course (Maybe Text) #

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] #

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

cTeacherGroupEmail :: Lens' Course (Maybe Text) #

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) #

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) #

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

cGuardiansEnabled :: Lens' Course (Maybe Bool) #

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

cEnrollmentCode :: Lens' Course (Maybe Text) #

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) #

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) #

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) #

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) #

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) #

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

cCourseGroupEmail :: Lens' Course (Maybe Text) #

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) #

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) #

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) #

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' #

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' # 
Data TimeOfDay' # 

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' # 
Generic TimeOfDay' # 

Associated Types

type Rep TimeOfDay' :: * -> * #

ToJSON TimeOfDay' # 
FromJSON TimeOfDay' # 
type Rep TimeOfDay' # 
type Rep TimeOfDay' = D1 (MetaData "TimeOfDay'" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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' #

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) #

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

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

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) #

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

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

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 #

Response when listing guardian invitations.

See: listGuardianInvitationsResponse smart constructor.

Instances

Eq ListGuardianInvitationsResponse # 
Data ListGuardianInvitationsResponse # 

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 # 
Generic ListGuardianInvitationsResponse # 
ToJSON ListGuardianInvitationsResponse # 
FromJSON ListGuardianInvitationsResponse # 
type Rep ListGuardianInvitationsResponse # 
type Rep ListGuardianInvitationsResponse = D1 (MetaData "ListGuardianInvitationsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

lgirGuardianInvitations :: Lens' ListGuardianInvitationsResponse [GuardianInvitation] #

Guardian invitations that matched the list request.

Assignment

data Assignment #

Additional details for assignments.

See: assignment smart constructor.

Instances

Eq Assignment # 
Data Assignment # 

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 # 
Generic Assignment # 

Associated Types

type Rep Assignment :: * -> * #

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

assignment :: Assignment #

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) #

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

ListStudentsResponse

data ListStudentsResponse #

Response when listing students.

See: listStudentsResponse smart constructor.

Instances

Eq ListStudentsResponse # 
Data ListStudentsResponse # 

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 # 
Generic ListStudentsResponse # 
ToJSON ListStudentsResponse # 
FromJSON ListStudentsResponse # 
type Rep ListStudentsResponse # 
type Rep ListStudentsResponse = D1 (MetaData "ListStudentsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

lsrStudents :: Lens' ListStudentsResponse [Student] #

Students who match the list request.

SharedDriveFile

data SharedDriveFile #

Drive file that is used as material for course work.

See: sharedDriveFile smart constructor.

Instances

Eq SharedDriveFile # 
Data SharedDriveFile # 

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 # 
Generic SharedDriveFile # 
ToJSON SharedDriveFile # 
FromJSON SharedDriveFile # 
type Rep SharedDriveFile # 
type Rep SharedDriveFile = D1 (MetaData "SharedDriveFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Mechanism by which students access the Drive item.

CourseAlias

data CourseAlias #

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 # 
Data CourseAlias # 

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 # 
Generic CourseAlias # 

Associated Types

type Rep CourseAlias :: * -> * #

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

courseAlias :: CourseAlias #

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) #

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 #

Google Forms item.

See: form smart constructor.

Instances

Eq Form # 

Methods

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

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

Data Form # 

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 # 

Methods

showsPrec :: Int -> Form -> ShowS #

show :: Form -> String #

showList :: [Form] -> ShowS #

Generic Form # 

Associated Types

type Rep Form :: * -> * #

Methods

from :: Form -> Rep Form x #

to :: Rep Form x -> Form #

ToJSON Form # 
FromJSON Form # 
type Rep Form # 
type Rep Form = D1 (MetaData "Form" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

fFormURL :: Lens' Form (Maybe Text) #

URL of the form.

fTitle :: Lens' Form (Maybe Text) #

Title of the Form. Read-only.

fResponseURL :: Lens' Form (Maybe Text) #

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 #

Response when listing teachers.

See: listTeachersResponse smart constructor.

Instances

Eq ListTeachersResponse # 
Data ListTeachersResponse # 

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 # 
Generic ListTeachersResponse # 
ToJSON ListTeachersResponse # 
FromJSON ListTeachersResponse # 
type Rep ListTeachersResponse # 
type Rep ListTeachersResponse = D1 (MetaData "ListTeachersResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

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

ltrTeachers :: Lens' ListTeachersResponse [Teacher] #

Teachers who match the list request.

Student

data Student #

Student in a course.

See: student smart constructor.

Instances

Eq Student # 

Methods

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

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

Data Student # 

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 # 
Generic Student # 

Associated Types

type Rep Student :: * -> * #

Methods

from :: Student -> Rep Student x #

to :: Rep Student x -> Student #

ToJSON Student # 
FromJSON Student # 
type Rep Student # 
type Rep Student = D1 (MetaData "Student" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.3.0-DmhGwlYlyPc9VOIkvDK1VK" 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 #

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) #

Identifier of the course. Read-only.

sProFile :: Lens' Student (Maybe UserProFile) #

Global user information for the student. Read-only.

sStudentWorkFolder :: Lens' Student (Maybe DriveFolder) #

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) #

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