gogol-games-0.2.0: Google Play Game Services 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.Games.Events.ListDefinitions

Contents

Description

Returns a list of the event definitions in this application.

See: Google Play Game Services API Reference for games.events.listDefinitions.

Synopsis

REST Resource

type EventsListDefinitionsResource = "games" :> ("v1" :> ("eventDefinitions" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] EventDefinitionListResponse))))))) Source #

A resource alias for games.events.listDefinitions method which the EventsListDefinitions request conforms to.

Creating a Request

eventsListDefinitions :: EventsListDefinitions Source #

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

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

data EventsListDefinitions Source #

Returns a list of the event definitions in this application.

See: eventsListDefinitions smart constructor.

Instances

Eq EventsListDefinitions Source # 
Data EventsListDefinitions Source # 

Methods

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

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

toConstr :: EventsListDefinitions -> Constr #

dataTypeOf :: EventsListDefinitions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsListDefinitions Source # 
Generic EventsListDefinitions Source # 
GoogleRequest EventsListDefinitions Source # 
type Rep EventsListDefinitions Source # 
type Rep EventsListDefinitions = D1 (MetaData "EventsListDefinitions" "Network.Google.Resource.Games.Events.ListDefinitions" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" False) (C1 (MetaCons "EventsListDefinitions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eldConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_eldLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_eldPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_eldMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes EventsListDefinitions Source # 
type Scopes EventsListDefinitions = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs EventsListDefinitions Source # 

Request Lenses

eldConsistencyToken :: Lens' EventsListDefinitions (Maybe Int64) Source #

The last-seen mutation timestamp.

eldLanguage :: Lens' EventsListDefinitions (Maybe Text) Source #

The preferred language to use for strings returned by this method.

eldPageToken :: Lens' EventsListDefinitions (Maybe Text) Source #

The token returned by the previous request.

eldMaxResults :: Lens' EventsListDefinitions (Maybe Int32) Source #

The maximum number of event definitions to return in the response, used for paging. For any response, the actual number of event definitions to return may be less than the specified maxResults.