gogol-civicinfo-0.5.0: Google Civic Information 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.CivicInfo.Elections.ElectionQuery

Contents

Description

List of available elections to query.

See: Google Civic Information API Reference for civicinfo.elections.electionQuery.

Synopsis

REST Resource

type ElectionsElectionQueryResource = "civicinfo" :> ("v2" :> ("elections" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ElectionsQueryRequest :> Get '[JSON] ElectionsQueryResponse)))) Source #

A resource alias for civicinfo.elections.electionQuery method which the ElectionsElectionQuery request conforms to.

Creating a Request

electionsElectionQuery Source #

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

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

data ElectionsElectionQuery Source #

List of available elections to query.

See: electionsElectionQuery smart constructor.

Instances
Eq ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

Data ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

Methods

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

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

toConstr :: ElectionsElectionQuery -> Constr #

dataTypeOf :: ElectionsElectionQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

Generic ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

Associated Types

type Rep ElectionsElectionQuery :: Type -> Type #

GoogleRequest ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

type Rep ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

type Rep ElectionsElectionQuery = D1 (MetaData "ElectionsElectionQuery" "Network.Google.Resource.CivicInfo.Elections.ElectionQuery" "gogol-civicinfo-0.5.0-7VOj7ZZm573JP0mSHaxA8n" True) (C1 (MetaCons "ElectionsElectionQuery'" PrefixI True) (S1 (MetaSel (Just "_eeqPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ElectionsQueryRequest)))
type Scopes ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

type Rs ElectionsElectionQuery Source # 
Instance details

Defined in Network.Google.Resource.CivicInfo.Elections.ElectionQuery

Request Lenses