gogol-classroom-0.4.0: Google Classroom SDK.

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

Network.Google.Classroom.Types

Contents

Description

 
Synopsis

Service Configuration

classroomService :: ServiceConfig Source #

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

OAuth Scopes

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

View your Google Classroom class rosters

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

Manage your Google Classroom classes

classroomPushNotificationsScope :: Proxy '["https://www.googleapis.com/auth/classroom.push-notifications"] Source #

Receive notifications about your Google Classroom data

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

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

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

View the email addresses of people in your classes

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

View the profile photos of people in your classes

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

Manage your course work and view your grades in Google Classroom

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

View announcements in Google Classroom

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

View and manage guardians for students in your Google Classroom classes

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

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

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

View your Google Classroom guardians

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

Manage your Google Classroom class rosters

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

View your Google Classroom classes

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

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

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

View and manage announcements in Google Classroom

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

View your course work and grades in Google Classroom

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

View your course work and grades in Google Classroom

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

View guardians for students in your Google Classroom classes

ListCourseAliasesResponse

data ListCourseAliasesResponse Source #

Response when listing course aliases.

See: listCourseAliasesResponse smart constructor.

Instances
Eq ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ListCourseAliasesResponse -> Constr #

dataTypeOf :: ListCourseAliasesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListCourseAliasesResponse :: Type -> Type #

ToJSON ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListCourseAliasesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListCourseAliasesResponse = D1 (MetaData "ListCourseAliasesResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListCourseAliasesResponse'" PrefixI True) (S1 (MetaSel (Just "_lcarNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcarAliases") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseAlias]))))

listCourseAliasesResponse :: ListCourseAliasesResponse Source #

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

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

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

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

CourseWork

data CourseWork Source #

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

See: courseWork smart constructor.

Instances
Eq CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: CourseWork -> Constr #

dataTypeOf :: CourseWork -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CourseWork :: Type -> Type #

