gogol-classroom-0.5.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

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

View topics in Google Classroom

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

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

See, create, and edit topics in Google Classroom

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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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 "_cwTopicId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (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.

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

Identifier for the topic that this coursework is associated with. Must match an existing topic in the course.

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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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:

ListTopicResponse

data ListTopicResponse Source #

Response when listing topics.

See: listTopicResponse smart constructor.

Instances
Eq ListTopicResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Data ListTopicResponse 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) -> ListTopicResponse -> c ListTopicResponse #

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

toConstr :: ListTopicResponse -> Constr #

dataTypeOf :: ListTopicResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListTopicResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Generic ListTopicResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

Associated Types

type Rep ListTopicResponse :: Type -> Type #

ToJSON ListTopicResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

FromJSON ListTopicResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListTopicResponse Source # 
Instance details

Defined in Network.Google.Classroom.Types.Product

type Rep ListTopicResponse = D1 (MetaData "ListTopicResponse" "Network.Google.Classroom.Types.Product" "gogol-classroom-0.5.0-Dil3ZfW4IuD9vJQ6Q2970g" False) (C1 (MetaCons "ListTopicResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Topic]))))

listTopicResponse :: ListTopicResponse Source #

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

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

ltrNextPageToken :: Lens' ListTopicResponse (Maybe Text) Source #

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

ltrTopic :: Lens' ListTopicResponse [Topic] Source #

Topic items that match the request.

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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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.5.0-Dil3ZfW4IuD9vJQ6Q2970g" 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 #