gogol-games-0.4.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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListDefinitions

Data EventsListDefinitions Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListDefinitions

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

Defined in Network.Google.Resource.Games.Events.ListDefinitions

Generic EventsListDefinitions Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListDefinitions

Associated Types

type Rep EventsListDefinitions :: Type -> Type #

GoogleRequest EventsListDefinitions Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListDefinitions

type Rep EventsListDefinitions Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListDefinitions

type Rep EventsListDefinitions = D1 (MetaData "EventsListDefinitions" "Network.Google.Resource.Games.Events.ListDefinitions" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "EventsListDefinitions'" PrefixI True) (S1 (MetaSel (Just "_eldLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_eldPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eldMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes EventsListDefinitions Source # 
Instance details

Defined in Network.Google.Resource.Games.Events.ListDefinitions

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

Defined in Network.Google.Resource.Games.Events.ListDefinitions

Request Lenses

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.