Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- appsTasksService :: ServiceConfig
- tasksReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/tasks.readonly"]
- tasksScope :: Proxy '["https://www.googleapis.com/auth/tasks"]
- data TaskLinksItem
- taskLinksItem :: TaskLinksItem
- tliLink :: Lens' TaskLinksItem (Maybe Text)
- tliType :: Lens' TaskLinksItem (Maybe Text)
- tliDescription :: Lens' TaskLinksItem (Maybe Text)
- data Tasks
- tasks :: Tasks
- tEtag :: Lens' Tasks (Maybe Text)
- tNextPageToken :: Lens' Tasks (Maybe Text)
- tKind :: Lens' Tasks Text
- tItems :: Lens' Tasks [Task]
- data TaskLists
- taskLists :: TaskLists
- tlEtag :: Lens' TaskLists (Maybe Text)
- tlNextPageToken :: Lens' TaskLists (Maybe Text)
- tlKind :: Lens' TaskLists Text
- tlItems :: Lens' TaskLists [TaskList]
- data TaskList
- taskList :: TaskList
- tasEtag :: Lens' TaskList (Maybe Text)
- tasKind :: Lens' TaskList Text
- tasSelfLink :: Lens' TaskList (Maybe Text)
- tasId :: Lens' TaskList (Maybe Text)
- tasUpdated :: Lens' TaskList (Maybe UTCTime)
- tasTitle :: Lens' TaskList (Maybe Text)
- data Task
- task :: Task
- ttParent :: Lens' Task (Maybe Text)
- ttStatus :: Lens' Task (Maybe Text)
- ttDue :: Lens' Task (Maybe UTCTime)
- ttEtag :: Lens' Task (Maybe Text)
- ttKind :: Lens' Task Text
- ttSelfLink :: Lens' Task (Maybe Text)
- ttHidden :: Lens' Task (Maybe Bool)
- ttCompleted :: Lens' Task (Maybe UTCTime)
- ttId :: Lens' Task (Maybe Text)
- ttDeleted :: Lens' Task (Maybe Bool)
- ttUpdated :: Lens' Task (Maybe UTCTime)
- ttTitle :: Lens' Task (Maybe Text)
- ttLinks :: Lens' Task [TaskLinksItem]
- ttNotes :: Lens' Task (Maybe Text)
- ttPosition :: Lens' Task (Maybe Text)
Service Configuration
appsTasksService :: ServiceConfig Source #
Default request referring to version v1
of the Tasks API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
tasksReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/tasks.readonly"] Source #
View your tasks
tasksScope :: Proxy '["https://www.googleapis.com/auth/tasks"] Source #
Create, edit, organize, and delete all your tasks
TaskLinksItem
data TaskLinksItem Source #
Instances
taskLinksItem :: TaskLinksItem Source #
Creates a value of TaskLinksItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tliDescription :: Lens' TaskLinksItem (Maybe Text) Source #
The description. In HTML speak: Everything between and.
Tasks
Instances
Eq Tasks Source # | |
Data Tasks Source # | |
Defined in Network.Google.AppsTasks.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tasks -> c Tasks # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tasks # dataTypeOf :: Tasks -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tasks) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tasks) # gmapT :: (forall b. Data b => b -> b) -> Tasks -> Tasks # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tasks -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tasks -> r # gmapQ :: (forall d. Data d => d -> u) -> Tasks -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tasks -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tasks -> m Tasks # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tasks -> m Tasks # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tasks -> m Tasks # | |
Show Tasks Source # | |
Generic Tasks Source # | |
ToJSON Tasks Source # | |
Defined in Network.Google.AppsTasks.Types.Product | |
FromJSON Tasks Source # | |
type Rep Tasks Source # | |
Defined in Network.Google.AppsTasks.Types.Product type Rep Tasks = D1 (MetaData "Tasks" "Network.Google.AppsTasks.Types.Product" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "Tasks'" PrefixI True) ((S1 (MetaSel (Just "_tEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Task]))))) |
Creates a value of Tasks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tNextPageToken :: Lens' Tasks (Maybe Text) Source #
Token used to access the next page of this result.
TaskLists
Instances
taskLists :: TaskLists Source #
Creates a value of TaskLists
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tlNextPageToken :: Lens' TaskLists (Maybe Text) Source #
Token that can be used to request the next page of this result.
TaskList
Instances
Creates a value of TaskList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tasSelfLink :: Lens' TaskList (Maybe Text) Source #
URL pointing to this task list. Used to retrieve, update, or delete this task list.
tasUpdated :: Lens' TaskList (Maybe UTCTime) Source #
Last modification time of the task list (as a RFC 3339 timestamp).
Task
Instances
ttParent :: Lens' Task (Maybe Text) Source #
Parent task identifier. This field is omitted if it is a top-level task. This field is read-only. Use the "move" method to move the task under a different parent or to the top level.
ttStatus :: Lens' Task (Maybe Text) Source #
Status of the task. This is either "needsAction" or "completed".
ttDue :: Lens' Task (Maybe UTCTime) Source #
Due date of the task (as a RFC 3339 timestamp). Optional.
ttSelfLink :: Lens' Task (Maybe Text) Source #
URL pointing to this task. Used to retrieve, update, or delete this task.
ttHidden :: Lens' Task (Maybe Bool) Source #
Flag indicating whether the task is hidden. This is the case if the task had been marked completed when the task list was last cleared. The default is False. This field is read-only.
ttCompleted :: Lens' Task (Maybe UTCTime) Source #
Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed.
ttDeleted :: Lens' Task (Maybe Bool) Source #
Flag indicating whether the task has been deleted. The default if False.
ttUpdated :: Lens' Task (Maybe UTCTime) Source #
Last modification time of the task (as a RFC 3339 timestamp).
ttPosition :: Lens' Task (Maybe Text) Source #
String indicating the position of the task among its sibling tasks under the same parent task or at the top level. If this string is greater than another task's corresponding position string according to lexicographical ordering, the task is positioned after the other task under the same parent task (or at the top level). This field is read-only. Use the "move" method to move the task to another position.