ToJSON CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseWork Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseWork = D1 (MetaData "CourseWork" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "CourseWork'" PrefixI True) ((((S1 (MetaSel (Just "_cwCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_cwScheduledTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_cwState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseWorkState)) :*: (S1 (MetaSel (Just "_cwAssigneeMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseWorkAssigneeMode)) :*: S1 (MetaSel (Just "_cwMaterials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Material]))))) :*: ((S1 (MetaSel (Just "_cwCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cwIndividualStudentsOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IndividualStudentsOptions))) :*: (S1 (MetaSel (Just "_cwMaxPoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_cwWorkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseWorkWorkType)) :*: S1 (MetaSel (Just "_cwDueTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimeOfDay')))))) :*: (((S1 (MetaSel (Just "_cwAssociatedWithDeveloper") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_cwUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_cwMultipleChoiceQuestion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MultipleChoiceQuestion)) :*: (S1 (MetaSel (Just "_cwId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cwSubmissionModificationMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseWorkSubmissionModificationMode))))) :*: ((S1 (MetaSel (Just "_cwDueDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date)) :*: (S1 (MetaSel (Just "_cwCreatorUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cwTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cwAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cwAssignment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Assignment)) :*: S1 (MetaSel (Just "_cwDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

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

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

cwScheduledTime :: Lens' CourseWork (Maybe UTCTime) Source #

Optional timestamp when this course work is scheduled to be published.

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

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

cwAssigneeMode :: Lens' CourseWork (Maybe CourseWorkAssigneeMode) Source #

Assignee mode of the coursework. If unspecified, the default value is `ALL_STUDENTS`.

cwMaterials :: Lens' CourseWork [Material] Source #

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

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

Identifier of the course. Read-only.

cwIndividualStudentsOptions :: Lens' CourseWork (Maybe IndividualStudentsOptions) Source #

Identifiers of students with access to the coursework. This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students specified in this field will be assigned the coursework.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Identifier for the user that created the coursework. Read-only.

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

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

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

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

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

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

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

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

GradeHistoryGradeChangeType

data GradeHistoryGradeChangeType Source #

The type of grade change at this time in the submission grade history.

Constructors

UnknownGradeChangeType

UNKNOWN_GRADE_CHANGE_TYPE No grade change type specified. This should never be returned.

DraftGradePointsEarnedChange

DRAFT_GRADE_POINTS_EARNED_CHANGE A change in the numerator of the draft grade.

AssignedGradePointsEarnedChange

ASSIGNED_GRADE_POINTS_EARNED_CHANGE A change in the numerator of the assigned grade.

MaxPointsChange

MAX_POINTS_CHANGE A change in the denominator of the grade.

Instances
Enum GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: GradeHistoryGradeChangeType -> Constr #

dataTypeOf :: GradeHistoryGradeChangeType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep GradeHistoryGradeChangeType :: Type -> Type #

Hashable GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep GradeHistoryGradeChangeType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep GradeHistoryGradeChangeType = D1 (MetaData "GradeHistoryGradeChangeType" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "UnknownGradeChangeType" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DraftGradePointsEarnedChange" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AssignedGradePointsEarnedChange" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MaxPointsChange" PrefixI False) (U1 :: Type -> Type)))

GradeHistory

data GradeHistory Source #

The history of each grade on this submission.

See: gradeHistory smart constructor.

Instances
Eq GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: GradeHistory -> Constr #

dataTypeOf :: GradeHistory -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep GradeHistory :: Type -> Type #

ToJSON GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep GradeHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep GradeHistory = D1 (MetaData "GradeHistory" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "GradeHistory'" PrefixI True) ((S1 (MetaSel (Just "_ghGradeTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_ghMaxPoints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) :*: (S1 (MetaSel (Just "_ghPointsEarned") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_ghActorUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ghGradeChangeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GradeHistoryGradeChangeType))))))

gradeHistory :: GradeHistory Source #

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

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

ghGradeTimestamp :: Lens' GradeHistory (Maybe UTCTime) Source #

When the grade of the submission was changed.

ghMaxPoints :: Lens' GradeHistory (Maybe Double) Source #

The denominator of the grade at this time in the submission grade history.

ghPointsEarned :: Lens' GradeHistory (Maybe Double) Source #

The numerator of the grade at this time in the submission grade history.

ghActorUserId :: Lens' GradeHistory (Maybe Text) Source #

The teacher who made the grade change.

ghGradeChangeType :: Lens' GradeHistory (Maybe GradeHistoryGradeChangeType) Source #

The type of grade change at this time in the submission grade history.

CourseWorkChangesInfo

data CourseWorkChangesInfo Source #

Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`.

See: courseWorkChangesInfo smart constructor.

Instances
Eq CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: CourseWorkChangesInfo -> Constr #

dataTypeOf :: CourseWorkChangesInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CourseWorkChangesInfo :: Type -> Type #

ToJSON CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseWorkChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseWorkChangesInfo = D1 (MetaData "CourseWorkChangesInfo" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "CourseWorkChangesInfo'" PrefixI True) (S1 (MetaSel (Just "_cwciCourseId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

courseWorkChangesInfo :: CourseWorkChangesInfo Source #

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

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

cwciCourseId :: Lens' CourseWorkChangesInfo (Maybe Text) Source #

The `course_id` of the course to subscribe to work changes for.

ModifyCourseWorkAssigneesRequest

data ModifyCourseWorkAssigneesRequest Source #

Request to modify assignee mode and options of a coursework.

See: modifyCourseWorkAssigneesRequest smart constructor.

Instances
Eq ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ModifyCourseWorkAssigneesRequest -> Constr #

dataTypeOf :: ModifyCourseWorkAssigneesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ModifyCourseWorkAssigneesRequest :: Type -> Type #

ToJSON ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyCourseWorkAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyCourseWorkAssigneesRequest = D1 (MetaData "ModifyCourseWorkAssigneesRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ModifyCourseWorkAssigneesRequest'" PrefixI True) (S1 (MetaSel (Just "_mcwarAssigneeMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ModifyCourseWorkAssigneesRequestAssigneeMode)) :*: S1 (MetaSel (Just "_mcwarModifyIndividualStudentsOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ModifyIndividualStudentsOptions))))

modifyCourseWorkAssigneesRequest :: ModifyCourseWorkAssigneesRequest Source #

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

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

mcwarAssigneeMode :: Lens' ModifyCourseWorkAssigneesRequest (Maybe ModifyCourseWorkAssigneesRequestAssigneeMode) Source #

Mode of the coursework describing whether it will be assigned to all students or specified individual students.

mcwarModifyIndividualStudentsOptions :: Lens' ModifyCourseWorkAssigneesRequest (Maybe ModifyIndividualStudentsOptions) Source #

Set which students are assigned or not assigned to the coursework. Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`.

CourseCourseState

data CourseCourseState Source #

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

Constructors

CourseStateUnspecified

COURSE_STATE_UNSPECIFIED No course state. No returned Course message will use this value.

Active

ACTIVE The course is active.

Archived

ARCHIVED The course has been archived. You cannot modify it except to change it to a different state.

Provisioned

PROVISIONED The course has been created, but not yet activated. It is accessible by the primary teacher and domain administrators, who may modify it or change it to the `ACTIVE` or `DECLINED` states. A course may only be changed to `PROVISIONED` if it is in the `DECLINED` state.

Declined

DECLINED The course has been created, but declined. It is accessible by the course owner and domain administrators, though it will not be displayed in the web UI. You cannot modify the course except to change it to the `PROVISIONED` state. A course may only be changed to `DECLINED` if it is in the `PROVISIONED` state.

Suspended

SUSPENDED The course has been suspended. You cannot modify the course, and only the user identified by the `owner_id` can view the course. A course may be placed in this state if it potentially violates the Terms of Service.

Instances
Enum CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: CourseCourseState -> Constr #

dataTypeOf :: CourseCourseState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep CourseCourseState :: Type -> Type #

Hashable CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseCourseState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseCourseState = D1 (MetaData "CourseCourseState" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "CourseStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Archived" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Provisioned" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Declined" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Suspended" PrefixI False) (U1 :: Type -> Type))))

DriveFile

data DriveFile Source #

Representation of a Google Drive file.

See: driveFile smart constructor.

Instances
Eq DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: DriveFile -> Constr #

dataTypeOf :: DriveFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep DriveFile :: Type -> Type #

ToJSON DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep DriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep DriveFile = D1 (MetaData "DriveFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "DriveFile'" PrefixI True) ((S1 (MetaSel (Just "_dfThumbnailURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dfId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dfTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dfAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

driveFile :: DriveFile Source #

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

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

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

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

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

Drive API resource ID.

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

Title of the Drive item. Read-only.

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

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

GuardianInvitation

data GuardianInvitation Source #

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

See: guardianInvitation smart constructor.

Instances
Eq GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: GuardianInvitation -> Constr #

dataTypeOf :: GuardianInvitation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep GuardianInvitation :: Type -> Type #

ToJSON GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep GuardianInvitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep GuardianInvitation = D1 (MetaData "GuardianInvitation" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "GuardianInvitation'" PrefixI True) ((S1 (MetaSel (Just "_giCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_giStudentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_giState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GuardianInvitationState)) :*: (S1 (MetaSel (Just "_giInvitationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giInvitedEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

guardianInvitation :: GuardianInvitation Source #

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

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

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

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

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

ID of the student (in standard format)

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

The state that this invitation is in.

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

Unique identifier for this invitation. Read-only.

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

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

Feed

data Feed Source #

A class of notifications that an application can register to receive. For example: "all roster changes for a domain".

See: feed smart constructor.

Instances
Eq Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

Data Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Feed -> Constr #

dataTypeOf :: Feed -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

showsPrec :: Int -> Feed -> ShowS #

show :: Feed -> String #

showList :: [Feed] -> ShowS #

Generic Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Feed :: Type -> Type #

Methods

from :: Feed -> Rep Feed x #

to :: Rep Feed x -> Feed #

ToJSON Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Feed Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Feed = D1 (MetaData "Feed" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Feed'" PrefixI True) (S1 (MetaSel (Just "_fCourseWorkChangesInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseWorkChangesInfo)) :*: (S1 (MetaSel (Just "_fFeedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FeedFeedType)) :*: S1 (MetaSel (Just "_fCourseRosterChangesInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseRosterChangesInfo)))))

feed :: Feed Source #

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

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

fCourseWorkChangesInfo :: Lens' Feed (Maybe CourseWorkChangesInfo) Source #

Information about a `Feed` with a `feed_type` of `COURSE_WORK_CHANGES`. This field must be specified if `feed_type` is `COURSE_WORK_CHANGES`.

fFeedType :: Lens' Feed (Maybe FeedFeedType) Source #

The type of feed.

fCourseRosterChangesInfo :: Lens' Feed (Maybe CourseRosterChangesInfo) Source #

Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`. This field must be specified if `feed_type` is `COURSE_ROSTER_CHANGES`.

ModifyAnnouncementAssigneesRequest

data ModifyAnnouncementAssigneesRequest Source #

Request to modify assignee mode and options of an announcement.

See: modifyAnnouncementAssigneesRequest smart constructor.

Instances
Eq ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ModifyAnnouncementAssigneesRequest -> Constr #

dataTypeOf :: ModifyAnnouncementAssigneesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ModifyAnnouncementAssigneesRequest :: Type -> Type #

ToJSON ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyAnnouncementAssigneesRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyAnnouncementAssigneesRequest = D1 (MetaData "ModifyAnnouncementAssigneesRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ModifyAnnouncementAssigneesRequest'" PrefixI True) (S1 (MetaSel (Just "_maarAssigneeMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ModifyAnnouncementAssigneesRequestAssigneeMode)) :*: S1 (MetaSel (Just "_maarModifyIndividualStudentsOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ModifyIndividualStudentsOptions))))

modifyAnnouncementAssigneesRequest :: ModifyAnnouncementAssigneesRequest Source #

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

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

maarAssigneeMode :: Lens' ModifyAnnouncementAssigneesRequest (Maybe ModifyAnnouncementAssigneesRequestAssigneeMode) Source #

Mode of the announcement describing whether it will be accessible by all students or specified individual students.

maarModifyIndividualStudentsOptions :: Lens' ModifyAnnouncementAssigneesRequest (Maybe ModifyIndividualStudentsOptions) Source #

Set which students can view or cannot view the announcement. Must be specified only when `assigneeMode` is `INDIVIDUAL_STUDENTS`.

ReturnStudentSubmissionRequest

data ReturnStudentSubmissionRequest Source #

Request to return a student submission.

See: returnStudentSubmissionRequest smart constructor.

Instances
Eq ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ReturnStudentSubmissionRequest -> Constr #

dataTypeOf :: ReturnStudentSubmissionRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ReturnStudentSubmissionRequest :: Type -> Type #

ToJSON ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ReturnStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ReturnStudentSubmissionRequest = D1 (MetaData "ReturnStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ReturnStudentSubmissionRequest'" PrefixI False) (U1 :: Type -> Type))

returnStudentSubmissionRequest :: ReturnStudentSubmissionRequest Source #

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

StateHistoryState

data StateHistoryState Source #

The workflow pipeline stage.

Constructors

StateUnspecified

STATE_UNSPECIFIED No state specified. This should never be returned.

Created

CREATED The Submission has been created.

TurnedIn

TURNED_IN The student has turned in an assigned document, which may or may not be a template.

Returned

RETURNED The teacher has returned the assigned document to the student.

ReclaimedByStudent

RECLAIMED_BY_STUDENT The student turned in the assigned document, and then chose to "unsubmit" the assignment, giving the student control again as the owner.

StudentEditedAfterTurnIn

STUDENT_EDITED_AFTER_TURN_IN The student edited their submission after turning it in. Currently, only used by Questions, when the student edits their answer.

Instances
Enum StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: StateHistoryState -> Constr #

dataTypeOf :: StateHistoryState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep StateHistoryState :: Type -> Type #

Hashable StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep StateHistoryState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep StateHistoryState = D1 (MetaData "StateHistoryState" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Created" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TurnedIn" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Returned" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ReclaimedByStudent" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StudentEditedAfterTurnIn" PrefixI False) (U1 :: Type -> Type))))

ReclaimStudentSubmissionRequest

data ReclaimStudentSubmissionRequest Source #

Request to reclaim a student submission.

See: reclaimStudentSubmissionRequest smart constructor.

Instances
Eq ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ReclaimStudentSubmissionRequest -> Constr #

dataTypeOf :: ReclaimStudentSubmissionRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ReclaimStudentSubmissionRequest :: Type -> Type #

ToJSON ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ReclaimStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ReclaimStudentSubmissionRequest = D1 (MetaData "ReclaimStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ReclaimStudentSubmissionRequest'" PrefixI False) (U1 :: Type -> Type))

reclaimStudentSubmissionRequest :: ReclaimStudentSubmissionRequest Source #

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

CourseWorkWorkType

data CourseWorkWorkType Source #

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

Constructors

CWWTCourseWorkTypeUnspecified

COURSE_WORK_TYPE_UNSPECIFIED No work type specified. This is never returned.

CWWTAssignment

ASSIGNMENT An assignment.

CWWTShortAnswerQuestion

SHORT_ANSWER_QUESTION A short answer question.

CWWTMultipleChoiceQuestion

MULTIPLE_CHOICE_QUESTION A multiple-choice question.

Instances
Enum CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: CourseWorkWorkType -> Constr #

dataTypeOf :: CourseWorkWorkType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep CourseWorkWorkType :: Type -> Type #

Hashable CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkWorkType = D1 (MetaData "CourseWorkWorkType" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "CWWTCourseWorkTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CWWTAssignment" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "CWWTShortAnswerQuestion" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CWWTMultipleChoiceQuestion" PrefixI False) (U1 :: Type -> Type)))

ListCourseWorkResponse

data ListCourseWorkResponse Source #

Response when listing course work.

See: listCourseWorkResponse smart constructor.

Instances
Eq ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ListCourseWorkResponse -> Constr #

dataTypeOf :: ListCourseWorkResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListCourseWorkResponse :: Type -> Type #

ToJSON ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListCourseWorkResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListCourseWorkResponse = D1 (MetaData "ListCourseWorkResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListCourseWorkResponse'" PrefixI True) (S1 (MetaSel (Just "_lcwrCourseWork") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseWork])) :*: S1 (MetaSel (Just "_lcwrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

listCourseWorkResponse :: ListCourseWorkResponse Source #

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

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

lcwrCourseWork :: Lens' ListCourseWorkResponse [CourseWork] Source #

Course work items that match the request.

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

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

Empty

data Empty Source #

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

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

Data Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

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

ModifyCourseWorkAssigneesRequestAssigneeMode

data ModifyCourseWorkAssigneesRequestAssigneeMode Source #

Mode of the coursework describing whether it will be assigned to all students or specified individual students.

Constructors

AssigneeModeUnspecified

ASSIGNEE_MODE_UNSPECIFIED No mode specified. This is never returned.

AllStudents

ALL_STUDENTS All students can see the item. This is the default state.

IndividualStudents

INDIVIDUAL_STUDENTS A subset of the students can see the item.

Instances
Enum ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: ModifyCourseWorkAssigneesRequestAssigneeMode -> Constr #

dataTypeOf :: ModifyCourseWorkAssigneesRequestAssigneeMode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Hashable ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep ModifyCourseWorkAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep ModifyCourseWorkAssigneesRequestAssigneeMode = D1 (MetaData "ModifyCourseWorkAssigneesRequestAssigneeMode" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "AssigneeModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AllStudents" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "IndividualStudents" PrefixI False) (U1 :: Type -> Type)))

GuardianInvitationState

data GuardianInvitationState Source #

The state that this invitation is in.

Constructors

GuardianInvitationStateUnspecified

GUARDIAN_INVITATION_STATE_UNSPECIFIED Should never be returned.

Pending

PENDING The invitation is active and awaiting a response.

Complete

COMPLETE The invitation is no longer active. It may have been accepted, declined, withdrawn or it may have expired.

Instances
Enum GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: GuardianInvitationState -> Constr #

dataTypeOf :: GuardianInvitationState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep GuardianInvitationState :: Type -> Type #

Hashable GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep GuardianInvitationState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep GuardianInvitationState = D1 (MetaData "GuardianInvitationState" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "GuardianInvitationStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Pending" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Complete" PrefixI False) (U1 :: Type -> Type)))

SharedDriveFileShareMode

data SharedDriveFileShareMode Source #

Mechanism by which students access the Drive item.

Constructors

UnknownShareMode

UNKNOWN_SHARE_MODE No sharing mode specified. This should never be returned.

View

VIEW Students can view the shared file.

Edit

EDIT Students can edit the shared file.

StudentCopy

STUDENT_COPY Students have a personal copy of the shared file.

Instances
Enum SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: SharedDriveFileShareMode -> Constr #

dataTypeOf :: SharedDriveFileShareMode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep SharedDriveFileShareMode :: Type -> Type #

Hashable SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep SharedDriveFileShareMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep SharedDriveFileShareMode = D1 (MetaData "SharedDriveFileShareMode" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "UnknownShareMode" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "View" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Edit" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StudentCopy" PrefixI False) (U1 :: Type -> Type)))

GlobalPermission

data GlobalPermission Source #

Global user permission description.

See: globalPermission smart constructor.

Instances
Eq GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: GlobalPermission -> Constr #

dataTypeOf :: GlobalPermission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep GlobalPermission :: Type -> Type #

ToJSON GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep GlobalPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep GlobalPermission = D1 (MetaData "GlobalPermission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "GlobalPermission'" PrefixI True) (S1 (MetaSel (Just "_gpPermission") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GlobalPermissionPermission))))

globalPermission :: GlobalPermission Source #

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

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

Link

data Link Source #

URL item.

See: link smart constructor.

link :: Link Source #

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

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

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

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

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

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

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

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

ModifyAnnouncementAssigneesRequestAssigneeMode

data ModifyAnnouncementAssigneesRequestAssigneeMode Source #

Mode of the announcement describing whether it will be accessible by all students or specified individual students.

Constructors

MAARAMAssigneeModeUnspecified

ASSIGNEE_MODE_UNSPECIFIED No mode specified. This is never returned.

MAARAMAllStudents

ALL_STUDENTS All students can see the item. This is the default state.

MAARAMIndividualStudents

INDIVIDUAL_STUDENTS A subset of the students can see the item.

Instances
Enum ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: ModifyAnnouncementAssigneesRequestAssigneeMode -> Constr #

dataTypeOf :: ModifyAnnouncementAssigneesRequestAssigneeMode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Hashable ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep ModifyAnnouncementAssigneesRequestAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep ModifyAnnouncementAssigneesRequestAssigneeMode = D1 (MetaData "ModifyAnnouncementAssigneesRequestAssigneeMode" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "MAARAMAssigneeModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MAARAMAllStudents" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MAARAMIndividualStudents" PrefixI False) (U1 :: Type -> Type)))

IndividualStudentsOptions

data IndividualStudentsOptions Source #

Assignee details about a coursework/announcement. This field is set if and only if `assigneeMode` is `INDIVIDUAL_STUDENTS`.

See: individualStudentsOptions smart constructor.

Instances
Eq IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: IndividualStudentsOptions -> Constr #

dataTypeOf :: IndividualStudentsOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep IndividualStudentsOptions :: Type -> Type #

ToJSON IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep IndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep IndividualStudentsOptions = D1 (MetaData "IndividualStudentsOptions" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "IndividualStudentsOptions'" PrefixI True) (S1 (MetaSel (Just "_isoStudentIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

individualStudentsOptions :: IndividualStudentsOptions Source #

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

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

isoStudentIds :: Lens' IndividualStudentsOptions [Text] Source #

Identifiers for the students that have access to the coursework/announcement.

AssignmentSubmission

data AssignmentSubmission Source #

Student work for an assignment.

See: assignmentSubmission smart constructor.

Instances
Eq AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: AssignmentSubmission -> Constr #

dataTypeOf :: AssignmentSubmission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep AssignmentSubmission :: Type -> Type #

ToJSON AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep AssignmentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep AssignmentSubmission = D1 (MetaData "AssignmentSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "AssignmentSubmission'" PrefixI True) (S1 (MetaSel (Just "_asAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Attachment]))))

assignmentSubmission :: AssignmentSubmission Source #

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

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

asAttachments :: Lens' AssignmentSubmission [Attachment] Source #

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

ModifyAttachmentsRequest

data ModifyAttachmentsRequest Source #

Request to modify the attachments of a student submission.

See: modifyAttachmentsRequest smart constructor.

Instances
Eq ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ModifyAttachmentsRequest -> Constr #

dataTypeOf :: ModifyAttachmentsRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ModifyAttachmentsRequest :: Type -> Type #

ToJSON ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyAttachmentsRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyAttachmentsRequest = D1 (MetaData "ModifyAttachmentsRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "ModifyAttachmentsRequest'" PrefixI True) (S1 (MetaSel (Just "_marAddAttachments") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Attachment]))))

modifyAttachmentsRequest :: ModifyAttachmentsRequest Source #

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

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

marAddAttachments :: Lens' ModifyAttachmentsRequest [Attachment] Source #

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

ListAnnouncementsResponse

data ListAnnouncementsResponse Source #

Response when listing course work.

See: listAnnouncementsResponse smart constructor.

Instances
Eq ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ListAnnouncementsResponse -> Constr #

dataTypeOf :: ListAnnouncementsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListAnnouncementsResponse :: Type -> Type #

ToJSON ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListAnnouncementsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListAnnouncementsResponse = D1 (MetaData "ListAnnouncementsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListAnnouncementsResponse'" PrefixI True) (S1 (MetaSel (Just "_larNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_larAnnouncements") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Announcement]))))

listAnnouncementsResponse :: ListAnnouncementsResponse Source #

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

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

larNextPageToken :: Lens' ListAnnouncementsResponse (Maybe Text) Source #

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

larAnnouncements :: Lens' ListAnnouncementsResponse [Announcement] Source #

Announcement items that match the request.

AnnouncementAssigneeMode

data AnnouncementAssigneeMode Source #

Assignee mode of the announcement. If unspecified, the default value is `ALL_STUDENTS`.

Constructors

AAMAssigneeModeUnspecified

ASSIGNEE_MODE_UNSPECIFIED No mode specified. This is never returned.

AAMAllStudents

ALL_STUDENTS All students can see the item. This is the default state.

AAMIndividualStudents

INDIVIDUAL_STUDENTS A subset of the students can see the item.

Instances
Enum AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: AnnouncementAssigneeMode -> Constr #

dataTypeOf :: AnnouncementAssigneeMode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep AnnouncementAssigneeMode :: Type -> Type #

Hashable AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep AnnouncementAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep AnnouncementAssigneeMode = D1 (MetaData "AnnouncementAssigneeMode" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "AAMAssigneeModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AAMAllStudents" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AAMIndividualStudents" PrefixI False) (U1 :: Type -> Type)))

CourseWorkState

data CourseWorkState Source #

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

Constructors

CourseWorkStateUnspecified

COURSE_WORK_STATE_UNSPECIFIED No state specified. This is never returned.

Published

PUBLISHED Status for work that has been published. This is the default state.

Draft

DRAFT Status for work that is not yet published. Work in this state is visible only to course teachers and domain administrators.

Deleted

DELETED Status for work that was published but is now deleted. Work in this state is visible only to course teachers and domain administrators. Work in this state is deleted after some time.

Instances
Enum CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: CourseWorkState -> Constr #

dataTypeOf :: CourseWorkState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep CourseWorkState :: Type -> Type #

Hashable CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkState = D1 (MetaData "CourseWorkState" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "CourseWorkStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Published" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Draft" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Deleted" PrefixI False) (U1 :: Type -> Type)))

ListStudentSubmissionsResponse

data ListStudentSubmissionsResponse Source #

Response when listing student submissions.

See: listStudentSubmissionsResponse smart constructor.

Instances
Eq ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ListStudentSubmissionsResponse -> Constr #

dataTypeOf :: ListStudentSubmissionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListStudentSubmissionsResponse :: Type -> Type #

ToJSON ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListStudentSubmissionsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListStudentSubmissionsResponse = D1 (MetaData "ListStudentSubmissionsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListStudentSubmissionsResponse'" PrefixI True) (S1 (MetaSel (Just "_lssrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lssrStudentSubmissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StudentSubmission]))))

listStudentSubmissionsResponse :: ListStudentSubmissionsResponse Source #

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

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

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

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

Material

data Material Source #

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

See: material smart constructor.

Instances
Eq Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Material -> Constr #

dataTypeOf :: Material -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Material :: Type -> Type #

Methods

from :: Material -> Rep Material x #

to :: Rep Material x -> Material #

ToJSON Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Material Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

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

material :: Material Source #

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

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

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

Google Drive file material.

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

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

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

YouTube video material.

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

Google Forms material.

MultipleChoiceSubmission

data MultipleChoiceSubmission Source #

Student work for a multiple-choice question.

See: multipleChoiceSubmission smart constructor.

Instances
Eq MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: MultipleChoiceSubmission -> Constr #

dataTypeOf :: MultipleChoiceSubmission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep MultipleChoiceSubmission :: Type -> Type #

ToJSON MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep MultipleChoiceSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep MultipleChoiceSubmission = D1 (MetaData "MultipleChoiceSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "MultipleChoiceSubmission'" PrefixI True) (S1 (MetaSel (Just "_mcsAnswer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

multipleChoiceSubmission :: MultipleChoiceSubmission Source #

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

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

ListInvitationsResponse

data ListInvitationsResponse Source #

Response when listing invitations.

See: listInvitationsResponse smart constructor.

Instances
Eq ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ListInvitationsResponse -> Constr #

dataTypeOf :: ListInvitationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListInvitationsResponse :: Type -> Type #

ToJSON ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListInvitationsResponse = D1 (MetaData "ListInvitationsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListInvitationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lirInvitations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Invitation]))))

listInvitationsResponse :: ListInvitationsResponse Source #

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

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

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

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

lirInvitations :: Lens' ListInvitationsResponse [Invitation] Source #

Invitations that match the list request.

Guardian

data Guardian Source #

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

See: guardian smart constructor.

Instances
Eq Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Guardian -> Constr #

dataTypeOf :: Guardian -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Guardian :: Type -> Type #

Methods

from :: Guardian -> Rep Guardian x #

to :: Rep Guardian x -> Guardian #

ToJSON Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Guardian Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

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

guardian :: Guardian Source #

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

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

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

Identifier for the student to whom the guardian relationship applies.

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

Identifier for the guardian.

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

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

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

User profile for the guardian.

CourseMaterial

data CourseMaterial Source #

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

See: courseMaterial smart constructor.

Instances
Eq CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: CourseMaterial -> Constr #

dataTypeOf :: CourseMaterial -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CourseMaterial :: Type -> Type #

ToJSON CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseMaterial Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

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

courseMaterial :: CourseMaterial Source #

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

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

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

Google Drive file attachment.

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

Google Forms attachment.

StudentSubmissionState

data StudentSubmissionState Source #

State of this submission. Read-only.

Constructors

SSSSubmissionStateUnspecified

SUBMISSION_STATE_UNSPECIFIED No state specified. This should never be returned.

SSSNew

NEW The student has never accessed this submission. Attachments are not returned and timestamps is not set.

SSSCreated

CREATED Has been created.

SSSTurnedIn

TURNED_IN Has been turned in to the teacher.

SSSReturned

RETURNED Has been returned to the student.

SSSReclaimedByStudent

RECLAIMED_BY_STUDENT Student chose to "unsubmit" the assignment.

Instances
Enum StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: StudentSubmissionState -> Constr #

dataTypeOf :: StudentSubmissionState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep StudentSubmissionState :: Type -> Type #

Hashable StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep StudentSubmissionState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep StudentSubmissionState = D1 (MetaData "StudentSubmissionState" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "SSSSubmissionStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SSSNew" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SSSCreated" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "SSSTurnedIn" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SSSReturned" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SSSReclaimedByStudent" PrefixI False) (U1 :: Type -> Type))))

ShortAnswerSubmission

data ShortAnswerSubmission Source #

Student work for a short answer question.

See: shortAnswerSubmission smart constructor.

Instances
Eq ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ShortAnswerSubmission -> Constr #

dataTypeOf :: ShortAnswerSubmission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ShortAnswerSubmission :: Type -> Type #

ToJSON ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ShortAnswerSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ShortAnswerSubmission = D1 (MetaData "ShortAnswerSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "ShortAnswerSubmission'" PrefixI True) (S1 (MetaSel (Just "_sasAnswer") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

shortAnswerSubmission :: ShortAnswerSubmission Source #

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

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

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

Student response to a short-answer question.

AnnouncementState

data AnnouncementState Source #

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

Constructors

ASAnnouncementStateUnspecified

ANNOUNCEMENT_STATE_UNSPECIFIED No state specified. This is never returned.

ASPublished

PUBLISHED Status for announcement that has been published. This is the default state.

ASDraft

DRAFT Status for an announcement that is not yet published. Announcement in this state is visible only to course teachers and domain administrators.

ASDeleted

DELETED Status for announcement that was published but is now deleted. Announcement in this state is visible only to course teachers and domain administrators. Announcement in this state is deleted after some time.

Instances
Enum AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

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

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

toConstr :: AnnouncementState -> Constr #

dataTypeOf :: AnnouncementState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep AnnouncementState :: Type -> Type #

Hashable AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep AnnouncementState Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep AnnouncementState = D1 (MetaData "AnnouncementState" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "ASAnnouncementStateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ASPublished" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ASDraft" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ASDeleted" PrefixI False) (U1 :: Type -> Type)))

Invitation

data Invitation Source #

An invitation to join a course.

See: invitation smart constructor.

Instances
Eq Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Invitation -> Constr #

dataTypeOf :: Invitation -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Invitation :: Type -> Type #

ToJSON Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Invitation Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Invitation = D1 (MetaData "Invitation" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Invitation'" PrefixI True) ((S1 (MetaSel (Just "_iCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_iRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InvitationRole)) :*: S1 (MetaSel (Just "_iId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

invitation :: Invitation Source #

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

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

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

Identifier of the course to invite the user to.

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

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

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

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

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

Identifier assigned by Classroom. Read-only.

Attachment

data Attachment Source #

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

See: attachment smart constructor.

Instances
Eq Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Attachment -> Constr #

dataTypeOf :: Attachment -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Attachment :: Type -> Type #

ToJSON Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Attachment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

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

attachment :: Attachment Source #

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

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

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

Google Drive file attachment.

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

Link attachment.

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

Youtube video attachment.

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

Google Forms attachment.

Announcement

data Announcement Source #

Announcement created by a teacher for students of the course

See: announcement smart constructor.

Instances
Eq Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Announcement -> Constr #

dataTypeOf :: Announcement -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Announcement :: Type -> Type #

ToJSON Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Announcement Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Announcement = D1 (MetaData "Announcement" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Announcement'" PrefixI True) (((S1 (MetaSel (Just "_aCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: (S1 (MetaSel (Just "_aScheduledTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_aState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnnouncementState)))) :*: (S1 (MetaSel (Just "_aAssigneeMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AnnouncementAssigneeMode)) :*: (S1 (MetaSel (Just "_aText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aMaterials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Material]))))) :*: ((S1 (MetaSel (Just "_aCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aIndividualStudentsOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IndividualStudentsOptions)) :*: S1 (MetaSel (Just "_aUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: (S1 (MetaSel (Just "_aId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_aCreatorUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_aAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

announcement :: Announcement Source #

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

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

aCreationTime :: Lens' Announcement (Maybe UTCTime) Source #

Timestamp when this announcement was created. Read-only.

aScheduledTime :: Lens' Announcement (Maybe UTCTime) Source #

Optional timestamp when this announcement is scheduled to be published.

aState :: Lens' Announcement (Maybe AnnouncementState) Source #

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

aAssigneeMode :: Lens' Announcement (Maybe AnnouncementAssigneeMode) Source #

Assignee mode of the announcement. If unspecified, the default value is `ALL_STUDENTS`.

aText :: Lens' Announcement (Maybe Text) Source #

Description of this announcement. The text must be a valid UTF-8 string containing no more than 30,000 characters.

aMaterials :: Lens' Announcement [Material] Source #

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

aCourseId :: Lens' Announcement (Maybe Text) Source #

Identifier of the course. Read-only.

aIndividualStudentsOptions :: Lens' Announcement (Maybe IndividualStudentsOptions) Source #

Identifiers of students with access to the announcement. This field is set only if `assigneeMode` is `INDIVIDUAL_STUDENTS`. If the `assigneeMode` is `INDIVIDUAL_STUDENTS`, then only students specified in this field will be able to see the announcement.

aUpdateTime :: Lens' Announcement (Maybe UTCTime) Source #

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

aId :: Lens' Announcement (Maybe Text) Source #

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

aCreatorUserId :: Lens' Announcement (Maybe Text) Source #

Identifier for the user that created the announcement. Read-only.

aAlternateLink :: Lens' Announcement (Maybe Text) Source #

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

StudentSubmission

data StudentSubmission Source #

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

See: studentSubmission smart constructor.

Instances
Eq StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: StudentSubmission -> Constr #

dataTypeOf :: StudentSubmission -> DataType #

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

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

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

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

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

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

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

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

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

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

Show StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep StudentSubmission :: Type -> Type #

ToJSON StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep StudentSubmission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep StudentSubmission = D1 (MetaData "StudentSubmission" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "StudentSubmission'" PrefixI True) ((((S1 (MetaSel (Just "_ssCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_ssLate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_ssState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StudentSubmissionState)) :*: S1 (MetaSel (Just "_ssCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ssMultipleChoiceSubmission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MultipleChoiceSubmission)) :*: S1 (MetaSel (Just "_ssAssignmentSubmission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AssignmentSubmission))) :*: (S1 (MetaSel (Just "_ssShortAnswerSubmission") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ShortAnswerSubmission)) :*: S1 (MetaSel (Just "_ssAssociatedWithDeveloper") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 (MetaSel (Just "_ssUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_ssCourseWorkType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StudentSubmissionCourseWorkType)) :*: S1 (MetaSel (Just "_ssSubmissionHistory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SubmissionHistory])))) :*: ((S1 (MetaSel (Just "_ssAssignedGrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_ssId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ssDraftGrade") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: (S1 (MetaSel (Just "_ssAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ssCourseWorkId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

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

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

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

Whether this submission is late. Read-only.

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

State of this submission. Read-only.

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

Identifier of the course. Read-only.

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

Submission content when course_work_type is MULTIPLE_CHOICE_QUESTION.

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

Submission content when course_work_type is ASSIGNMENT. Students can modify this content using google.classroom.Work.ModifyAttachments.

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

Submission content when course_work_type is SHORT_ANSWER_QUESTION.

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

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

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

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

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

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

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

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

ssSubmissionHistory :: Lens' StudentSubmission [SubmissionHistory] Source #

The history of the submission (includes state and grade histories). Read-only.

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

Optional grade. If unset, no grade was set. This value must be non-negative. Decimal (i.e. non-integer) values are allowed, but will be rounded to two decimal places. This may be modified only by course teachers.

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

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

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

Optional pending grade. If unset, no grade was set. This value must be non-negative. Decimal (i.e. non-integer) values are allowed, but will be rounded to two decimal places. This is only visible to and modifiable by course teachers.

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

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

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

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

ListGuardiansResponse

data ListGuardiansResponse Source #

Response when listing guardians.

See: listGuardiansResponse smart constructor.

Instances
Eq ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: ListGuardiansResponse -> Constr #

dataTypeOf :: ListGuardiansResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListGuardiansResponse :: Type -> Type #

ToJSON ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListGuardiansResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListGuardiansResponse = D1 (MetaData "ListGuardiansResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListGuardiansResponse'" PrefixI True) (S1 (MetaSel (Just "_lgrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lgrGuardians") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Guardian]))))

listGuardiansResponse :: ListGuardiansResponse Source #

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

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

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

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

lgrGuardians :: Lens' ListGuardiansResponse [Guardian] Source #

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

Date

data Date Source #

Represents a whole or partial calendar date, e.g. a birthday. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. This can represent: * A full date, with non-zero year, month and day values * A month and day value, with a zero year, e.g. an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, e.g. a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.

See: date smart constructor.

Instances
Eq Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

Data Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Date -> Constr #

dataTypeOf :: Date -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

showsPrec :: Int -> Date -> ShowS #

show :: Date -> String #

showList :: [Date] -> ShowS #

Generic Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Date :: Type -> Type #

Methods

from :: Date -> Rep Date x #

to :: Rep Date x -> Date #

ToJSON Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Date Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Date = D1 (MetaData "Date" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Date'" PrefixI True) (S1 (MetaSel (Just "_dDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_dYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_dMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

date :: Date Source #

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

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

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

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

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

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

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

Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.

YouTubeVideo

data YouTubeVideo Source #

YouTube video item.

See: youTubeVideo smart constructor.

Instances
Eq YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: YouTubeVideo -> Constr #

dataTypeOf :: YouTubeVideo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep YouTubeVideo :: Type -> Type #

ToJSON YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep YouTubeVideo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep YouTubeVideo = D1 (MetaData "YouTubeVideo" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "YouTubeVideo'" PrefixI True) ((S1 (MetaSel (Just "_ytvThumbnailURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ytvId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ytvTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ytvAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

youTubeVideo :: YouTubeVideo Source #

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

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

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

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

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

YouTube API resource ID.

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

Title of the YouTube video. Read-only.

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

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

Teacher

data Teacher Source #

Teacher of a course.

See: teacher smart constructor.

Instances
Eq Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

Data Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Teacher -> Constr #

dataTypeOf :: Teacher -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Teacher :: Type -> Type #

Methods

from :: Teacher -> Rep Teacher x #

to :: Rep Teacher x -> Teacher #

ToJSON Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Teacher Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Teacher = D1 (MetaData "Teacher" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Teacher'" PrefixI True) (S1 (MetaSel (Just "_tCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tProFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserProFile)) :*: S1 (MetaSel (Just "_tUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

teacher :: Teacher Source #

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

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

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

Identifier of the course. Read-only.

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

Global user information for the teacher. Read-only.

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

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

CourseMaterialSet

data CourseMaterialSet Source #

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

See: courseMaterialSet smart constructor.

Instances
Eq CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: CourseMaterialSet -> Constr #

dataTypeOf :: CourseMaterialSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CourseMaterialSet :: Type -> Type #

ToJSON CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseMaterialSet Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseMaterialSet = D1 (MetaData "CourseMaterialSet" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "CourseMaterialSet'" PrefixI True) (S1 (MetaSel (Just "_cmsMaterials") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseMaterial])) :*: S1 (MetaSel (Just "_cmsTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

courseMaterialSet :: CourseMaterialSet Source #

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

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

cmsMaterials :: Lens' CourseMaterialSet [CourseMaterial] Source #

Materials attached to this set.

Name

data Name Source #

Details of the user's name.

See: name smart constructor.

Instances
Eq Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

Data Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

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

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

toConstr :: Name -> Constr #

dataTypeOf :: Name -> DataType #

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

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Name) #

gmapT :: (forall b. Data b => b -> b) -> Name -> Name #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQ :: (forall d. Data d => d -> u) -> Name -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Name -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

Show Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Generic Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Name :: Type -> Type #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

ToJSON Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Name Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Name = D1 (MetaData "Name" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Name'" PrefixI True) (S1 (MetaSel (Just "_nGivenName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_nFullName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nFamilyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

name :: Name Source #

Creates a value of Name with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nGivenName :: Lens' Name (Maybe Text) Source #

The user's first name. Read-only.

nFullName :: Lens' Name (Maybe Text) Source #

The user's full name formed by concatenating the first and last name values. Read-only.

nFamilyName :: Lens' Name (Maybe Text) Source #

The user's last name. Read-only.

ListCoursesResponse

data ListCoursesResponse Source #

Response when listing courses.

See: listCoursesResponse smart constructor.

Instances
Eq ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListCoursesResponse -> c ListCoursesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListCoursesResponse #

toConstr :: ListCoursesResponse -> Constr #

dataTypeOf :: ListCoursesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListCoursesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListCoursesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListCoursesResponse -> ListCoursesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListCoursesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListCoursesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListCoursesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListCoursesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListCoursesResponse -> m ListCoursesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCoursesResponse -> m ListCoursesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListCoursesResponse -> m ListCoursesResponse #

Show ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListCoursesResponse :: Type -> Type #

ToJSON ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListCoursesResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListCoursesResponse = D1 (MetaData "ListCoursesResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListCoursesResponse'" PrefixI True) (S1 (MetaSel (Just "_lcrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcrCourses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Course]))))

listCoursesResponse :: ListCoursesResponse Source #

Creates a value of ListCoursesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lcrNextPageToken :: Lens' ListCoursesResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lcrCourses :: Lens' ListCoursesResponse [Course] Source #

Courses that match the list request.

TurnInStudentSubmissionRequest

data TurnInStudentSubmissionRequest Source #

Request to turn in a student submission.

See: turnInStudentSubmissionRequest smart constructor.

Instances
Eq TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TurnInStudentSubmissionRequest -> c TurnInStudentSubmissionRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TurnInStudentSubmissionRequest #

toConstr :: TurnInStudentSubmissionRequest -> Constr #

dataTypeOf :: TurnInStudentSubmissionRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TurnInStudentSubmissionRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TurnInStudentSubmissionRequest) #

gmapT :: (forall b. Data b => b -> b) -> TurnInStudentSubmissionRequest -> TurnInStudentSubmissionRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TurnInStudentSubmissionRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TurnInStudentSubmissionRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> TurnInStudentSubmissionRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TurnInStudentSubmissionRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TurnInStudentSubmissionRequest -> m TurnInStudentSubmissionRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TurnInStudentSubmissionRequest -> m TurnInStudentSubmissionRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TurnInStudentSubmissionRequest -> m TurnInStudentSubmissionRequest #

Show TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep TurnInStudentSubmissionRequest :: Type -> Type #

ToJSON TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep TurnInStudentSubmissionRequest Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep TurnInStudentSubmissionRequest = D1 (MetaData "TurnInStudentSubmissionRequest" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "TurnInStudentSubmissionRequest'" PrefixI False) (U1 :: Type -> Type))

turnInStudentSubmissionRequest :: TurnInStudentSubmissionRequest Source #

Creates a value of TurnInStudentSubmissionRequest with the minimum fields required to make a request.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Xgafv -> c Xgafv #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Xgafv #

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Xgafv) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Xgafv) #

gmapT :: (forall b. Data b => b -> b) -> Xgafv -> Xgafv #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Xgafv -> r #

gmapQ :: (forall d. Data d => d -> u) -> Xgafv -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Xgafv -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Xgafv -> m Xgafv #

Ord Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

UserProFile

data UserProFile Source #

Global information for a user.

See: userProFile smart constructor.

Instances
Eq UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserProFile -> c UserProFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserProFile #

toConstr :: UserProFile -> Constr #

dataTypeOf :: UserProFile -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserProFile) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserProFile) #

gmapT :: (forall b. Data b => b -> b) -> UserProFile -> UserProFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserProFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserProFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserProFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserProFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserProFile -> m UserProFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserProFile -> m UserProFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserProFile -> m UserProFile #

Show UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep UserProFile :: Type -> Type #

ToJSON UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep UserProFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep UserProFile = D1 (MetaData "UserProFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "UserProFile'" PrefixI True) ((S1 (MetaSel (Just "_upfPhotoURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_upfVerifiedTeacher") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_upfName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Name)))) :*: (S1 (MetaSel (Just "_upfEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_upfId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_upfPermissions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GlobalPermission]))))))

userProFile :: UserProFile Source #

Creates a value of UserProFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

upfPhotoURL :: Lens' UserProFile (Maybe Text) Source #

URL of user's profile photo. Read-only.

upfVerifiedTeacher :: Lens' UserProFile (Maybe Bool) Source #

Represents whether a G Suite for Education user's domain administrator has explicitly verified them as being a teacher. If the user is not a member of a G Suite for Education domain, than this field will always be false. Read-only

upfName :: Lens' UserProFile (Maybe Name) Source #

Name of the user. Read-only.

upfEmailAddress :: Lens' UserProFile (Maybe Text) Source #

Email address of the user. Read-only.

upfId :: Lens' UserProFile (Maybe Text) Source #

Identifier of the user. Read-only.

upfPermissions :: Lens' UserProFile [GlobalPermission] Source #

Global permissions of the user. Read-only.

DriveFolder

data DriveFolder Source #

Representation of a Google Drive folder.

See: driveFolder smart constructor.

Instances
Eq DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DriveFolder -> c DriveFolder #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DriveFolder #

toConstr :: DriveFolder -> Constr #

dataTypeOf :: DriveFolder -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DriveFolder) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DriveFolder) #

gmapT :: (forall b. Data b => b -> b) -> DriveFolder -> DriveFolder #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DriveFolder -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DriveFolder -> r #

gmapQ :: (forall d. Data d => d -> u) -> DriveFolder -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DriveFolder -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DriveFolder -> m DriveFolder #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFolder -> m DriveFolder #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DriveFolder -> m DriveFolder #

Show DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep DriveFolder :: Type -> Type #

ToJSON DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep DriveFolder Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep DriveFolder = D1 (MetaData "DriveFolder" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "DriveFolder'" PrefixI True) (S1 (MetaSel (Just "_dId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

driveFolder :: DriveFolder Source #

Creates a value of DriveFolder with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dId :: Lens' DriveFolder (Maybe Text) Source #

Drive API resource ID.

dTitle :: Lens' DriveFolder (Maybe Text) Source #

Title of the Drive folder. Read-only.

dAlternateLink :: Lens' DriveFolder (Maybe Text) Source #

URL that can be used to access the Drive folder. Read-only.

SubmissionHistory

data SubmissionHistory Source #

The history of the submission. This currently includes state and grade histories.

See: submissionHistory smart constructor.

Instances
Eq SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubmissionHistory -> c SubmissionHistory #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubmissionHistory #

toConstr :: SubmissionHistory -> Constr #

dataTypeOf :: SubmissionHistory -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SubmissionHistory) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubmissionHistory) #

gmapT :: (forall b. Data b => b -> b) -> SubmissionHistory -> SubmissionHistory #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubmissionHistory -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubmissionHistory -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubmissionHistory -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubmissionHistory -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubmissionHistory -> m SubmissionHistory #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubmissionHistory -> m SubmissionHistory #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubmissionHistory -> m SubmissionHistory #

Show SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep SubmissionHistory :: Type -> Type #

ToJSON SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep SubmissionHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep SubmissionHistory = D1 (MetaData "SubmissionHistory" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "SubmissionHistory'" PrefixI True) (S1 (MetaSel (Just "_shGradeHistory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GradeHistory)) :*: S1 (MetaSel (Just "_shStateHistory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StateHistory))))

submissionHistory :: SubmissionHistory Source #

Creates a value of SubmissionHistory with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

shGradeHistory :: Lens' SubmissionHistory (Maybe GradeHistory) Source #

The grade history information of the submission, if present.

shStateHistory :: Lens' SubmissionHistory (Maybe StateHistory) Source #

The state history information of the submission, if present.

StateHistory

data StateHistory Source #

The history of each state this submission has been in.

See: stateHistory smart constructor.

Instances
Eq StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StateHistory -> c StateHistory #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StateHistory #

toConstr :: StateHistory -> Constr #

dataTypeOf :: StateHistory -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StateHistory) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StateHistory) #

gmapT :: (forall b. Data b => b -> b) -> StateHistory -> StateHistory #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StateHistory -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StateHistory -> r #

gmapQ :: (forall d. Data d => d -> u) -> StateHistory -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StateHistory -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StateHistory -> m StateHistory #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StateHistory -> m StateHistory #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StateHistory -> m StateHistory #

Show StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep StateHistory :: Type -> Type #

ToJSON StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep StateHistory Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep StateHistory = D1 (MetaData "StateHistory" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "StateHistory'" PrefixI True) (S1 (MetaSel (Just "_shState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StateHistoryState)) :*: (S1 (MetaSel (Just "_shActorUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_shStateTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))))

stateHistory :: StateHistory Source #

Creates a value of StateHistory with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

shState :: Lens' StateHistory (Maybe StateHistoryState) Source #

The workflow pipeline stage.

shActorUserId :: Lens' StateHistory (Maybe Text) Source #

The teacher or student who made the change

shStateTimestamp :: Lens' StateHistory (Maybe UTCTime) Source #

When the submission entered this state.

MultipleChoiceQuestion

data MultipleChoiceQuestion Source #

Additional details for multiple-choice questions.

See: multipleChoiceQuestion smart constructor.

Instances
Eq MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MultipleChoiceQuestion -> c MultipleChoiceQuestion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MultipleChoiceQuestion #

toConstr :: MultipleChoiceQuestion -> Constr #

dataTypeOf :: MultipleChoiceQuestion -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MultipleChoiceQuestion) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MultipleChoiceQuestion) #

gmapT :: (forall b. Data b => b -> b) -> MultipleChoiceQuestion -> MultipleChoiceQuestion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MultipleChoiceQuestion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MultipleChoiceQuestion -> r #

gmapQ :: (forall d. Data d => d -> u) -> MultipleChoiceQuestion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MultipleChoiceQuestion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MultipleChoiceQuestion -> m MultipleChoiceQuestion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MultipleChoiceQuestion -> m MultipleChoiceQuestion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MultipleChoiceQuestion -> m MultipleChoiceQuestion #

Show MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep MultipleChoiceQuestion :: Type -> Type #

ToJSON MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep MultipleChoiceQuestion Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep MultipleChoiceQuestion = D1 (MetaData "MultipleChoiceQuestion" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "MultipleChoiceQuestion'" PrefixI True) (S1 (MetaSel (Just "_mcqChoices") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

multipleChoiceQuestion :: MultipleChoiceQuestion Source #

Creates a value of MultipleChoiceQuestion with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Course

data Course Source #

A Course in Classroom.

See: course smart constructor.

Instances
Eq Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

(==) :: Course -> Course -> Bool #

(/=) :: Course -> Course -> Bool #

Data Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Course -> c Course #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Course #

toConstr :: Course -> Constr #

dataTypeOf :: Course -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Course) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Course) #

gmapT :: (forall b. Data b => b -> b) -> Course -> Course #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Course -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Course -> r #

gmapQ :: (forall d. Data d => d -> u) -> Course -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Course -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Course -> m Course #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Course -> m Course #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Course -> m Course #

Show Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Course :: Type -> Type #

Methods

from :: Course -> Rep Course x #

to :: Rep Course x -> Course #

ToJSON Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Course Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Course = D1 (MetaData "Course" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Course'" PrefixI True) ((((S1 (MetaSel (Just "_couCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_couRoom") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_couCourseMaterialSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CourseMaterialSet])) :*: S1 (MetaSel (Just "_couCalendarId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_couTeacherGroupEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_couTeacherFolder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFolder))) :*: (S1 (MetaSel (Just "_couCourseState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CourseCourseState)) :*: (S1 (MetaSel (Just "_couGuardiansEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_couEnrollmentCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 (MetaSel (Just "_couUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_couOwnerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_couName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_couId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_couAlternateLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_couCourseGroupEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_couDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_couDescriptionHeading") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_couSection") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

couCreationTime :: Lens' Course (Maybe UTCTime) Source #

Creation time of the course. Specifying this field in a course update mask results in an error. Read-only.

couRoom :: Lens' Course (Maybe Text) Source #

Optional room location. For example, "301". If set, this field must be a valid UTF-8 string and no longer than 650 characters.

couCourseMaterialSets :: Lens' Course [CourseMaterialSet] Source #

Sets of materials that appear on the "about" page of this course. Read-only.

couCalendarId :: Lens' Course (Maybe Text) Source #

The Calendar ID for a calendar that all course members can see, to which Classroom adds events for course work and announcements in the course. Read-only.

couTeacherGroupEmail :: Lens' Course (Maybe Text) Source #

The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions. Read-only.

couTeacherFolder :: Lens' Course (Maybe DriveFolder) Source #

Information about a Drive Folder that is shared with all teachers of the course. This field will only be set for teachers of the course and domain administrators. Read-only.

couCourseState :: Lens' Course (Maybe CourseCourseState) Source #

State of the course. If unspecified, the default state is `PROVISIONED`.

couGuardiansEnabled :: Lens' Course (Maybe Bool) Source #

Whether or not guardian notifications are enabled for this course. Read-only.

couEnrollmentCode :: Lens' Course (Maybe Text) Source #

Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error. Read-only.

couUpdateTime :: Lens' Course (Maybe UTCTime) Source #

Time of the most recent update to this course. Specifying this field in a course update mask results in an error. Read-only.

couOwnerId :: Lens' Course (Maybe Text) Source #

The identifier of the owner of a course. When specified as a parameter of a create course request, this field is required. The identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user This must be set in a create request. Admins can also specify this field in a patch course request to transfer ownership. In other contexts, it is read-only.

couName :: Lens' Course (Maybe Text) Source #

Name of the course. For example, "10th Grade Biology". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.

couId :: Lens' Course (Maybe Text) Source #

Identifier for this course assigned by Classroom. When creating a course, you may optionally set this identifier to an alias string in the request to create a corresponding alias. The `id` is still assigned by Classroom and cannot be updated after the course is created. Specifying this field in a course update mask results in an error.

couAlternateLink :: Lens' Course (Maybe Text) Source #

Absolute link to this course in the Classroom web UI. Read-only.

couCourseGroupEmail :: Lens' Course (Maybe Text) Source #

The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions. Read-only.

couDescription :: Lens' Course (Maybe Text) Source #

Optional description. For example, "We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.

couDescriptionHeading :: Lens' Course (Maybe Text) Source #

Optional heading for the description. For example, "Welcome to 10th Grade Biology." If set, this field must be a valid UTF-8 string and no longer than 3600 characters.

couSection :: Lens' Course (Maybe Text) Source #

Section of the course. For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.

InvitationRole

data InvitationRole Source #

Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`.

Constructors

IRCourseRoleUnspecified

COURSE_ROLE_UNSPECIFIED No course role.

IRStudent

STUDENT Student in the course.

IRTeacher

TEACHER Teacher of the course.

IROwner

OWNER Owner of the course.

Instances
Enum InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InvitationRole -> c InvitationRole #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InvitationRole #

toConstr :: InvitationRole -> Constr #

dataTypeOf :: InvitationRole -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InvitationRole) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InvitationRole) #

gmapT :: (forall b. Data b => b -> b) -> InvitationRole -> InvitationRole #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InvitationRole -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InvitationRole -> r #

gmapQ :: (forall d. Data d => d -> u) -> InvitationRole -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InvitationRole -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InvitationRole -> m InvitationRole #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InvitationRole -> m InvitationRole #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InvitationRole -> m InvitationRole #

Ord InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep InvitationRole :: Type -> Type #

Hashable InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep InvitationRole Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep InvitationRole = D1 (MetaData "InvitationRole" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "IRCourseRoleUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "IRStudent" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "IRTeacher" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "IROwner" PrefixI False) (U1 :: Type -> Type)))

StudentSubmissionCourseWorkType

data StudentSubmissionCourseWorkType Source #

Type of course work this submission is for. Read-only.

Constructors

SSCWTCourseWorkTypeUnspecified

COURSE_WORK_TYPE_UNSPECIFIED No work type specified. This is never returned.

SSCWTAssignment

ASSIGNMENT An assignment.

SSCWTShortAnswerQuestion

SHORT_ANSWER_QUESTION A short answer question.

SSCWTMultipleChoiceQuestion

MULTIPLE_CHOICE_QUESTION A multiple-choice question.

Instances
Enum StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StudentSubmissionCourseWorkType -> c StudentSubmissionCourseWorkType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StudentSubmissionCourseWorkType #

toConstr :: StudentSubmissionCourseWorkType -> Constr #

dataTypeOf :: StudentSubmissionCourseWorkType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StudentSubmissionCourseWorkType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StudentSubmissionCourseWorkType) #

gmapT :: (forall b. Data b => b -> b) -> StudentSubmissionCourseWorkType -> StudentSubmissionCourseWorkType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StudentSubmissionCourseWorkType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StudentSubmissionCourseWorkType -> r #

gmapQ :: (forall d. Data d => d -> u) -> StudentSubmissionCourseWorkType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StudentSubmissionCourseWorkType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StudentSubmissionCourseWorkType -> m StudentSubmissionCourseWorkType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StudentSubmissionCourseWorkType -> m StudentSubmissionCourseWorkType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StudentSubmissionCourseWorkType -> m StudentSubmissionCourseWorkType #

Ord StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep StudentSubmissionCourseWorkType :: Type -> Type #

Hashable StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep StudentSubmissionCourseWorkType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep StudentSubmissionCourseWorkType = D1 (MetaData "StudentSubmissionCourseWorkType" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "SSCWTCourseWorkTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SSCWTAssignment" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SSCWTShortAnswerQuestion" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SSCWTMultipleChoiceQuestion" PrefixI False) (U1 :: Type -> Type)))

TimeOfDay'

data TimeOfDay' Source #

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

See: timeOfDay smart constructor.

Instances
Eq TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeOfDay' -> c TimeOfDay' #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeOfDay' #

toConstr :: TimeOfDay' -> Constr #

dataTypeOf :: TimeOfDay' -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeOfDay') #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeOfDay') #

gmapT :: (forall b. Data b => b -> b) -> TimeOfDay' -> TimeOfDay' #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfDay' -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfDay' -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimeOfDay' -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeOfDay' -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeOfDay' -> m TimeOfDay' #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfDay' -> m TimeOfDay' #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfDay' -> m TimeOfDay' #

Show TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep TimeOfDay' :: Type -> Type #

ToJSON TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep TimeOfDay' Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep TimeOfDay' = D1 (MetaData "TimeOfDay'" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "TimeOfDay''" PrefixI True) ((S1 (MetaSel (Just "_todNanos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_todHours") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_todMinutes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_todSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

timeOfDay :: TimeOfDay' Source #

Creates a value of TimeOfDay with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

todNanos :: Lens' TimeOfDay' (Maybe Int32) Source #

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

todHours :: Lens' TimeOfDay' (Maybe Int32) Source #

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

todMinutes :: Lens' TimeOfDay' (Maybe Int32) Source #

Minutes of hour of day. Must be from 0 to 59.

todSeconds :: Lens' TimeOfDay' (Maybe Int32) Source #

Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

FeedFeedType

data FeedFeedType Source #

The type of feed.

Constructors

FeedTypeUnspecified

FEED_TYPE_UNSPECIFIED Should never be returned or provided.

DomainRosterChanges

DOMAIN_ROSTER_CHANGES All roster changes for a particular domain. Notifications will be generated whenever a user joins or leaves a course. No notifications will be generated when an invitation is created or deleted, but notifications will be generated when a user joins a course by accepting an invitation.

CourseRosterChanges

COURSE_ROSTER_CHANGES All roster changes for a particular course. Notifications will be generated whenever a user joins or leaves a course. No notifications will be generated when an invitation is created or deleted, but notifications will be generated when a user joins a course by accepting an invitation.

CourseWorkChanges

COURSE_WORK_CHANGES All course work activity for a particular course. Notifications will be generated when a CourseWork or StudentSubmission object is created or modified. No notification will be generated when a StudentSubmission object is created in connection with the creation or modification of its parent CourseWork object (but a notification will be generated for that CourseWork object's creation or modification).

Instances
Enum FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FeedFeedType -> c FeedFeedType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FeedFeedType #

toConstr :: FeedFeedType -> Constr #

dataTypeOf :: FeedFeedType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FeedFeedType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FeedFeedType) #

gmapT :: (forall b. Data b => b -> b) -> FeedFeedType -> FeedFeedType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FeedFeedType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FeedFeedType -> r #

gmapQ :: (forall d. Data d => d -> u) -> FeedFeedType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FeedFeedType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FeedFeedType -> m FeedFeedType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FeedFeedType -> m FeedFeedType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FeedFeedType -> m FeedFeedType #

Ord FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep FeedFeedType :: Type -> Type #

Hashable FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep FeedFeedType Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep FeedFeedType = D1 (MetaData "FeedFeedType" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) ((C1 (MetaCons "FeedTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DomainRosterChanges" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "CourseRosterChanges" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CourseWorkChanges" PrefixI False) (U1 :: Type -> Type)))

ListGuardianInvitationsResponse

data ListGuardianInvitationsResponse Source #

Response when listing guardian invitations.

See: listGuardianInvitationsResponse smart constructor.

Instances
Eq ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListGuardianInvitationsResponse -> c ListGuardianInvitationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListGuardianInvitationsResponse #

toConstr :: ListGuardianInvitationsResponse -> Constr #

dataTypeOf :: ListGuardianInvitationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListGuardianInvitationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListGuardianInvitationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListGuardianInvitationsResponse -> ListGuardianInvitationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListGuardianInvitationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListGuardianInvitationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListGuardianInvitationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListGuardianInvitationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListGuardianInvitationsResponse -> m ListGuardianInvitationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGuardianInvitationsResponse -> m ListGuardianInvitationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListGuardianInvitationsResponse -> m ListGuardianInvitationsResponse #

Show ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListGuardianInvitationsResponse :: Type -> Type #

ToJSON ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListGuardianInvitationsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListGuardianInvitationsResponse = D1 (MetaData "ListGuardianInvitationsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListGuardianInvitationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lgirNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lgirGuardianInvitations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GuardianInvitation]))))

listGuardianInvitationsResponse :: ListGuardianInvitationsResponse Source #

Creates a value of ListGuardianInvitationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgirNextPageToken :: Lens' ListGuardianInvitationsResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lgirGuardianInvitations :: Lens' ListGuardianInvitationsResponse [GuardianInvitation] Source #

Guardian invitations that matched the list request.

Assignment

data Assignment Source #

Additional details for assignments.

See: assignment smart constructor.

Instances
Eq Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Assignment -> c Assignment #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Assignment #

toConstr :: Assignment -> Constr #

dataTypeOf :: Assignment -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Assignment) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Assignment) #

gmapT :: (forall b. Data b => b -> b) -> Assignment -> Assignment #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Assignment -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Assignment -> r #

gmapQ :: (forall d. Data d => d -> u) -> Assignment -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Assignment -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Assignment -> m Assignment #

Show Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Assignment :: Type -> Type #

ToJSON Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Assignment Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Assignment = D1 (MetaData "Assignment" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "Assignment'" PrefixI True) (S1 (MetaSel (Just "_aStudentWorkFolder") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe DriveFolder))))

assignment :: Assignment Source #

Creates a value of Assignment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aStudentWorkFolder :: Lens' Assignment (Maybe DriveFolder) Source #

Drive folder where attachments from student submissions are placed. This is only populated for course teachers and administrators.

ListStudentsResponse

data ListStudentsResponse Source #

Response when listing students.

See: listStudentsResponse smart constructor.

Instances
Eq ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListStudentsResponse -> c ListStudentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListStudentsResponse #

toConstr :: ListStudentsResponse -> Constr #

dataTypeOf :: ListStudentsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListStudentsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListStudentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListStudentsResponse -> ListStudentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListStudentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListStudentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListStudentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListStudentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListStudentsResponse -> m ListStudentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStudentsResponse -> m ListStudentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListStudentsResponse -> m ListStudentsResponse #

Show ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListStudentsResponse :: Type -> Type #

ToJSON ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListStudentsResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListStudentsResponse = D1 (MetaData "ListStudentsResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListStudentsResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrStudents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Student]))))

listStudentsResponse :: ListStudentsResponse Source #

Creates a value of ListStudentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsrNextPageToken :: Lens' ListStudentsResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

lsrStudents :: Lens' ListStudentsResponse [Student] Source #

Students who match the list request.

SharedDriveFile

data SharedDriveFile Source #

Drive file that is used as material for course work.

See: sharedDriveFile smart constructor.

Instances
Eq SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SharedDriveFile -> c SharedDriveFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SharedDriveFile #

toConstr :: SharedDriveFile -> Constr #

dataTypeOf :: SharedDriveFile -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SharedDriveFile) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SharedDriveFile) #

gmapT :: (forall b. Data b => b -> b) -> SharedDriveFile -> SharedDriveFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SharedDriveFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SharedDriveFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> SharedDriveFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SharedDriveFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SharedDriveFile -> m SharedDriveFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SharedDriveFile -> m SharedDriveFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SharedDriveFile -> m SharedDriveFile #

Show SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep SharedDriveFile :: Type -> Type #

ToJSON SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep SharedDriveFile Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep SharedDriveFile = D1 (MetaData "SharedDriveFile" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "SharedDriveFile'" PrefixI True) (S1 (MetaSel (Just "_sdfDriveFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFile)) :*: S1 (MetaSel (Just "_sdfShareMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SharedDriveFileShareMode))))

sharedDriveFile :: SharedDriveFile Source #

Creates a value of SharedDriveFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdfShareMode :: Lens' SharedDriveFile (Maybe SharedDriveFileShareMode) Source #

Mechanism by which students access the Drive item.

CourseAlias

data CourseAlias Source #

Alternative identifier for a course. An alias uniquely identifies a course. It must be unique within one of the following scopes: * domain: A domain-scoped alias is visible to all users within the alias creator's domain and can be created only by a domain admin. A domain-scoped alias is often used when a course has an identifier external to Classroom. * project: A project-scoped alias is visible to any request from an application using the Developer Console project ID that created the alias and can be created by any project. A project-scoped alias is often used when an application has alternative identifiers. A random value can also be used to avoid duplicate courses in the event of transmission failures, as retrying a request will return `ALREADY_EXISTS` if a previous one has succeeded.

See: courseAlias smart constructor.

Instances
Eq CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseAlias -> c CourseAlias #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseAlias #

toConstr :: CourseAlias -> Constr #

dataTypeOf :: CourseAlias -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CourseAlias) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseAlias) #

gmapT :: (forall b. Data b => b -> b) -> CourseAlias -> CourseAlias #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseAlias -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseAlias -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseAlias -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseAlias -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseAlias -> m CourseAlias #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseAlias -> m CourseAlias #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseAlias -> m CourseAlias #

Show CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CourseAlias :: Type -> Type #

ToJSON CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseAlias Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseAlias = D1 (MetaData "CourseAlias" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "CourseAlias'" PrefixI True) (S1 (MetaSel (Just "_caAlias") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

courseAlias :: CourseAlias Source #

Creates a value of CourseAlias with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

caAlias :: Lens' CourseAlias (Maybe Text) Source #

Alias string. The format of the string indicates the desired alias scoping. * `d:` indicates a domain-scoped alias. Example: `d:math_101` * `p:` indicates a project-scoped alias. Example: `p:abc123` This field has a maximum length of 256 characters.

CourseRosterChangesInfo

data CourseRosterChangesInfo Source #

Information about a `Feed` with a `feed_type` of `COURSE_ROSTER_CHANGES`.

See: courseRosterChangesInfo smart constructor.

Instances
Eq CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseRosterChangesInfo -> c CourseRosterChangesInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseRosterChangesInfo #

toConstr :: CourseRosterChangesInfo -> Constr #

dataTypeOf :: CourseRosterChangesInfo -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CourseRosterChangesInfo) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseRosterChangesInfo) #

gmapT :: (forall b. Data b => b -> b) -> CourseRosterChangesInfo -> CourseRosterChangesInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseRosterChangesInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseRosterChangesInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseRosterChangesInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseRosterChangesInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseRosterChangesInfo -> m CourseRosterChangesInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseRosterChangesInfo -> m CourseRosterChangesInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseRosterChangesInfo -> m CourseRosterChangesInfo #

Show CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CourseRosterChangesInfo :: Type -> Type #

ToJSON CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseRosterChangesInfo Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CourseRosterChangesInfo = D1 (MetaData "CourseRosterChangesInfo" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "CourseRosterChangesInfo'" PrefixI True) (S1 (MetaSel (Just "_crciCourseId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

courseRosterChangesInfo :: CourseRosterChangesInfo Source #

Creates a value of CourseRosterChangesInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

crciCourseId :: Lens' CourseRosterChangesInfo (Maybe Text) Source #

The `course_id` of the course to subscribe to roster changes for.

ModifyIndividualStudentsOptions

data ModifyIndividualStudentsOptions Source #

Contains fields to add or remove students from a course work or announcement where the `assigneeMode` is set to `INDIVIDUAL_STUDENTS`.

See: modifyIndividualStudentsOptions smart constructor.

Instances
Eq ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyIndividualStudentsOptions -> c ModifyIndividualStudentsOptions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyIndividualStudentsOptions #

toConstr :: ModifyIndividualStudentsOptions -> Constr #

dataTypeOf :: ModifyIndividualStudentsOptions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyIndividualStudentsOptions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyIndividualStudentsOptions) #

gmapT :: (forall b. Data b => b -> b) -> ModifyIndividualStudentsOptions -> ModifyIndividualStudentsOptions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyIndividualStudentsOptions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyIndividualStudentsOptions -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyIndividualStudentsOptions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyIndividualStudentsOptions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyIndividualStudentsOptions -> m ModifyIndividualStudentsOptions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyIndividualStudentsOptions -> m ModifyIndividualStudentsOptions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyIndividualStudentsOptions -> m ModifyIndividualStudentsOptions #

Show ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ModifyIndividualStudentsOptions :: Type -> Type #

ToJSON ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyIndividualStudentsOptions Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ModifyIndividualStudentsOptions = D1 (MetaData "ModifyIndividualStudentsOptions" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ModifyIndividualStudentsOptions'" PrefixI True) (S1 (MetaSel (Just "_misoAddStudentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_misoRemoveStudentIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

modifyIndividualStudentsOptions :: ModifyIndividualStudentsOptions Source #

Creates a value of ModifyIndividualStudentsOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

misoAddStudentIds :: Lens' ModifyIndividualStudentsOptions [Text] Source #

Ids of students to be added as having access to this coursework/announcement.

misoRemoveStudentIds :: Lens' ModifyIndividualStudentsOptions [Text] Source #

Ids of students to be removed from having access to this coursework/announcement.

CloudPubsubTopic

data CloudPubsubTopic Source #

A reference to a Cloud Pub/Sub topic. To register for notifications, the owner of the topic must grant `classroom-notifications'system.gserviceaccount.com` the `projects.topics.publish` permission.

See: cloudPubsubTopic smart constructor.

Instances
Eq CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CloudPubsubTopic -> c CloudPubsubTopic #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CloudPubsubTopic #

toConstr :: CloudPubsubTopic -> Constr #

dataTypeOf :: CloudPubsubTopic -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CloudPubsubTopic) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CloudPubsubTopic) #

gmapT :: (forall b. Data b => b -> b) -> CloudPubsubTopic -> CloudPubsubTopic #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CloudPubsubTopic -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CloudPubsubTopic -> r #

gmapQ :: (forall d. Data d => d -> u) -> CloudPubsubTopic -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CloudPubsubTopic -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CloudPubsubTopic -> m CloudPubsubTopic #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudPubsubTopic -> m CloudPubsubTopic #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CloudPubsubTopic -> m CloudPubsubTopic #

Show CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep CloudPubsubTopic :: Type -> Type #

ToJSON CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CloudPubsubTopic Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep CloudPubsubTopic = D1 (MetaData "CloudPubsubTopic" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" True) (C1 (MetaCons "CloudPubsubTopic'" PrefixI True) (S1 (MetaSel (Just "_cptTopicName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

cloudPubsubTopic :: CloudPubsubTopic Source #

Creates a value of CloudPubsubTopic with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cptTopicName :: Lens' CloudPubsubTopic (Maybe Text) Source #

The `name` field of a Cloud Pub/Sub Topic.

GlobalPermissionPermission

data GlobalPermissionPermission Source #

Permission value.

Constructors

PermissionUnspecified

PERMISSION_UNSPECIFIED No permission is specified. This is not returned and is not a valid value.

CreateCourse

CREATE_COURSE User is permitted to create a course.

Instances
Enum GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GlobalPermissionPermission -> c GlobalPermissionPermission #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GlobalPermissionPermission #

toConstr :: GlobalPermissionPermission -> Constr #

dataTypeOf :: GlobalPermissionPermission -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GlobalPermissionPermission) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GlobalPermissionPermission) #

gmapT :: (forall b. Data b => b -> b) -> GlobalPermissionPermission -> GlobalPermissionPermission #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GlobalPermissionPermission -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GlobalPermissionPermission -> r #

gmapQ :: (forall d. Data d => d -> u) -> GlobalPermissionPermission -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GlobalPermissionPermission -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GlobalPermissionPermission -> m GlobalPermissionPermission #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GlobalPermissionPermission -> m GlobalPermissionPermission #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GlobalPermissionPermission -> m GlobalPermissionPermission #

Ord GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep GlobalPermissionPermission :: Type -> Type #

Hashable GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep GlobalPermissionPermission Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep GlobalPermissionPermission = D1 (MetaData "GlobalPermissionPermission" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "PermissionUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CreateCourse" PrefixI False) (U1 :: Type -> Type))

CourseWorkAssigneeMode

data CourseWorkAssigneeMode Source #

Assignee mode of the coursework. If unspecified, the default value is `ALL_STUDENTS`.

Constructors

CWAMAssigneeModeUnspecified

ASSIGNEE_MODE_UNSPECIFIED No mode specified. This is never returned.

CWAMAllStudents

ALL_STUDENTS All students can see the item. This is the default state.

CWAMIndividualStudents

INDIVIDUAL_STUDENTS A subset of the students can see the item.

Instances
Enum CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseWorkAssigneeMode -> c CourseWorkAssigneeMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseWorkAssigneeMode #

toConstr :: CourseWorkAssigneeMode -> Constr #

dataTypeOf :: CourseWorkAssigneeMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CourseWorkAssigneeMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseWorkAssigneeMode) #

gmapT :: (forall b. Data b => b -> b) -> CourseWorkAssigneeMode -> CourseWorkAssigneeMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseWorkAssigneeMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseWorkAssigneeMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseWorkAssigneeMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseWorkAssigneeMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseWorkAssigneeMode -> m CourseWorkAssigneeMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseWorkAssigneeMode -> m CourseWorkAssigneeMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseWorkAssigneeMode -> m CourseWorkAssigneeMode #

Ord CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Associated Types

type Rep CourseWorkAssigneeMode :: Type -> Type #

Hashable CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkAssigneeMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkAssigneeMode = D1 (MetaData "CourseWorkAssigneeMode" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "CWAMAssigneeModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "CWAMAllStudents" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CWAMIndividualStudents" PrefixI False) (U1 :: Type -> Type)))

Form

data Form Source #

Google Forms item.

See: form smart constructor.

Instances
Eq Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

(==) :: Form -> Form -> Bool #

(/=) :: Form -> Form -> Bool #

Data Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Form -> c Form #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Form #

toConstr :: Form -> Constr #

dataTypeOf :: Form -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Form) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Form) #

gmapT :: (forall b. Data b => b -> b) -> Form -> Form #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Form -> r #

gmapQ :: (forall d. Data d => d -> u) -> Form -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Form -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Form -> m Form #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Form -> m Form #

Show Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

showsPrec :: Int -> Form -> ShowS #

show :: Form -> String #

showList :: [Form] -> ShowS #

Generic Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Form :: Type -> Type #

Methods

from :: Form -> Rep Form x #

to :: Rep Form x -> Form #

ToJSON Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Form Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Form = D1 (MetaData "Form" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Form'" PrefixI True) ((S1 (MetaSel (Just "_fThumbnailURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fFormURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_fTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fResponseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

form :: Form Source #

Creates a value of Form with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fThumbnailURL :: Lens' Form (Maybe Text) Source #

URL of a thumbnail image of the Form. Read-only.

fFormURL :: Lens' Form (Maybe Text) Source #

URL of the form.

fTitle :: Lens' Form (Maybe Text) Source #

Title of the Form. Read-only.

fResponseURL :: Lens' Form (Maybe Text) Source #

URL of the form responses document. Only set if respsonses have been recorded and only when the requesting user is an editor of the form. Read-only.

ListTeachersResponse

data ListTeachersResponse Source #

Response when listing teachers.

See: listTeachersResponse smart constructor.

Instances
Eq ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListTeachersResponse -> c ListTeachersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListTeachersResponse #

toConstr :: ListTeachersResponse -> Constr #

dataTypeOf :: ListTeachersResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListTeachersResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListTeachersResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListTeachersResponse -> ListTeachersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListTeachersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListTeachersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListTeachersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListTeachersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListTeachersResponse -> m ListTeachersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTeachersResponse -> m ListTeachersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListTeachersResponse -> m ListTeachersResponse #

Show ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListTeachersResponse :: Type -> Type #

ToJSON ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListTeachersResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListTeachersResponse = D1 (MetaData "ListTeachersResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "ListTeachersResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrTeachers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Teacher]))))

listTeachersResponse :: ListTeachersResponse Source #

Creates a value of ListTeachersResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ltrNextPageToken :: Lens' ListTeachersResponse (Maybe Text) Source #

Token identifying the next page of results to return. If empty, no further results are available.

ltrTeachers :: Lens' ListTeachersResponse [Teacher] Source #

Teachers who match the list request.

Student

data Student Source #

Student in a course.

See: student smart constructor.

Instances
Eq Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

(==) :: Student -> Student -> Bool #

(/=) :: Student -> Student -> Bool #

Data Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Student -> c Student #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Student #

toConstr :: Student -> Constr #

dataTypeOf :: Student -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Student) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Student) #

gmapT :: (forall b. Data b => b -> b) -> Student -> Student #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Student -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Student -> r #

gmapQ :: (forall d. Data d => d -> u) -> Student -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Student -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Student -> m Student #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Student -> m Student #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Student -> m Student #

Show Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Student :: Type -> Type #

Methods

from :: Student -> Rep Student x #

to :: Rep Student x -> Student #

ToJSON Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Student Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Student = D1 (MetaData "Student" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Student'" PrefixI True) ((S1 (MetaSel (Just "_sCourseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sProFile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UserProFile))) :*: (S1 (MetaSel (Just "_sStudentWorkFolder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DriveFolder)) :*: S1 (MetaSel (Just "_sUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

student :: Student Source #

Creates a value of Student with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sCourseId :: Lens' Student (Maybe Text) Source #

Identifier of the course. Read-only.

sProFile :: Lens' Student (Maybe UserProFile) Source #

Global user information for the student. Read-only.

sStudentWorkFolder :: Lens' Student (Maybe DriveFolder) Source #

Information about a Drive Folder for this student's work in this course. Only visible to the student and domain administrators. Read-only.

sUserId :: Lens' Student (Maybe Text) Source #

Identifier of the user. When specified as a parameter of a request, this identifier can be one of the following: * the numeric identifier for the user * the email address of the user * the string literal `"me"`, indicating the requesting user

CourseWorkSubmissionModificationMode

data CourseWorkSubmissionModificationMode Source #

Setting to determine when students are allowed to modify submissions. If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`.

Constructors

SubmissionModificationModeUnspecified

SUBMISSION_MODIFICATION_MODE_UNSPECIFIED No modification mode specified. This is never returned.

ModifiableUntilTurnedIn

MODIFIABLE_UNTIL_TURNED_IN Submissions can be modified before being turned in.

Modifiable

MODIFIABLE Submissions can be modified at any time.

Instances
Enum CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Eq CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Data CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CourseWorkSubmissionModificationMode -> c CourseWorkSubmissionModificationMode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CourseWorkSubmissionModificationMode #

toConstr :: CourseWorkSubmissionModificationMode -> Constr #

dataTypeOf :: CourseWorkSubmissionModificationMode -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CourseWorkSubmissionModificationMode) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CourseWorkSubmissionModificationMode) #

gmapT :: (forall b. Data b => b -> b) -> CourseWorkSubmissionModificationMode -> CourseWorkSubmissionModificationMode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CourseWorkSubmissionModificationMode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CourseWorkSubmissionModificationMode -> r #

gmapQ :: (forall d. Data d => d -> u) -> CourseWorkSubmissionModificationMode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CourseWorkSubmissionModificationMode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CourseWorkSubmissionModificationMode -> m CourseWorkSubmissionModificationMode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseWorkSubmissionModificationMode -> m CourseWorkSubmissionModificationMode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CourseWorkSubmissionModificationMode -> m CourseWorkSubmissionModificationMode #

Ord CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Read CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Show CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Generic CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

Hashable CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToJSON CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromJSON CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

FromHttpApiData CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

ToHttpApiData CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkSubmissionModificationMode Source # 
Instance details

Defined in Network.Google.Classroom.Types.Sum

type Rep CourseWorkSubmissionModificationMode = D1 (MetaData "CourseWorkSubmissionModificationMode" "Network.Google.Classroom.Types.Sum" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "SubmissionModificationModeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ModifiableUntilTurnedIn" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Modifiable" PrefixI False) (U1 :: Type -> Type)))

Registration

data Registration Source #

An instruction to Classroom to send notifications from the `feed` to the provided destination.

See: registration smart constructor.

Instances
Eq Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Registration -> c Registration #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Registration #

toConstr :: Registration -> Constr #

dataTypeOf :: Registration -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Registration) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Registration) #

gmapT :: (forall b. Data b => b -> b) -> Registration -> Registration #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Registration -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Registration -> r #

gmapQ :: (forall d. Data d => d -> u) -> Registration -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Registration -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Registration -> m Registration #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Registration -> m Registration #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Registration -> m Registration #

Show Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep Registration :: Type -> Type #

ToJSON Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Registration Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep Registration = D1 (MetaData "Registration" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.4.0-8aa8kYGMMJyCKn01TYMpOR" False) (C1 (MetaCons "Registration'" PrefixI True) ((S1 (MetaSel (Just "_rRegistrationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rExpiryTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) :*: (S1 (MetaSel (Just "_rFeed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Feed)) :*: S1 (MetaSel (Just "_rCloudPubsubTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CloudPubsubTopic)))))

registration :: Registration Source #

Creates a value of Registration with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rRegistrationId :: Lens' Registration (Maybe Text) Source #

A server-generated unique identifier for this `Registration`. Read-only.

rExpiryTime :: Lens' Registration (Maybe UTCTime) Source #

The time until which the `Registration` is effective. This is a read-only field assigned by the server.

rFeed :: Lens' Registration (Maybe Feed) Source #

Specification for the class of notifications that Classroom should deliver to the destination.

rCloudPubsubTopic :: Lens' Registration (Maybe CloudPubsubTopic) Source #

The Cloud Pub/Sub topic that notifications are to be sent to.