gogol-maps-coordinate-0.3.0: Google Maps Coordinate 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.Coordinate.Team.List

Contents

Description

Retrieves a list of teams for a user.

See: Google Maps Coordinate API Reference for coordinate.team.list.

Synopsis

REST Resource

type TeamListResource = "coordinate" :> ("v1" :> ("teams" :> (QueryParam "dispatcher" Bool :> (QueryParam "admin" Bool :> (QueryParam "worker" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamListResponse)))))) Source #

A resource alias for coordinate.team.list method which the TeamList request conforms to.

Creating a Request

teamList :: TeamList Source #

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

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

data TeamList Source #

Retrieves a list of teams for a user.

See: teamList smart constructor.

Instances

Eq TeamList Source # 
Data TeamList Source # 

Methods

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

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

toConstr :: TeamList -> Constr #

dataTypeOf :: TeamList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TeamList Source # 
Generic TeamList Source # 

Associated Types

type Rep TeamList :: * -> * #

Methods

from :: TeamList -> Rep TeamList x #

to :: Rep TeamList x -> TeamList #

GoogleRequest TeamList Source # 

Associated Types

type Rs TeamList :: * #

type Scopes TeamList :: [Symbol] #

type Rep TeamList Source # 
type Rep TeamList = D1 (MetaData "TeamList" "Network.Google.Resource.Coordinate.Team.List" "gogol-maps-coordinate-0.3.0-7B21Gtc38Qp6D6sajauyPP" False) (C1 (MetaCons "TeamList'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tlDispatcher") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_tlAdmin") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_tlWorker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))
type Scopes TeamList Source # 
type Scopes TeamList = (:) Symbol "https://www.googleapis.com/auth/coordinate" ((:) Symbol "https://www.googleapis.com/auth/coordinate.readonly" ([] Symbol))
type Rs TeamList Source # 

Request Lenses

tlDispatcher :: Lens' TeamList (Maybe Bool) Source #

Whether to include teams for which the user has the Dispatcher role.

tlAdmin :: Lens' TeamList (Maybe Bool) Source #

Whether to include teams for which the user has the Admin role.

tlWorker :: Lens' TeamList (Maybe Bool) Source #

Whether to include teams for which the user has the Worker role.