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.Resource.Tasks.Tasks.List

Contents

Description

Returns all tasks in the specified task list.

See: Tasks API Reference for tasks.tasks.list.

Synopsis

REST Resource

type TasksListResource = "tasks" :> ("v1" :> ("lists" :> (Capture "tasklist" Text :> ("tasks" :> (QueryParam "dueMax" Text :> (QueryParam "showDeleted" Bool :> (QueryParam "showCompleted" Bool :> (QueryParam "dueMin" Text :> (QueryParam "showHidden" Bool :> (QueryParam "completedMax" Text :> (QueryParam "updatedMin" Text :> (QueryParam "completedMin" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Tasks))))))))))))))) Source #

A resource alias for tasks.tasks.list method which the TasksList request conforms to.

Creating a Request

tasksList Source #

Arguments

:: Text

tlTaskList

-> TasksList 

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

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

data TasksList Source #

Returns all tasks in the specified task list.

See: tasksList smart constructor.

Instances
Eq TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

Data TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

Methods

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

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

toConstr :: TasksList -> Constr #

dataTypeOf :: TasksList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

Generic TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

Associated Types

type Rep TasksList :: Type -> Type #

GoogleRequest TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

Associated Types

type Rs TasksList :: Type #

type Scopes TasksList :: [Symbol] #

type Rep TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

type Scopes TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

type Scopes TasksList = "https://www.googleapis.com/auth/tasks" ': ("https://www.googleapis.com/auth/tasks.readonly" ': ([] :: [Symbol]))
type Rs TasksList Source # 
Instance details

Defined in Network.Google.Resource.Tasks.Tasks.List

Request Lenses

tlDueMax :: Lens' TasksList (Maybe Text) Source #

Upper bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.

tlShowDeleted :: Lens' TasksList (Maybe Bool) Source #

Flag indicating whether deleted tasks are returned in the result. Optional. The default is False.

tlShowCompleted :: Lens' TasksList (Maybe Bool) Source #

Flag indicating whether completed tasks are returned in the result. Optional. The default is True.

tlDueMin :: Lens' TasksList (Maybe Text) Source #

Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by due date.

tlShowHidden :: Lens' TasksList (Maybe Bool) Source #

Flag indicating whether hidden tasks are returned in the result. Optional. The default is False.

tlCompletedMax :: Lens' TasksList (Maybe Text) Source #

Upper bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.

tlUpdatedMin :: Lens' TasksList (Maybe Text) Source #

Lower bound for a task's last modification time (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by last modification time.

tlTaskList :: Lens' TasksList Text Source #

Task list identifier.

tlCompletedMin :: Lens' TasksList (Maybe Text) Source #

Lower bound for a task's completion date (as a RFC 3339 timestamp) to filter by. Optional. The default is not to filter by completion date.

tlPageToken :: Lens' TasksList (Maybe Text) Source #

Token specifying the result page to return. Optional.

tlMaxResults :: Lens' TasksList (Maybe Int64) Source #

Maximum number of task lists returned on one page. Optional. The default is 100.