gogol-apps-tasks-0.4.0: Google Tasks 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.AppsTasks.Types

Contents

Description

 
Synopsis

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
Eq TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Data TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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

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

toConstr :: TaskLinksItem -> Constr #

dataTypeOf :: TaskLinksItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Generic TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Associated Types

type Rep TaskLinksItem :: Type -> Type #

ToJSON TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

FromJSON TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep TaskLinksItem Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep TaskLinksItem = D1 (MetaData "TaskLinksItem" "Network.Google.AppsTasks.Types.Product" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "TaskLinksItem'" PrefixI True) (S1 (MetaSel (Just "_tliLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tliType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tliDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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:

tliType :: Lens' TaskLinksItem (Maybe Text) Source #

Type of the link, e.g. "email".

tliDescription :: Lens' TaskLinksItem (Maybe Text) Source #

The description. In HTML speak: Everything between and.

Tasks

data Tasks Source #

Instances
Eq Tasks Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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

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

Data Tasks Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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 #

toConstr :: Tasks -> Constr #

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 # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

showsPrec :: Int -> Tasks -> ShowS #

show :: Tasks -> String #

showList :: [Tasks] -> ShowS #

Generic Tasks Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Associated Types

type Rep Tasks :: Type -> Type #

Methods

from :: Tasks -> Rep Tasks x #

to :: Rep Tasks x -> Tasks #

ToJSON Tasks Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

FromJSON Tasks Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep Tasks Source # 
Instance details

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

tasks :: Tasks Source #

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:

tEtag :: Lens' Tasks (Maybe Text) Source #

ETag of the resource.

tNextPageToken :: Lens' Tasks (Maybe Text) Source #

Token used to access the next page of this result.

tKind :: Lens' Tasks Text Source #

Type of the resource. This is always "tasks#tasks".

tItems :: Lens' Tasks [Task] Source #

Collection of tasks.

TaskLists

data TaskLists Source #

Instances
Eq TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Data TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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

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

toConstr :: TaskLists -> Constr #

dataTypeOf :: TaskLists -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Generic TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Associated Types

type Rep TaskLists :: Type -> Type #

ToJSON TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

FromJSON TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep TaskLists Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep TaskLists = D1 (MetaData "TaskLists" "Network.Google.AppsTasks.Types.Product" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "TaskLists'" PrefixI True) ((S1 (MetaSel (Just "_tlEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tlItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TaskList])))))

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:

tlEtag :: Lens' TaskLists (Maybe Text) Source #

ETag of the resource.

tlNextPageToken :: Lens' TaskLists (Maybe Text) Source #

Token that can be used to request the next page of this result.

tlKind :: Lens' TaskLists Text Source #

Type of the resource. This is always "tasks#taskLists".

tlItems :: Lens' TaskLists [TaskList] Source #

Collection of task lists.

TaskList

data TaskList Source #

Instances
Eq TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Data TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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

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

toConstr :: TaskList -> Constr #

dataTypeOf :: TaskList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Generic TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Associated Types

type Rep TaskList :: Type -> Type #

Methods

from :: TaskList -> Rep TaskList x #

to :: Rep TaskList x -> TaskList #

ToJSON TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

FromJSON TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep TaskList Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

taskList :: TaskList Source #

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:

tasEtag :: Lens' TaskList (Maybe Text) Source #

ETag of the resource.

tasKind :: Lens' TaskList Text Source #

Type of the resource. This is always "tasks#taskList".

tasSelfLink :: Lens' TaskList (Maybe Text) Source #

URL pointing to this task list. Used to retrieve, update, or delete this task list.

tasId :: Lens' TaskList (Maybe Text) Source #

Task list identifier.

tasUpdated :: Lens' TaskList (Maybe UTCTime) Source #

Last modification time of the task list (as a RFC 3339 timestamp).

tasTitle :: Lens' TaskList (Maybe Text) Source #

Title of the task list.

Task

data Task Source #

Instances
Eq Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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

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

Data Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

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

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

toConstr :: Task -> Constr #

dataTypeOf :: Task -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

Generic Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

Associated Types

type Rep Task :: Type -> Type #

Methods

from :: Task -> Rep Task x #

to :: Rep Task x -> Task #

ToJSON Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

FromJSON Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep Task Source # 
Instance details

Defined in Network.Google.AppsTasks.Types.Product

type Rep Task = D1 (MetaData "Task" "Network.Google.AppsTasks.Types.Product" "gogol-apps-tasks-0.4.0-CNAH5hnYqRXH4ZXCEmJhMf" False) (C1 (MetaCons "Task'" PrefixI True) (((S1 (MetaSel (Just "_ttParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ttStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ttDue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: ((S1 (MetaSel (Just "_ttEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ttKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ttSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ttHidden") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: (((S1 (MetaSel (Just "_ttCompleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_ttId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ttDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ttUpdated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')))) :*: ((S1 (MetaSel (Just "_ttTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ttLinks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TaskLinksItem]))) :*: (S1 (MetaSel (Just "_ttNotes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ttPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

task :: Task Source #

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

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

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.

ttEtag :: Lens' Task (Maybe Text) Source #

ETag of the resource.

ttKind :: Lens' Task Text Source #

Type of the resource. This is always "tasks#task".

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.

ttId :: Lens' Task (Maybe Text) Source #

Task identifier.

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

ttTitle :: Lens' Task (Maybe Text) Source #

Title of the task.

ttLinks :: Lens' Task [TaskLinksItem] Source #

Collection of links. This collection is read-only.

ttNotes :: Lens' Task (Maybe Text) Source #

Notes describing the task. Optional.

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.